@chenmk/superflow 0.5.11 → 0.5.13

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 (101) hide show
  1. package/README.md +26 -0
  2. package/README.zh-CN.md +8 -0
  3. package/assets/manifest.json +33 -7
  4. package/assets/review-rules.json +24 -0
  5. package/assets/scripts/superflow-archive-command-hook.sh +4 -0
  6. package/assets/scripts/superflow-contract-hooks.sh +4 -0
  7. package/assets/scripts/superflow-delivery-check.sh +4 -0
  8. package/assets/scripts/superflow-dependency-update-hook.sh +29 -0
  9. package/assets/scripts/superflow-doc-placement-hook.py +38 -0
  10. package/assets/scripts/superflow-enforce-hook.sh +4 -0
  11. package/assets/scripts/superflow-hook-guard.sh +4 -0
  12. package/assets/scripts/superflow-integration-evidence-hook.sh +4 -0
  13. package/assets/scripts/superflow-java-build-hook.py +178 -0
  14. package/assets/scripts/superflow-java-stop-hook.sh +3 -0
  15. package/assets/scripts/superflow-loop-end-hook.sh +3 -0
  16. package/assets/scripts/superflow-loop-failure-hook.sh +3 -0
  17. package/assets/scripts/superflow-loop-observer.py +149 -0
  18. package/assets/scripts/superflow-managed-work-guard.sh +4 -0
  19. package/assets/scripts/superflow-sql-sync-hook.py +151 -3
  20. package/assets/skill-registry.json +229 -0
  21. package/assets/skills/openspec-propose/SKILL.md +14 -0
  22. package/assets/skills/superflow-clarify/SKILL.md +23 -1
  23. package/assets/skills/superflow-design/SKILL.md +6 -1
  24. package/assets/skills/superflow-docs/SKILL.md +12 -0
  25. package/assets/skills/superflow-implement/SKILL.md +8 -0
  26. package/assets/skills/superflow-pipeline/SKILL.md +28 -1
  27. package/assets/skills/superflow-pipeline/references/superpower-technical-design-template.md +17 -0
  28. package/assets/skills/superflow-quick-dev/SKILL.md +44 -0
  29. package/assets/skills/superflow-verify/SKILL.md +41 -0
  30. package/assets/skills-en/openspec-propose/SKILL.md +14 -0
  31. package/assets/skills-en/superflow-clarify/SKILL.md +23 -1
  32. package/assets/skills-en/superflow-design/SKILL.md +6 -1
  33. package/assets/skills-en/superflow-docs/SKILL.md +12 -0
  34. package/assets/skills-en/superflow-implement/SKILL.md +9 -0
  35. package/assets/skills-en/superflow-pipeline/SKILL.md +30 -0
  36. package/assets/skills-en/superflow-quick-dev/SKILL.md +43 -0
  37. package/assets/skills-en/superflow-verify/SKILL.md +46 -0
  38. package/dist/app/cli.js +98 -0
  39. package/dist/app/cli.js.map +1 -1
  40. package/dist/app/commands/check.js +7 -3
  41. package/dist/app/commands/check.js.map +1 -1
  42. package/dist/app/commands/cleanup-audit.js +13 -0
  43. package/dist/app/commands/cleanup-audit.js.map +1 -0
  44. package/dist/app/commands/context-audit.js +43 -0
  45. package/dist/app/commands/context-audit.js.map +1 -0
  46. package/dist/app/commands/docs-audit.js +11 -0
  47. package/dist/app/commands/docs-audit.js.map +1 -0
  48. package/dist/app/commands/doctor.js +10 -0
  49. package/dist/app/commands/doctor.js.map +1 -1
  50. package/dist/app/commands/hook-migrate.js +25 -0
  51. package/dist/app/commands/hook-migrate.js.map +1 -0
  52. package/dist/app/commands/init.js +25 -18
  53. package/dist/app/commands/init.js.map +1 -1
  54. package/dist/app/commands/map-audit.js +10 -0
  55. package/dist/app/commands/map-audit.js.map +1 -0
  56. package/dist/app/commands/pipeline.js +13 -1
  57. package/dist/app/commands/pipeline.js.map +1 -1
  58. package/dist/app/commands/quick.js +136 -0
  59. package/dist/app/commands/quick.js.map +1 -0
  60. package/dist/app/commands/review-coverage.js +84 -0
  61. package/dist/app/commands/review-coverage.js.map +1 -0
  62. package/dist/app/commands/skill-audit.js +36 -0
  63. package/dist/app/commands/skill-audit.js.map +1 -0
  64. package/dist/app/commands/status.js +108 -7
  65. package/dist/app/commands/status.js.map +1 -1
  66. package/dist/app/commands/uninstall.js +119 -25
  67. package/dist/app/commands/uninstall.js.map +1 -1
  68. package/dist/app/commands/update.js +62 -25
  69. package/dist/app/commands/update.js.map +1 -1
  70. package/dist/domains/cleanup-audit.js +38 -0
  71. package/dist/domains/cleanup-audit.js.map +1 -0
  72. package/dist/domains/config/cli-help.js +14 -0
  73. package/dist/domains/config/cli-help.js.map +1 -1
  74. package/dist/domains/config/context.js +13 -10
  75. package/dist/domains/config/context.js.map +1 -1
  76. package/dist/domains/context-audit.js +39 -0
  77. package/dist/domains/context-audit.js.map +1 -0
  78. package/dist/domains/deps.js +18 -8
  79. package/dist/domains/deps.js.map +1 -1
  80. package/dist/domains/docs-audit.js +34 -0
  81. package/dist/domains/docs-audit.js.map +1 -0
  82. package/dist/domains/hook-migration.js +127 -0
  83. package/dist/domains/hook-migration.js.map +1 -0
  84. package/dist/domains/hook.js +76 -2
  85. package/dist/domains/hook.js.map +1 -1
  86. package/dist/domains/managed-work/control.js +56 -2
  87. package/dist/domains/managed-work/control.js.map +1 -1
  88. package/dist/domains/map-audit.js +23 -0
  89. package/dist/domains/map-audit.js.map +1 -0
  90. package/dist/domains/quick-dev/gate.js +91 -0
  91. package/dist/domains/quick-dev/gate.js.map +1 -0
  92. package/dist/domains/review/coverage.js +119 -0
  93. package/dist/domains/review/coverage.js.map +1 -0
  94. package/dist/domains/review/report.js +62 -0
  95. package/dist/domains/review/report.js.map +1 -0
  96. package/dist/domains/skill/registry.js +87 -0
  97. package/dist/domains/skill/registry.js.map +1 -0
  98. package/dist/domains/state.js +64 -0
  99. package/dist/domains/state.js.map +1 -1
  100. package/package.json +1 -1
  101. package/scripts/check-design-principles.mjs +4 -0
