/target/
target-*/
target_*/
.tmp/
a.out
rustc-ice-*.txt
*.snap.new

# bv (beads viewer) local config and caches
.bv/

# br local history backups and quarantine
.beads/.br_history/
.beads/.br_history_quarantine/
# `br` recovery scratch directory (in-progress repair workspace).
.beads/.br_recovery/
.beads/beads.db.rebuild_*

# local Pi agent config (may contain API keys)
.pi/

# Local legacy pi-mono dependency provisioning symlink (machine-specific).
/legacy_pi_mono_code/pi-mono/node_modules

# Model-catalog generator (scripts/gen-model-catalog.mjs, gh #117)
/scripts/node_modules
/scripts/models.generated.candidate.ts

# generated test artifacts
tests/ext_conformance/artifacts/entry-point-scan.json
tests/ext_conformance/reports/*
# committed baselines
!tests/ext_conformance/reports/CONFORMANCE_REPORT.md
!tests/ext_conformance/reports/conformance_baseline.json
!tests/ext_conformance/reports/conformance_summary.json
!tests/ext_conformance/reports/COMPATIBILITY_SUMMARY.md
!tests/ext_conformance/reports/gate/
!tests/ext_conformance/reports/gate/must_pass_gate_verdict.json
!tests/ext_conformance/reports/gate/must_pass_events.jsonl
!tests/ext_conformance/reports/gate/must_pass_gate_report.md
!tests/ext_conformance/reports/lifecycle_hooks/
!tests/ext_conformance/reports/lifecycle_hooks/lifecycle_hook_parity_matrix.json
!tests/ext_conformance/reports/health_delta/
!tests/ext_conformance/reports/health_delta/health_delta_report.json
!tests/ext_conformance/reports/health_delta/health_delta_events.jsonl
!tests/ext_conformance/reports/health_delta/health_delta_report.md
!tests/ext_conformance/reports/journeys/
!tests/ext_conformance/reports/journeys/journey_report.json
!tests/ext_conformance/reports/journeys/journey_events.jsonl
!tests/ext_conformance/reports/journeys/journey_report.md
tests/ext_conformance/reports/journeys/details/

# sqlite databases and WAL/SHM artifacts
storage.sqlite3
*.sqlite3-wal
*.sqlite3-shm
*.sqlite3-journal

# Agent probe/scratch files and temp directories
.codex_space_probe
.space_probe_bytes
.rch-tmp/
.tmp-*/
.tmp-*
.tmp_*
.white_deer_target/
tmp_*/
tmp_link
tmp_probe*
_tmp-*/
_tmp_*/

# Per-agent cargo home directories (Codex/concurrent agents)
.cargo-home*/

# Per-agent cargo target directories
.cargo-target*/
.target-*/
.target_*/
_target_*/
_target-*/

# Root-level cargo target/tmp tree accidentally synced by rch artifact retrieval.
/ubuntu/

# Per-agent remote build directories created by rch
.rch-target-*/

# Root-level bead-named cargo target directories accidentally created by a
# relative CARGO_TARGET_DIR (for example bd-fl0p3-7/).
/bd-*/

# Benchmark result directories
.bench*/

# Fuzz build artifacts, corpus data, and run reports
fuzz/corpus/
fuzz/target/
fuzz/reports/

# Proptest regression artifacts
proptest-regressions/
*.proptest-regressions

# Recovery backup files (from crash recovery)
*.root_full_recovery
*.empty_recovery

# Session export snapshots
pi-session-*.html

# Patch/merge artifacts
*.orig
*.rej

# E2E test run results (timestamped, ephemeral)
tests/e2e_results/
tests/evidence_bundle/
!tests/evidence_bundle/
tests/evidence_bundle/*
!tests/evidence_bundle/index.json
!tests/evidence_bundle/events.jsonl
!tests/evidence_bundle/bundle_report.md
tests/edit_repro.rs

# Build artifacts (concurrent agent output)
artifacts/
release_artifacts/

# Python bytecode caches
__pycache__/
*.pyc

# Ephemeral agent progress trackers
claude-upgrade-progress.json

# Claude Code IDE config
# Ignore contents of .claude/ (not the dir itself) so we can un-ignore the
# installer-managed skill below — `.claude/` would prevent re-inclusion.
.claude/*
# …but track the installer-managed skill tree (referenced by
# scripts/skill-smoke.sh and tests/installer_regression.sh — must exist in
# clean CI checkouts so the release workflow's installer regression passes).
!.claude/skills/
!.claude/skills/**

# Clippy/lint output logs
clippy.log

# Ephemeral agent scratch/repro/plan files
repro_fuzzy.rs
PLAN_TO_FIX_READ_TOOL.md
tests/conformance/test_read_streaming.rs

# UBS scan output and agent debug artifacts
ubs_*.txt
ubs_*.json
ubs_*.sarif
criticals.txt
unwraps.txt
js_unwraps*.txt
panic_grep*.txt
rust-bug-scan.txt
parse_*.py
tests.log
# Root-level scratch test files (agent-generated debug/repro harnesses)
/test_*.rs
/run_test.rs
/run_*.rs

# Agent debug diff/log files
_ext_log.diff
_recent_agent_commits.diff
_ubs_findings.jsonl
_ubs_summary.json
ubs-scan.txt
ubs-src-results.json
findings.jsonl
ubs_crit.jsonl

# Agent-generated fix/debug scripts
fix_fs.py
fix_tests.py
filter_panics.py

# Scratch test binaries and source
/test_mock*
/print_env
/print_env.rs
src/bin/test_duration.rs
src/bin/test_time.rs

# Ephemeral test output and scratch binaries
/test.jsonl
/test_heal
/test_heal.txt
/ubs.jsonl

# Codex cargo home (build cache)
.codex-cargo-home/

# Compiler artifacts
*.rlib

# Ephemeral patch/diff and scratch scripts
/patch.diff
/test_script.sh

# UBS root-level scan artifacts
/ubs.json
/ubs.jsonl
/ubs-report.txt
/ubs_tools.jsonl
/check.json

# Agent-generated search/fix scripts
/find_async_fs.py
/fix_tools_write.rs

# ACFS ephemeral patterns (auto-generated agent artifacts)
core
core.*
cline.mcp.json
codex.mcp.json
cursor.mcp.json
gemini.mcp.json
opencode.json
windsurf.mcp.json
*.mcp.json.*.bak
.opencode.json.*.bak
.windsurf.mcp.json.*.bak
.agent-mail-project-id
.agent-mail.yaml
*.sqlite3.bak
*.sqlite3.corrupt*
storage.sqlite3.corrupt-*
storage.sqlite3-shm.corrupt-*
storage.sqlite3-wal.corrupt-*
.beads/*.corrupt*
.beads/*.pre_repair_*
.beads/*.repair_candidate_*
.beads/*.bak-corrupt

# Per-agent codex cargo target directories (sibling to .cargo-target*/).
# These contain CACHEDIR.TAG and are generated by spawning codex subagents.
/codex/
/codex-*/
/codex_*/
/review_agent/

# Agent runtime state / zero-byte marker files
/.codex
/.ntm/

# Root-level agent scratch source files (real code lives under src/ and tests/)
/ExtensionManager
/Self
/ext.rs
/ext_disp.rs
/openai.rs
/parse_jsonl.js
/test.txt
/test_crypto.js
/test_crypto_binary.js
/test_json.js
/update_session_picker.py
/all_unwraps.txt
/unwraps.json

# Additional UBS scan outputs (named variants not covered above)
/ubs-out.txt
/ubs-report.json
/ubs.txt
/ubs_findings.jsonl
/ubs_findings.txt
