# Dependencies
node_modules/

# Environment and credentials
.env
*.env
.env.*
.mcp.json
*.key
*.pem
credentials.json
client_secret*.json
token.json

# OneDrive temp files
~$*
gradata-plugin/

# Orphans from PR #76 cloud split — dirs removed from repo, remain on disk
/cloud/
/sdk/

# OS files
Thumbs.db
Desktop.ini
.DS_Store

# Obsidian workspace (user-specific)
.obsidian/

# Auto-generated (regenerated each session)
.vectorstore/
brain.manifest.json
system.db
*.db-wal
*.sqlite
*.jsonl
__pycache__/
*.pyc
vendor/

# Internal session handoff memory (never ships in the public repo)
memory/
.claude-flow
autoresearch-results.tsv

# Build artifacts (regenerate on deploy)
sdk/website-next/.next/
sdk/website-next/node_modules/

# User config (personal, not part of SDK)
CLAUDE.md
domain/
.carl/
.claude/
skills/
.opencli/
.vscode/
.claude-octopus/
.agentignore
.claudeignore
package.json
package-lock.json
# Exception: npm packages we intentionally ship
!gradata-install/package.json
!packages/npm/package.json
!packages/**/package.json

# Sales data (private, never in public repo)
Leads/
/brain/
/brain/prospects/
/brain/sessions/
/brain/emails/

# Intermediates (disposable, never commit)
.tmp/

# Archived research (not for public repo)
sdk/research/_archived_v2_reference/

# Cache directories
.pytest_cache/
.ruff_cache/

# Graphify knowledge-graph cache (third-party tool output, regenerable)
graphify-out/
**/graphify-out/
src/gradata/graphify-out/

# Junk files from cmd.exe redirect misparse (Windows agent output artifacts)
# When subagents run Bash commands, cmd.exe interprets > in stdout as redirects
$null
GateResult
None
Path
Graph
bool
dict[str
site/
_site/
__pycache__/
*.pyc
*.egg-info/
dist/
build/
.vectorstore/

# Sensitive files — never commit to public repo
system.db
brain.manifest.json
*.db
SPEC.md
AUDIT.md
GATE0-PROOF.md
.planning/

# Internal docs — implementation plans, audit reports, session notes (contain algorithm details)
docs/superpowers/
docs/audit-history/
docs/audit-reports/
docs/Session Notes/
docs/Exports/
docs/provisional-patent-draft.md
docs/META_LEARNING.md
docs/STRESS_TEST_PROTOCOL.md
docs/GRADATA-LAUNCH-STRATEGY.md
docs/GTM-Execution-Plan.md
docs/gradata-marketing-strategy.md
docs/ablation-experiment-s93.md
docs/ARCHITECTURE.md
docs/north-star-research.md

# Internal dev tooling — not part of SDK
CLAUDE.md
FEATURES.md
.claude/
docs/GTM-Execution-Plan.md
docs/gradata-comparison-table.md

# npm package build artifacts (sources tracked, outputs ignored)
packages/npm/node_modules/
packages/npm/dist/
packages/*/node_modules/
packages/*/dist/

# Secrets
.env
.env.*
*.secret
credentials*

# Virtual environments
.venv/
venv/

# IDE / editor
.idea/
.vscode/

# Node
node_modules/

# Development artifacts (not shipped)
test-brain/
website/
website-next/
onboarding/
templates/
!src/gradata/hooks/templates/
# examples/ — included for open source hygiene
research/
!docs/research/
scripts/*
!scripts/publish-npm.sh
!cloud/scripts/
!scripts/migrate_legacy_scopes.py
docs/cloud/
docs/study-protocol.md


# Codex local configuration
.codex/

# Claude Flow runtime data
.claude-flow/data/
.claude-flow/logs/
.agents/
AGENTS.md
design-system/

# Environment variables
.env
.env.local
.env.*.local
.gstack/
.gitnexus
.superpowers/

# Pre-launch marketing drafts (private — live in vault instead)
docs/content/
docs/launch-post.md
docs/public-launch-narrative.md
docs/RELEASE-*-DRAFT.md

# Orphaned dirs from S105 splits — cloud/ moved to private
# Gradata/gradata-cloud in #76, sdk/ superseded by the flattened repo
# layout in #65. Left on disk as untracked copies that keep showing
# up in `git status` and sometimes get accidentally re-added.
/cloud/
/sdk/

# Railway config for the cloud API now lives in the private
# gradata-cloud repo at cloud/railway.toml — the root-level copy
# here is a stale leftover from before the split.
/railway.toml

# Sales exports — should live in brain/leads, never in the SDK repo.
apollo-leads-*.csv

