Skip to content

fix: restore /solve feature parity in /assess — chain detection, testgen, flag reasoning, output polish #522

Closed

Description

@admarble

Summary

The /assess v3.0 output redesign (#453 + commit 8f38dca) overcorrected when compressing the old /solve verbosity. Three core /solve capabilities were dropped as collateral damage, and the resulting output lost the visual structure that made /solve scannable. No follow-up issue was filed to restore them.

What was lost

Feature Shipped in #325 Removed by Current state
Chain detection --chain recommended when issues have explicit dependencies 8f38dca (v3.0 redesign) Flag documented (line 135) but no detection logic; Order: annotation exists but doesn't influence commands
Testgen detection --testgen recommended when ACs have testable criteria (UI, API, validation) 8f38dca removed testgen rows from phase-selection table testgen listed as valid phase (line 124) but no detection rule in label table (lines 113-121)
Flag reasoning Flags table with ✓/✗ + one-line reasoning per flag; "Why this workflow" bullets AC-3 of #453 removed "Why this workflow"; 8f38dca removed flags table from batch Single mode has <flag reasoning> on summary line (line 351); batch mode has zero reasoning
Visual structure Boxed command block, flags table, clear visual hierarchy #494 replaced boxes with indented commands (boxes corrupted at 9+ issues due to fixed width) Bare indented text with ──── separators only

Observed impact (real output from /assess 185 186)

 #    Action     Reason                                    Run
 185   PROCEED    Blocker #184 resolved, codebase ready      spec → exec → qa
 186   PROCEED    Blocker #184 resolved, hooks path clear    spec → exec → test → qa
────────────────────────────────────────────────────────────────

    npx sequant run 185 -q
    npx sequant run 186 -q --phases spec,exec,test,qa

────────────────────────────────────────────────────────────────

Problems:

  1. No chain — The model identified the dependency in prose ("Sequencing matters — feat: Publish Sequant as Claude Code Plugin Marketplace #185 first, feat(#185): Publish Sequant as Claude Code Plugin #186 wraps fetchApi") but emitted two separate commands instead of suggesting --chain
  2. No testgen — Neither command includes --testgen despite both issues having testable ACs
  3. No flag reasoning — User sees -q and --phases spec,exec,test,qa with no explanation of why
  4. No visual hierarchy — Commands float between identical separator lines; nothing draws the eye to the most important element (the thing you copy-paste)

Design Goals

From the end user's perspective, the person running /assess wants to:

  1. Scan in 5 seconds — Which issues are ready? Which are blocked?
  2. Copy-paste and go — The command should be right, with the right flags
  3. Understand why — Why these phases? Why this order? Why -q?
  4. Trust the recommendation — But retain control over risky topology decisions like --chain

Design Decisions

Why suggest chain instead of auto-apply

--chain means issue 2 branches from issue 1's branch, not main. If the model incorrectly infers a dependency (prompt-level parsing is fuzzy), the user gets a silently wrong execution topology — issue 2 built on a possibly broken foundation. A false positive is worse than a false negative. So: suggest with reasoning in a Chain: annotation, don't auto-apply the flag.

Why no boxes

Boxes have failed twice (#494 corruption, original fixed-width overflow). The root cause isn't the box characters — it's that LLMs can't reliably count character widths to draw aligned boxes. "Content-adaptive width" still requires the model to measure its longest line and pad correctly. Instead: use a Commands: header with indented commands. Visual hierarchy comes from the labeled section header, not drawn borders.

Why no new Findings section

The user complaint was "solve features are missing," not "add new sections." The existing ⚠ warnings and Order: annotations already provide a home for non-obvious context. The fix is to make those better (AC-5), not add a fourth annotation type that increases prompt length. #515 is actively trying to reduce prompt token costs — adding sections works against that.

Why AC count column is conditional

The model counts explicit - [ ] checkboxes in issue bodies. Issues with implicit or narrative ACs would show wrong numbers, eroding trust in the whole table. Show the column only when all assessed issues have explicit checkbox ACs. Omit entirely otherwise.

Acceptance Criteria

Restore dropped /solve features

  • AC-1: Chain suggestion — When 2+ assessed issues have a detected dependency, add a Chain: annotation (same level as Order: and ⚠ warnings) that suggests --chain --qa-gate with reasoning. The user decides whether to apply it. Detection triggers:
  • AC-2: Testgen auto-detection — Restore testgen phase recommendation in the phase-selection table. Detection rules:
    • Labels ui or frontend + enhancement or feature → include testgen in workflow
    • ACs reference "unit test", "integration test", or verification method is "Automated Test"
    • Skip testgen for: bug/fix-only labels, docs-only labels, issues where testgen phase already ran (check issue comments for testgen phase marker)
  • AC-3: Flag reasoning in batch mode — Add a Flags: line below the command block explaining non-default flags. One line per distinct flag used across all commands. Format:
    Flags:
      -q                  9+ ACs or multi-file scope
      --phases ...,test   ui label → browser verification
      --testgen           testable ACs detected (UI components)
    
    Omit Flags: section when -q is the only non-default flag and the reason is obvious (e.g., all issues are enhancements).

Output readability

  • AC-4: Labeled command block — Replace the bare indented commands between ──── separators with a Commands: header. No box-drawing, no character counting. The header label provides the visual anchor that boxes were supposed to provide.
    ────────────────────────────────────────────────────────────────
    Commands:
      npx sequant run 185 -q
      npx sequant run 186 -q --phases spec,exec,test,qa
    ────────────────────────────────────────────────────────────────
    
  • AC-5: Richer annotations — Improve existing Order: and ⚠ annotations to carry the context that was previously in prose or the Reason column:
    • Order: gains dependency reasoning: Order: 185 → 186 (185 changes fetchApi error format that 186 consumes)
    • ⚠ warnings can note partial AC satisfaction: ⚠ #185 Domain errors already exist in repository layer — scope may be smaller than expected
    • No new annotation types — use Order:, ⚠, and Cleanup: only
  • AC-6: Conditional AC count column — When ALL assessed issues have explicit - [ ] checkbox ACs in their body, add an ACs column to the batch table. Omit the column entirely when any issue lacks explicit checkboxes.
     #    Action    ACs  Reason                           Run
     185  PROCEED    6   Domain error standardization      spec → exec → qa
     186  PROCEED    9   React Query migration             spec → exec → test → qa
    
  • AC-7: Single-mode enabled-flags list — Restore flag reasoning for single-issue mode as an indented list (not a box-drawn table). Show only enabled flags with reasoning. Omit entirely when the only flag is -q for an obvious reason.
    Flags:
      -q            9 ACs, multi-file scope
      --testgen     testable ACs (UI components + API)
    

Sync and guardrails

  • AC-8: Sync all three skill copies — Changes applied to .claude/skills/assess/SKILL.md, templates/skills/assess/SKILL.md, and skills/assess/SKILL.md
  • AC-9: Updated examples — All existing examples in SKILL.md updated to reflect new format (batch mixed, batch clean, batch large, single PROCEED). No stale examples showing old format.

Non-Goals

  • Changing action selection logic (PROCEED/CLOSE/MERGE/REWRITE/CLARIFY/PARK decision tree)
  • Adding AC coverage lists back to batch mode (that's spec's job)
  • Changing machine-readable markers format
  • Modifying the TypeScript parser layer
  • Box-drawing of any kind (proven unreliable for LLM-generated output)

Technical Notes

  • --chain and --qa-gate are real CLI flags — Registered in bin/cli.ts:194-200. No CLI wiring needed.
  • --testgen is a real CLI flag — Registered in bin/cli.ts:191. No CLI wiring needed.
  • All changes are prompt-only — Detection logic lives in SKILL.md instructions, not compiled TypeScript. No build/test changes expected.
  • Prompt length tradeoff — This adds detection rules and formatting instructions. Keep it concise — the testgen detection rules and chain suggestion format should total <30 lines of new prompt. Remove any dead instructions they replace (old flag documentation at line 134-137 that describes flags without detection logic).

Regression Context

Commit/Issue What it did What it broke
#325 (PR #436) Shipped full /solve parity Nothing — this was correct
#453 Streamlined PROCEED format, removed "Why this workflow" (AC-3) Started the erosion — reasoning removed
8f38dca v3.0 redesign — dashboard table for batch Removed flags table, testgen detection rows, chain detection logic
#494 (PR #512) Fixed box corruption at 9+ issues Removed all boxes (overkill fix)

Expected Output (after fix)

Batch — dependent issues with testgen

 #    Action    ACs  Reason                           Run
 185  PROCEED    6   Domain error standardization      spec → exec → qa
 186  PROCEED    9   React Query hooks migration       spec → testgen → exec → test → qa
────────────────────────────────────────────────────────────────
Commands:
  npx sequant run 185 -q
  npx sequant run 186 -q --phases spec,testgen,exec,test,qa
────────────────────────────────────────────────────────────────
Order: 185 → 186 (185 changes fetchApi error format that 186 consumes)

⚠ #185  Domain errors already exist in repository layer — scope may be smaller
⚠ #186  @tanstack/react-query not installed; large scope (9 hooks + optimistic updates)

Chain: npx sequant run 185 186 --chain --qa-gate -q --phases spec,testgen,exec,test,qa
       # alternative — use if 186 should branch from 185's work

Flags:
  --testgen             #186 has testable ACs (UI hooks + API integration)
  --phases ...,test     #186 ui label → browser verification
────────────────────────────────────────────────────────────────

Batch — all clean, no chain

 #    Action    ACs  Reason                           Run
 461  PROCEED    4   Exact label matching              exec → qa
 460  PROCEED    3   Batch-executor tests              exec → qa
 443  PROCEED    5   Consolidate gh calls              spec → exec → qa
────────────────────────────────────────────────────────────────
Commands:
  npx sequant run 461 460 -q --phases exec,qa
  npx sequant run 443 -q
────────────────────────────────────────────────────────────────

No annotations, no flags section, no chain — silence means clean.

Single — with flags

#458 — Parallel run UX freeze + reconcileState race condition
Open · bug, enhancement, cli
────────────────────────────────────────────────────────────────

→ PROCEED — Both root causes confirmed in codebase

Commands:
  npx sequant run 458 -q

spec → exec → qa · 8 ACs

Flags:
  -q     dual concern across 4 files
────────────────────────────────────────────────────────────────

Files

  • .claude/skills/assess/SKILL.md
  • templates/skills/assess/SKILL.md
  • skills/assess/SKILL.md

Activity

  1. admarble commented on Apr 16, 2026

    @admarble
    ContributorAuthor

    Plan Complete — /spec

    Complexity: Complex (9 ACs, 3 mirrored directories)

    AC Checklist

    • AC-1: Chain suggestion annotation (Chain: alongside default commands — suggest only, no auto-apply)
    • AC-2: Testgen auto-detection (ui+enhancement labels, ACs mentioning unit/integration tests)
    • AC-3: Flags: section in batch mode with one-line reasoning per distinct flag (omit when only obvious -q)
    • AC-4: Commands: labeled header replaces bare indented block
    • AC-5: Richer Order:/⚠ annotations (dependency reasoning, partial-AC context) — no new types
    • AC-6: Conditional ACs column when all issues have explicit - [ ] checkboxes
    • AC-7: Single-mode Flags: indented list (parity with batch, same omission rules)
    • AC-8: Three-directory sync (.claude/skills/, templates/skills/, skills/)
    • AC-9: All examples refreshed (no stale format)

    Implementation Plan

    Phase 1 — Study: Map the edit surface (Step 4 Workflow Detection, Output Format batch+single, examples).

    Phase 2 — Detection logic (Step 4):

    • AC-2: Add testgen detection row + rules to phase-selection table
    • AC-1: Add chain detection subsection with suggest-only output format (under "Other flags")

    Phase 3 — Output Format:

    • AC-4: Commands: header replaces bare indented commands (batch + single)
    • AC-5: Expand Order:/⚠ annotation rules with reasoning examples
    • AC-6: Add conditional AC count column rule
    • AC-3 + AC-7: Add Flags: section format (batch + single) with omission rules

    Phase 4 — Examples (AC-9): Refresh every example block: batch mixed, batch clean, batch large, single PROCEED.

    Phase 5 — Three-dir sync (AC-8): Apply identical changes to templates/skills/assess/SKILL.md and skills/assess/SKILL.md. Verify diff -q clean.

    Key Design Decisions (from issue)

    • Chain = suggest-only — false positives worse than false negatives for branch topology
    • No boxes — proven unreliable (LLMs can't count widths); labeled headers replace them
    • No new annotation types — stay within Order:/⚠/Cleanup:/Chain:/Flags: vocabulary
    • Prompt length discipline — perf(spec): prompt compression and tiered context — reduce spec skill token cost by ~60% #515 just compressed /spec by 68%; remove dead prompt (lines 134-137 flag docs without detection logic) in parallel

    Open Questions

    1. Confirm exact placement of single-mode Flags: (after workflow line per issue example)
    2. AC-6 column activates only when ALL issues have ≥1 - [ ] (conservative)
    3. Chain: annotation appears after ⚠ warnings (per expected-output example)

    Defaults documented; will proceed with these unless blocked.

    Recommended Workflow

    Phases: spec → exec → qa
    Quality Loop: enabled (9-AC threshold)
    No test phase (this IS the skill that drives phase selection — prompt-only, no UI)
    No testgen (prompt-only — no code stubs to generate)

    Ready to implement.

  2. added a commit that references this issue on Apr 16, 2026
  3. admarble commented on Apr 16, 2026

    @admarble
    ContributorAuthor

    Exec Complete

    Branch: feature/522-restore-solve-parity-in-assess
    Commit: 004a657 — +533 / -162 across 4 files

    Files changed

    • .claude/skills/assess/SKILL.md (+227 lines, three-dir sync)
    • templates/skills/assess/SKILL.md (mirrored)
    • skills/assess/SKILL.md (mirrored)
    • src/lib/__tests__/assess-skill.test.ts (regex updated for new Step 4 section layout; drift-prevention guardrail preserved)

    AC Coverage

    AC Status Evidence
    AC-1: Chain suggestion ✅ Step 4 "Chain detection" + Chain: annotation rule + example showing suggest-only format
    AC-2: Testgen auto-detection ✅ Step 4 "Testgen detection" subsection with label + AC triggers + skip rules
    AC-3: Flag reasoning (batch) ✅ Flags: annotation rule + examples; omission rule for obvious -q
    AC-4: Labeled command block ✅ Commands: header in batch + single-mode templates; no boxes
    AC-5: Richer annotations ✅ Order: now carries dependency reasoning; ⚠ includes partial-AC-satisfaction example
    AC-6: Conditional ACs column ✅ Schematic + explicit rule requiring all-issues-have-- [ ] before showing
    AC-7: Single-mode Flags: list ✅ PROCEED template + two examples (with/without Flags:)
    AC-8: Three-dir sync ✅ check-skill-sync.ts reports assess/SKILL.md — 3/3 match; test asserts identity
    AC-9: Updated examples ✅ All 3 existing examples refreshed + 1 new "dependent issues with testgen" example

    Quality Gates

    Check Result
    npm run build ✅ pass (tsc clean)
    npm run lint ✅ pass (0 errors, 0 warnings, --max-warnings 0)
    npm test ✅ 2579/2579 pass (106 files)
    Three-dir sync ✅ verified via check-skill-sync.ts and test
    CLI flag validity ✅ all --flag references in skill exist in bin/cli.ts

    Prompt Length

    • Base: 514 lines → 637 lines (+123)
    • Testgen + Chain detection core rules: ~20 lines (within issue's <30 line budget)
    • Remainder: example refreshes (AC-9) and annotation rule expansion (AC-5) — both required by ACs

    Pre-PR Confidence Check

    • Weakest part: Prompt-driven detection for AC-1/AC-2/AC-3 depends on LLM correctly applying the trigger rules. Risk mitigated by explicit trigger lists, example outputs that pattern-match cleanly, and Chain: being suggest-only (a false positive doesn't cause silent bad behavior — the user decides).
    • Coverage gaps: No unit tests for prompt behavior itself (impossible — prompts aren't code). assess-skill.test.ts guards against drift (CLI flag validity, phase validity, three-dir sync). Feature correctness will be manually verified by running /assess on representative inputs during QA.
  4. added a commit that references this issue on Apr 16, 2026
  5. admarble commented on Apr 16, 2026

    @admarble
    ContributorAuthor

    QA Review for Issue #522

    Scope: Prompt-only changes across 3 mirrored assess/SKILL.md files + 1 test regex update. Diff: +533 / -162 (pre-fix), + 3 lines (post-fix for AC-2 literal-fit). Final file size: 514 → 640 lines (+126).

    Branch: feature/522-restore-solve-parity-in-assess @ 254c74d · 0 commits behind origin/main.

    AC Coverage

    AC Description Status Evidence
    AC-1 Chain: suggestion (never auto-apply) ✅ MET Step 4 "Chain detection" subsection with triggers + suggest-only framing + exact format; Annotation Rules entry; example in "dependent issues with testgen" shows Chain alongside default commands
    AC-2 Testgen auto-detection in phase-selection table ✅ MET 254c74d added Modifier row to table referencing testgen; detection rules (labels + AC-content triggers + skip conditions) captured in dedicated subsection
    AC-3 Flags: reasoning in batch mode ✅ MET Annotation rule: "one line per distinct flag"; omission rule for obvious -q; example includes --testgen / --phases ...,test with reasons
    AC-4 Commands: labeled command block ✅ MET Header in batch + single-PROCEED + single-REWRITE templates; all examples updated. Verification: grep '^ npx sequant' → 0 hits, grep '^Commands:' → 9 hits
    AC-5 Richer Order: / ⚠ annotations ✅ MET Order: rule requires dependency reasoning over bare filenames (two worked examples); ⚠ rule permits partial-AC-satisfaction notes (two examples). No new annotation subtypes on Order/⚠/Cleanup
    AC-6 Conditional ACs column ✅ MET Schematic shows [ACs] bracketed; explicit rule "include only when every issue has ≥1 - [ ]"; "dependent issues" example shows column, other examples explicitly note omission
    AC-7 Single-mode Flags: indented list ✅ MET PROCEED template has Flags: list; two examples (with & without) demonstrating omission rule for obvious -q
    AC-8 Three-directory sync ✅ MET diff -q clean; check-skill-sync.ts reports assess/SKILL.md — 3/3 match; test assess skill 3-directory sync passes
    AC-9 All examples updated ✅ MET 4 existing examples refreshed (mixed, all-clean, large, single PROCEED/REWRITE) + 1 new "dependent issues with testgen" example. Zero stale bare-indented command blocks remain

    Coverage: 9/9 AC items fully met.

    Quality Metrics

    Metric Value Status
    Type issues (any) 0 introduced ✅ OK
    Deleted tests 0 ✅ OK
    Files changed 4 ✅ OK
    Lines added +536 -
    Lines deleted -162 -
    Security patterns 0 ✅ OK (prompt-only)

    Build / Lint / Tests

    Check Result
    npm run build (tsc) ✅ pass
    npm run lint (eslint --max-warnings 0) ✅ pass
    npm test (vitest) ✅ 2579/2579 pass across 106 files
    Three-dir sync (check-skill-sync.ts) ✅ assess/SKILL.md — 3/3 match
    CLI flag validity (assess-skill.test.ts) ✅ all --flag references in SKILL.md exist in bin/cli.ts

    Test Coverage Analysis

    No source .ts files changed (only markdown + one test update). assess-skill.test.ts was updated to match the new Step 4 section layout; the drift-prevention guardrail it enforces (valid phases, valid CLI flags, 3-dir identity) is preserved and greener than before (added expect(referencedFlags.length).toBeGreaterThan(0) to prevent regex-no-match silent pass).

    Skill Command Verification

    No new bash commands introduced in the skill. --chain / --qa-gate flag references in the new "Chain detection" subsection validated against bin/cli.ts by assess-skill.test.ts.

    Verification Status: ✅ Passed

    Anti-Pattern Detection

    No runtime code changes. No dependency changes. N/A.

    Risk Assessment

    • Likely failure mode: Detection rules (AC-1/AC-2) depend on model correctly pattern-matching issue bodies. False negatives (missed dependency → no Chain:) are acceptable because chain is suggest-only. False positives (testgen triggered for a simple bug) are reversible by the user — adds one phase, doesn't corrupt state. All failure modes degrade gracefully.
    • Not tested: Prompt behavior itself has no automated test — impossible without a runtime model in CI. assess-skill.test.ts guards against drift (CLI flag validity, phase validity, three-dir sync) but not semantic correctness. Final validation requires manual /assess runs, which was accepted during spec as a design constraint of prompt engineering.

    CI Status

    No PR yet. CI will run on PR creation.

    Verdict: READY_FOR_MERGE

    All 9 acceptance criteria are met with literal-text alignment (AC-2 fixed mid-QA to satisfy "in the phase-selection table" wording). Three-directory sync verified programmatically. All quality gates green. Prompt length growth (+126 lines) is fully accounted for by AC-required new sections (Chain/Flags) + example refreshes (AC-9); stays within the issue's prompt-discipline budget since dead flag-documentation lines were removed.

    Strengths:

    • Chain detection explicitly framed as suggest-only with a prose rationale in the skill (matches issue Design Decisions, prevents future regression)
    • New "dependent issues with testgen" example is the single best artifact — demonstrates AC-1, AC-2, AC-3, AC-5, AC-6 together
    • Drift-prevention test strengthened rather than removed; regex updated to new Step 4 structure with a length assertion guarding against silent matching-to-nothing

    Suggestions (non-blocking):

    • Future simplification: Annotation Rules currently list 5 items (Order/⚠/Chain/Flags/Cleanup) where Order/⚠/Cleanup are issue-signal annotations and Chain/Flags are command-metadata sections. A future cleanup could split into two subsections for clarity, but not required for this fix.

    Documentation

    • N/A — Feature is internal to skill prompt; user-facing documentation for /assess CLI flags already exists in bin/cli.ts. CHANGELOG update may be worth adding on merge (user-facing behavior of /assess output changes).

    Next Steps

    1. Create PR
    2. Verify CI passes
    3. Merge
  6. admarble commented on Apr 16, 2026

    @admarble
    ContributorAuthor

    /fullsolve Complete

    Issue: #522
    Status: READY_FOR_MERGE
    PR: #527

    Progress Table

    Phase Iterations Status
    Spec 1/1 Complete
    Exec 1/1 Complete
    Test — Skipped (prompt-only, no UI)
    QA 1/2 Complete (1 mid-QA fix for AC-2 literal-fit)

    Summary

    • AC: 9/9 met
    • Tests: 2579/2579 passed
    • Build: tsc clean
    • Lint: 0 warnings
    • Three-dir sync: verified programmatically

    Iterations

    • Test loop: 0 (skipped — prompt-only)
    • QA loop: 0 (1 inline fix during first-pass QA for AC-2 literal wording — not a full loop iteration)

    Mid-QA Fix

    Detected during AC literal verification: AC-2 text said "Restore testgen phase recommendation in the phase-selection table" but initial exec placed it in a post-table subsection. Added a Modifier row to the table itself (254c74d); three-dir sync + all tests preserved.

    Post-Merge Verification Reminder

    Run manual /assess on representative inputs to confirm prompt behavior — prompt correctness cannot be automated in CI:

    • Dependent issues (e.g., /assess 185 186) → expect Chain: suggestion
    • ui+enhancement issue → expect testgen in workflow
    • Mixed batch with explicit - [ ] ACs → expect ACs column
    • Simple bug fix batch → expect Flags: section omitted (obvious -q)

    Ready for human review and merge.

  7. added a commit that references this issue on Apr 17, 2026
  8. admarble commented on Apr 17, 2026

    @admarble
    ContributorAuthor

    Gap Fixes + Empirical Smoke Test

    Adversarial re-read surfaced two gaps from the initial QA pass. Both now addressed.

    Gap 1: CHANGELOG entry — FIXED

    /assess output format is genuinely user-facing. Added an [Unreleased] entry covering all 9 ACs worth of visible output changes. Commit bbabb35.

    Gap 2: Empirical validation — DONE

    Previous QA verdict was based on static analysis of the prompt text. The prompt has now been empirically exercised end-to-end:

    Procedure: Temporarily swapped the worktree's SKILL.md into the main repo, invoked /assess 504 505, captured output, restored main's original SKILL.md (checksums re-verified byte-identical).

    Result on real input (#504 + #505):

    ```

    Action ACs Reason Run

    504 PROCEED 9 Typed event system (unblocks #383, #486) spec → exec → qa
    505 PROCEED 9 Phase plugin registry (user-extensible) spec → exec → qa
    ────────────────────────────────────────────────────────────────
    Commands:
    npx sequant run 504 505 -q
    ────────────────────────────────────────────────────────────────
    ⚠ #504 9 ACs across batch-executor, MCP, and dashboard — multi-file scope
    ⚠ #505 Descoped in roadmap (#504/#505/#506 reduced) — confirm current scope before spec

    Flags:
    -q 9 ACs each + multi-file scope
    ────────────────────────────────────────────────────────────────
    Cleanup:
    ./scripts/dev/cleanup-worktree.sh feature/503-* # PR #510 merged
    ```

    Format checks passed on real output:

    Check Result
    Commands: labeled header (AC-4) ✅ rendered correctly
    Conditional ACs column (AC-6) ✅ shown (both issues have explicit - [ ])
    Chain suggestion correctness (AC-1) ✅ correctly omitted — issues explicitly state "Independent of each other"; prompt did not false-positive
    Flags: section (AC-3) ✅ shown with non-obvious -q reasoning
    Richer ⚠ warnings (AC-5) ✅ 9 ACs and descope context both surfaced
    Testgen auto-detection (AC-2) ✅ correctly NOT applied — labels are enhancement, roadmap, backlog (no ui/frontend) and ACs don't reference unit/integration tests
    Cleanup: for merged-PR worktree ✅ stale #503 worktree correctly flagged

    Negative-space validation: The Chain-suggestion negative case is critical — issue Design Decisions explicitly said false-positive chaining is the dangerous failure mode. With two genuinely-dependent-on-same-ancestor-but-independent-of-each-other issues (both depend on merged #503), the prompt correctly chose NOT to suggest chaining. If it had, that would be the regression the issue set out to prevent.

    Analysis posted to #504 and #505 as part of the test.

    Remaining borderline gaps (not blocking, documented for post-merge follow-up):

    • Label-priority × testgen modifier interaction is implicit in the table — works by example but explicit stacking language would be more robust
    • Flag references: bullet list has partial redundancy (--chain/--qa-gate semantics already in Chain paragraph)
    • Annotation Rules section could split into "issue-signal annotations" vs "command-metadata sections" for structural clarity

    Updated verdict: READY_FOR_MERGE (unchanged). All ACs still met; gaps found were adjacent (CHANGELOG, empirical validation) rather than in the AC set itself.

  9. added a commit that references this issue on Apr 17, 2026
  10. added 3 commits that reference this issue on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions