Skip to content

Commit 7dccc7e

Browse files
committed
Bound the clarify completion-report Deferred status too.
The candidate-question skip was already limited to implementation method, tech-stack, or task breakdown. The coverage table still called anything "better suited for planning" Deferred. That leftover catch-all is gone, and the test now covers the report.
1 parent 30b4cb9 commit 7dccc7e

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎templates/commands/clarify.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ Report completion (after questioning loop ends or early termination):
279279
- Path to updated spec.
280280
- Sections touched (list names).
281281
- Spec quality checklist status (if `FEATURE_DIR/checklists/requirements.md` was re-validated): show before/after pass counts (e.g., "Spec Quality Checklist: 12/16 → 15/16 items passing") and list any items that changed state — both newly checked (unchecked → checked) and any regressions (checked → unchecked). If any items remain unchecked, list them as areas needing attention.
282-
- Coverage summary table listing each taxonomy category with Status: Resolved (was Partial/Missing and addressed), Deferred (exceeds question quota or better suited for planning), Clear (already sufficient), Outstanding (still Partial/Missing but low impact).
282+
- Coverage summary table listing each taxonomy category with Status: Resolved (was Partial/Missing and addressed), Deferred (exceeds question quota, or remaining item is specifically implementation method, tech-stack comparison, or task breakdown), Clear (already sufficient), Outstanding (still Partial/Missing but low impact).
283283
- If any Outstanding or Deferred remain, recommend whether to proceed to `__SPECKIT_COMMAND_PLAN__` or run `__SPECKIT_COMMAND_CLARIFY__` again later post-plan.
284284
- Suggested next command.
285285

‎tests/test_clarify_stage_gate.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@
1313
def test_clarify_planning_deferral_is_bounded() -> None:
1414
text = CLARIFY.read_text(encoding="utf-8")
1515
assert "- Information is better deferred to planning phase (note internally)" not in text
16+
assert "better suited for planning" not in text
1617
assert (
1718
"implementation method, tech-stack comparison, or task breakdown"
1819
in text
1920
)
21+
completion = text.split("## Completion Report", 1)[1]
22+
assert (
23+
"implementation method, tech-stack comparison, or task breakdown"
24+
in completion
25+
)

0 commit comments

Comments
 (0)