@@ -0,0 +1,44 @@
1
+ ---
2
+ name: superflow-quick-dev
3
+ description: 小型代码工作的快速准入与 Quick Spec。目标、seam 或爆炸半径不清时停止并转正式 SDD。
4
+ license: MIT
5
+ metadata:
6
+ author: superflow
7
+ version: '1.0'
8
+ ---
9
+
10
+ # Superflow Quick Dev
11
+
12
+ 只接单一、低爆炸半径、沿已有 seam 的代码工作。
13
+
14
+ ## 窄门
15
+
16
+ 先查真实源码、调用方和测试,再运行
17
+ `superflow quick "<request>" --json --path <changed-files...> --seam <existing-file>`。
18
+ 只有确认**同一行为**由在途 SDD 变更拥有时才追加 `--active-sdd`;仅复用其代码或依赖
19
+ 其产出,不等于同一变更。只有返回
20
+ `QUICK` 才能继续。公共 API、数据库/迁移、事务、并发、锁、权限、安全、支付、跨模块、
21
+ 在途 SDD 变更或非独占工作树必须返回 `STOP`,转 `superflow-clarify`。若项目还安装了
22
+ ake-harness 的 `ssd-propose`,不得因为它可见就自动改派;只有用户明确选择 ake SSD
23
+ 流程时才切换。
24
+
25
+ ## Quick Spec
26
+
27
+ 在 `.sdd/tasks/<YYYY-MM-DD>-<slug>/spec.md` 写入并展示当前磁盘版本,内容必须包含:
28
+
29
+ - Intent / Non-goals;
30
+ - Current behavior / Target behavior;
31
+ - 已确认的测试 seam;
32
+ - 按依赖排序的实施步骤;
33
+ - Given / When / Then 验收条件;
34
+ - 风险、升级条件和 deferred;
35
+ - baseline commit 与精确文件范围。
36
+
37
+ 用户批准前不得修改运行时代码;收到当前磁盘版本的明确批准后,才运行
38
+ `superflow quick "<request>" --path <files...> --seam <existing-file> --spec <spec> --approve`。
39
+ CLI 将当前内容摘要绑定到批准状态。Intent、Non-goals 或 Acceptance Criteria 变化时回到
40
+ `draft`,重新批准后才实施。按 TDD 和 verification-loop 逐项跑 RED/GREEN 信号,完成后
41
+ 复用 `superflow review-coverage` 和 `superflow eval` 的证据格式收口。
42
+
43
+ Quick 路径不创建 OpenSpec checkpoint,也不自动提交、推送或发布;一旦范围扩大,保留
44
+ spec 作为线索并转正式 SDD。
@@ -5,6 +5,32 @@ description: Use when an SDD/OpenSpec change is ready for verification, test-rep
5
5
 
6
6
  # SDD Verify
7
7
 
