Repository navigation
Conversation
- Add commands-block rule 8: omit --phases when default; prefer --testgen - Add Order: filename-as-reason exception for file-collision cases (AC-8) - Rewrite testgen + ui example to use --testgen (drop --phases ...,testgen,...,test,qa) - Fold #499 ui-labelled example into default group (test phase auto-added by ui label) - Add minimization assertion to assess-skill.test.ts (rejects --phases spec,exec,qa and --phases ...,testgen,...) - Document marker/command divergence (markers record full workflow; commands are shorthand) - Document --security-review asymmetry (no additive flag yet) - Sync across .claude/, skills/, templates/skills/ - CHANGELOG entry under [Unreleased] / ### Changed
8 tasks
…ed default QA gap: AC-1 required the rule to reference bin/cli.ts as the source of truth for the default phases rather than embedding the literal list. Rule 8 originally pointed only at the constant location (types.ts) and parenthetically restated "currently spec,exec,qa". Now references the CLI registration site (bin/cli.ts:186) and the constant definition (types.ts), with no embedded literal.
Explains the three /assess output rules (omit default --phases, prefer additive flags, keep --phases when no additive exists), the runtime resolution path through phase-mapper.determinePhasesForIssue, and the intentional marker-vs-displayed-command divergence so consumers know where to look for the full resolved workflow.
admarble
deleted the
feature/554-feat-assess-emit-minimal-command-flags-drop-defaul
branch
April 29, 2026 02:48
This was referenced Apr 29, 2026
admarble
added a commit
that referenced
this pull request
May 3, 2026
Mirrors the --testgen pattern from #557 to remove the only --phases emission /assess was still forced to produce for non-resume cases. - bin/cli.ts: register --security-review next to --testgen - types.ts: add RunOptions.securityReview - phase-mapper.ts: extend PhaseMapperOptions and insert security-review after spec when flag set; idempotent vs label-based auto-detection - batch-executor.ts: SEQUANT_SECURITY_REVIEW env override and runtime injection block (handles --resume after spec already ran) - assess/SKILL.md (×3 mirrors): rewrite Rule 8 — drop "asymmetry" clause, list both --testgen and --security-review as additive flags; example commands at #412 and #500 switch from --phases to --security-review (Flags annotations updated to match) - docs/features/assess-minimal-flags.md: update for new flag - assess-skill.test.ts: extend rejection regex to also catch --phases ...,security-review patterns - phase-mapper.test.ts: 5 new tests covering insertion, idempotency, composition with --testgen, and absence of spec - CHANGELOG: [Unreleased] / Added entry Closes #559
admarble
added a commit
that referenced
this pull request
Sep 9, 2026
Mirrors the --testgen pattern from #557 to remove the only --phases emission /assess was still forced to produce for non-resume cases. - bin/cli.ts: register --security-review next to --testgen - types.ts: add RunOptions.securityReview - phase-mapper.ts: extend PhaseMapperOptions and insert security-review after spec when flag set; idempotent vs label-based auto-detection - batch-executor.ts: SEQUANT_SECURITY_REVIEW env override and runtime injection block (handles --resume after spec already ran) - assess/SKILL.md (×3 mirrors): rewrite Rule 8 — drop "asymmetry" clause, list both --testgen and --security-review as additive flags; example commands at #412 and #500 switch from --phases to --security-review (Flags annotations updated to match) - docs/features/assess-minimal-flags.md: update for new flag - assess-skill.test.ts: extend rejection regex to also catch --phases ...,security-review patterns - phase-mapper.test.ts: 5 new tests covering insertion, idempotency, composition with --testgen, and absence of spec - CHANGELOG: [Unreleased] / Added entry Closes #559
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
--phasesfrom/assess-emitted commands when the resolved workflow equals the CLI default (spec,exec,qa)--testgen) over restating the full phase list (covers ui-labelled testgen issues sincephase-mapper.determinePhasesForIssueauto-addstest)Order:annotation rule for file-collision cases (AC-8)Closes #554
Pre-PR AC Verification
--phaseswhen defaultCommands Block Rulesrule 8 in all 3 SKILL.md; example:386(spec,exec,test,qafor #499 ui label) folded into bare-qgroup--testgen:322/:329rewritten to--testgen:322,:329,:385rewritten in all 3 dirsassess-skill.test.ts:140-152rejects--phases spec,exec,qaand--phases ...,testgen,...--security-reviewCLI flagassess-skill.test.ts:143test passesCHANGELOG.md[Unreleased] / ### ChangedOrder:filename-as-reason exceptionAnnotation Rulesblock in all 3 SKILL.mdphase-mapper.tsresolves--testgen+ ui →spec,testgen,exec,test,qaphase-mapper.ts:174-189confirmsTest plan
npm run build— passesnpm run lint— passes (0 errors, 0 warnings)npm test(assess-skill) — 6/6 tests pass/assess <issue-numbers>against a mix of default / testgen-eligible / ui-labelled / security-review issues; verify emitted commands use minimal formKnown gaps / follow-ups