# python
__pycache__/
*.py[cod]
*.egg-info/
dist/
build/
.venv/
.env

# tooling
.pytest_cache/
.mypy_cache/
.ruff_cache/
.hypothesis/

# hypergumbo
.hypergumbo/
hypergumbo_capsule/
hypergumbo.results.json
hypergumbo.results.*.json
slice.json
slice.*.json

# Agent configuration
**/*.local.json
**/*.local.md
**/.claude/cache/
**/.gemini/cache/
**/.cursor/state/
**/*-session/
AUTONOMOUS_MODE.txt
autonomous_intent.txt
.agent/LOOP
.agent/disabled.LOOP
.agent/invariant-ledger.md
# Per-session transcript pipeline (ADR-0018, per-session amendment 2026-04-08).
# Each session writes per-session-keyed files. The .last_*/.second_to_last_*
# global slots are written at session END by rotate-on-session-end.sh.
.agent/.current_session_transcript.*.jsonl
.agent/.current_injection_history.*.jsonl
.agent/.transcript-sync.*.pid
.agent/.transcript-sync-state.*.json
.agent/.transcript-poll-state.*
.agent/.transcript-injection-state.*.json
.agent/.last_session_transcript.jsonl
.agent/.second_to_last_transcript.jsonl
.agent/.last_injection_history.jsonl
.agent/.second_to_last_injection_history.jsonl
.agent/.archived-transcripts/
.agent/.rotation.lock
# Legacy paths from before the per-session amendment (ignored for one-time
# upgrade-cleanup safety; may be removed once no repo still has these).
.agent/.current_session_transcript.jsonl
.agent/.transcript-sync.pid
.agent/.transcript-sync-state.json
.agent/.transcript-poll-state
.agent/.transcript-injection-state.json
.agent/.transcript-session-token
.agent/.current_injection_history.jsonl
hook-canary.txt

# Coverage
.coverage
.coverage.*
htmlcov/
coverage-report.txt

# Snapshot reports (pytest-textual-snapshot)
snapshot_report.html

# Node (bats testing)
node_modules/
package.json
package-lock.json

# htrac-frontend: allow tracked JS/TS project files
!packages/htrac-frontend/package.json
!packages/htrac-frontend/package-lock.json

# Hypergumbo cache
.hypergumbo_cache/
.ci/pytest-output.log
.ci/pytest-results.xml

# Tracker
**/config.yaml
!**/config.yaml.template
.agent/.cache-*.db
.agent/.sync-logs/
.agent/.training-data.jsonl
.agent/.training-data-selected.jsonl
.agent/.training-data-v1-snapshot-*.jsonl
.agent/.deprecated-datasets/
.agent/finetuned-model/
.agent/transcript-model.gguf