8
+ Before semantic code review, run `superflow review-coverage --json` (or pass
9
+ `--base <ref>` for a branch review). Use its included/excluded inventory and
10
+ path-specific rules to account for every changed file. Review related Java
11
+ and Mapper XML files together when they share a bundle. Do not treat this
12
+ mechanical inventory as a correctness verdict: findings still need source
13
+ anchors, a fresh reading of the affected call path, and independent judgment.
14
+
15
+ Use the reported risk tier to choose review depth: low may be reviewed inline;
16
+ medium requires an independent view; high requires focused coverage of the
17
+ named high-impact paths in addition to the ordinary Host review. Every
18
+ reviewer report starts with `DONE`, `DONE_WITH_CONCERNS`, `BLOCKED`, or
19
+ `NEEDS_CONTEXT`. Run `superflow review-coverage --report <file> --json` to
20
+ validate that marker and every `file:line` finding anchor. `BLOCKED` and
21
+ `NEEDS_CONTEXT` require more evidence before triage; `DONE_WITH_CONCERNS`
22
+ requires Host investigation of each concern before deciding. Re-read each
23
+ anchor and attempt to disprove the finding before assigning severity. Keep
24
+ unverifiable claims separate rather than giving them a guessed severity.
25
+
26
+ ## 评审回应纪律
27
+
28
+ 收到 finding 后先通读全部反馈,复述要求,再对照当前源码、项目规则、调用方和测试验证。
29
+ 不得只依据评审者措辞附和或直接改。确认有效时说明代码锚点和修复方向;认为有误时给出
30
+ 具体源码或合同证据及被拒绝方案。一次处理一个 finding,跑受影响信号后才能声称已修复。
31
+ 遇到“做成通用版本”等宽泛建议,先检查真实调用点;没有第二个调用方或合同要求时保持最小实现。
32
+ 项目规则只有用户确认后才回写,评审反馈不会静默改变仓库政策。
33
+
8
34
  完整 workflow 验收必须读取[需求×真实入口评审](../superflow-pipeline/references/document-review-coverage.md)。
9
35
  沿 R/E/C ID 在现有 test-report 回填实际角色、页面动作、请求路由、最终状态与禁止副作用
10
36
  的原始证据。独立对照原始来源及实际调用方;API-only 不得冒充 browser E2E,计划不等于执行。
@@ -12,6 +38,21 @@ description: Use when an SDD/OpenSpec change is ready for verification, test-rep
12
38
  Verification is a phase, not a final sentence. Use this skill after
13
39
  implementation work claims completion and before archive or delivery.
14
40
 
41
+ ## Behavior-preserving simplification
42
+
43
+ After the implementation signals are green, inspect only the files changed by
44
+ this change for missed reuse, duplicated logic, redundant defensive branches,
45
+ and needless abstraction. Before removing a helper or guard, identify its
46
+ callers, error behavior, side effects, and reason for existing. If that reason
47
+ is unclear, leave it in place. Simplification is optional; clean code needs no
48
+ ceremonial edit.
49
+
50
+ Apply one small simplification at a time. Run the same tests and build signals
51
+ without changing their assertions; if behavior, errors, or side effects change,
52
+ revert that simplification. Keep simplification in a separate commit from the
53
+ feature, and stop if it reaches files outside the original change. This is a
54
+ readability pass, not a second code review or a license for unrelated cleanup.
55
+
15
56
  ## Entry Check
16
57
 
17
58
  Run:
@@ -22,6 +22,14 @@ When ready to implement, run /opsx:apply
22
22
 
23
23
  **Input**: The user's request should include a change name (kebab-case) OR a description of what they want to build.
24
24
 
25
+ When this skill follows `superflow-clarify`, read the confirmed change-level
26
+ Consensus Summary and its source evidence before creating artifacts. Put the
27
+ goal, scope, material owner decisions, rejected alternatives, migration risks,
28
+ and non-blocking reopen triggers in canonical `proposal.md`; cite the existing
29
+ source audit rather than copying it. A pending owner decision that changes the
30
+ solution blocks downstream spec/design/tasks. An explicit decision in the
31
+ user's original request needs no second confirmation.
32
+
25
33
  ### Canonical OpenSpec Change Directory (Blocking)
26
34
 
27
35
  - A change must have exactly one physical directory:
@@ -111,6 +119,12 @@ After completing all artifacts, summarize:
111
119
  - Follow the `instruction` field from `openspec instructions` for each artifact type
112
120
  - The schema defines what each artifact should contain - follow it
113
121
  - Read dependency artifacts for context before creating new ones
122
+ - For a Superflow change, keep ordinary OpenSpec checkbox task syntax. For each
123
+ independently verifiable task, state its observable delivery and acceptance
124
+ signal; record real predecessor task IDs as `Blocked by` and link the relevant
125
+ requirement/scenario or traceability row. A free-text blocker does not change
126
+ Superflow's `[local_required]` / `[environment_required]` /
127
+ `[release_required]` machine classification. Do not invent dependencies.
114
128
  - Use `template` as the structure for your output file - fill in its sections
