| 1 | # Build artifacts |
| 2 | /target |
| 3 | /extensions/vscode/out/ |
| 4 | *.pdb |
| 5 | *.exe |
| 6 | *.dll |
| 7 | *.so |
| 8 | *.dylib |
| 9 | *.rlib |
| 10 | *.o |
| 11 | |
| 12 | # Development |
| 13 | .env |
| 14 | .env.* |
| 15 | !.env.example |
| 16 | node_modules/ |
| 17 | .vscode/ |
| 18 | .idea/ |
| 19 | *.swp |
| 20 | *.swo |
| 21 | *~ |
| 22 | .DS_Store |
| 23 | Thumbs.db |
| 24 | |
| 25 | # Python |
| 26 | __pycache__/ |
| 27 | *.py[cod] |
| 28 | *$py.class |
| 29 | .pytest_cache/ |
| 30 | venv/ |
| 31 | ENV/ |
| 32 | env/ |
| 33 | .venv/ |
| 34 | *.egg-info/ |
| 35 | dist/ |
| 36 | |
| 37 | # Logs |
| 38 | *.log |
| 39 | |
| 40 | # Generated |
| 41 | outputs/ |
| 42 | tmp/ |
| 43 | backup/ |
| 44 | |
| 45 | # Reference papers / large research blobs (keep locally if needed, don't ship) |
| 46 | docs/DeepSeek_V4.pdf |
| 47 | docs/*.pdf |
| 48 | |
| 49 | # Note: Cargo.lock is intentionally NOT ignored for reproducible builds |
| 50 | |
| 51 | # Local dev scripts and temp files |
| 52 | *.sh |
| 53 | *.cmd |
| 54 | !scripts/** |
| 55 | !.github/scripts/** |
| 56 | !web/public/install.sh |
| 57 | test.txt |
| 58 | TODO*.md |
| 59 | todo*.md |
| 60 | AGENTS.md |
| 61 | # …except the deliberate, maintained agent-guidance files: |
| 62 | !/AGENTS.md |
| 63 | !crates/tui/AGENTS.md |
| 64 | !crates/tui/locales/AGENTS.md |
| 65 | !web/AGENTS.md |
| 66 | NEXT_SESSION.md |
| 67 | AI_HANDOFF.md |
| 68 | result.json |
| 69 | count_deps.py |
| 70 | project_overhaul_prompt.md |
| 71 | .codex/ |
| 72 | .context/ |
| 73 | .wrangler/ |
| 74 | |
| 75 | # Local runtime state |
| 76 | # Ignore everything under any .codewhale/ (snapshots, auto-generated |
| 77 | # instructions.md, etc.) at any depth EXCEPT the committed repo authority policy. |
| 78 | **/.codewhale/* |
| 79 | !**/.codewhale/constitution.json |
| 80 | .deepseek/ |
| 81 | **/session_*.json |
| 82 | *.db |
| 83 | npm/*/bin/downloads/ |
| 84 | |
| 85 | # Companion app (tracked separately) |
| 86 | apps/ |
| 87 | |
| 88 | # Claude Code runtime artifacts |
| 89 | .worktrees/ |
| 90 | .ace-tool/ |
| 91 | |
| 92 | # NOTE: the blanket `.claude/` rule further down already ignores everything |
| 93 | # under .claude/ — `git check-ignore -v` attributes every path below to that |
| 94 | # line, not to these. The handoff/codemap patterns are kept as defense in depth: |
| 95 | # those notes are working state, not user-facing artifacts, and they leaked into |
| 96 | # the public repo through .claude/ before (HANDOFF_v0.8.28, CODEMAP_v0.8.25). |
| 97 | # They live under .private/handoffs/ now. If anyone ever narrows the blanket |
| 98 | # rule to track part of .claude/, these must keep holding. |
| 99 | .claude/HANDOFF_* |
| 100 | .claude/CODEMAP_* |
| 101 | .claude/handoff_* |
| 102 | .claude/codemap_* |
| 103 | |
| 104 | # Maintainer-internal design notes (trade-secret material, never published) |
| 105 | .private/ |
| 106 | |
| 107 | # Coverage reports (build artifacts) |
| 108 | web/coverage/ |
| 109 | |
| 110 | # Agent handoffs and version-specific setup plans are working-state notes, not |
| 111 | # public docs. Keep durable setup guidance in docs/runbooks instead. |
| 112 | docs/*HANDOFF*.md |
| 113 | docs/*handoff*.md |
| 114 | docs/*_PLAN.md |
| 115 | !docs/archive/** |
| 116 | |
| 117 | # direnv |
| 118 | .envrc |
| 119 | .direnv |
| 120 | scripts/run_deep_swe.py |
| 121 | .claude/ |
| 122 | |
| 123 | # Local run artifacts and caches re-included by !scripts/** |
| 124 | results/ |
| 125 | scripts/**/__pycache__/ |
| 126 | |
| 127 | # Maintainer-local verification artifacts |
| 128 | .uv-bin/ |
| 129 | .uv-cache/ |
| 130 | .uv-tools/ |
| 131 | issues/ |
| 132 | logs/ |
| 133 | notes/ |
| 134 | |
| 135 | # Agent-local roadmap and scratch (never commit — may hold unreleased plans) |
| 136 | .agents/ |
| 137 | scratchpad/ |
| 138 | |
| 139 | # Exploratory operations spec / prompt — never track (canonical copy lives at CW root) |
| 140 | operations9.md |
| 141 | OPERATIONS_0_9_0.md |
| 142 | operations_0_9_0.md |
| 143 | CODEWHALE_0_9_0_CUTOVER.md |
| 144 | |
| 145 | # Hepha project metadata (local only, not upstream) |
| 146 | .hepha/ |
| 147 | |
| 148 | # Ralph agent scratch (local only) |
| 149 | .ralph/ |
| 150 |