.gitignore
4.44 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
# Dependencies
node_modules/
# Environment
.env.local
# OS files
.DS_Store
Thumbs.db
# Logs
*.log
bot.log
.logs/
.data/
# System agents runtime data (under system/)
system/agents/*/conversations/
system/agents/*/logs/
system/agents/*/workspace/
system/agents/*/uploads/
system/agents/*/memory/
system/tasklog/
# ── Agent 自写的运行态文件(27-P3B W13 根治)─────────────────────────────
# system agent 的 Claude CLI workDir **就是它自己的源码目录** system/agents/<id>/,
# 所以它每跑一次就会重写自己的 todo.md / plan.md,Claude CLI 还会改
# .claude/scheduled_tasks.json。这些改动过去被整仓 git status 扫到,
# 归属算到「当时正在跑的 work 节点」头上,让真正成功的节点被判越界 fail。
# 这些文件没有人工维护的内容(内容是任务流水日志,最大的 112KB),
# 读侧一律走 agent-chat.js:loadFile()(try/catch → ''),缺失不崩;
# 新 agent 的这两个文件由 AgentScaffold / company-service._copyTemplate
# 从 system/templates/<id>/ 拷贝 —— **模板本体仍然被跟踪**,那才是源码。
system/agents/*/todo.md
system/agents/*/plan.md
system/agents/*/tasks/
# .claude/scheduled_tasks.json 已被下方 `system/agents/*/.claude/*` 规则覆盖
# System templates runtime data
system/templates/*/conversations/
system/templates/*/logs/
system/templates/*/train/*
!system/templates/*/train/hunt/
!system/templates/*/train/digest/
!system/templates/*/train/evolve/
system/templates/*/uploads/
system/templates/*/memory/
system/templates/.tasks/
# Company instance data (tenant-specific, under data/)
data/companies/
data/agents/job-*/
# 模板使用计数(27-P3B W13):每次 hire 都 +1 的纯运行态计数器,
# 以前原地改写人工维护的 system/templates/_registry.json,于是任何一次真跑
# 都会在工作区留一条 diff。搬到这里,_registry.json 只留人工写的基线。
data/template-usage.json
# API access logs (runtime generated by api-access-logger middleware)
apiconversation/
# Legacy directories (removed from architecture)
/conversations/
/skills/
# Build output
dist/
web/dist/
# Temp files
tmp/
*.tmp
# IDE
.idea/
.vscode/
*.swp
*.swo
# Lock files (keep package-lock, ignore pnpm if using npm)
# pnpm-lock.yaml
*.lock
!system/templates/*/.claude/*.lock
# === 运行时文件 (不提交) ===
.claude/
!system/templates/*/.claude/
system/templates/*/.claude/*
!system/templates/*/.claude/skills/
!system/templates/*/.claude/skills/**
!system/templates/*/.claude/*.lock
!system/agents/*/.claude/
system/agents/*/.claude/*
!system/agents/*/.claude/skills/
!system/agents/*/.claude/skills/**
.pylibs/
nohup.out
data/agents/
data/workspace/
/workspace/
system/system/
system/workspace/
# Runtime memory/daily logs
memory/
system/memory/
# SQLite databases (runtime data)
*.sqlite
*.sqlite-wal
*.sqlite-shm
# System company runtime data
system/data/companies/
# Temp/backup files
*.bak
*.lock
EOF
PYEOF
# Evolve engine intermediate artifacts (not final deliverables)
*.FRAUDULENT_*
*FRAUDULENT_*
.batch_prompt*.txt
.batch_score_prompt*.txt
.sys_test.txt
improved_test.jsonl
iteration_*_scores_clean.json
manual_optimizations_scores.json
# Evolve iteration data (logs, generated, scores, runs)
iteration_*_scores.json
iteration_scores_*.json
iteration_*_log.txt
iteration_*_generated.json
iteration_*_generated.jsonl
iteration_*_run.json
iteration_*_test.jsonl
iteration_*_plain.jsonl
# Evolve batch/eval/runner scripts & data
batch_*.jsonl
batch_*.json
generated_test_*.json
generated_test_*.jsonl
eval_api.js
eval_cli.js
evolve.js
generate_v3*.js
batch_generate.js
batch_score.js
batch_scorer.js
reliable_generate.js
reliable_scorer.js
run_eval*.js
run_eval*.json
runner.js
runner_v*.js
score_only.js
# Evolve manual optimization & reference data
manual_optimizations*.jsonl
manual_optimized_*.json
manual_scores.json
perfect_scores.json
perfect_test.jsonl
reference_log.txt
reference_scores.json
train_sample.jsonl
train_sample_scores.json
test_scores.json
# Evolve intermediate knowhow
knowhow_v0.md
# Evolve scorer intermediate versions (keep only final scorer.js)
scorer_v*.js
scorer_old.js
scorer_batch.js
scorer_fixed.js
scorer_ai.js
scorer_ai_fixed.js
scorer_llm.js
# Evolve SKILL intermediate versions (keep SKILL.md and SKILL_final.md)
SKILL_v[0-9]*.md
SKILL_v*_base.md
SKILL_v*_premature.md
SKILL_fake_*.md
# Python cache
__pycache__/
*.pyc
# Environment (secrets)
.env