115
129
  - **IMPORTANT**: `context` and `rules` are constraints for YOU, not content for the file
116
130
  - Do NOT copy `<context>`, `<rules>`, `<project_context>` blocks into the artifact
@@ -13,7 +13,7 @@ any full SDD document or implementation prompt is generated.
13
13
 
14
14
  - Before freezing any new requirement or bug fix, perform platform-level impact
15
15
  discovery. Prefer understand-anything artifacts when present, such as
16
- `.understand-anything/`, `understand-anything.md`, `understand anything.md`,
16
+ `.ua/`, `.understand-anything/`, `understand-anything.md`, `understand anything.md`,
17
17
  or the project-specific graph output, but treat them only as locator evidence.
18
18
  If artifacts are missing, stale, incomplete, or unavailable, degrade to `rg`,
19
19
  source reading, Mapper/XML, configuration, database table names, log
@@ -174,6 +174,28 @@ Use the detailed workflow in:
174
174
  indexed feature. Do not batch-confirm multiple features from memory or a
175
175
  compressed chat summary.
176
176
 
177
+ ### Change-level alignment before OpenSpec artifacts
178
+
179
+ After all in-scope features are frozen, present one concise change-level
180
+ `Consensus Summary` covering the goal, in/out scope, verified source facts,
181
+ owner decisions with rejected alternatives, production and migration risks,
182
+ and remaining non-blocking questions with owner and reopen trigger. Derive it
183
+ from `source-code-audit.md`, `feature-gates.md`, and the confirmed decisions in
184
+ `.sdd/handoff/brainstorm-summary.md`; the summary is a handoff view, not a
185
+ second source of requirements. Record unresolved decisions as blockers and
186
+ ask only the next owner decision. Do not ask the user to reconfirm facts or
187
+ choices already explicit in the original request.
188
+
189
+ When a material owner choice was made during clarification, show the current
190
+ summary before generating OpenSpec artifacts. Reuse an explicit confirmation
191
+ already given for that exact choice and summary; ask once only if the summary
192
+ introduces a new choice or changes its consequence. The later `proposal.md`
193
+ must carry the confirmed change-level
194
+ decisions and cite their evidence. If a later finding changes a confirmed
195
+ choice, return to that decision, update affected canonical documents, refresh
196
+ the handoff hash and repeat document review and Coding Ready. Task checkbox
197
+ progress alone does not change the agreed contract.
198
+
177
199
  ## Handoff
178
200
 
179
201
  When the feature is frozen, tell the user to continue with `$openspec-propose`
@@ -58,7 +58,12 @@ Superpowers own source-level HOW without weakening OpenSpec/SDD contracts.
58
58
  5. Write:
59
59
  `docs/superpowers/specs/YYYY-MM-DD-<change-id>-technical-design.md`
60
60
  using `../superflow-pipeline/references/superpower-technical-design-template.md`.
61
- 6. Complete `Minimal Design Review` before expanding source-level HOW. For
61
+ 6. For each new or changed module interface, add a `Design-It-Twice` card to
62
+ the technical design: two materially different interfaces, seam and adapter
63
+ ownership, the real test surface, reuse evidence, caller consequences, and
64
+ an explicit choice. Renaming the same interface does not count as two
65
+ options; revisit it. This card is advisory and does not add a state gate.
66
+ 7. Complete `Minimal Design Review` before expanding source-level HOW. For
62
67
  every new table, field, API, service/component, abstraction, cache,
63
68
  async/MQ/event flow, scheduled job, or compatibility layer, prove existing
64
69
  reuse options, necessity, and why the simplest direct implementation is
@@ -38,6 +38,12 @@ Do not invent new fields or requirements.
38
38
 
39
39
  For complex requirements, verify these before writing docs:
40
40
 
41
+ - `proposal.md` carries the confirmed change-level Consensus Summary from
42
+ clarification: goal, scope, owner choices and rejected alternatives,
43
+ production/migration risks, and non-blocking reopen triggers. Check it
44
+ against original sources and `source-code-audit.md`; do not treat the
45
+ handoff summary as a second authority. If a material choice remains open,
46
+ return to `$superflow-clarify` before finalizing design or tasks.
41
47
  - `source-ingestion.md`, `feature-inventory.md`, and `feature-gates.md` prove
42
48
  that the original PRD/Lark/Feishu/screenshots were processed section by
43
49
  section, not summarized into tasks in one whole-document pass. Each feature
@@ -236,6 +242,12 @@ applicable:
236
242
  `[local_required]`, `[environment_required]`, or `[release_required]`.
237
243
  Locally executable code, tests, startup, and browser checks are local_required;
238
244
  free-form Blocker/owner prose cannot replace the category.
