# Dependencies
node_modules/

# Build outputs
dist/
build/
docs-site/
*.tsbuildinfo

# CRITICAL: No compiled JS in src or tests directories
src/**/*.js
src/**/*.js.map
src/**/*.d.ts
src/**/*.d.ts.map
tests/**/*.js
tests/**/*.js.map
tests/**/*.d.ts
tests/**/*.d.ts.map
# Exception for mock files
!src/**/__mocks__/**
!tests/**/__mocks__/**

# Bun compiled binaries
faf-bun
faf-darwin-*
faf-linux-*
faf-windows-*

# Package files
*.tgz

# Coverage reports
coverage/

# Environment files
.env
.env.local
.env.*.local

# Private breakthrough documentation - NOT PUBLIC
BREAKTHROUGH-LOG.md
AI-CONTEXT-MANIFESTO.md
ENGINE-MANIFESTO.md
VERCEL-STRATEGY-CONFIDENTIAL.md

# Editor directories and files
.vscode/
.idea/
*.swp
*.swo

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# Runtime data
pids/
*.pid
*.seed
*.pid.lock

# Temporary folders
tmp/
temp/

# Generated conversion files
.faf.md
.faf.txt# Backup files
*.backup-*
.faf.backup-*

# Test files
test-*.faf

# Generated .faf files (from `faf git` etc) — only project.faf / project*.faf are valid for bi-sync
*.faf
!project.faf
!project-*.faf
# Exception: test fixtures
!tests/fixtures/**/*.faf

# Internal documents - ALL .md files go to FAF-GOLD/PLANET-FAF
*.md
!README.md
!CLAUDE.md
!AGENTS.md
!GEMINI.md
!conductor/*.md
!CHANGELOG.md
!PUBLISH.md
!CONTRIBUTING.md
!CODE_OF_CONDUCT.md
!docs/*.md
!SECURITY.md
!SUPPORT.md
!BINARY.md
!.github/**/*.md
!commands/**/*.md
!skills/**/*.md
!reports/**/*.md

# Temporary files
*.tmp
*.log
.vercel

# Partnership & Business Docs (Planet FAF only)
WARP-*.md
*PARTNERSHIP*.md
*-PITCH.md

# Backup files
.faf.before-*
.mcpregistry_github_token
.mcpregistry_registry_token

# wrangler files
.wrangler
.dev.vars*
!.dev.vars.example
!.env.example
wrangler.jsonc

# Compiled FAFb output
*.fafb
# Exception: test fixtures (deterministic .fafb checked in for parity-brake test)
!tests/fixtures/**/*.fafb
AGENTS.md
# Rendered project.html — visual view of project.faf (generated, like .fafb/AGENTS.md)
project.html
!tests/fixtures/**/project.html
GEMINI.md

# Compile binary + sourcemap outputs (`bun run compile`)
/faf
/cli.js.map
