Skip to content

feat(#582): /qa Adversarial Re-Read structured section before READY_FOR_MERGE - #584

Merged
admarble merged 1 commit into
mainfrom
feature/582-qa-adversarial-reread
May 6, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/582-qa-adversarial-reread

Conversation

@admarble

@admarble admarble commented May 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Promotes the existing trailing "Adversarial re-read of core logic" checkbox to a required structured Section 6d in /qa SKILL.md for non-Simple-Fix Standard QA before READY_FOR_MERGE.

Surfaced during /fullsolve 570 where the first-pass QA returned READY_FOR_MERGE but a user "any gaps?" prompt exposed 3 real gaps (verbatim fixtures missing, evidence claim overstatement, meta-loop workflow gap → #581). This PR forces that second look on every Standard QA, structurally.

Changes

  • New Section 6d (between 6c and 7) with 5 sub-prompts and concrete pass criteria
  • Output template gets a structured table between Risk Assessment and Verdict (Standard only — Simple Fix exempt)
  • Verdict Determination Algorithm wires adversarial_reread_status:
    • Severe Gap → AC_NOT_MET (verbatim fixture not run; evidence conflated; AC marked MET without runtime/corpus check the text required)
    • Gaps Found → AC_MET_BUT_NOT_A_PLUS (non-blocking, address as follow-up)
    • Clean → no impact
  • Output Verification checklist promotes trailing checkbox to structured item; bare "No gaps" hand-wave fails verification
  • CHANGELOG entry under [Unreleased] / Changed
  • Mirrored verbatim across all 3 qa/SKILL.md copies

Acceptance Criteria

  • AC-1: New Section 6d in Standard Output Template only, between Risk Assessment and Verdict
  • AC-2: 5 sub-prompts (verbatim fixtures, evidence framing, process state, sibling sites, out-of-scope/Non-Goals) as a structured table
  • AC-3: "Findings:" line required; bare "No gaps" without specific reasoning fails verification (stated explicitly)
  • AC-4: Standard QA Output Verification checklist gains structured Adversarial Re-Read item
  • AC-5: Verdict Determination Algorithm gains Severe Gap → AC_NOT_MET and Gaps Found → AC_MET_BUT_NOT_A_PLUS branches
  • AC-6: Mirrored across 3 qa/SKILL.md copies (npx tsx scripts/check-skill-sync.ts reports qa/SKILL.md: synced)
  • AC-7: CHANGELOG entry under [Unreleased] / Changed referencing feat(qa): promote Adversarial Re-Read from checklist item to required structured output section #582

Test plan

  • npx tsx scripts/check-skill-sync.ts → qa/SKILL.md: synced
  • npm run build → clean (no code changes; doc-only)
  • Manual diff verify: 3 mirrors are byte-identical via diff -q
  • Visual review: Section 6d positioned between 6c and 7; output template section between Risk Assessment and Verdict

Self-dogfood note

This PR's own QA — once landed and the next /qa invocation hits — should now produce a structured Adversarial Re-Read section per the new gating. The change is doc-only (no executable code), so most sub-prompts will resolve to N/A or "no payload to verify"; that's the correct shape for a doc-only diff.

Closes #582

…OR_MERGE

Promotes the existing single-line "Adversarial re-read of core logic"
output-verification checkbox to a required structured Section 6d for
non-Simple-Fix Standard QA before READY_FOR_MERGE.

Adds 5 sub-prompts with concrete pass criteria:

1. Verbatim fixtures — run implementation against EVERY motivating-
   example string from the issue body (broadens the rule from skill-
   markdown-only Section 6c to all change types per
   feedback_motivating_example_regression.md scope clarification)
2. Evidence framing — distinguish pre-fix bug reproductions from post-
   fix validations
3. Process state — inspect uncommitted work, divergent branches, stash,
   orchestrator state the structured pipeline normalizes away
4. Sibling sites — reference Section 5 scan or justify N/A
5. Out-of-scope/Non-Goals — surface adjacent items explicitly

Status outcomes (Clean/Gaps Found/Severe Gap) wire into the Verdict
Determination Algorithm:

- Severe Gap → AC_NOT_MET (verbatim fixture not run, evidence claim
  conflated, AC marked MET without runtime/corpus check the text
  required)
- Gaps Found → AC_MET_BUT_NOT_A_PLUS (non-blocking; address as
  follow-up)
- Clean → no impact

Output template gets a new structured table between Risk Assessment
and Verdict in the Standard template (Simple Fix is exempt — listed in
the omission set).

Output Verification checklist promotes the trailing
"Adversarial re-read" checkbox to a structured "Adversarial Re-Read"
item with concrete pass criteria; the bare "No gaps" hand-wave fails
verification.

Mirrored verbatim across all 3 qa/SKILL.md copies (.claude/skills,
templates/skills, skills).

Operationalizes feedback_qa_second_look.md at the structural level
rather than as a final-pass checkbox. Surfaced during /fullsolve 570
where first-pass QA returned READY_FOR_MERGE but a user "any gaps?"
prompt exposed 3 real gaps (verbatim fixtures missing, evidence claim
overstatement, meta-loop workflow gap → #581).

Closes #582
@admarble
admarble merged commit 164aef8 into main May 6, 2026
8 checks passed
@admarble
admarble deleted the feature/582-qa-adversarial-reread branch May 6, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(qa): promote Adversarial Re-Read from checklist item to required structured output section

1 participant