aodw-skill 0.7.28 → 0.9.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.
Files changed (129) hide show
  1. package/.aodw-next/01-core/ai-interaction-rules.md +24 -2
  2. package/.aodw-next/01-core/ai-knowledge-rules.md +31 -1
  3. package/.aodw-next/01-core/aodw-constitution.md +84 -15
  4. package/.aodw-next/01-core/git-discipline.md +160 -31
  5. package/.aodw-next/01-core/test-discipline.md +124 -0
  6. package/.aodw-next/02-workflow/autopilot-goal-spec.md +2 -2
  7. package/.aodw-next/02-workflow/autopilot-protocol.md +1 -1
  8. package/.aodw-next/02-workflow/rt-manager.md +310 -20
  9. package/.aodw-next/02-workflow/spec-full-profile.md +4 -3
  10. package/.aodw-next/02-workflow/spec-lite-profile.md +2 -1
  11. package/.aodw-next/02-workflow/sub-agent-driven-profile.md +156 -0
  12. package/.aodw-next/02-workflow/task-pack-projection.md +250 -0
  13. package/.aodw-next/04-auditors/aodw-development-auditor-rules.md +31 -13
  14. package/.aodw-next/04-auditors/aodw-full-auditor-rules.md +61 -39
  15. package/.aodw-next/04-auditors/aodw-plan-auditor-rules.md +109 -0
  16. package/.aodw-next/04-auditors/aodw-requirement-auditor-rules.md +51 -31
  17. package/.aodw-next/README.md +63 -1
  18. package/.aodw-next/SKILL.md +2 -0
  19. package/.aodw-next/config.yaml +5 -0
  20. package/.aodw-next/manifest.yaml +42 -2
  21. package/.aodw-next/manifests/rt-gates.yaml +252 -0
  22. package/.aodw-next/project.yaml +41 -1
  23. package/.aodw-next/skills/handover-pack/SKILL.md +219 -0
  24. package/.aodw-next/skills/handover-pack/references/format-contract.md +124 -0
  25. package/.aodw-next/skills/handover-pack/scripts/_common.sh +92 -0
  26. package/.aodw-next/skills/handover-pack/scripts/check-closure.sh +163 -0
  27. package/.aodw-next/skills/handover-pack/scripts/next-number.sh +111 -0
  28. package/.aodw-next/skills/handover-pack/scripts/validate.py +260 -0
  29. package/.aodw-next/skills/handover-pack/templates/handover-template.md +99 -0
  30. package/.aodw-next/templates/aodw-kernel-loader-template.md +3 -4
  31. package/.aodw-next/templates/rt-autopilot-preflight.template.md +1 -1
  32. package/.aodw-next/templates/rt-lite.template.md +1 -1
  33. package/.aodw-next/templates/rt-meta-template.yaml +30 -1
  34. package/.aodw-next/tools/fixtures/data/hook-bad-stdin.txt +1 -0
  35. package/.aodw-next/tools/fixtures/data/hook-pretooluse-benign.json +17 -0
  36. package/.aodw-next/tools/fixtures/data/hook-pretooluse-commit.json +17 -0
  37. package/.aodw-next/tools/fixtures/data/hook-stop-active.json +13 -0
  38. package/.aodw-next/tools/fixtures/data/hook-stop-first.json +13 -0
  39. package/.aodw-next/tools/fixtures/data/python3-no-yaml.sh +4 -0
  40. package/.aodw-next/tools/fixtures/root-g101/RT/RT-701/meta.yaml +4 -0
  41. package/.aodw-next/tools/fixtures/root-g101/RT/RT-702/meta.yaml +4 -0
  42. package/.aodw-next/tools/fixtures/root-g101/RT/RT-703/meta.yaml +4 -0
  43. package/.aodw-next/tools/fixtures/root-g101/RT/index.yaml +11 -0
  44. package/.aodw-next/tools/fixtures/root-g109/RT/RT-622/meta.yaml +5 -0
  45. package/.aodw-next/tools/fixtures/root-g109/RT/RT-622/rt-lite.md +6 -0
  46. package/.aodw-next/tools/fixtures/root-g109/RT/index.yaml +5 -0
  47. package/.aodw-next/tools/fixtures/root-g113/RT/RT-631/handoff/unit-U1-input.md +12 -0
  48. package/.aodw-next/tools/fixtures/root-g113/RT/RT-631/meta.yaml +5 -0
  49. package/.aodw-next/tools/fixtures/root-g113/RT/RT-631/rt-lite.md +6 -0
  50. package/.aodw-next/tools/fixtures/root-g113/RT/index.yaml +3 -0
  51. package/.aodw-next/tools/fixtures/root-g114-noledger/RT/RT-811/meta.yaml +6 -0
  52. package/.aodw-next/tools/fixtures/root-g114-noledger/RT/RT-812/meta.yaml +6 -0
  53. package/.aodw-next/tools/fixtures/root-g114-noledger/RT/index.yaml +7 -0
  54. package/.aodw-next/tools/fixtures/root-g114g115/RT/RT-801/meta.yaml +10 -0
  55. package/.aodw-next/tools/fixtures/root-g114g115/RT/RT-802/meta.yaml +6 -0
  56. package/.aodw-next/tools/fixtures/root-g114g115/RT/RT-803/meta.yaml +7 -0
  57. package/.aodw-next/tools/fixtures/root-g114g115/RT/RT-804/meta.yaml +6 -0
  58. package/.aodw-next/tools/fixtures/root-g114g115/RT/RT-805/meta.yaml +6 -0
  59. package/.aodw-next/tools/fixtures/root-g114g115/RT/RT-806/meta.yaml +11 -0
  60. package/.aodw-next/tools/fixtures/root-g114g115/RT/RT-807/meta.yaml +6 -0
  61. package/.aodw-next/tools/fixtures/root-g114g115/RT/RT-808/meta.yaml +6 -0
  62. package/.aodw-next/tools/fixtures/root-g114g115/RT/RT-809/meta.yaml +9 -0
  63. package/.aodw-next/tools/fixtures/root-g114g115/RT/_deferred-items.md +53 -0
  64. package/.aodw-next/tools/fixtures/root-g114g115/RT/index.yaml +21 -0
  65. package/.aodw-next/tools/fixtures/root-mini/RT/RT-101/rt-lite.md +3 -0
  66. package/.aodw-next/tools/fixtures/root-u1/RT/RT-501/handoff/unit-U1-input.md +19 -0
  67. package/.aodw-next/tools/fixtures/root-u1/RT/RT-502/handoff/unit-U1-input.md +18 -0
  68. package/.aodw-next/tools/fixtures/root-u1/RT/RT-503/handoff/unit-U1-input.md +19 -0
  69. package/.aodw-next/tools/fixtures/root-u1/RT/RT-503/meta.yaml +5 -0
  70. package/.aodw-next/tools/fixtures/root-u1/RT/RT-503/retrospective.md +5 -0
  71. package/.aodw-next/tools/fixtures/root-u1/RT/RT-504/handoff/unit-U1-input.md +19 -0
  72. package/.aodw-next/tools/fixtures/root-u1/RT/RT-504/meta.yaml +5 -0
  73. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-201/meta.yaml +4 -0
  74. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-201/rt-lite.md +3 -0
  75. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-202/meta.yaml +4 -0
  76. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-202/rt-lite.md +3 -0
  77. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-203/meta.yaml +4 -0
  78. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-203/rt-lite.md +3 -0
  79. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-204/meta.yaml +3 -0
  80. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-204/rt-lite.md +3 -0
  81. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-205/meta.yaml +4 -0
  82. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-205/rt-lite.md +3 -0
  83. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-206/meta.yaml +4 -0
  84. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-206/rt-lite.md +3 -0
  85. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-207/meta.yaml +4 -0
  86. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-207/rt-lite.md +3 -0
  87. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-208/meta.yaml +4 -0
  88. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-208/rt-lite.md +3 -0
  89. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-209/meta.yaml +4 -0
  90. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-209/rt-lite.md +3 -0
  91. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-210/meta.yaml +4 -0
  92. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-210/rt-lite.md +3 -0
  93. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-211/meta.yaml +4 -0
  94. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-212/meta.yaml +4 -0
  95. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-212/rt-lite.md +3 -0
  96. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-213/meta.yaml +3 -0
  97. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-213/rt-lite.md +3 -0
  98. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-214/meta.yaml +5 -0
  99. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-214/rt-lite.md +4 -0
  100. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-215/meta.yaml +5 -0
  101. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-215/retrospective.md +2 -0
  102. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-215/rt-lite.md +4 -0
  103. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-301/changelog.md +2 -0
  104. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-301/csf-review.md +2 -0
  105. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-301/meta.yaml +4 -0
  106. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-302/meta.yaml +4 -0
  107. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-302/rt-lite.md +3 -0
  108. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-303/meta.yaml +5 -0
  109. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-303/rt-lite.md +2 -0
  110. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/index.yaml +6 -0
  111. package/.aodw-next/tools/fixtures/root-u2b/.aodw-next/guide.md +4 -0
  112. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-401/notes.md +3 -0
  113. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-401/rt-lite.md +3 -0
  114. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-402/notes.md +3 -0
  115. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-402/rt-lite.md +13 -0
  116. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-403/rt-lite.md +3 -0
  117. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-403/sub/deep-notes.md +3 -0
  118. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-404/rt-lite.md +3 -0
  119. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-405/rt-lite.md +4 -0
  120. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-406/rt-lite.md +6 -0
  121. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-407/rt-lite.md +3 -0
  122. package/.aodw-next/tools/fixtures/root-u2b/docs/a/shared.md +8 -0
  123. package/.aodw-next/tools/fixtures/root-u2b/docs/b/shared.md +2 -0
  124. package/.aodw-next/tools/fixtures/run-fixtures.sh +504 -0
  125. package/.aodw-next/tools/fixtures/run-skill-fixtures.sh +671 -0
  126. package/.aodw-next/tools/install-skills.sh +228 -0
  127. package/.aodw-next/tools/rt-guard.sh +1589 -0
  128. package/bin/aodw.js +11 -0
  129. package/package.json +4 -2
