Repository navigation
fix(#522): restore /solve feature parity in /assess skill - #527
Merged
Merged
Conversation
Restores three core /solve capabilities that were dropped during the /assess v3.0 output redesign (regression chain: #325 → #453 → 8f38dca → #494): - Chain detection — new `Chain:` suggestion annotation when 2+ assessed issues share a dependency (depends-on/blocked-by/after, or output-of-A-consumed-by-B). Suggest-only, never auto-applied. - Testgen auto-detection — new "Testgen detection" rules in Step 4: ui/frontend + enhancement/feature labels OR ACs referencing unit/ integration tests trigger the testgen phase. - Flag reasoning — new `Flags:` indented list in both batch and single modes; one line per distinct non-default flag. Omitted when -q is the only non-default flag and the reason is obvious. Visual structure: - Command block now headed by `Commands:` (no boxes; labels replace drawn borders, which proved unreliable for LLM output) - Conditional `ACs` column in batch mode when every issue has explicit `- [ ]` checkbox ACs - Richer `Order:` / `⚠` annotations carrying dependency reasoning and partial-AC-satisfaction context (no new annotation types) All 9 ACs addressed. Three skill directories synced. Updated assess-skill.test.ts to scan the new Step 4 detection section for CLI flag validation.
AC-2 literally requires 'Restore testgen phase recommendation in the phase-selection table'. Previous commit placed testgen detection in a post-table subsection; this adds a Modifier row to the table itself so testgen is visible in the primary phase-selection lookup. Detection rules remain in the subsection below.
9 tasks
/assess output is user-facing — the Commands: header, Chain:/Flags: sections, and conditional ACs column all change what users see when running the skill. Missed in the initial QA pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restores three core
/solvecapabilities that were dropped during the/assessv3.0 output redesign regression chain (#325 → #453 →8f38dca→ #494):Chain:annotation when 2+ assessed issues have a detected dependency. Never auto-applied; false-positive safety.Flags:section in batch + single modes with one-line reasoning per distinct non-default flag.Visual structure:
Commands:labeled header replaces bare indented command blocks (no box-drawing — proven unreliable for LLM output)ACscolumn in batch mode when every issue has explicit- [ ]checkboxesOrder:(dependency reasoning) and⚠(partial-AC satisfaction) annotations — no new annotation typesAcceptance Criteria
Files
.claude/skills/assess/SKILL.mdtemplates/skills/assess/SKILL.mdskills/assess/SKILL.mdsrc/lib/__tests__/assess-skill.test.ts— regex updated for new Step 4 section layout; drift-prevention guardrail preservedAll three skill copies stay byte-identical (verified by
check-skill-sync.tsand an existing test).Test plan
npm run buildpasses (tsc clean)npm run lintpasses (--max-warnings 0)npm testpasses (2579/2579 across 106 files)check-skill-sync.tsreportsassess/SKILL.md — 3/3 matchassess-skill.test.tsvalidates every--flagreferenced in SKILL.md exists inbin/cli.ts/assesson dependent issues (e.g.,/assess 185 186) after merge to confirmChain:/Flags:/ACscolumn behave as documented in examplesNotes
Closes #522