aodw-skill 0.7.28 → 0.8.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 (87) 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 +46 -14
  4. package/.aodw-next/01-core/git-discipline.md +160 -31
  5. package/.aodw-next/02-workflow/autopilot-goal-spec.md +2 -2
  6. package/.aodw-next/02-workflow/autopilot-protocol.md +1 -1
  7. package/.aodw-next/02-workflow/rt-manager.md +255 -20
  8. package/.aodw-next/02-workflow/spec-lite-profile.md +1 -1
  9. package/.aodw-next/02-workflow/sub-agent-driven-profile.md +156 -0
  10. package/.aodw-next/02-workflow/task-pack-projection.md +242 -0
  11. package/.aodw-next/04-auditors/aodw-plan-auditor-rules.md +109 -0
  12. package/.aodw-next/04-auditors/aodw-requirement-auditor-rules.md +1 -1
  13. package/.aodw-next/manifests/rt-gates.yaml +205 -0
  14. package/.aodw-next/templates/aodw-kernel-loader-template.md +2 -3
  15. package/.aodw-next/templates/rt-autopilot-preflight.template.md +1 -1
  16. package/.aodw-next/templates/rt-lite.template.md +1 -1
  17. package/.aodw-next/templates/rt-meta-template.yaml +19 -1
  18. package/.aodw-next/tools/fixtures/data/hook-bad-stdin.txt +1 -0
  19. package/.aodw-next/tools/fixtures/data/hook-pretooluse-benign.json +17 -0
  20. package/.aodw-next/tools/fixtures/data/hook-pretooluse-commit.json +17 -0
  21. package/.aodw-next/tools/fixtures/data/hook-stop-active.json +13 -0
  22. package/.aodw-next/tools/fixtures/data/hook-stop-first.json +13 -0
  23. package/.aodw-next/tools/fixtures/data/python3-no-yaml.sh +4 -0
  24. package/.aodw-next/tools/fixtures/root-g109/RT/RT-622/meta.yaml +5 -0
  25. package/.aodw-next/tools/fixtures/root-g109/RT/RT-622/rt-lite.md +6 -0
  26. package/.aodw-next/tools/fixtures/root-g109/RT/index.yaml +5 -0
  27. package/.aodw-next/tools/fixtures/root-g113/RT/RT-631/handoff/unit-U1-input.md +12 -0
  28. package/.aodw-next/tools/fixtures/root-g113/RT/RT-631/meta.yaml +5 -0
  29. package/.aodw-next/tools/fixtures/root-g113/RT/RT-631/rt-lite.md +6 -0
  30. package/.aodw-next/tools/fixtures/root-g113/RT/index.yaml +3 -0
  31. package/.aodw-next/tools/fixtures/root-mini/RT/RT-101/rt-lite.md +3 -0
  32. package/.aodw-next/tools/fixtures/root-u1/RT/RT-501/handoff/unit-U1-input.md +19 -0
  33. package/.aodw-next/tools/fixtures/root-u1/RT/RT-502/handoff/unit-U1-input.md +18 -0
  34. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-201/meta.yaml +4 -0
  35. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-201/rt-lite.md +3 -0
  36. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-202/meta.yaml +4 -0
  37. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-202/rt-lite.md +3 -0
  38. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-203/meta.yaml +4 -0
  39. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-203/rt-lite.md +3 -0
  40. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-204/meta.yaml +3 -0
  41. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-204/rt-lite.md +3 -0
  42. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-205/meta.yaml +4 -0
  43. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-205/rt-lite.md +3 -0
  44. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-206/meta.yaml +4 -0
  45. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-206/rt-lite.md +3 -0
  46. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-207/meta.yaml +4 -0
  47. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-207/rt-lite.md +3 -0
  48. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-208/meta.yaml +4 -0
  49. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-208/rt-lite.md +3 -0
  50. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-209/meta.yaml +4 -0
  51. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-209/rt-lite.md +3 -0
  52. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-210/meta.yaml +4 -0
  53. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-210/rt-lite.md +3 -0
  54. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-211/meta.yaml +4 -0
  55. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-212/meta.yaml +4 -0
  56. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-212/rt-lite.md +3 -0
  57. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-213/meta.yaml +3 -0
  58. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-213/rt-lite.md +3 -0
  59. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-214/meta.yaml +5 -0
  60. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-214/rt-lite.md +4 -0
  61. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-215/meta.yaml +5 -0
  62. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-215/retrospective.md +2 -0
  63. package/.aodw-next/tools/fixtures/root-u2a/RT/RT-215/rt-lite.md +4 -0
  64. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-301/changelog.md +2 -0
  65. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-301/csf-review.md +2 -0
  66. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-301/meta.yaml +4 -0
  67. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-302/meta.yaml +4 -0
  68. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-302/rt-lite.md +3 -0
  69. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-303/meta.yaml +5 -0
  70. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/RT-303/rt-lite.md +2 -0
  71. package/.aodw-next/tools/fixtures/root-u2a-ok/RT/index.yaml +6 -0
  72. package/.aodw-next/tools/fixtures/root-u2b/.aodw-next/guide.md +4 -0
  73. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-401/notes.md +3 -0
  74. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-401/rt-lite.md +3 -0
  75. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-402/notes.md +3 -0
  76. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-402/rt-lite.md +13 -0
  77. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-403/rt-lite.md +3 -0
  78. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-403/sub/deep-notes.md +3 -0
  79. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-404/rt-lite.md +3 -0
  80. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-405/rt-lite.md +4 -0
  81. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-406/rt-lite.md +6 -0
  82. package/.aodw-next/tools/fixtures/root-u2b/RT/RT-407/rt-lite.md +3 -0
  83. package/.aodw-next/tools/fixtures/root-u2b/docs/a/shared.md +8 -0
  84. package/.aodw-next/tools/fixtures/root-u2b/docs/b/shared.md +2 -0
  85. package/.aodw-next/tools/fixtures/run-fixtures.sh +401 -0
  86. package/.aodw-next/tools/rt-guard.sh +1420 -0
  87. package/package.json +1 -1
@@ -0,0 +1,17 @@
1
+ {
2
+ "session_id": "fixture-session-0001",
3
+ "transcript_path": "/tmp/fixture-transcript.jsonl",
4
+ "cwd": "/tmp/fixture-cwd",
5
+ "prompt_id": "fixture-prompt-0001",
6
+ "permission_mode": "auto",
7
+ "agent_id": "fixture-agent-0001",
8
+ "agent_type": "general-purpose",
9
+ "effort": { "level": "xhigh" },
10
+ "hook_event_name": "PreToolUse",
11
+ "tool_name": "Bash",
12
+ "tool_input": {
13
+ "command": "echo \"fixture benign probe\"",
14
+ "description": "fixture: benign command"
15
+ },
16
+ "tool_use_id": "toolu_fixture0002"
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "session_id": "fixture-session-0001",
3
+ "transcript_path": "/tmp/fixture-transcript.jsonl",
4
+ "cwd": "/tmp/fixture-cwd",
5
+ "prompt_id": "fixture-prompt-0001",
6
+ "permission_mode": "auto",
7
+ "agent_id": "fixture-agent-0001",
8
+ "agent_type": "general-purpose",
9
+ "effort": { "level": "xhigh" },
10
+ "hook_event_name": "PreToolUse",
11
+ "tool_name": "Bash",
12
+ "tool_input": {
13
+ "command": "git -C /tmp/some-repo commit --allow-empty -m \"fixture bypass variant\"",
14
+ "description": "fixture: git -C variant commit"
15
+ },
16
+ "tool_use_id": "toolu_fixture0001"
17
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "session_id": "fixture-session-0001",
3
+ "transcript_path": "/tmp/fixture-transcript.jsonl",
4
+ "cwd": "/tmp/fixture-cwd",
5
+ "prompt_id": "fixture-prompt-0001",
6
+ "permission_mode": "auto",
7
+ "effort": { "level": "xhigh" },
8
+ "hook_event_name": "Stop",
9
+ "stop_hook_active": true,
10
+ "last_assistant_message": "fixture: second stop round",
11
+ "background_tasks": [],
12
+ "session_crons": []
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "session_id": "fixture-session-0001",
3
+ "transcript_path": "/tmp/fixture-transcript.jsonl",
4
+ "cwd": "/tmp/fixture-cwd",
5
+ "prompt_id": "fixture-prompt-0001",
6
+ "permission_mode": "auto",
7
+ "effort": { "level": "xhigh" },
8
+ "hook_event_name": "Stop",
9
+ "stop_hook_active": false,
10
+ "last_assistant_message": "fixture: first stop round",
11
+ "background_tasks": [],
12
+ "session_crons": []
13
+ }
@@ -0,0 +1,4 @@
1
+ #!/bin/sh
2
+ # fixture wrapper:以 -S 禁用 site-packages,使 `import yaml` 必然 ImportError,
3
+ # 用于验证 rt-guard.sh 在无 PyYAML 环境走受限子集解析器的兜底路径。
4
+ exec python3 -S "$@"
@@ -0,0 +1,5 @@
1
+ rt_id: RT-622
2
+ title: fixture——G109 收紧反例:仅出现在他人 related 列表
3
+ type: Bugfix
4
+ profile: Spec-Lite
5
+ status: in-progress
@@ -0,0 +1,6 @@
1
+ # RT-622 fixture
2
+
3
+ 用于 G109 收紧(DI-004 / RT-135 U2):本 RT 的 id 只出现在 RT-621 条目的
4
+ related 列表里,自身无条目——收紧后必须被拦,不得因被引用而误判 PASS。
5
+
6
+ 变更记录:本 fixture 随 RT-135 U2 新增。
@@ -0,0 +1,5 @@
1
+ # RT 索引(fixture 最小形态:只有 RT-621 有条目,其 related 引用 RT-622)
2
+ rts:
3
+ - id: RT-621
4
+ related:
5
+ - RT-622 # ← G109 收紧锚点:RT-622 只在此被引用,自身无条目
@@ -0,0 +1,12 @@
1
+ # fixture 任务包 — G113 合并计数口径锚点(root-g113 / RT-135 U2)
2
+
3
+ ## 1. 已定决策
4
+
5
+ 合并 b 记净减少条数:n 条并作 1 条记 n−1(裁定 001 措辞 A)。
6
+
7
+ ## 3. 出口判据
8
+
9
+ > 溯源:rt-plan.md v1 U9 判据 10 条 → 本包 9 条(新增 0、合并 1、删除 0)
10
+
11
+ 声明口径锚点:上游 10 条,其中 2 条并作 1 条(净减少 1),本包 9 条,
12
+ 加减账 10 + 0 − 1 − 0 = 9 自洽,应判 PASS。
@@ -0,0 +1,5 @@
1
+ rt_id: RT-631
2
+ title: fixture——G113 合并计数口径锚点(2 并 1 记净减少 1)
3
+ type: Feature
4
+ profile: Spec-Lite
5
+ status: in-progress
@@ -0,0 +1,6 @@
1
+ # RT-631 fixture
2
+
3
+ 用于 G113 合并计数口径(裁定 001 / RT-135 U2):声明行按「合并记净减少条数」
4
+ 书写,2 条并作 1 条记 1,加减账自洽。
5
+
6
+ 变更记录:本 fixture 随 RT-135 U2 新增。
@@ -0,0 +1,3 @@
1
+ # RT 索引(fixture 最小形态:RT-631 有自己的条目)
2
+ rts:
3
+ - id: RT-631
@@ -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,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 行