@@ -0,0 +1,6 @@
1
+ rt_id: RT-802
2
+ title: "fixture: G114 反例——声称转出的编号在台账里根本不存在"
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ deferred_items_raised:
6
+ - DI-009
@@ -0,0 +1,7 @@
1
+ rt_id: RT-803
2
+ title: "fixture: G114 反例——编号已被别的 RT 占用(内容没落盘)"
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ # DI-003 存在,但其「发现于」是 RT-802 ⇒ 本 RT 宣称转出实为空账
6
+ deferred_items_raised:
7
+ - DI-003
@@ -0,0 +1,6 @@
1
+ rt_id: RT-804
2
+ title: "fixture: G115 反例——声称认领但台账状态仍写「未认领」"
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ deferred_items_claimed:
6
+ - DI-001
@@ -0,0 +1,6 @@
1
+ rt_id: RT-805
2
+ title: "fixture: G115 正例——台账状态列已标注本 RT-ID"
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ deferred_items_claimed:
6
+ - DI-004
@@ -0,0 +1,11 @@
1
+ rt_id: RT-806
2
+ title: "fixture: G115 反例——台账状态标的是别的 RT(认领人不符)"
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ # DI-002 状态=已认领(RT-803)——认领人是别的 RT。
6
+ # DI-004 状态=已认领(RT-805),但其「建议处置」行**有意提到 RT-806**:
7
+ # 若实现退化成「在整个条目块里 grep RT-ID」,DI-004 会被误判成一致。
8
+ # 本用例同时声称认领两条,靠 detail 必须同时报出两个编号来钉死该退化。
9
+ deferred_items_claimed:
10
+ - DI-002
11
+ - DI-004
@@ -0,0 +1,6 @@
1
+ rt_id: RT-807
2
+ title: "fixture: G115 反例——条目存在但台账缺「状态」行"
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ deferred_items_claimed:
6
+ - DI-005
@@ -0,0 +1,6 @@
1
+ rt_id: RT-808
2
+ title: "fixture: G115 反例——声称认领的编号在台账里不存在"
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ deferred_items_claimed:
6
+ - DI-009
@@ -0,0 +1,9 @@
1
+ rt_id: RT-809
2
+ title: "fixture: 向后兼容——完全不写 DI 字段的存量 RT,G114/G115 零影响"
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ # 有意不写 deferred_items_raised / deferred_items_claimed。
6
+ # 台账文件就在同一 root 下(RT/_deferred-items.md),本用例证明判据不会
7
+ # 因「台账存在」就去反向追责没声明的 RT。
8
+ notes: >
9
+ 未采用 DI 台账约定的项目/RT,行为与本 PR 之前完全一致。
@@ -0,0 +1,53 @@
1
+ # RT 遗留事项台账(fixture 最小形态:G114/G115 的锚点)
2
+
3
+ 本文件只为 fixture 服务,条目内容全是占位文本,不代表任何真实遗留事项。
4
+ 真实台账的写法见 `.aodw-next/02-workflow/rt-manager.md` §3.4b-2。
5
+
6
+ 条目标题行形态必须是 `### DI-0NN — 短标题`——G114/G115 按这行认条目,
7
+ 不做全文 grep(否则「被别的条目正文提到过」会被误判成「自己有条目」)。
8
+
9
+ ---
10
+
11
+ ## 待认领
12
+
13
+ ### DI-001 — 未认领条目(G115 反例锚点:声称认领、台账仍写未认领)
14
+
15
+ | 字段 | 内容 |
16
+ |---|---|
17
+ | **发现于** | RT-801 |
18
+ | **问题** | fixture 占位文本 |
19
+ | **状态** | 未认领 |
20
+
21
+ ### DI-002 — 已被 RT-803 认领(G115 反例锚点:认领人不是声称方)
22
+
23
+ | 字段 | 内容 |
24
+ |---|---|
25
+ | **发现于** | RT-801 |
26
+ | **问题** | fixture 占位文本 |
27
+ | **状态** | 已认领(RT-803,2026-09-04) |
28
+
29
+ ### DI-003 — 编号被 RT-802 占用(G114 反例锚点:编号存在但条目是别人的)
30
+
31
+ | 字段 | 内容 |
32
+ |---|---|
33
+ | **发现于** | RT-802 |
34
+ | **问题** | fixture 占位文本。本条正文提到 DI-001,用来钉住块扫描在下一个 `### DI-` 处收尾 |
35
+ | **状态** | 未认领 |
36
+
37
+ ### DI-004 — 已被 RT-805 认领(G115 正例锚点)
38
+
39
+ | 字段 | 内容 |
40
+ |---|---|
41
+ | **发现于** | RT-801 |
42
+ | **问题** | fixture 占位文本 |
43
+ | **建议处置** | 本行有意提到 RT-806,用来钉住「只取状态值单元格、不整块 grep RT-ID」 |
44
+ | **状态** | 已认领(RT-805,2026-09-04) |
45
+
46
+ ### DI-005 — 条目存在但**有意不写状态行**(G115 反例锚点)
47
+
48
+ | 字段 | 内容 |
49
+ |---|---|
50
+ | **发现于** | RT-801 |
51
+ | **问题** | fixture 占位文本,本条刻意缺「状态」行 |
52
+
53
+ <!-- 台账内不存在 DI-009:供「声称的编号在台账里根本没有」的反例使用 -->
@@ -0,0 +1,21 @@
1
+ # RT 索引(fixture 最小形态:让 G109 不产生无关告警噪音)
2
+ schema: rt-index-v1
3
+ entries:
4
+ - id: RT-801
5
+ title: G114 正例——转出声明与台账一致
6
+ - id: RT-802
7
+ title: G114 反例——声称的编号台账里没有
8
+ - id: RT-803
9
+ title: G114 反例——编号被别的 RT 占用
10
+ - id: RT-804
11
+ title: G115 反例——台账仍标未认领
12
+ - id: RT-805
13
+ title: G115 正例——状态列已标注本 RT
14
+ - id: RT-806
15
+ title: G115 反例——状态标的是别的 RT
16
+ - id: RT-807
17
+ title: G115 反例——条目缺状态行
18
+ - id: RT-808
19
+ title: G115 反例——认领的编号台账里没有
20
+ - id: RT-809
21
+ title: 向后兼容——不写 DI 字段,零影响
@@ -0,0 +1,3 @@
1
+ # RT-101 占位 RT(fixture 用最小假仓库)
2
+
3
+ 本目录仅为 rt-guard.sh fixture 提供一个存在的 RT 目录,无业务含义。
@@ -0,0 +1,19 @@
1
+ # U1 任务包 — fixture:零命中判据与正文自冲突(G112 事故原型)
2
+
3
+ > 冻结件(fixture 数据,复刻 RT-125 unit-U5 事故形态,非真实任务包)。
4
+
5
+ ## 1. 任务
6
+
7
+ 把 `rules.md:66` 的「CSF 战略检查(plan 批准前必须执行)」改为
8
+ 「CSF 战略检查(Spec-Full plan 批准前必须执行;Spec-Lite 可选但推荐)」。
9
+
10
+ ## 2. 硬约束
11
+
12
+ 1. 就地替换,行数不变。
13
+
14
+ ## 3. 出口判据
15
+
16
+ 1. `grep -n "plan 批准前必须执行" rules.md` → **0**(改前 1)
17
+ 2. `grep -rn "aodw-skill guard" docs/` → **0**(改前 3)
18
+
19
+ > 溯源:rt-plan.md v1 U1 判据 2 条 → 本包 2 条(新增 0、合并 0、删除 0)
@@ -0,0 +1,18 @@
1
+ # U1 任务包 — fixture:出口判据缺溯源声明(G113 事故原型)
2
+
3
+ > 冻结件(fixture 数据,复刻 RT-125 unit-U6 判据③整条消失且无人声明的事故形态,非真实任务包)。
4
+
5
+ ## 1. 任务
6
+
7
+ 把 `guide.md:12` 的死命令表述替换为指向真实脚本的表述,被删除的旧判据须在下表如实登记。
8
+
9
+ ## 2. 硬约束
10
+
11
+ 1. 就地替换,行数不变。
12
+
13
+ ## 3. 出口判据
14
+
15
+ 1. `grep -rn "aodw-skill guard" docs/` → **0**(改前 3)
16
+ 2. pytest 基线一致
17
+
18
+ (本包故意不写溯源声明行——G113 应在此报 WARN)
@@ -0,0 +1,19 @@
1
+ # U1 任务包 — fixture:零命中判据与正文自冲突(G112 事故原型)
2
+
3
+ > 冻结件(fixture 数据,复刻 RT-125 unit-U5 事故形态,非真实任务包)。
4
+
5
+ ## 1. 任务
6
+
7
+ 把 `rules.md:66` 的「CSF 战略检查(plan 批准前必须执行)」改为
8
+ 「CSF 战略检查(Spec-Full plan 批准前必须执行;Spec-Lite 可选但推荐)」。
9
+
10
+ ## 2. 硬约束
11
+
12
+ 1. 就地替换,行数不变。
13
+
14
+ ## 3. 出口判据
15
+
16
+ 1. `grep -n "plan 批准前必须执行" rules.md` → **0**(改前 1)
17
+ 2. `grep -rn "aodw-skill guard" docs/` → **0**(改前 3)
18
+
19
+ > 溯源:rt-plan.md v1 U1 判据 2 条 → 本包 2 条(新增 0、合并 0、删除 0)
@@ -0,0 +1,5 @@
1
+ rt_id: RT-503
2
+ title: "fixture: G112 的 status=done 作用域豁免锚点(自冲突包与 RT-501 逐字相同)"
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ status: done
@@ -0,0 +1,5 @@
1
+ # RT-503 复盘(fixture 数据,非真实 RT)
2
+
3
+ 存在的唯一目的:让本 fixture RT 成为一个**正常关闭**的 RT(status=done 且过 G111),
4
+ 从而使 `g112-done-scope-exempt` 用例断言的是 G112 的作用域豁免本身,
5
+ 而不是被 G111 的硬失败掩盖。内容不参与任何判据。
@@ -0,0 +1,19 @@
1
+ # U1 任务包 — fixture:零命中判据与正文自冲突(G112 事故原型)
2
+
3
+ > 冻结件(fixture 数据,复刻 RT-125 unit-U5 事故形态,非真实任务包)。
4
+
5
+ ## 1. 任务
6
+
7
+ 把 `rules.md:66` 的「CSF 战略检查(plan 批准前必须执行)」改为
8
+ 「CSF 战略检查(Spec-Full plan 批准前必须执行;Spec-Lite 可选但推荐)」。
9
+
10
+ ## 2. 硬约束
11
+
12
+ 1. 就地替换,行数不变。
13
+
14
+ ## 3. 出口判据
15
+
16
+ 1. `grep -n "plan 批准前必须执行" rules.md` → **0**(改前 1)
17
+ 2. `grep -rn "aodw-skill guard" docs/` → **0**(改前 3)
18
+
19
+ > 溯源:rt-plan.md v1 U1 判据 2 条 → 本包 2 条(新增 0、合并 0、删除 0)
@@ -0,0 +1,5 @@
1
+ rt_id: RT-504
2
+ title: "fixture: G112 作用域豁免的边界反例——status 非 done 一律照常硬失败"
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ status: in-progress
@@ -0,0 +1,4 @@
1
+ rt_id: RT-201
2
+ title: "fixture: type 非法取值(Fix)"
3
+ type: Fix
4
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-201 fixture
2
+ ## 8. 变更记录
3
+ - 占位
@@ -0,0 +1,4 @@
1
+ rt_id: RT-202
2
+ title: "fixture: type 组合值(Feature + Bugfix)"
3
+ type: Feature + Bugfix
4
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-202 fixture
2
+ ## 8. 变更记录
3
+ - 占位
@@ -0,0 +1,4 @@
1
+ rt_id: RT-203
2
+ title: "fixture: type 合法值带行内注释"
3
+ type: Infrastructure # 流水线/工具类
4
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-203 fixture
2
+ ## 8. 变更记录
3
+ - 占位
@@ -0,0 +1,3 @@
1
+ rt_id: RT-204
2
+ title: "fixture: type 字段缺失"
3
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-204 fixture
2
+ ## 8. 变更记录
3
+ - 占位
@@ -0,0 +1,4 @@
1
+ rt_id: RT-205
2
+ title: "fixture: 同义词命中"
3
+ type: Feature
4
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-205 fixture
2
+ ## 8. 变更记录
3
+ - 占位
@@ -0,0 +1,4 @@
1
+ rt_id: RT-206
2
+ title: "fixture: 同义词命中"
3
+ type: Feature
4
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-206 fixture
2
+ ## 6. Changelog
3
+ - 占位
@@ -0,0 +1,4 @@
1
+ rt_id: RT-207
2
+ title: "fixture: 同义词命中"
3
+ type: Feature
4
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-207 fixture
2
+ ## 6. 完成记录
3
+ - 占位
@@ -0,0 +1,4 @@
1
+ rt_id: RT-208
2
+ title: "fixture: 同义词命中"
3
+ type: Feature
4
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-208 fixture
2
+ ## 6. Completion
3
+ - 占位
@@ -0,0 +1,4 @@
1
+ rt_id: RT-209
2
+ title: "fixture: 同义词命中"
3
+ type: Feature
4
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-209 fixture
2
+ ## 7. 决策记录
3
+ - 占位
@@ -0,0 +1,4 @@
1
+ rt_id: RT-210
2
+ title: "fixture: 全文无同义词"
3
+ type: Feature
4
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-210 fixture
2
+ ## 6. 进度
3
+ - 占位
@@ -0,0 +1,4 @@
1
+ rt_id: RT-211
2
+ title: "fixture: Spec-Full 缺 csf-review.md"
3
+ type: Feature
4
+ profile: Spec-Full
@@ -0,0 +1,4 @@
1
+ rt_id: RT-212
2
+ title: "fixture: Spec-Lite 无 csf-review.md(可选,不报)"
3
+ type: Feature
4
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-212 fixture
2
+ ## 7. 变更记录
3
+ - 占位
@@ -0,0 +1,3 @@
1
+ rt_id: RT-213
2
+ title: "fixture: profile 字段缺失"
3
+ type: Feature
@@ -0,0 +1,3 @@
1
+ # RT-213 fixture
2
+ ## 7. 变更记录
3
+ - 占位
@@ -0,0 +1,5 @@
1
+ rt_id: RT-214
2
+ title: G111 负例——done 且非存量且缺复盘
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ status: done
@@ -0,0 +1,4 @@
1
+ # RT-214
2
+
3
+ ## 6. 变更记录
4
+ - x
@@ -0,0 +1,5 @@
1
+ rt_id: RT-215
2
+ title: G111 正例——done 且有复盘
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ status: done
@@ -0,0 +1,4 @@
1
+ # RT-215
2
+
3
+ ## 6. 变更记录
4
+ - x
@@ -0,0 +1,2 @@
1
+ # RT-301 变更记录
2
+ - 占位
@@ -0,0 +1,2 @@
1
+ # RT-301 CSF 审查
2
+ - 占位
@@ -0,0 +1,4 @@
1
+ rt_id: RT-301
2
+ title: "fixture: Spec-Full 全合规"
3
+ type: Feature
4
+ profile: Spec-Full
@@ -0,0 +1,4 @@
1
+ rt_id: RT-302
2
+ title: "fixture: Spec-Lite 全合规"
3
+ type: Bugfix
4
+ profile: Spec-Lite
@@ -0,0 +1,3 @@
1
+ # RT-302 fixture
2
+ ## 7. 变更记录
3
+ - 占位
@@ -0,0 +1,5 @@
1
+ rt_id: RT-303
2
+ title: fixture——只被别人 related 引用、自身无 index 条目
3
+ type: Bugfix
4
+ profile: Spec-Lite
5
+ status: in-progress
@@ -0,0 +1,2 @@
1
+ # RT-303 fixture
2
+ 用于 G109 回归:本 RT 的 id 只出现在 RT-301 条目的 related 列表里。
@@ -0,0 +1,6 @@
1
+ # RT 索引(fixture 最小形态)
2
+ rts:
3
+ - id: RT-301
4
+ related:
5
+ - RT-303 # ← G109 回归点:RT-303 只在此被引用,自身无条目
6
+ - id: RT-302
@@ -0,0 +1,4 @@
1
+ # guide fixture(--scan-rules 并入的规则文档)
2
+
3
+ 规则依据见 docs/a/shared.md:1。
4
+ 第 4 行占位
@@ -0,0 +1,3 @@
1
+ # RT-401 notes
2
+ 第 2 行
3
+ 第 3 行
@@ -0,0 +1,3 @@
1
+ # RT-401 fixture(悬空 file:line)
2
+
3
+ 正文声称 notes.md:99 有相关约定,但同目录 notes.md 实际仅 3 行——G110 应报悬空。
@@ -0,0 +1,3 @@
1
+ # RT-402 notes
2
+ 第 2 行
3
+ 第 3 行
@@ -0,0 +1,13 @@
1
+ # RT-402 fixture(有效引用正例)
2
+
3
+ ## 1. 背景
4
+
5
+ 详见 notes.md:2 与 .aodw-next/guide.md:2。
6
+
7
+ ## 2. 设计
8
+
9
+ 细节见 §3。
10
+
11
+ ## 3. 附录
12
+
13
+ - 占位
@@ -0,0 +1,3 @@
1
+ # RT-403 fixture(短名引用可解析)
2
+
3
+ 约定见 deep-notes.md:2(实际文件在本 RT 的 sub 子目录下,须经 basename 索引解析,不报)。
@@ -0,0 +1,3 @@
1
+ # RT-403 deep notes
2
+ 第 2 行
3
+ 第 3 行
@@ -0,0 +1,3 @@
1
+ # RT-404 fixture(短名歧义、任一候选命中)
2
+
3
+ 背景见 shared.md:5(仓库内有两个同名候选,仅其一行数足够——任一候选命中即 OK,不报)。
@@ -0,0 +1,4 @@
1
+ # RT-405 fixture(仓库外引用豁免)
2
+
3
+ 上游实现位于 pre_commit/commands/install_uninstall.py:51(第三方包内文件,仓库内无候选,skip 不报);
4
+ 另有绝对路径引用 /opt/external/tool.py:12(抽取层即不匹配,天然豁免)。
@@ -0,0 +1,6 @@
1
+ # RT-406 fixture(悬空 § 引用)
2
+
3
+ ## 1. 背景
4
+
5
+ 细节见 §9,但本文档并无编号 9 的标题——G110 应报悬空。
6
+ 另外 unit-foo-input.md §7 的约定属跨文档引用,应 skip 不判。
@@ -0,0 +1,3 @@
1
+ # RT-407 fixture(短名歧义、全部候选不命中)
2
+
3
+ 背景见 shared.md:99(两个同名候选行数都不足——全部不命中才报,此处应报悬空)。
@@ -0,0 +1,8 @@
1
+ # shared 文档 A(行数足够的候选)
2
+ 第 2 行
3
+ 第 3 行
4
+ 第 4 行
5
+ 第 5 行
6
+ 第 6 行
7
+ 第 7 行
8
+ 第 8 行
@@ -0,0 +1,2 @@
1
+ # shared 文档 B(行数不足的候选)
2
+ 第 2 行