245
+ - For each implementation task, review observable delivery, acceptance signal,
246
+ requirement/scenario coverage, and actual predecessors. Show the currently
247
+ executable tasks whose predecessors are complete. Reuse
248
+ `traceability-matrix.md` for detailed coverage; do not create another task
249
+ state file. `Blocked by` expresses execution order and never changes the
250
+ machine task classification above.
239
251
  - `tests.md`
240
252
  - `test-report.md` skeleton
241
253
  - `sdd-quality-gate.md`
@@ -96,6 +96,15 @@ Use references/batch-split-guide.md and references/batch-prompt-template.md.
96
96
  Split by business closure, not by file type. Each batch must have independent
97
97
  entry, implementation scope, verification, and report obligations.
98
98
 
99
+ Read `tasks.md` predecessor links before splitting or dispatching. A batch is
100
+ executable only when its real predecessors are complete; independent batches
101
+ may run in parallel. Keep the existing checkbox and machine category as the
102
+ progress authority. An implementation discovery that changes a confirmed
103
+ owner decision or task acceptance requires canonical document repair, handoff
104
+ refresh, document review, and a new Coding Ready receipt before the affected
105
+ batch resumes. A free-text `Blocked by` note cannot downgrade a locally
106
+ executable task to an external category.
107
+
99
108
  Workers may update only their own embedded-changes/pXX-* docs. Root aggregate
100
109
  docs are updated by the leader during closeout after related worktrees merge.
101
110
 
@@ -15,6 +15,17 @@ the unified evaluation framework.
15
15
  ## Role
16
16
 
17
17
  This is the main router and stateful workflow orchestrator for SuperBridge Flow.
18
+
19
+ ## Role ownership and mutual exclusions
20
+
21
+ | Role | Sole owner | May do | Must not do |
22
+ |---|---|---|---|
23
+ | Host | goal, clarification, supervision, semantic review | choose routing and judge code/architecture risk | write business code or start a nested Supervisor |
24
+ | Executor | source implementation, tests, startup, repair | change the workspace within the frozen contract and return evidence | edit the contract/state, lower verification, or release automatically |
25
+ | Runner | state, hashes, exit codes, evidence persistence | schedule, wait, recover, and enforce deterministic facts | guess business meaning or replace Host review |
26
+
27
+ Menus and personas change entry wording only; they never create a second state
28
+ machine. Return to Host clarification when ownership conflicts.
18
29
  It combines OpenSpec/SDD and Superpowers without letting them overwrite each
19
30
  other:
20
31
 
@@ -138,6 +149,11 @@ hotfix:
138
149
 
139
150
  ## Routing
140
151
 
152
+ - One clear, low-blast-radius code change with an existing test seam: use
153
+ superflow-quick-dev before editing, then reuse the existing quick managed
154
+ profile after Quick Spec approval. API, DB, security, transaction,
155
+ concurrency, payment, cross-module, active-SDD, or ownership uncertainty
156
+ routes to superflow-clarify instead; do not add a second managed state machine.
141
157
  - When the user explicitly asks for rigorous questioning, or a bounded feature
142
158
  has unresolved owner decisions, mutually exclusive approaches, an unclear
143
159
  source of truth, unclear acceptance behavior, or cross-system responsibility,
@@ -179,6 +195,12 @@ When the router selects embedded deep clarification, follow these rules inside
179
195
  - Exit deep clarification once only repository-verifiable facts remain and the
180
196
  user confirms the current feature understanding. Continue through the existing
181
197
  clarify workflow without invoking an external skill dependency.
198
+ - After all relevant features are frozen, show the change-level Consensus
199
+ Summary from `superflow-clarify` before OpenSpec artifact generation. Carry
200
+ confirmed choices into canonical `proposal.md`; do not create a parallel
201
+ alignment fact source or add approval prompts for decisions already explicit
202
+ in the user's request. A changed owner choice requires affected documents,
203
+ handoff, review, and Coding Ready to be refreshed before execution.
182
204
 
183
205
  ## Required Artifacts
184
206
 
@@ -316,6 +338,14 @@ questions in one final batch.
316
338
  Record irreversible or ambiguous decisions in references/decision-point.md
317
339
  format. Do not store decisions only in chat memory.
318
340
 
341
+ For repository-wide terminology, run `superflow context-audit --path <project>`
342
+ when a change introduces a domain term or a durable architectural decision. Keep
343
+ business vocabulary in `CONTEXT.md`; use an ADR only when the decision is hard
344
+ to reverse and has meaningful alternatives. The audit is advisory: a missing
345
+ ADR is a warning, while incomplete ADR fields or implementation details in the
346
+ terminology list are reported for repair. It does not create approval gates or
347
+ replace the canonical `design.md` contract.
348
+
319
349
  Decision points include:
320
350
 
