@elvis1513/auto-coding-skill 3.0.4 → 4.1.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 +159 -328
- package/cli/assets/agents/explorer.toml +1 -1
- package/cli/assets/agents/fixer.toml +4 -4
- package/cli/assets/agents/reviewer.toml +12 -12
- package/cli/assets/skill/SKILL.md +135 -234
- package/cli/assets/skill/data/policies/workflow-migrations-v1.json +291 -5
- package/cli/assets/skill/data/templates/ENGINEERING.md +164 -292
- package/cli/assets/skill/data/templates/bridges/AGENTS.md +133 -14
- package/cli/assets/skill/scripts/ap.py +884 -221
- package/cli/assets/skill/scripts/scaffold_templates.py +40 -5
- package/cli/src/index.js +180 -93
- package/cli/tests/ap_concurrency_test.py +109 -24
- package/cli/tests/ap_profiles_test.py +81 -41
- package/cli/tests/index.test.js +114 -77
- package/package.json +2 -2
- package/cli/assets/skill/data/templates/docs/tasks/closure-log.md +0 -17
- package/cli/assets/skill/data/templates/docs/tasks/taskbook.md +0 -30
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": 1,
|
|
3
3
|
"managed_versions": {
|
|
4
|
-
"agents": "
|
|
5
|
-
"engineering": "
|
|
4
|
+
"agents": "4.1.0",
|
|
5
|
+
"engineering": "4.1.0"
|
|
6
6
|
},
|
|
7
7
|
"known_official_agents_sha256": [
|
|
8
8
|
"ebaaadab60327b3a4852948443d7191a4d48cb00bf4910038ab78c9149089373"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"paths": ["AGENTS.md"],
|
|
26
26
|
"match": "exact-line",
|
|
27
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;
|
|
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
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"id": "agents-v22-autovpn-version",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"paths": ["AGENTS.md"],
|
|
65
65
|
"match": "exact-line",
|
|
66
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`;
|
|
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
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"id": "agents-v22-geestack-profile",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"paths": ["AGENTS.md"],
|
|
136
136
|
"match": "exact-line",
|
|
137
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
|
|
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
139
|
},
|
|
140
140
|
{
|
|
141
141
|
"id": "engineering-v22-table-high-risk-en",
|
|
@@ -323,9 +323,295 @@
|
|
|
323
323
|
"match": "exact-block",
|
|
324
324
|
"text": "high-risk 工作必须先通过本地 full gate,再提交推送,随后验证启用的 Jenkins 与目标环境,\n最后依据真实证据记录 PASS、FAIL 或 PARTIAL。Jenkins/目标配置、账号和明文密码直接维护在\nfrontmatter 的 `access.*`;兼容凭据环境变量可继续保留。本地审计或升级不得自行触发构建、部署或目标探测。",
|
|
325
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": ""
|
|
326
605
|
}
|
|
327
606
|
],
|
|
328
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
|
+
},
|
|
329
615
|
{
|
|
330
616
|
"id": "stale-workflow-version",
|
|
331
617
|
"paths": ["AGENTS.md", "docs/ENGINEERING.md"],
|