@elvis1513/auto-coding-skill 4.3.7 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -761
- package/cli/assets/managed-install.json +38 -1
- package/cli/assets/skill/SKILL.md +15 -100
- package/cli/assets/skill/data/templates/ENVIRONMENT.md +30 -0
- package/cli/assets/skill/data/templates/architecture/.gitkeep +1 -0
- package/cli/assets/skill/data/templates/bridges/AGENTS.md +39 -145
- package/cli/assets/skill/data/templates/deployment/.gitkeep +1 -0
- package/cli/assets/skill/data/templates/design/.gitkeep +1 -0
- package/cli/assets/skill/data/templates/interfaces/.gitkeep +1 -0
- package/cli/assets/skill/data/templates/product/.gitkeep +1 -0
- package/cli/src/index.js +127 -2589
- package/cli/src/sync-assets.js +38 -95
- package/package.json +9 -17
- package/cli/assets/agents/browser-debugger.toml +0 -27
- package/cli/assets/agents/docs-researcher.toml +0 -18
- package/cli/assets/agents/explorer.toml +0 -26
- package/cli/assets/agents/fixer.toml +0 -29
- package/cli/assets/agents/reviewer.toml +0 -50
- package/cli/assets/skill/data/contracts/orchestration-v1.schema.json +0 -567
- package/cli/assets/skill/data/policies/feedback-resolutions-v1.json +0 -68
- package/cli/assets/skill/data/policies/workflow-migrations-v1.json +0 -657
- package/cli/assets/skill/data/templates/ENGINEERING.md +0 -115
- package/cli/assets/skill/data/templates/tools/ap.py +0 -16
- package/cli/assets/skill/requirements.txt +0 -1
- package/cli/assets/skill/scripts/ap.py +0 -17791
- package/cli/assets/skill/scripts/core.py +0 -510
- package/cli/assets/skill/scripts/http_checks.py +0 -92
- package/cli/assets/skill/scripts/install_integrity.py +0 -427
- package/cli/assets/skill/scripts/scaffold_templates.py +0 -325
- package/cli/tests/ap_concurrency_test.py +0 -3602
- package/cli/tests/ap_profiles_test.py +0 -3272
- package/cli/tests/core_shell_test.py +0 -345
- package/cli/tests/index.test.js +0 -2967
|
@@ -1,657 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema_version": 1,
|
|
3
|
-
"managed_versions": {
|
|
4
|
-
"agents": "4.3.7",
|
|
5
|
-
"engineering": "4.3.7"
|
|
6
|
-
},
|
|
7
|
-
"known_official_agents_sha256": [
|
|
8
|
-
"ebaaadab60327b3a4852948443d7191a4d48cb00bf4910038ab78c9149089373"
|
|
9
|
-
],
|
|
10
|
-
"known_official_engineering_body_sha256": [
|
|
11
|
-
"d1306cc626e8baf8c83c953b760fd771066de2bf125168eca3a7b7d6ff2b87a2",
|
|
12
|
-
"305931c6edef770033a4f1970b00e5fb1c1728351856a173dbfa497daf563021",
|
|
13
|
-
"198d675361337bc272880154266b3eb1f50e3f82f3c6ab04b2e559cd18d8c7b4"
|
|
14
|
-
],
|
|
15
|
-
"known_official_fragments": [
|
|
16
|
-
{
|
|
17
|
-
"id": "agents-v22-autovpn-high-risk",
|
|
18
|
-
"paths": ["AGENTS.md"],
|
|
19
|
-
"match": "exact-line",
|
|
20
|
-
"text": "- `high-risk` is mandatory for migrations, auth/access, billing/orders, Jenkins, container or production deployment work. It cannot be downgraded and must run the real `gate_full`, then use `verify` for Jenkins and target-environment evidence.",
|
|
21
|
-
"replacement": "- Migrations, auth/access, billing/orders, Jenkins, container, and production deployment work are high-risk for analysis, design, and review depth; the automatic local gate remains changed-scope and push ends coding."
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"id": "agents-v22-autovpn-resolved-gate",
|
|
25
|
-
"paths": ["AGENTS.md"],
|
|
26
|
-
"match": "exact-line",
|
|
27
|
-
"text": "7. Run the resolved changed/standard/full gate. High-risk work must use the configured real full command and then verify Jenkins/target surfaces before `PASS`.",
|
|
28
|
-
"replacement": "7. Run the configured changed-scope fast gate once, commit and push, then stop; do not poll Jenkins or targets unless the user explicitly asks to diagnose this push in the same task."
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"id": "agents-v22-autovpn-version",
|
|
32
|
-
"paths": ["AGENTS.md"],
|
|
33
|
-
"match": "exact-line",
|
|
34
|
-
"text": "- Version 2.2 resolves `auto` to micro/standard/high-risk, enforces a strict real full gate for high-risk work, and selects roles dynamically."
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"id": "agents-v22-geemanage-profile",
|
|
38
|
-
"paths": ["AGENTS.md"],
|
|
39
|
-
"match": "exact-line",
|
|
40
|
-
"text": "- The repo-local auto-coding-skill 2.2 workflow resolves `auto` into `micro`, `standard`, or `high-risk`; high-risk always uses a real full gate and verify-style closure."
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"id": "agents-v22-geemanage-gate",
|
|
44
|
-
"paths": ["AGENTS.md"],
|
|
45
|
-
"match": "exact-line",
|
|
46
|
-
"text": "- `high-risk`: configured full gate; changed/standard fallback is invalid.",
|
|
47
|
-
"replacement": "- `high-risk` increases analysis, design, and review depth; it still uses the configured changed-scope fast gate for normal development."
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"id": "agents-v22-geemill-profile",
|
|
51
|
-
"paths": ["AGENTS.md"],
|
|
52
|
-
"match": "exact-line",
|
|
53
|
-
"text": "- `docs/ENGINEERING.md` uses auto-coding-skill 2.2 profiles: `micro`, `standard`, and `high-risk`. `auto` selects one profile; high-risk always requires a real full gate and verify closure."
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"id": "agents-v22-geemill-gate",
|
|
57
|
-
"paths": ["AGENTS.md"],
|
|
58
|
-
"match": "exact-line",
|
|
59
|
-
"text": "- `high-risk`: the real `gate_full`; changed/standard fallback is forbidden",
|
|
60
|
-
"replacement": "- `high-risk`: deeper analysis, design, and review with the same changed-scope fast development gate"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"id": "agents-v22-geemill-verify",
|
|
64
|
-
"paths": ["AGENTS.md"],
|
|
65
|
-
"match": "exact-line",
|
|
66
|
-
"text": "7. For high-risk, pass full locally, commit/push, verify configured Jenkins and target surfaces, then record `PASS`, `FAIL`, or `PARTIAL` from actual evidence.",
|
|
67
|
-
"replacement": "7. Run the changed-scope fast gate once, commit/push, and record `DEV-CLOSED`; do not poll Jenkins or targets unless the user explicitly asks to diagnose this push in the same task."
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"id": "agents-v22-geestack-profile",
|
|
71
|
-
"paths": ["AGENTS.md"],
|
|
72
|
-
"match": "exact-line",
|
|
73
|
-
"text": "- Let `workflow.profile: auto` resolve the effective `micro`, `standard`, or `high-risk` path. High-risk signals force a real full gate and verified closure even when the configured baseline mode is `dev`."
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"id": "agents-v22-geestack-gate",
|
|
77
|
-
"paths": ["AGENTS.md"],
|
|
78
|
-
"match": "exact-line",
|
|
79
|
-
"text": "- `micro` uses the changed gate, `standard` uses the standard gate, and `high-risk` must execute `commands.gate_full`; a light or standard fallback never counts as full verification."
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"id": "agents-v22-geestack-verify",
|
|
83
|
-
"paths": ["AGENTS.md"],
|
|
84
|
-
"match": "exact-line",
|
|
85
|
-
"text": "- After push, verify Jenkins build and production target health when the effective profile is high-risk, the configured mode is `verify`, or the user explicitly requests it. Use `--allow-no-deploy` only for docs-only sync verification."
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"id": "agents-v22-geestack-path",
|
|
89
|
-
"paths": ["AGENTS.md"],
|
|
90
|
-
"match": "exact-line",
|
|
91
|
-
"text": "- Dockerfiles, compose, Jenkins, workflow tooling, auth/payment, and database changes automatically enter the high-risk/full path.",
|
|
92
|
-
"replacement": "- Dockerfiles, Compose, Jenkins, workflow tooling, auth/payment, and database changes are high-risk for analysis, design, and review; they do not expand the automatic local gate beyond changed-scope."
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"id": "agents-v22-geestock-full",
|
|
96
|
-
"paths": ["AGENTS.md"],
|
|
97
|
-
"match": "exact-line",
|
|
98
|
-
"text": "- Runtime/config/schema changes require the full gate declared in `docs/ENGINEERING.md`.",
|
|
99
|
-
"replacement": "- Runtime/config/schema changes are high-risk for analysis, design, and review; normal development still runs only the changed-scope fast gate."
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"id": "agents-v22-govchain-full",
|
|
103
|
-
"paths": ["AGENTS.md"],
|
|
104
|
-
"match": "exact-line",
|
|
105
|
-
"text": "- `high-risk` cannot be downgraded and must execute `commands.gate_full`; changed or standard fallbacks do not count. Use `PASS / FAIL / PARTIAL` only from the required executed evidence."
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"id": "agents-v22-geesight-flow",
|
|
109
|
-
"paths": ["AGENTS.md"],
|
|
110
|
-
"match": "exact-block",
|
|
111
|
-
"text": "- Micro work uses the changed gate and dev closure; ordinary product work uses the\n standard three-stack gate and dev closure; DB, auth, dependency, deployment,\n Jenkins, Docker, Compose, or MediaMTX changes use the real full gate and verify closure.\n- High-risk signals cannot be downgraded. Jenkins and target verification run only\n after commit/push when the effective profile is high-risk or verification is explicit.",
|
|
112
|
-
"replacement": "- DB, auth, dependency, deployment, Jenkins, Docker, Compose, and MediaMTX changes are high-risk for analysis, design, and review; every normal task still uses one changed-scope fast gate and push closure.\n- Jenkins and target verification run only in a separately requested owner-managed diagnostic task."
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"id": "agents-v22-xjmate-version",
|
|
116
|
-
"paths": ["AGENTS.md"],
|
|
117
|
-
"match": "exact-line",
|
|
118
|
-
"text": "- For any non-trivial code, config, deployment, database, UI, or docs change, follow the repo-local auto-coding-skill 2.2 workflow."
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"id": "agents-v22-xjmate-high-risk",
|
|
122
|
-
"paths": ["AGENTS.md"],
|
|
123
|
-
"match": "exact-line",
|
|
124
|
-
"text": "- `high-risk`: DB, auth/access/account, content security, files/object storage, client contracts, gateway/deployment/build/tooling, or explicit verify work; run the real `gate_full`, commit/push, verify Jenkins and target surfaces, then record `PASS`, `FAIL`, or `PARTIAL`.",
|
|
125
|
-
"replacement": "- DB, auth/access/account, content security, files/object storage, client contracts, and gateway/deployment/build/tooling changes are high-risk for analysis, design, and review; normal development still uses the changed-scope fast gate and push completion."
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"id": "agents-v22-xjmate-fallback",
|
|
129
|
-
"paths": ["AGENTS.md"],
|
|
130
|
-
"match": "exact-line",
|
|
131
|
-
"text": "- High-risk signals cannot be downgraded. A changed/standard gate cannot substitute for full."
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"id": "agents-v22-xjmate-local-full",
|
|
135
|
-
"paths": ["AGENTS.md"],
|
|
136
|
-
"match": "exact-line",
|
|
137
|
-
"text": "- Local Docker startup/runtime checks remain opt-in by task scope; high-risk local full still requires all configured non-runtime build/test/static checks.",
|
|
138
|
-
"replacement": "- Local Docker startup/runtime checks remain opt-in and run only when explicitly requested for diagnosis, not as part of the automatic development gate."
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"id": "engineering-v22-table-high-risk-en",
|
|
142
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
143
|
-
"match": "exact-line",
|
|
144
|
-
"text": "| `high-risk` | DB/auth/payment/deploy/build config or declared high risk | full | verify |",
|
|
145
|
-
"replacement": "| `high-risk` | DB/auth/payment/deploy/build config or declared high risk | changed/quick | push / `DEV-CLOSED` |"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"id": "engineering-v22-autovpn-table-high-risk",
|
|
149
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
150
|
-
"match": "exact-line",
|
|
151
|
-
"text": "| `high-risk` | migration、auth/access、billing/order、Jenkins、容器与生产部署 | real full | verify |",
|
|
152
|
-
"replacement": "| `high-risk` | migration、auth/access、billing/order、Jenkins、容器与生产部署 | changed/quick | push / `DEV-CLOSED` |"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"id": "engineering-v22-geemanage-high-risk",
|
|
156
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
157
|
-
"match": "exact-line",
|
|
158
|
-
"text": "- `high-risk` 用于数据库迁移、认证权限、安全、依赖/构建、Jenkins、Compose、运行时配置或显式 verify 工作;必须执行真正的 `commands.gate_full`,不得降级为 changed/standard。",
|
|
159
|
-
"replacement": "- 数据库迁移、认证权限、安全、依赖/构建、Jenkins、Compose 和运行时配置属于 high-risk,提升分析、设计和评审深度;正常开发仍只执行 changed/quick 门禁。"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"id": "engineering-v22-geemanage-flow",
|
|
163
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
164
|
-
"match": "exact-block",
|
|
165
|
-
"text": "5. 执行解析后的 gate;high-risk 必须 full。\n6. micro/standard 记录 `DEV-CLOSED`;high-risk/verify 在真实验证后记录 `PASS`、`FAIL` 或 `PARTIAL`。",
|
|
166
|
-
"replacement": "5. 仅执行一次配置的 changed/quick 门禁;风险档位只影响分析、设计和评审深度。\n6. 门禁通过后记录 `DEV-CLOSED`、提交并推送;Jenkins、部署和实际验收由项目所有者负责。"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"id": "engineering-v22-geemill-high-risk",
|
|
170
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
171
|
-
"match": "exact-line",
|
|
172
|
-
"text": "- `high-risk`:数据库迁移、认证/RBAC、MOM/ICS envelope 与 inbox/outbox/replay、排产与仓储锁、生产状态流转、Jenkins/Compose/部署、依赖及工作流工具变更;必须执行真实 `commands.gate_full`,并进入 `verify`。",
|
|
173
|
-
"replacement": "- 数据库迁移、认证/RBAC、MOM/ICS envelope 与 inbox/outbox/replay、排产与仓储锁、生产状态流转、Jenkins/Compose/部署、依赖及工作流工具变更属于 high-risk,提升分析、设计和评审深度;正常开发门禁仍为 changed/quick。"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"id": "engineering-v22-xjmate-high-risk",
|
|
177
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
178
|
-
"match": "exact-line",
|
|
179
|
-
"text": "- `high-risk`:数据库迁移、认证/访问控制/账号、管理员写操作与审计、内容安全、文件与对象存储、客户端契约、网关/部署/依赖/构建或工作流工具变更;必须执行真实 `commands.gate_full`,并进入 `verify`。",
|
|
180
|
-
"replacement": "- 数据库迁移、认证/访问控制/账号、管理员写操作与审计、内容安全、文件与对象存储、客户端契约、网关/部署/依赖/构建及工作流工具变更属于 high-risk,提升分析、设计和评审深度;正常开发门禁仍为 changed/quick。"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"id": "engineering-v22-full-fallback-zh",
|
|
184
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
185
|
-
"match": "exact-line",
|
|
186
|
-
"text": "高风险信号不可由 CLI、规则或手工 scope 降级。full 只能由 `gate_full`(或兼容的 `full_gate`)满足,不能回退到 changed/standard。"
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"id": "engineering-v22-geesight-table",
|
|
190
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
191
|
-
"match": "exact-line",
|
|
192
|
-
"text": "| `high-risk` | DB migration、OpenAPI/依赖锁、身份权限、Docker/Compose、MediaMTX、Jenkins | 真实 `gate_full` | `verify` |",
|
|
193
|
-
"replacement": "| `high-risk` | DB migration、OpenAPI/依赖锁、身份权限、Docker/Compose、MediaMTX、Jenkins | changed/quick | push / `DEV-CLOSED` |"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"id": "engineering-v22-verify-zh",
|
|
197
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
198
|
-
"match": "exact-line",
|
|
199
|
-
"text": "本项目要求 Jenkins 和目标环境验证。high-risk 本地 full 通过后提交推送,再以真实 Jenkins、健康检查、API、页面或业务路径证据记录 `PASS`、`FAIL` 或 `PARTIAL`。未执行的验证不得写成通过。"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"id": "engineering-v22-xjmate-verify-zh",
|
|
203
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
204
|
-
"match": "exact-line",
|
|
205
|
-
"text": "本项目要求 Jenkins 和目标环境验证。high-risk 本地 full 通过后提交推送,再以真实 Jenkins、目标健康、API、小程序/管理端或业务路径证据记录 `PASS`、`FAIL` 或 `PARTIAL`。未执行的验证不得写成通过。"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"id": "engineering-v22-autovpn-full-contract",
|
|
209
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
210
|
-
"match": "exact-block",
|
|
211
|
-
"text": "`workflow.profile: auto` 只负责选择最终档位。高风险路径、声明为\n`profile: high-risk` 的规则、显式 full 或 verify 都不可被命令行降级。\n高风险任务必须执行 `commands.gate_full`;changed、standard、light gate\n或单项测试不能冒充 full gate。"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"id": "engineering-v22-autovpn-closure",
|
|
215
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
216
|
-
"match": "exact-block",
|
|
217
|
-
"text": "6. micro/standard 写 `DEV-CLOSED` 后 commit + push;high-risk 先完成 real\n full,再 commit + push,并继续 Jenkins/目标环境验证后记录\n `PASS`、`FAIL` 或 `PARTIAL`。",
|
|
218
|
-
"replacement": "6. 所有档位只执行 changed/quick 门禁,写 `DEV-CLOSED` 后 commit + push;Jenkins、目标环境和实际验收由项目所有者负责。"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"id": "engineering-v22-geemanage-external-gate",
|
|
222
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
223
|
-
"match": "exact-line",
|
|
224
|
-
"text": "- `verification.jenkins_required` 和 `verification.target_env_required` 分别要求外部 Jenkins 和目标环境证据。T0012 已修复 GeeManage SCM,Jenkins #16 从 `dev` 精确提交构建、发布并部署成功,因此两项均为强制门禁;不能用本地结果替代外部证据。",
|
|
225
|
-
"replacement": "- T0012 已修复 GeeManage SCM,Jenkins #16 从 `dev` 精确提交构建、发布并部署成功;这是历史环境事实,不是正常编码门禁,后续 Jenkins、目标环境和实际验收由项目所有者负责。"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"id": "engineering-v22-geemanage-auto-full",
|
|
229
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
230
|
-
"match": "exact-line",
|
|
231
|
-
"text": "- PostgreSQL schema 只通过 `backend/migrations` 变更;迁移、认证和运行时配置自动进入 high-risk/full。",
|
|
232
|
-
"replacement": "- PostgreSQL schema 只通过 `backend/migrations` 变更;迁移、认证和运行时配置提升 high-risk 分析、设计和评审深度,但自动门禁保持 changed/quick。"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"id": "engineering-v22-geemill-version",
|
|
236
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
237
|
-
"match": "exact-line",
|
|
238
|
-
"text": "本仓库使用 auto-coding-skill 2.2 的自适应开发工作流。Frontmatter 是唯一的手工工作流配置源;项目事实、任务、接口和历史证据继续保存在对应文档中。",
|
|
239
|
-
"replacement": "Frontmatter 是唯一的手工工作流配置源;项目事实、任务、接口和历史证据继续保存在对应文档中。"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"id": "engineering-v22-xjmate-version",
|
|
243
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
244
|
-
"match": "exact-line",
|
|
245
|
-
"text": "本仓库使用 auto-coding-skill 2.2 的自适应开发工作流。Frontmatter 是唯一的手工工作流配置源;产品决策、任务、接口和历史证据继续保存在项目文档中。",
|
|
246
|
-
"replacement": "Frontmatter 是唯一的手工工作流配置源;产品决策、任务、接口和历史证据继续保存在项目文档中。"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"id": "engineering-v22-geestack-heading",
|
|
250
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
251
|
-
"match": "exact-line",
|
|
252
|
-
"text": "# GeeStack Engineering Workflow (auto-coding-skill 2.2)",
|
|
253
|
-
"replacement": "# GeeStack Engineering Workflow"
|
|
254
|
-
},
|
|
255
|
-
{
|
|
256
|
-
"id": "engineering-v22-geestack-full-contract",
|
|
257
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
258
|
-
"match": "exact-block",
|
|
259
|
-
"text": "- `high-risk`: authentication, payment, database, gateway, deployment, build\n configuration, or workflow tooling. Run the real `gate_full` and use verified\n closure.\n\nA high-risk signal cannot be downgraded by a CLI flag. The full path must execute\n`commands.gate_full`; a light or standard fallback is not equivalent.",
|
|
260
|
-
"replacement": "- Authentication, payment, database, gateway, deployment, build configuration, and workflow-tooling changes are high-risk for analysis, design, and review; normal development still uses the changed-scope fast gate."
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"id": "engineering-v22-geestack-verification",
|
|
264
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
265
|
-
"match": "exact-block",
|
|
266
|
-
"text": "Jenkins and target verification are enabled for this repository. High-risk work\ntherefore requires the full local gate, push-triggered Jenkins evidence, and the\nconfigured target health/business checks before a PASS closure. Do not claim a\nmatrix or deployment result from a command that did not run.",
|
|
267
|
-
"replacement": "Jenkins and target surfaces exist for this repository, but they are owner-managed after push and are not part of normal coding completion. Do not claim a matrix or deployment result from a command that did not run."
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"id": "engineering-v22-geestock-selector",
|
|
271
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
272
|
-
"match": "exact-block",
|
|
273
|
-
"text": "`auto` is only a selector. The effective profile is always `micro`, `standard`,\nor `high-risk`. A high-risk signal cannot be downgraded with a CLI flag or a\nproject rule. An explicit non-auto profile replaces auto's low/normal baseline.\n`workflow.mode: verify` also requires the full gate.\n\nProject `gate.rules` may declare `paths`, `commands`, `scope`, and an optional\n`profile`. Configure `commands.gate_full` (or legacy `commands.full_gate`) for\nhigh-risk work; a light or standard command does not count as a full gate."
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"id": "engineering-v22-geestock-verified-flow",
|
|
277
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
278
|
-
"match": "exact-block",
|
|
279
|
-
"text": "High-risk or explicit verification:\n\n1. Run the real full gate.\n2. Commit and push.\n3. Verify enabled CI/Jenkins and target-environment surfaces.\n4. Record `PASS`, `FAIL`, or `PARTIAL` from actual evidence."
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"id": "engineering-v22-govchain-heading",
|
|
283
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
284
|
-
"match": "exact-line",
|
|
285
|
-
"text": "# GovChain Engineering Workflow (auto-coding-skill 2.2)",
|
|
286
|
-
"replacement": "# GovChain Engineering Workflow"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"id": "engineering-v22-govchain-full-contract",
|
|
290
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
291
|
-
"match": "exact-block",
|
|
292
|
-
"text": "- `high-risk`: database, authentication, file transfer, gateway, deployment,\n build configuration, or workflow tooling; run the real full gate and use\n verified closure.\n\nHigh-risk signals cannot be downgraded. A full result is valid only when\n`commands.gate_full` executes; changed/standard fallbacks do not count.",
|
|
293
|
-
"replacement": "- Database, authentication, file-transfer, gateway, deployment, build-configuration, and workflow-tooling changes are high-risk for analysis, design, and review; normal development still uses the changed-scope fast gate."
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"id": "engineering-v22-govchain-full-closure",
|
|
297
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
298
|
-
"match": "exact-line",
|
|
299
|
-
"text": "high-risk work uses `PASS`, `FAIL`, or `PARTIAL` after its full gate."
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
"id": "engineering-v22-govchain-disabled-external",
|
|
303
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
304
|
-
"match": "exact-block",
|
|
305
|
-
"text": "- Jenkins and target verification are currently disabled in configuration.\n High-risk work still requires the real local full gate; disabled external\n surfaces must be reported as skipped, never as passed.",
|
|
306
|
-
"replacement": "- Jenkins and target verification are currently disabled in configuration; disabled external surfaces remain owner-managed and must never be reported as passed."
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"id": "engineering-v22-geesight-profile",
|
|
310
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
311
|
-
"match": "exact-block",
|
|
312
|
-
"text": "高风险信号不能被命令行或项目规则降级。只有 high-risk 才自动进入 verify;普通开发不因\n项目具备 Jenkins 和目标环境而被迫执行完整部署闭环。"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"id": "engineering-v22-geesight-full-command",
|
|
316
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
317
|
-
"match": "exact-line",
|
|
318
|
-
"text": "python3 docs/tools/autopipeline/ap.py light-gate --scope full --profile high-risk --mode verify --explain"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"id": "engineering-v22-geesight-verified-closure",
|
|
322
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
323
|
-
"match": "exact-block",
|
|
324
|
-
"text": "high-risk 工作必须先通过本地 full gate,再提交推送,随后验证启用的 Jenkins 与目标环境,\n最后依据真实证据记录 PASS、FAIL 或 PARTIAL。Jenkins/目标配置、账号和明文密码直接维护在\nfrontmatter 的 `access.*`;兼容凭据环境变量可继续保留。本地审计或升级不得自行触发构建、部署或目标探测。",
|
|
325
|
-
"replacement": "Jenkins/目标配置、账号和明文密码直接维护在 frontmatter 的 `access.*`,兼容凭据环境变量可继续保留。正常开发在 changed/quick 门禁和推送后结束;本地审计或升级不得自行触发构建、部署或目标探测。"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"id": "engineering-section-adaptive-profiles",
|
|
329
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
330
|
-
"match": "heading-section",
|
|
331
|
-
"text": "Adaptive execution profiles"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"id": "engineering-section-delivery-flow",
|
|
335
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
336
|
-
"match": "heading-section",
|
|
337
|
-
"text": "Delivery flow"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"id": "engineering-section-verification",
|
|
341
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
342
|
-
"match": "heading-section",
|
|
343
|
-
"text": "Verification"
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
"id": "engineering-section-main-commands",
|
|
347
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
348
|
-
"match": "heading-section",
|
|
349
|
-
"text": "Main commands"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"id": "engineering-section-execution-profiles-lower",
|
|
353
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
354
|
-
"match": "heading-section",
|
|
355
|
-
"text": "Execution profiles"
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"id": "engineering-section-core-optional-docs",
|
|
359
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
360
|
-
"match": "heading-section",
|
|
361
|
-
"text": "Core and optional documents"
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"id": "engineering-section-common-commands",
|
|
365
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
366
|
-
"match": "heading-section",
|
|
367
|
-
"text": "Common commands"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"id": "engineering-section-concurrent-write-tasks",
|
|
371
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
372
|
-
"match": "heading-section",
|
|
373
|
-
"text": "Concurrent write tasks"
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"id": "engineering-section-subagent-orchestration",
|
|
377
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
378
|
-
"match": "heading-section",
|
|
379
|
-
"text": "Subagent orchestration"
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"id": "engineering-section-standard-flow",
|
|
383
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
384
|
-
"match": "heading-section",
|
|
385
|
-
"text": "Standard Flow"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"id": "engineering-section-xjmate-profiles",
|
|
389
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
390
|
-
"match": "heading-section",
|
|
391
|
-
"text": "三档执行"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"id": "engineering-section-autovpn-flow",
|
|
395
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
396
|
-
"match": "heading-section",
|
|
397
|
-
"text": "2. 默认闭环"
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
"id": "engineering-section-autovpn-agents",
|
|
401
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
402
|
-
"match": "heading-section",
|
|
403
|
-
"text": "3. Agent 与模型"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"id": "engineering-section-autovpn-commands",
|
|
407
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
408
|
-
"match": "heading-section",
|
|
409
|
-
"text": "7. 常用命令"
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"id": "engineering-heading-geestock-minimal",
|
|
413
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
414
|
-
"match": "exact-line",
|
|
415
|
-
"text": "## Minimal configuration",
|
|
416
|
-
"replacement": "## Runtime and deployment facts"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"id": "engineering-heading-geestock-default",
|
|
420
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
421
|
-
"match": "exact-line",
|
|
422
|
-
"text": "## Default workflow",
|
|
423
|
-
"replacement": "## Local validation and delivery topology"
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"id": "engineering-heading-structure-policy",
|
|
427
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
428
|
-
"match": "exact-line",
|
|
429
|
-
"text": "## Structure policy",
|
|
430
|
-
"replacement": "## Repository structure facts"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"id": "engineering-heading-documents-history",
|
|
434
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
435
|
-
"match": "exact-line",
|
|
436
|
-
"text": "## Documents and history",
|
|
437
|
-
"replacement": "## Historical document layout"
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
"id": "engineering-heading-geemanage-profiles",
|
|
441
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
442
|
-
"match": "exact-line",
|
|
443
|
-
"text": "## Execution Profiles",
|
|
444
|
-
"replacement": "## Runtime and environment history"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"id": "engineering-heading-geemanage-gates",
|
|
448
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
449
|
-
"match": "exact-line",
|
|
450
|
-
"text": "## Gates",
|
|
451
|
-
"replacement": "## Validation command facts"
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
"id": "engineering-heading-geemanage-history",
|
|
455
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
456
|
-
"match": "exact-line",
|
|
457
|
-
"text": "## Documentation And History",
|
|
458
|
-
"replacement": "## Historical document layout"
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
"id": "engineering-heading-geemanage-agent-tool",
|
|
462
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
463
|
-
"match": "exact-line",
|
|
464
|
-
"text": "## Agent And Tool Policy",
|
|
465
|
-
"replacement": "## Jenkins and artifact facts"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"id": "engineering-heading-geesight-gate",
|
|
469
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
470
|
-
"match": "exact-line",
|
|
471
|
-
"text": "## Gate contract",
|
|
472
|
-
"replacement": "## Validation and contract facts"
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"id": "engineering-heading-geesight-closure",
|
|
476
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
477
|
-
"match": "exact-line",
|
|
478
|
-
"text": "## Verified closure",
|
|
479
|
-
"replacement": "## Access facts"
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"id": "engineering-heading-xjmate-gate",
|
|
483
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
484
|
-
"match": "exact-line",
|
|
485
|
-
"text": "## 门禁约定",
|
|
486
|
-
"replacement": "## 校验命令与诊断事实"
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"id": "engineering-heading-xjmate-history",
|
|
490
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
491
|
-
"match": "exact-line",
|
|
492
|
-
"text": "## 文档与历史",
|
|
493
|
-
"replacement": "## 历史文档布局"
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"id": "engineering-heading-autovpn-profiles",
|
|
497
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
498
|
-
"match": "exact-line",
|
|
499
|
-
"text": "## 1. 三档执行策略",
|
|
500
|
-
"replacement": "## 校验命令与诊断事实"
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"id": "engineering-heading-autovpn-history",
|
|
504
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
505
|
-
"match": "exact-line",
|
|
506
|
-
"text": "## 5. 文档与历史",
|
|
507
|
-
"replacement": "## 项目文档资产"
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"id": "engineering-v41-geestack-history-facts",
|
|
511
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
512
|
-
"match": "exact-block",
|
|
513
|
-
"text": "The minimal always-managed documents are `docs/ENGINEERING.md`, the taskbook,\nand the closure log. API documentation is project-required. DDs, ADRs, reviews,\ntesting matrices, deployment records, summaries, baselines, and backlogs are\ncreated or updated only when the change needs them.",
|
|
514
|
-
"replacement": "Existing taskbooks, closure logs, DDs, reviews, matrices, deployment records, summaries, baselines, and backlogs are preserved project history, not mandatory outputs. API documentation remains project-required when its configured contract paths change."
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"id": "engineering-v41-geestock-minimal-workflow",
|
|
518
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
519
|
-
"match": "exact-block",
|
|
520
|
-
"text": "Required for normal development:\n\n- `workflow.mode`: `dev`\n- `workflow.profile`: `auto`, `micro`, `standard`, or `high-risk`\n- `project.name`\n- all direct URL, username, and password values under `access.*`\n- one fast `commands.gate_changed`; standard/full commands are explicit diagnostics\n- `concurrency.isolation: adaptive`\n\nLegacy command keys such as `commands.light_gate`, `quick_test`, `test`, and\n`build` remain callable explicitly. Run `doctor` for exact missing-field diagnostics.\n",
|
|
521
|
-
"replacement": ""
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
"id": "engineering-v41-geestock-default-workflow",
|
|
525
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
526
|
-
"match": "exact-block",
|
|
527
|
-
"text": "Development:\n\n1. Read this file and the active task entry.\n2. Run or reason through `classify --scope auto`.\n3. Record the smallest useful design note; create DD/ADR only when indicated.\n4. Implement the necessary change using existing project structure and reuse points.\n5. Run exactly one configured changed/quick gate; profiles only adjust analysis, design, and review depth.\n6. Record `DEV-CLOSED`, commit, and push.\nThe authoritative order remains ENGINEERING, taskbook/archives, design and\ninterface records, regression/bug records, closure evidence, deployment records,\nthen implementation. Do not mark unexecuted checks as PASS.\n",
|
|
528
|
-
"replacement": ""
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"id": "engineering-v41-geemanage-profile-workflow",
|
|
532
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
533
|
-
"match": "exact-block",
|
|
534
|
-
"text": "- `workflow.profile: auto` 根据改动解析为 `micro`、`standard` 或 `high-risk`。\n- `micro` 用于纯文档、纯测试或隔离的低风险改动,执行 changed/quick 门禁并推送闭环。\n- `standard` 用于普通功能和缺陷,提升分析与评审深度,但仍只执行 changed/quick 门禁并推送闭环。\n- 数据库迁移、认证权限、安全、依赖/构建、Jenkins、Compose 和运行时配置属于 high-risk,提升分析、设计和评审深度;正常开发仍只执行 changed/quick 门禁。",
|
|
535
|
-
"replacement": ""
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"id": "engineering-v41-geemanage-history-workflow",
|
|
539
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
540
|
-
"match": "exact-block",
|
|
541
|
-
"text": "- `docs/tasks/taskbook.md` 是活动任务源;`docs/tasks/closure-log.md` 保存轻量闭环记录。\n- 跨模块、API、DB、认证、部署/CI 或长期结构决策才创建 DD/ADR;其他任务只写最小设计。",
|
|
542
|
-
"replacement": "- Existing taskbook、closure 和 design 文档是保留的项目历史,不是普通任务的必填产物。"
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
"id": "engineering-v41-geemanage-agent-workflow",
|
|
546
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
547
|
-
"match": "exact-block",
|
|
548
|
-
"text": "- `.agents/agents/*.toml` 只描述角色与权限,不固定模型;由当前客户端动态选择可用模型。\n- 主代理负责范围、结构决策、集成、门禁和闭环;独立的探索、文档研究、实现切片或复核才交给子代理。\n- 优先复用 repo 脚本、`docs/tools/autopipeline/ap.py`、已安装 skill/MCP/connector;当前 API 行为需要外部事实时只使用权威文档。\n- 任何 Jenkins、目标环境或浏览器结果只能由实际执行证据支持。",
|
|
549
|
-
"replacement": "- 任何 Jenkins、目标环境或浏览器结果只能由实际执行证据支持。"
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
"id": "engineering-v41-geesight-history-assets",
|
|
553
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
554
|
-
"match": "exact-block",
|
|
555
|
-
"text": "最小必需文档是本文件、`docs/tasks/taskbook.md` 和 `docs/tasks/closure-log.md`。现有 API、\ndesign、ADR、review、testing、deployment、bug 和 summary 文档是项目已经启用的可选实体,\n继续保留,不复制回 Skill 模板目录。\n\ntaskbook、closure log 和顶层 `docs/design/T*.md` 是活跃工作集。已关闭历史通过",
|
|
556
|
-
"replacement": "现有 taskbook、closure、API、design、ADR、review、testing、deployment、bug 和 summary 文档是保留的项目资产,不是普通任务的必填产物。已关闭历史通过"
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"id": "engineering-v41-geesight-authority",
|
|
560
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
561
|
-
"match": "exact-block",
|
|
562
|
-
"text": "权威顺序:ENGINEERING → active taskbook/archives → active design/design archives → API/ADR →\ntesting/review/bug/deployment → closure/evidence → implementation。",
|
|
563
|
-
"replacement": ""
|
|
564
|
-
},
|
|
565
|
-
{
|
|
566
|
-
"id": "engineering-v41-geesight-access-only",
|
|
567
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
568
|
-
"match": "exact-line",
|
|
569
|
-
"text": "Jenkins/目标配置、账号和明文密码直接维护在 frontmatter 的 `access.*`,兼容凭据环境变量可继续保留。正常开发在 changed/quick 门禁和推送后结束;本地审计或升级不得自行触发构建、部署或目标探测。",
|
|
570
|
-
"replacement": "Jenkins/目标配置、账号和明文密码直接维护在 frontmatter 的 `access.*`;兼容凭据环境变量可继续保留。"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"id": "engineering-v41-xjmate-history",
|
|
574
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
575
|
-
"match": "exact-block",
|
|
576
|
-
"text": "- 活跃任务写入 `docs/tasks/taskbook.md`,闭环写入 `docs/tasks/closure-log.md`。\n- API 文档和 change log 是必需文档;接口、权限或跨端契约变化必须同步维护。",
|
|
577
|
-
"replacement": "- Existing taskbook 和 closure 是保留的项目历史。\n- API 文档和 change log 是必需文档;接口、权限或跨端契约变化必须同步维护。"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
"id": "engineering-v41-xjmate-design-workflow",
|
|
581
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
582
|
-
"match": "exact-line",
|
|
583
|
-
"text": "- DD、review、testing、deployment 等文档按任务需要维护,不因模板存在而批量创建。"
|
|
584
|
-
},
|
|
585
|
-
{
|
|
586
|
-
"id": "engineering-v41-autovpn-profile-table",
|
|
587
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
588
|
-
"match": "exact-block",
|
|
589
|
-
"text": "| Profile | 适用范围 | 必须门禁 | 闭环 |\n| --- | --- | --- | --- |\n| `micro` | 纯文档、纯测试或隔离的小改动 | changed | dev / `DEV-CLOSED` |\n| `standard` | 普通功能与缺陷修复 | standard | dev / `DEV-CLOSED` |\n| `high-risk` | migration、auth/access、billing/order、Jenkins、容器与生产部署 | changed/quick | push / `DEV-CLOSED` |\n\n",
|
|
590
|
-
"replacement": ""
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
"id": "engineering-v41-autovpn-doc-assets",
|
|
594
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
595
|
-
"match": "exact-block",
|
|
596
|
-
"text": "核心文档是 ENGINEERING、taskbook 和 closure log。AutoVPN 已长期维护 API、\ndesign、ADR、review、testing、bugs、deployment、summary 及月度 archive,\n这些是项目资产,不因 2.2.0 的最小默认模板而删除或重建。",
|
|
597
|
-
"replacement": "AutoVPN 已长期维护 taskbook、closure、API、design、ADR、review、testing、bugs、deployment、summary 及月度 archive;这些是保留的项目资产,不是普通任务的必填产物。"
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
"id": "engineering-v41-autovpn-authority",
|
|
601
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
602
|
-
"match": "exact-block",
|
|
603
|
-
"text": "权威顺序:ENGINEERING → taskbook/archive → design/ADR → API 契约 →\nregression/bugs → closure/evidence → deployment → 实现。",
|
|
604
|
-
"replacement": ""
|
|
605
|
-
}
|
|
606
|
-
],
|
|
607
|
-
"conflict_rules": [
|
|
608
|
-
{
|
|
609
|
-
"id": "duplicate-managed-workflow-section",
|
|
610
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
611
|
-
"pattern": "^\\s*#{1,6}\\s+(?:adaptive\\s+)?execution\\s+profiles?\\s*$|^\\s*#{1,6}\\s+(?:minimal\\s+configuration|concurrent\\s+write\\s+tasks|subagent\\s+orchestration|default\\s+workflow|delivery\\s+flow|gates?|gate\\s+contract|verification|structure\\s+policy|core\\s+and\\s+optional\\s+documents|documents?\\s+and\\s+history|documentation\\s+and\\s+history|agent\\s+and\\s+tool\\s+policy|standard\\s+flow|verified\\s+closure|common\\s+commands|main\\s+commands)\\s*$|^\\s*#{1,6}\\s*(?:[1-7]\\.\\s*)?(?:三档执行(?:策略)?|默认闭环|Agent\\s*与模型|门禁约定|文档与历史|常用命令)\\s*$|^\\s*#{2,6}\\s+.*(?:workflow|工作流|默认闭环|standard\\s+flow)\\s*$",
|
|
612
|
-
"flags": "i",
|
|
613
|
-
"message": "shared workflow headings must live only in the managed block; move durable project facts to a project-facts heading or docs/project/ and remove the duplicate section"
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
"id": "stale-workflow-version",
|
|
617
|
-
"paths": ["AGENTS.md", "docs/ENGINEERING.md"],
|
|
618
|
-
"pattern": "auto-coding-skill\\s+2\\.2",
|
|
619
|
-
"flags": "i",
|
|
620
|
-
"message": "stale 2.2 workflow authority remains outside the managed block"
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
"id": "expanded-full-gate-en",
|
|
624
|
-
"paths": ["AGENTS.md", "docs/ENGINEERING.md"],
|
|
625
|
-
"pattern": "(?:(?:high[- ]risk|normal development)|(?:(?:runtime|config|schema)(?:/config/schema)?)(?:\\s+(?:changes?|work))?)[^\\n]*(?:must|always|requires?|force|cannot|forbidden|invalid|still requires)[^\\n]*(?:gate_full|full gate|real full|full path|full verification)|(?:gate_full|full gate|real full|full path)[^\\n]*(?:must|requires?|cannot|forbidden|invalid)",
|
|
626
|
-
"flags": "i",
|
|
627
|
-
"message": "normal development is required to run an expanded full gate"
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
"id": "expanded-profile-table",
|
|
631
|
-
"paths": ["docs/ENGINEERING.md"],
|
|
632
|
-
"pattern": "^\\s*\\|\\s*`?high[- ]risk`?\\s*\\|[^\\n]*\\|\\s*(?:real\\s+)?`?(?:gate_)?full`?\\s*\\|",
|
|
633
|
-
"flags": "i",
|
|
634
|
-
"message": "profile table still maps high-risk work to a full gate"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"id": "expanded-full-gate-zh",
|
|
638
|
-
"paths": ["AGENTS.md", "docs/ENGINEERING.md"],
|
|
639
|
-
"pattern": "(?:high-risk|高风险)[^\\n]*(?:必须|不得|不能|不可|要求)[^\\n]*(?:gate_full|full|完整门禁|verify|Jenkins|目标环境)|(?:必须|要求)[^\\n]*(?:gate_full|full)[^\\n]*(?:high-risk|高风险)",
|
|
640
|
-
"flags": "i",
|
|
641
|
-
"message": "正常开发被要求执行 full/verify 外部门禁"
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
"id": "post-push-external-verification",
|
|
645
|
-
"paths": ["AGENTS.md", "docs/ENGINEERING.md"],
|
|
646
|
-
"pattern": "(?:after (?:commit/)?push|push-triggered|提交推送后|推送后)[^\\n]*(?:verify|verification|验证)[^\\n]*(?:Jenkins|target|目标)|(?:Jenkins|target|目标)[^\\n]*(?:verify|verification|验证)[^\\n]*(?:after (?:commit/)?push|提交推送后|推送后)",
|
|
647
|
-
"flags": "i",
|
|
648
|
-
"message": "coding closure still requires post-push Jenkins or target verification"
|
|
649
|
-
}
|
|
650
|
-
],
|
|
651
|
-
"dependency_recovery": {
|
|
652
|
-
"allowed_gate": "gate_changed",
|
|
653
|
-
"requires_locked_dependency": true,
|
|
654
|
-
"retry_same_gate_only": true,
|
|
655
|
-
"forbid_full_gate_recovery": true
|
|
656
|
-
}
|
|
657
|
-
}
|