321
351
  - API compatibility choices
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: superflow-quick-dev
3
+ description: Fast admission and Quick Spec for small code tasks. Stop and switch to formal SDD when intent, seam, or blast radius is unclear.
4
+ license: MIT
5
+ metadata:
6
+ author: superflow
7
+ version: '1.0'
8
+ ---
9
+
10
+ # Superflow Quick Dev
11
+
12
+ Accept only one low-blast-radius code task that follows an existing seam.
13
+
14
+ ## Narrow gate
15
+
16
+ Inspect current source, callers, and tests, then run
17
+ `superflow quick "<request>" --json --path <changed-files...> --seam <existing-file>`.
18
+ Pass `--active-sdd` only after confirming an active SDD change owns the **same
19
+ behavior**; reusing its code or depending on its output is insufficient. Continue only
20
+ when it returns `QUICK`. Public APIs, databases/migrations, transactions,
21
+ concurrency, locks, permissions, security, payments, cross-module work, active
22
+ SDD changes, or a non-exclusive worktree must return `STOP` and switch to
23
+ `superflow-clarify`. If ake-harness's `ssd-propose` is also visible, do not
24
+ route there merely because it is installed. Switch to ake SSD only when the
25
+ user explicitly chooses that workflow.
26
+
27
+ ## Quick Spec
28
+
29
+ Write and show the current disk version at
30
+ `.sdd/tasks/<YYYY-MM-DD>-<slug>/spec.md` with Intent / Non-goals, current and
31
+ target behavior, confirmed test seam, ordered implementation steps, Given /
32
+ When / Then acceptance, risks, escalation conditions, deferred work, baseline
33
+ commit, and exact file scope.
34
+
35
+ Do not edit runtime code before approval. After explicit approval of the current
36
+ disk version, run `superflow quick "<request>" --path <files...> --seam <existing-file> --spec <spec> --approve`.
37
+ The CLI binds the approval to the current content digest. If Intent, Non-goals, or Acceptance
38
+ Criteria change, return to `draft` and obtain approval again. Use TDD and
39
+ verification-loop RED/GREEN signals, then close with `superflow review-coverage`
40
+ and `superflow eval` evidence.
41
+
42
+ Quick work creates no OpenSpec checkpoint and never commits, pushes, or releases.
43
+ When scope expands, keep the spec as a lead and switch to formal SDD.
@@ -5,6 +5,37 @@ description: Use when an OpenSpec/SDD change is ready for verification, real evi
5
5
 
6
6
  # SDD Verify
7
7
 
8
+ Before semantic code review, run `superflow review-coverage --json` (or pass
9
+ `--base <ref>` for a branch review). Use its included/excluded inventory and
10
+ path-specific rules to account for every changed file. Review related Java
11
+ and Mapper XML files together when they share a bundle. Do not treat this
12
+ mechanical inventory as a correctness verdict: findings still need source
13
+ anchors, a fresh reading of the affected call path, and independent judgment.
14
+
15
+ Use the reported risk tier to choose review depth: low may be reviewed inline;
16
+ medium requires an independent view; high requires focused coverage of the
17
+ named high-impact paths in addition to the ordinary Host review. Every
18
+ reviewer report starts with `DONE`, `DONE_WITH_CONCERNS`, `BLOCKED`, or
19
+ `NEEDS_CONTEXT`. Run `superflow review-coverage --report <file> --json` to
20
+ validate that marker and every `file:line` finding anchor. `BLOCKED` and
21
+ `NEEDS_CONTEXT` require more evidence before triage; `DONE_WITH_CONCERNS`
22
+ requires Host investigation of each concern before deciding. Re-read each
23
+ anchor and attempt to disprove the finding before assigning severity. Keep
24
+ unverifiable claims separate rather than giving them a guessed severity.
25
+
26
+ ## Review response discipline
27
+
28
+ When receiving a finding, read all feedback before responding, restate the
29
+ request, then verify it against the current source, project rules, callers, and
30
+ tests. Do not agree or patch from the reviewer's wording alone. If the finding
31
+ is valid, state the anchored defect and fix direction; if it is wrong, explain
32
+ the concrete source or contract evidence and the rejected alternative. Apply
33
+ one finding at a time and run the affected signal before claiming it is fixed.
34
+ For broad “make it generic” advice, check actual call sites first; keep the
35
+ smallest implementation when no second caller or contract requires expansion.
36
+ Only propose a recurring project rule after the user confirms it; review
37
+ feedback remains advisory and does not silently change repository policy.
38
+
8
39
  For full workflow acceptance, read [requirement × real-entry review](../superflow-pipeline/references/document-review-coverage.md).
9
40
  Reuse R/E/C IDs in the existing test-report with actual actors, page actions, request routes,
10
41
  final state and forbidden-effect evidence. Independently compare originals and actual callers;
@@ -13,6 +44,21 @@ API-only is not browser E2E, and planned cases are not execution evidence.
13
44
  Verification is a phase, not a final sentence. Use this skill after
