# CataForge-managed local state under .cataforge/ — regenerated per
# deploy/upgrade and never committed. Without this rule a downstream project
# running `git add -A` would commit rollback snapshots and deploy bookkeeping.
.backups/
.deploy-state
.deploy-manifest.json
.scaffold-manifest.json
.instruction-hashes.json
.mcp-state/
**/__pycache__/

# KG physical store is a disposable per-clone cache (binary RocksDB), ignored
# wholesale under every context.mode. The durable artifact is text: markdown /
# hybrid rebuild the store from documents (`cataforge context ingest`); graph
# mode rebuilds from an NQuads snapshot (`cataforge kg rollback`). Snapshots
# (kg/snapshots/*.nq + *.meta.json) are text, diffable, and stay tracked.
kg/store/
