# ---------------------------------------------------------------------------
# Dependencies and build output
# ---------------------------------------------------------------------------
node_modules/
/.next/
/out/
/build/
dist/
*.tsbuildinfo
next-env.d.ts

# ---------------------------------------------------------------------------
# RUNTIME STATE — never commit.
#
# `.cirvix/` is the workspace state directory the runtime creates and writes to
# on every decision. It holds the licence, the daily meter, the audit chain, the
# approval spool, and the daemon's socket + endpoint token. Committing any of it
# would publish a customer's entitlement grant and their tool-call history, and
# would let a checked-out copy carry someone else's paid tier.
# ---------------------------------------------------------------------------
.cirvix/
**/.cirvix/
licence.json
license.json
meter.json
audit.jsonl
approvals.jsonl
spool.jsonl
endpoint.json
*.sock

# ---------------------------------------------------------------------------
# Secrets and credentials
# ---------------------------------------------------------------------------
.env
.env.*
!.env.example
*.pem
*.key
credentials.db
*.credentials.json

# ---------------------------------------------------------------------------
# Test and e2e artifacts
#
# `.e2e/` holds the SQLite database a live control-plane test boots against. It
# is regenerated on every run and its WAL can be hundreds of KB of churn.
# ---------------------------------------------------------------------------
.e2e/
**/.e2e/
*.db
*.db-shm
*.db-wal
*.sqlite
*.sqlite3
coverage/
.nyc_output/

# ---------------------------------------------------------------------------
# Python
# ---------------------------------------------------------------------------
__pycache__/
*.py[cod]
*.egg-info/
.pytest_cache/
.venv/
venv/

# ---------------------------------------------------------------------------
# Editor and OS
# ---------------------------------------------------------------------------
.DS_Store
Thumbs.db
*.swp
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# Live-boot test databases. `**/.e2e/` above covers the directory form; these are
# the FILE form a test creates when it passes a bare path as CIRVIX_DATA, and
# they are SQLite databases containing whatever the test signed up. They were
# untracked-but-not-ignored, which is one `git add -A` away from being committed.
**/.e2e-*
.vercel
.env*

# Local control-plane data directory (SQLite + WAL). Regenerated on boot.
.data/
**/.data/