14
45
  implementation work claims completion and before archive or delivery.
15
46
 
47
+ ## Behavior-preserving simplification
48
+
49
+ After the implementation signals are green, inspect only the files changed by
50
+ this change for missed reuse, duplicated logic, redundant defensive branches,
51
+ and needless abstraction. Before removing a helper or guard, identify its
52
+ callers, error behavior, side effects, and reason for existing. If that reason
53
+ is unclear, leave it in place. Simplification is optional; clean code needs no
54
+ ceremonial edit.
55
+
56
+ Apply one small simplification at a time. Run the same tests and build signals
57
+ without changing their assertions; if behavior, errors, or side effects change,
58
+ revert that simplification. Keep simplification in a separate commit from the
59
+ feature, and stop if it reaches files outside the original change. This is a
60
+ readability pass, not a second code review or a license for unrelated cleanup.
61
+
16
62
  ## Entry Check
17
63
 
18
64
  Run:
package/dist/app/cli.js CHANGED
@@ -258,6 +258,104 @@ program
258
258
  targetPath: resolveTargetPathArg(targetPath, options, "doctor"),
259
259
  });
260
260
  });
261
+ program
262
+ .command("skill-audit")
263
+ .description("Audit Skill contracts, routing metadata, and bilingual mirrors")
264
+ .option("--json", "Output JSON")
265
+ .option("--strict", "Exit with failure when the registry is invalid")
266
+ .action(async (options) => {
267
+ const { skillAuditCommand } = await import("./commands/skill-audit.js");
268
+ skillAuditCommand(options);
269
+ });
270
+ program
271
+ .command("review-coverage")
272
+ .description("Enumerate changed files and resolve review rules without an Agent")
273
+ .option("--base <ref>", "Review changes since a Git reference")
274
+ .option("--path <paths...>", "Review explicit files")
275
+ .option("--report <path>", "Audit a reviewer four-state report and finding anchors")
276
+ .option("--json", "Output JSON")
277
+ .action(async (options) => {
278
+ const { reviewCoverageCommand } = await import("./commands/review-coverage.js");
279
+ reviewCoverageCommand({
280
+ base: options.base,
281
+ paths: options.path,
282
+ report: options.report,
283
+ json: options.json,
284
+ });
285
+ });
286
+ program
287
+ .command("context-audit")
288
+ .description("Audit CONTEXT terminology and ADR decision records")
289
+ .option("--path <path>", "Project path")
290
+ .option("--json", "Output JSON")
291
+ .action(async (options) => {
292
+ const { contextAuditCommand } = await import("./commands/context-audit.js");
293
+ contextAuditCommand(options);
294
+ });
295
+ program
296
+ .command("docs-audit")
297
+ .description("Audit Markdown placement and mechanical freshness signals")
298
+ .option("--path <path>", "Project path")
299
+ .option("--json", "Output JSON")
300
+ .action(async (options) => {
301
+ const { docsAuditCommand } = await import("./commands/docs-audit.js");
302
+ docsAuditCommand(options);
303
+ });
304
+ program
305
+ .command("map-audit")
306
+ .description("Compare Understand Anything map context modes without replacing the map")
307
+ .option("--path <path>", "Project path")
308
+ .option("--query <query>", "Task keywords")
309
+ .option("--limit <n>", "Top-K limit", "8")
310
+ .option("--json", "Output JSON")
311
+ .action(async (options) => {
312
+ const { mapAuditCommand } = await import("./commands/map-audit.js");
313
+ mapAuditCommand(options);
314
+ });
315
+ program
316
+ .command("cleanup-audit")
317
+ .description("Scan cleanup candidates without modifying source files")
318
+ .option("--path <path>", "Project path")
319
+ .option("--json", "Output JSON")
320
+ .action(async (options) => {
321
+ const { cleanupAuditCommand } = await import("./commands/cleanup-audit.js");
322
+ cleanupAuditCommand(options);
323
+ });
324
+ program
325
+ .command("hook-migrate")
326
+ .description("Audit or migrate legacy project Hook registrations safely")
327
+ .option("--path <path>", "Project path")
328
+ .option("--agent <agent>", "codex | claude | both", "both")
329
+ .option("--apply", "Back up and remove only known legacy managed Hooks")
330
+ .option("--json", "Output JSON")
331
+ .action(async (options) => {
332
+ const { hookMigrateCommand } = await import("./commands/hook-migrate.js");
333
+ hookMigrateCommand(options);
334
+ });
335
+ program
336
+ .command("hook-audit")
337
+ .description("Read-only audit of global and project Hook conflicts")
338
+ .option("--path <path>", "Project path")
339
+ .option("--agent <agent>", "codex | claude | both", "both")
340
+ .option("--json", "Output JSON")
341
+ .action(async (options) => {
342
+ const { hookMigrateCommand } = await import("./commands/hook-migrate.js");
343
+ hookMigrateCommand({ ...options, apply: false });
344
+ });
345
+ program
346
+ .command("quick <request>")
347
+ .description(helpText.quickDescription)
348
+ .option("--project <path>", helpText.quickProjectOption)
349
+ .option("--path <paths...>", helpText.quickPathOption)
350
+ .option("--seam <path>", helpText.quickSeamOption)
351
+ .option("--active-sdd", helpText.quickActiveSddOption)
352
+ .option("--spec <path>", helpText.quickSpecOption)
353
+ .option("--approve", helpText.quickApproveOption)
354
+ .option("--json", helpText.jsonOption)
355
+ .action(async (request, options) => {
356
+ const { quickCommand } = await import("./commands/quick.js");
357
+ quickCommand(request, options);
358
+ });
261
359
  program
