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