Repository navigation
Expand file tree
/
Copy path.gitignore
More file actions
373 lines (334 loc) · 9.48 KB
/
Copy path.gitignore
File metadata and controls
373 lines (334 loc) · 9.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
# Copyright (c) 2026 maijun
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# ============================================================
# AetherCode .gitignore
# ============================================================
#
# 排除 build output、临时文件、IDE 配置、release 资产等
# 不应该提交到 git 仓的内容。
#
# 远端仓: https://github.com/maijun-sec/AetherCode
# 参考仓库 (claude-code-analysis, oh-my-opencode) 通过 .gitmodules 拉取,
# 本地 clone 副本请勿提交。
# ============================================================
# ------------------------------------------------------------
# Build / target output
# ------------------------------------------------------------
target/
build/
dist/
out/
bin/
*.class
*.jar
*.war
*.ear
*.exe
*.dll
*.so
*.dylib
*.o
*.obj
*.pyc
*.pyo
# The google-java-format build the licence-header tooling uses.
#
# It IS committed on purpose: the whole point of pinning a formatter version
# is that every developer and every CI run produces the BYTE-IDENTICAL header.
# Without it, `resolveGjf()` falls back to "whatever is on the machine" (or to
# nothing), and the header shape can differ between two checkouts of the same
# commit — which is exactly the drift this tooling exists to prevent.
#
# 1.37.0 is the version that works on JDK 25; 1.22.0 does not.
!scripts/tools/google-java-format-all-deps.jar
*.pdb
# Node / TypeScript
node_modules/
.npm/
.yarn/
.pnpm-store/
*.tsbuildinfo
.next/
.nuxt/
.turbo/
.parcel-cache/
# Rust / Cargo (aethercode-desktop/src-tauri)
target/
**/target/
Cargo.lock.bak
**/*.rs.bk
*.pdb
*.so
*.dylib
# Java / Maven
target/
.mvn/
mvnw
mvnw.cmd
*.class
hs_err_pid*
# Gradle (aethercode-acp 可能有)
.gradle/
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
# TypeScript
*.tsbuildinfo
.eslintcache
.parcel-cache/
# Bun (oh-my-opencode 等)
bun.lockb
# ------------------------------------------------------------
# IDE / editor
# ------------------------------------------------------------
.idea/
*.iml
*.ipr
*.iws
.vscode/
*.swp
*.swo
*~
.DS_Store
Thumbs.db
desktop.ini
.fleet/
.cursor/
# ------------------------------------------------------------
# R-round commit message drafts (R342-COMMIT-MSG.txt etc.)
# These are inline git commit -m message drafts saved as files for
# later use. They should NOT be committed to git history — git commit
# messages are written inline at commit time, not stored as files.
# Cleanup: rm R*-COMMIT-MSG.txt after the round is committed.
# ------------------------------------------------------------
R*-COMMIT-MSG.txt
# The pattern above only matches the ALL-CAPS form, so a lowercase-named
# draft (gitignore-cleanup-msg.txt, pnpm-lock-commit-msg.txt) still showed
# up in `git status` as untracked noise after the commit was made. These
# are written to pass to `git commit -F <file>`; the message then lives in
# history and the file is pure leftover.
*-commit-msg.txt
*-commit-message.txt
commit-msg*.txt
# ------------------------------------------------------------
# Round-specific debug Java files (R343Debug.java, R343ParseDebug.java etc.)
# Generated during round R343 to debug parser issues. Once the round
# is committed and the bug is fixed, these files are obsolete.
# Cleanup: rm **/R*Debug.java after the round is committed.
# ------------------------------------------------------------
**/R*Debug.java
# ------------------------------------------------------------
# Logs / temp files
# ------------------------------------------------------------
*.log
logs/
*.tmp
*.temp
*.bak
*.backup
*.orig
*.rej
*.old
*.pid
*.seed
*.pid.lock
# Build/test reports
test-output/
surefire-reports/
failsafe-reports/
jacoco/
.coverage
htmlcov/
coverage/
*.lcov
.nyc_output
# Sandbox / sandbox logs
sandbox-*.log
*.sandbox.log
daemon-*.log
*.daemon.log
# ------------------------------------------------------------
# Local environment / secrets
# ------------------------------------------------------------
.env
.env.*
!.env.example
*.local
config.local.*
secrets.json
aethercode.token
*.pem
*.key
*.p12
*.pfx
keystore.*
truststore.*
# AetherCode 运行时状态 (daemon logs, sessions, skills, ssd, workflows)
.aethercode/
.aethercode/daemon-logs/
.aethercode/daemon-test/
.aethercode/sessions/
.aethercode/skills/
.aethercode/ssd/
.aethercode/workflows/
# Windows 保留名 (NUL, CON, PRN, AUX, COM1-9, LPT1-9)
/NUL
/CON
/PRN
/AUX
/COM1
/COM2
/COM3
/COM4
/COM5
/COM6
/COM7
/COM8
/COM9
/LPT1
/LPT2
/LPT3
/LPT4
/LPT5
/LPT6
/LPT7
/LPT8
/LPT9
# Local m2 / cache
.m2/
.maven-cache/
.cargo-cache/
# Caches
.cache/
.tmp/
.temp/
.pyc-cache/
__pycache__/
.mypy_cache/
.pytest_cache/
.ruff_cache/
.parcel-cache/
# OS / runtime
.DS_Store
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
.Trash-*
.fseventsd
.Spotlight-V100
.TemporaryItems
# ============================================================
# AetherCode-specific excludes
# ============================================================
# Release 资产 (出包在 release/, 0.2.64 / 0.2.65 等)
release/
release-*/
*.release.zip
*.release.tar.gz
release-checksums.txt
# Pre-submission 临时脚本 (R-round 注释清理 + 中文翻译阶段)
translate-tmp/
scripts/redl_p*.py
scripts/translate_comments.py
scripts/append_r*_memory.py
aethercode/translate_*.py
aethercode/debug_*.py
**/debug_*.py
# 中间生成的临时报告
aethercode/R*.tmp
aethercode/R*.draft
aethercode-*.log
# Python 临时脚本 (codegen / 翻译)
**/translate_*.py
**/extract_pdfs.py
**/debug_quotes*.py
**/debug_lengths.py
**/debug_translate*.py
# 论文 PDF 原始文件 + 中文翻译 (提交到代码仓,作为设计参考)
# arXiv 公开论文,引用通过论文 URL + 摘要实现
# 包含原始 PDF (论证基础) + 中文翻译 (设计分析) + 摘要 (速查)
# 不提交: 临时调试文件 (tmp/, images/, extract_pdfs.py, README.md)
reference/papers/tmp/
reference/papers/images/
reference/papers/extract_pdfs.py
reference/papers/README.md
# Reference 项目的 clone 副本 (通过 .gitmodules 拉取)
# 路径改为英文 (projects/ 而不是 参考项目/) 避免 submodule 路径编码问题
# 注意: submodule 路径必须不在 .gitignore 中,否则 git submodule add 会失败。
# submodule 内容 (仓库内的文件) 由用户本地的 submodule 拉取决定,
# 本仓只 track .gitmodules 配置。
# 旧的 clone 副本 (中文目录名, 已删除, 已转 submodule)
reference/参考项目/
# ------------------------------------------------------------
# Tauri bundler output (aethercode-desktop)
# The bundler writes MSI + extracted PFiles trees next to the app.
# These are re-creatable by `pnpm tauri build` and are ~120 MB each;
# leaving them untracked-but-visible buries real changes in `git status`.
# ------------------------------------------------------------
aethercode-desktop/pkg-old/
aethercode-desktop/.pkg-check*/
aethercode-desktop/bundle/
# Bundled deploy artifacts (the *.jar / *.exe patterns above already
# cover the files; this covers the directory the bundler copies them into).
aethercode-desktop/resources/
aethercode-desktop/src-tauri/resources/
# ------------------------------------------------------------
# End-to-end test scratch fixtures
# Round scripts write transcripts, jars and logs here while proving a
# fix against a real run. Pure scratch: the useful part is the log line
# that gets pasted into the round doc.
# .r750-e2e/ R747-R750 stream-json protocol verification
# tmp-r*-e2e/ TUI round e2e harnesses
# ------------------------------------------------------------
.r*-e2e/
**/tmp-r*-e2e/
# Stray shell/Maven redirection at the repo or module root. A `>` in a
# PowerShell command without an argument lands here; `aethercode/$out`
# came from `2>&1 $out` being parsed as a redirect target.
stdout.txt
stderr.txt
/stdout.txt
/stderr.txt
aethercode/stdout.txt
aethercode/stderr.txt
# ============================================================
# Whitelisted files (force include)
# ============================================================
# 重要: 这些 .gitignore 规则排除的目录, 里面有必须保留的子文件,
# 用 ! 取消忽略。
!.gitignore
!README.md
!LICENSE
!.gitattributes
# Gradle wrapper (需要在)
!gradlew
!gradlew.bat
!gradle/wrapper/gradle-wrapper.jar
# Maven wrapper
!mvnw
!mvnw.cmd
!.mvn/wrapper/maven-wrapper.jar
# R292 archive: old ssd code moved here before delete
.archive/
# R375: the TUI mutation batteries' snapshot files. A battery that is
# killed mid-case writes one; the NEXT run of that battery restores the
# tree from it. See aethercode-tui/scripts/test/mutation-snapshot.mjs.
tmp-*-mutate.snapshot.json