262
360
  .command("uninstall [targetPath]")
263
361
  .description(helpText.uninstallDescription)
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/app/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,8BA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AE,wCAAwC,CAAC;KACxE,MAAM,CAAC,0BAA0B,EAAE,mCAAmC,CAAC;KACvE,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC;KAC/B,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;IAChC,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,CAAC;IAC/D,MAAM,aAAa,CAAC,MAAM,EAAE;QAC1B,UAAU,EAAE,OAAO,CAAC,UAAU;QAC9B,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,IAAI,EAAE,OAAO,CAAC,IAAI;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,OAAO,CAAC,KAAK,EAAE,CAAC"}
@@ -137,11 +137,15 @@ export function collectCheck(changeDir, changeName) {
137
137
  });
138
138
  // understand-anything 索引(项目级影响面发现前置条件)
139
139
  const projectRoot = path.resolve(changeDir, "..", "..", "..");
140
- const uaGraph = path.join(projectRoot, ".understand-anything", "knowledge-graph.json");
140
+ const graphPaths = [
141
+ ".ua/knowledge-graph.json",
142
+ ".understand-anything/knowledge-graph.json",
143
+ ];
144
+ const foundGraph = graphPaths.find((relative) => existsSync(path.join(projectRoot, relative)));
141
145
  items.push({
142
- file: ".understand-anything/knowledge-graph.json",
146
+ file: foundGraph ?? graphPaths[0],
143
147
  required: false,
144
- exists: existsSync(uaGraph),
148
+ exists: foundGraph !== undefined,
145
149
  note: "平台级影响面导航工具(缺失时必须降级为源码、配置和跨仓检索并记录证据)",
146
150
  });
147
151
  // Prompt 文件(docs 阶段后期必须)
@@ -1 +1 @@
1
- {"version":3,"file":"check.js","sourceRoot":"","sources":["../../../src/app/commands/check.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,IAAI,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AAS,UAAU,CAAC,MAAmB;IACrC,OAAO,CAAC,GAAG,CAAC,QAAQ,MAAM,CAAC,MAAM,YAAY,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC;IAC9D,OAAO,CAAC,GAAG,CAAC,UAAU,MAAM,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,IAAI,CAAC,CAAC;IAE/D,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;QAChC,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;QAC3D,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAChD,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,IAAI,IAAI,CAAC,IAAI,GAAG,IAAI,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACtB,OAAO,CAAC,GAAG,CAAC,YAAY,MAAM,CAAC,MAAM,SAAS,CAAC,CAAC;QAChD,OAAO,CAAC,GAAG,CAAC,gDAAgD,CAAC,CAAC;IAChE,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAChC,CAAC;AACH,CAAC"}
@@ -0,0 +1,13 @@
1
+ import path from "node:path";
2
+ import { auditCleanup } from "../../domains/cleanup-audit.js";
3
+ export function cleanupAuditCommand(options = {}) {
4
+ const candidates = auditCleanup(path.resolve(options.path ?? process.cwd()));
5
+ if (options.json)
6
+ console.log(JSON.stringify({ candidates, modified: false }, null, 2));
7
+ else {
8
+ console.log(`Cleanup audit: ${candidates.length} candidates | modified=false`);
9
+ for (const item of candidates)
10
+ console.log(`${item.kind}\t${item.path}\t${item.evidence}\troute=${item.route}`);
11
+ }
12
+ }
13
+ //# sourceMappingURL=cleanup-audit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cleanup-audit.js","sourceRoot":"","sources":["../../../src/app/commands/cleanup-audit.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D,MAAM,UAAU,mBAAmB,CAAC,UAA6C,EAAE;IACjF,MAAM,UAAU,GAAG,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAC7E,IAAI,OAAO,CAAC,IAAI;QAAE,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;SACnF,CAAC;QAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,UAAU,CAAC,MAAM,8BAA8B,CAAC,CAAC;QAAC,KAAK,MAAM,IAAI,IAAI,UAAU;YAAE,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,QAAQ,WAAW,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;IAAC,CAAC;AAC3M,CAAC"}