Repository navigation
Conversation
Adds a conditional reviewer prompt to /qa SKILL.md §5 Risk Assessment that fires before the verdict on focused-AC PRs touching multi-pattern files. Before declaring AC met, the reviewer scans the same file/module for sibling code matching the bug's root cause; gaps surface as expanded scope (only when trivial), follow-up issue suggestion, or NEEDS_VERIFICATION. Bullet explicitly says "don't widen scope mid-PR; file a follow-up issue instead" to keep this a safety net, not a scope-creep incentive, and points at feedback_qa_second_look.md for the underlying principle. Mirrored across the three skill directories. Closes the gap exposed by /fullsolve 564 where four sibling regexes in pre-tool.sh with the same root cause as the literal AC went unsurfaced through first-pass /qa, requiring a manual "any gaps?" nudge to file #570.
5 tasks
Apply the new sibling-site scan to its own PR — surfaces structural gaps between the prompt and its surrounding scaffolding. - §5 Risk Assessment: drop "REQUIRED unless SMALL_DIFF" carve-out. The Simple Fix output template already includes the Risk Assessment block, so the carve-out was already misaligned and would have skipped the new bullet on the very motivating case (small-diff focused-AC fixes). - Risk Assessment template (§5 inline + Simple Fix Template + Standard Template): add `Sibling sites considered:` slot so findings have a canonical home instead of forcing reviewers to invent an ad-hoc subsection (as PR #576's own QA had to do). - Sibling-site Scan bullet: define "multi-pattern file" with a concrete threshold (≥3 instances) + example; drop `NEEDS_VERIFICATION` from the surfacing trichotomy (that verdict is reserved for external/ temporal gates — CI pending, manual-test ACs unexecuted — and the bullet's own ethic says don't block merge); add explicit "orchestrator/ inline-review only" scope note so it's clear sequant-qa-checker sub-agents aren't expected to carry it. - CHANGELOG: trim the 7-line entry to match neighbor entries and reflect the post-gap-fix content.
admarble
deleted the
feature/573-feat-qa-add-sibling-site-scan-prompt-to-first-pass
branch
May 6, 2026 18:35
This was referenced May 6, 2026
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
Adds a conditional
Sibling-site Scanreviewer prompt to/qaSKILL.md §5 Risk Assessment that fires before the verdict on focused-AC PRs touching multi-pattern files. Mirrored across all three skill directories (.claude/skills/qa/,templates/skills/qa/,skills/qa/).Closes the gap from
/fullsolve 564where four sibling regexes inpre-tool.shwith the same root cause as the literal AC went unsurfaced through first-pass/qa, requiring a manual "any gaps?" nudge to file #570.Pre-PR AC Verification
#### Sibling-site Scan (Conditional)subsection at line 1480 of all three SKILL.md mirrorsqa/SKILL.mdfiles;check-skill-sync.tsreports them in syncsynced qa/SKILL.md — 3/3 matchinnpx tsx scripts/check-skill-sync.tsoutputfeedback_qa_second_look.mdincludedfeedback_qa_second_look.md..." (no prior reference existed; augmented per spec Open Question 1)[Unreleased] / ### Changedentry referencing #573### Changedsection, ending(#573)Files Changed
.claude/skills/qa/SKILL.md— +8 lines (new subsection)templates/skills/qa/SKILL.md— +8 lines (mirror)skills/qa/SKILL.md— +8 lines (mirror)CHANGELOG.md— +1 line ([Unreleased] / ### Changed)Test plan
diff -q)npx tsx scripts/check-skill-sync.tsreportsqa/SKILL.md — 3/3 matchgrepconfirms required strings ("Sibling-site Scan", "don't widen scope mid-PR", "file a follow-up issue", "feedback_qa_second_look.md") in all three mirrors[Unreleased] / ### Changedending in(#573)/qainvoked on a future focused-AC PR surfaces sibling sites in its verdict (manual confirmation, post-merge)Note: Pre-existing skill-sync drift
check-skill-sync.tsexits 1 due to pre-existing divergence in unrelated files (improve/SKILL.md,loop/SKILL.md,qa/references/quality-gates.md,security-review/SKILL.md, etc.) — confirmed by stashing this branch's changes and re-running. The exit-1 condition exists onmain. AC-2's specific target (qa/SKILL.md) reports3/3 match.Closes #573