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