# Rust and local Cargo build outputs.
/target/
.target-*/
.cargo/config.toml

# Local environment and machine-specific files.
.env
.env.*
!.env.example
!.env.*.example
.DS_Store
*.DS_Store
__pycache__/
*.py[cod]

# Local agent/runtime state.
.burin/
.harn-runs/
.harn/receipts/
.harn/
.remember/
.serena/
meta_scratch/

# Conformance skill fixtures deliberately ship a .harn/ subdir so the
# project-layer loader (issue #73) has something to discover. The blanket
# `.harn/` ignore above would drop them otherwise.
!conformance/tests/**/.harn/
!conformance/tests/**/.harn/**

# Per-run metadata shards from project_deep_scan tests are ephemeral. Runtime
# SQLite DBs, checkpoint/workflow dirs, and per-suite timing caches under
# fixture .harn/ dirs must stay ignored without shadowing shipped manifests.
conformance/tests/**/.harn/metadata/
conformance/tests/**/.harn/checkpoints/
conformance/tests/**/.harn/workflows/
conformance/tests/**/.harn/*.sqlite
conformance/tests/**/.harn/*.sqlite-shm
conformance/tests/**/.harn/*.sqlite-wal
conformance/tests/**/.harn/test-timings.json

# Shared Claude skill definitions are tracked; local Claude state is not.
.claude/*
!.claude/commands/
!.claude/skills/
!.claude/skills/harn-scripting/
!.claude/skills/harn-scripting/SKILL.md

# `merge-captain` covers the Harn triad, including private harn-cloud context,
# so it lives only in burin-code's local `.claude/commands/`.
.claude/commands/merge-captain.md

# Codex worktree environment files are per-worktree local state.
.codex/environments/

# JavaScript, portal, and website artifacts.
node_modules/
/crates/harn-cli/portal-dist/
docs/dist/
website/.ssr/
website/dist/
website/*.tsbuildinfo

# Tree-sitter native build artifacts.
tree-sitter-harn/*.dylib
tree-sitter-harn/*.so
tree-sitter-harn/*.dll

# Test artifacts from conformance tests that create fixtures in CWD
# (project_scan_*, project_deep_scan_*, and polyglot_tree tests in
# conformance/tests/stdlib/).
/polyglot_tree/
/project_scan_catalog/
/project_scan_empty/
/project_scan_ignored/
/project_scan_single/
/project_deep_scan_ignore/
/project_deep_scan_ns/
/project_deep_scan_repo/

# qmode experiment and test-run state.
experiments/burin-mini/.qmode/
experiments/burin-mini/workspace/.harn/

# Per-iteration logs from scripts/stress_subprocess_tests.sh.
.stress-logs/

# Local worktrees.
.worktrees/
