# ============================================================================
# AgentGov top-level .gitignore
# Per-subsystem gitignores live inside control-tower/, gateway/, cli/ if needed.
# ============================================================================

# ---- Secrets & environment ----
.env
.env.local
.env.*.local
.env.production
!.env.example
!.env.act.example
*.pem
*.key
!signing_keys.example/*.pub

# ---- Python ----
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
.venv/
venv/
env/
ENV/
build/
dist/
*.egg-info/
.eggs/
*.egg
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
.coverage.*
htmlcov/
coverage.xml
*.cover
.tox/

# ---- Node / Next.js ----
node_modules/
.next/
out/
.vercel/
.turbo/
*.tsbuildinfo
next-env.d.ts
.pnpm-debug.log*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-store/

# ---- Supabase ----
supabase/.branches/
supabase/.temp/
supabase/functions/*/deno.lock

# ---- Gateway runtime state ----
# The gateway keeps SQLite caches + disk-backed event queues in these paths.
# They are ephemeral by design and must never be committed.
gateway/.runtime/
gateway/policy_cache.sqlite*
gateway/event_queue/
~/.agentgov/

# ---- IDE / OS ----
.vscode/
.idea/
*.swp
*.swo
.DS_Store
Thumbs.db

# ---- Local overrides ----
*.local
CLAUDE.local.md
