Repository navigation
Description
Summary
QA has explicit gates for script verification (/verify required before READY_FOR_MERGE, .claude/skills/qa/SKILL.md:1876-1906) and browser testing (.tsx files require /test or no-browser-test label, lines 1704-1731). It has no equivalent gate for spec-level "Manual Test" ACs on non-.tsx, non-script code paths — so those ACs can be marked MET from static code review alone.
Motivation
During QA of portfolio-2025 #28, AC-5 said verbatim:
Verify: Try saving a Project without media, confirm validation error fires.
QA marked AC-5 MET because the Payload collection config contained minRows: 1. Running the test in a browser later revealed Payload does NOT enforce minRows: 1 on array fields without required: true — empty arrays save silently. The bug would have shipped.
The root failure mode: QA has the tools (chrome-devtools MCP, bun dev) but no rule requiring it to use them when the spec explicitly demands runtime verification.
Acceptance Criteria
- AC-1: QA skill scans spec plan comments for verification keywords (
Manual Test,try X, confirm Y,verify by…,test that…) associated with AC items - AC-2: For each manual-test AC, QA must either execute the test (chrome-devtools MCP / dev server / direct invocation) or mark the AC
PENDINGwith a "Manual verification required" note - AC-3: A
PENDINGmanual-test AC forces verdictNEEDS_VERIFICATION, notREADY_FOR_MERGE - AC-4: Override mechanism mirroring Section 11a (Script Verification Override): allow skip with approved justification categories (e.g., "no runtime surface", "equivalent unit test coverage", "tested in sibling issue")
- AC-5: Update SKILL.md across all three skill directories (
.claude/skills/,templates/skills/,skills/) - AC-6: Update
CHANGELOG.mdunder [Unreleased]
Additional context
- Related existing gates:
/verifyenforcement (Section 11, lines 1876-1906) and browser-test enforcement (Section 2, lines 1704-1731) - Found via
/reflectafter a real bug slipped QA on portfolio-2025 Logging enhancements: rotation, stats, and documentation #28 - High priority — correctness gap in the workflow's quality bar
Complexity
complex (quality loop) — skill logic + sync across 3 directories + design of the keyword detection
Activity
admarble commentedon Apr 17, 2026
→ PROCEED — Gate manual-test ACs so they can't be marked MET from static code review
Workflow:
spec → exec → qa· 6 ACs⚠ SKILL.md sync across 3 dirs (
.claude/skills/,templates/skills/,skills/) — known pitfall⚠ Run sequentially with #530 (both edit
qa/SKILL.md)⚠ Updates
CHANGELOG.md [Unreleased]— conflicts possible with #528 and #531admarble commentedon Apr 17, 2026
Spec Plan — #529: Enforce Manual Test ACs
Complexity: Complex (6 ACs, 3 directories + CHANGELOG)
AC Quality Check
All 6 ACs pass lint — specific, measurable, scoped. No issues flagged.
Scope Assessment
Non-Goals: This does NOT change how
/specassigns verification methods, nor does it add new MCP tooling. It adds a detection + enforcement gate within the existing QA skill.Verdict:⚠️ SCOPE_WARNING — 3-dir sync is mechanical but error-prone (known pitfall). Quality loop recommended.
Acceptance Criteria
AC-1: QA skill scans spec plan comments for verification keywords
Verification: Integration Test
Scenario: Given a spec comment containing
**Verification:** Manual TestandGiven user on /register → When fill fields → Then redirect→ When QA parses the spec plan → Then it identifies AC items requiring manual verification and lists them in a### Manual Test ACs DetectedsectionAssumptions: Spec plan comments follow the
/specoutput template (verification method on its own line). Keywords to detect:Manual Test,try .*, confirm,verify by,test that,verify:? manualAC-2: QA executes or marks PENDING for each manual-test AC
Verification: Integration Test
Scenario: Given QA detects 2 manual-test ACs → When evaluating each → Then for each AC, QA either (a) executes the test using chrome-devtools MCP / dev server / CLI and records evidence, or (b) marks the AC
PENDINGwith note⚠️ Manual verification required — runtime test not executedAssumptions: QA agent has access to chrome-devtools MCP and can start dev server. If tools unavailable, PENDING is the correct fallback.
AC-3: PENDING manual-test AC forces NEEDS_VERIFICATION verdict
Verification: Unit Test
Scenario: Given AC evaluation produces 1+
PENDINGmanual-test ACs → When verdict determination runs (SKILL.md line 1692) → Then verdict =NEEDS_VERIFICATION, notREADY_FOR_MERGEAssumptions: This leverages the existing
pending_count > 0 → NEEDS_VERIFICATIONpath at line 1692. The key change is ensuring manual-test ACs that weren't executed getPENDINGstatus instead ofMET.AC-4: Override mechanism with approved justification categories
Verification: Integration Test
Scenario: Given a manual-test AC is detected → When QA determines runtime verification is unnecessary → Then QA documents override using structured format mirroring Section 11a (lines 1908-1959):
Approved categories:
no runtime surface(pure types/config),equivalent unit test coverage(automated test covers same path),tested in sibling issue(cross-reference provided)Assumptions: Override allows AC to be marked
METinstead ofPENDING. NOT approved categories mirror Section 11a: logic changes, new UI paths, user-facing behavior.AC-5: Update SKILL.md across all three directories
Verification: Integration Test
Scenario: Given changes to
.claude/skills/qa/SKILL.md→ When implementation complete → Thenskills/qa/SKILL.mdandtemplates/skills/qa/SKILL.mdcontain identical contentAssumptions: All three files are currently identical (verified). Use diff to confirm sync post-edit.
AC-6: Update CHANGELOG.md under [Unreleased]
Verification: Manual Test
Scenario: Given implementation complete → When reading CHANGELOG.md → Then
[Unreleased]section contains entry describing the manual-test enforcement gate with issue reference (#529)Implementation Plan
Phase 1: Manual Test Detection (AC-1)
.claude/skills/qa/SKILL.mdafter the Browser Testing Enforcement block (after line 1731). This section:**Verification:** Manual Testlinestry .*, confirm,verify by,test thatgrep -iE '(Manual Test|try .*, confirm|verify by|test that)' || true(note|| trueper known pitfall)Phase 2: Enforcement Logic (AC-2, AC-3)
PENDINGwith note.PENDINGmanual-test ACs flow through the existingpending_count > 0 → NEEDS_VERIFICATIONpath. No verdict logic changes needed — just ensure the AC getsPENDINGstatus rather thanMET.Phase 3: Override Mechanism (AC-4)
Phase 4: Sync & Docs (AC-5, AC-6)
.claude/skills/qa/SKILL.mdtoskills/qa/SKILL.mdandtemplates/skills/qa/SKILL.md[Unreleased] → ChangedDesign Review
Where does this logic belong? In the QA skill's pre-verdict evaluation phase, as a peer to browser-test enforcement (Section 2) and script verification (Section 11). Placement after line 1731 keeps all enforcement gates adjacent.
What's the simplest correct approach? Pattern-match
**Verification:** Manual Testfrom the spec comment. Don't build a parser — regex on the structured spec output is sufficient since/specuses a rigid template. The existingpending_countverdict path handles the rest.What existing pattern does this follow? Mirrors the browser-test enforcement gate exactly: detect condition → check if verification happened → force verdict if not → provide opt-out mechanism. The override format mirrors Section 11a verbatim.
What would a senior reviewer challenge?
PENDING→NEEDS_VERIFICATIONalready exists and has the right semantics. Adding a new status would require downstream changes.Feature Quality Planning
All standard checks pass. Notable items:
test thatcould match non-verification text. Mitigation: only scan within AC blocks (between### AC-headers), not freeform prose.feedback_read_each_mirrored_file.md).|| trueto avoid killing parallel Bash calls.Derived ACs
None — existing ACs are comprehensive.
Open Questions
Should detection scan only spec comments or also the issue body? — Recommendation: spec comments only (they contain the structured verification method). The issue body has freeform text that would increase false positives. Impact: low if wrong — can extend later.
Should the override be documented in QA output AND issue comment? — Recommendation: both (matching Section 11a pattern at line 1957). Impact: audit trail gap if only one location.
Recommended Workflow
Phases: spec → exec → qa
Quality Loop: enabled
Reasoning: 3-directory sync is error-prone; quality loop catches drift. Complex skill logic benefits from iteration. Matches
/assessrecommendation.Label Review
Current:
enhancement,qaRecommended:
enhancement,qa,complex,plannedReason: Issue self-identifies as complex;
plannedmarks spec completion.Quality Loop: Will auto-enable —
complexlabel triggers it.→
gh issue edit 529 --add-label complex --add-label plannedConflict Risk Analysis
#530 (QA short-circuit re-run) also edits
qa/SKILL.md— branch exists but has no commits yet. Run #529 first or coordinate via/mergerafter both complete. Assess comment already flags: "Run sequentially with #530."#528, #531 may touch
CHANGELOG.md [Unreleased]— standard merge conflict, trivially resolvable.admarble commentedon Apr 17, 2026
QA Review for Issue #529
Implementation Status: NOT FOUND
No implementation detected for this issue:
Verdict: AC_NOT_MET
No code changes found to review. The acceptance criteria cannot be evaluated without an implementation.
Next Steps
/exec 529to implement the feature/qa 529after implementation is completeQA skipped: No implementation to review
admarble commentedon Apr 18, 2026
QA Review for Issue #529
Implementation Status: NOT FOUND
No implementation detected for this issue:
origin/main): 0Verdict: AC_NOT_MET
None of the 6 ACs can be evaluated — no code, no skill edits, no CHANGELOG entry exist. Specifically:
.claude/skills/qa/SKILL.mdunchanged).claude/skills/,templates/skills/, orskills/)CHANGELOG.md[Unreleased]section has no entry for this issueThis matches the prior QA comment from 2026-04-17 — state has not changed.
Next Steps
/exec 529to implement the manual-test AC gate per the spec plan.claude/skills/,templates/skills/,skills/)CHANGELOG.mdentry under[Unreleased]/qa 529after implementationQA skipped: No implementation to review
admarble commentedon Apr 20, 2026
Heads-up: conflict with #530 (PR #541)
PR #541 (issue #530) is merging soon and edits the same
qa/SKILL.mdregions this issue will touch:qa/SKILL.md:~129— adds/qa 123 --forceto the invocation flag listqa/SKILL.md:~504-580— inserts a new Phase 0a (Prior QA Short-Circuit Check) block between the existing Phase 0 safety check and Phase 0b (Quality Plan Verification)qa/SKILL.md:~110— the QA phase-marker emission format gained averdictfield onstatus:"completed"markersAll edits are mirrored across
.claude/skills/,skills/,templates/skills/.When implementing #529: rebase onto
mainafter #541 lands. The conflict region is narrow and non-semantic (additive docs in a different section from where manual-test AC enforcement logic will go), but the line numbers referenced in any spec/plan drafted before the rebase will shift by ~70 lines.admarble commentedon Apr 23, 2026
→ PROCEED — Spec done, implementation empty; rebase worktree onto main before exec (PR #541 just landed on qa/SKILL.md).
Workflow:
exec → qa· 6 ACs```
npx sequant run 529 -q --phases exec,qa
```
⚠ Worktree at stale base (e3cfa67) — rebase before exec
⚠ 3-dir SKILL.md sync (known pitfall) + CHANGELOG [Unreleased] merge risk
feat(#529): enforce manual-test AC gate in QA skill
admarble commentedon Apr 23, 2026
Exec Progress Update — #529
AC Coverage
Manual Test,try X, confirm Y,verify by,test thatpending_count > 0pathdiff### AddedKey Files Changed
.claude/skills/qa/SKILL.md(+123 lines) — detection, enforcement, override, verdict algorithm step 3a, output templateskills/qa/SKILL.md— synced copytemplates/skills/qa/SKILL.md— synced copyCHANGELOG.md— [Unreleased] entryQuality Gates
npm run buildnpm run lintnpm testQuality Plan Alignment
N/A — No quality plan in issue (no derived ACs)
PR
Created: #547
admarble commentedon Apr 23, 2026
QA Review for Issue #529
Size Gate
All changes are
.mdskill prompt files andCHANGELOG.md. No TypeScript, no build artifacts, no runtime code. Standard sub-agent checks (type safety, security scan) are not applicable.AC Coverage
grep -iEwith patterns:**Verification:** Manual Test,try X, confirm Y,verify by,test that. Step 3 extracts AC IDs via awk.pending_count, which flows through existingpending_count > 0 → NEEDS_VERIFICATIONpath in step 4. No new verdict branch needed — clean integration.diff:.claude/skills/,skills/,templates/skills/.### Addedwith issue reference (#529).Coverage: 6/6 AC items fully met
Quality Metrics
any)CI Status
build (20.x)build (22.x)typecheckvalidate-skillsPlugin Structure ValidationHooks ValidationSetup Directory Creationvalidate-pluginCI Summary: 7 passed, 1 pending
CI-related AC items: None — but CI must complete before merge.
Code Review
Strengths:
pending_countpath. No new verdict branch needed, reducing complexity.minRows: 1) that motivated this gate, giving future QA agents context for why this matters.Issues:
-i(case-insensitive), correctly matching "Try X, confirm Y". However, the awk pattern in step 3 (/try .*, confirm|verify by|test that/) is case-sensitive. This means "Try saving a Project, confirm validation error fires" (the literal motivating example from this issue) would be detected by grep but the awk would fail to extract its AC ID. The fix is simple: addIGNORECASE=1to the awk command or usetolower($0)matching.Suggestions:
awk 'BEGIN{IGNORECASE=1} /^### AC-[0-9]+/{ac=$0} /Manual Test|try .*, confirm|verify by|test that/{print ac}'Stale Branch Check
Quality Plan Verification
N/A — No quality plan found in issue comments.
Test Coverage Analysis
N/A — No TypeScript source files changed. All changes are
.mdprompt files andCHANGELOG.md.Anti-Pattern Detection
N/A — No runtime code changed. All changes are Markdown skill prompts.
Call-Site Review
N/A — No new exported functions (no TypeScript changes).
CLI Registration Verification
N/A — No option interface changes.
Skill Command Verification
Skill files changed: 3 (same content across directories)
.claude/skills/qa/SKILL.mdCommands Verified:
gh issue view <issue-number> --json comments --jq '[.comments[].body | ...]'→ ✅ Valid jq syntax, valid JSON fieldsgrep -iE '...'→ ✅ Valid regex pattern,-ifor case insensitivityawk '/^### AC-[0-9]+/{ac=$0} /Manual Test|try .*, confirm|verify by|test that/{print ac}'→Verification Status: Partial (awk case mismatch)
Skill Change Review
gh issue view --json commentsuses valid fields ✅**Verification:** Manual Test,try X, confirm Y,verify by,test that,verify: manual✅ghCLI (consistent with existing skill patterns) ✅Smoke Test
Smoke test scope: Verified detection patterns against realistic spec comment input.
echo "..." | grep -iE '...'echo "..." | awk '...'try x, confirm yecho "Try X, confirm Y" | awk '...'diffacross all 3Smoke Test Status: Partial (awk case sensitivity gap documented)
Execution Evidence
N/A — No executable scripts or CLI commands modified. Changes are skill prompt content only.
Manual Test ACs
N/A — No manual-test ACs detected in spec plan for this issue (meta: this issue creates the manual-test gate, it doesn't itself have manual-test ACs).
CHANGELOG Verification
### AddedResult: CHANGELOG requirements met
Risk Assessment
Verdict: NEEDS_VERIFICATION
Rationale:
build (20.x)is still in progress — cannot give READY_FOR_MERGE until CI completesImprovement required before READY_FOR_MERGE:
BEGIN{IGNORECASE=1}to the awk command in all 3 skill directoriesbuild (20.x)CI check to completeDocumentation
Next Steps
BEGIN{IGNORECASE=1}or usetolower()matching/qa 529after CI completes and fix is appliedQA completed at commit
2e17ce2admarble commentedon Apr 23, 2026
QA Re-verification for Issue #529
Re-ran /qa at
2e17ce21b920af702a1140537cb13526913eef22(same SHA as prior QA). The prior verdict wasNEEDS_VERIFICATIONsolely because CI build(20.x) was still in progress — all other gates were already green.CI Status (now complete)
build (20.x)build (22.x)typecheckvalidate-skillsvalidate-pluginPlugin Structure ValidationHooks ValidationSetup Directory CreationCI Summary: 8/8 passed. PR is MERGEABLE.
AC Re-verification
**Verification:** Manual Test,try X, confirm Y,verify by,test thatpending_countinto existing pending→NEEDS_VERIFICATION path (no new branch needed)no runtime surface,equivalent unit test coverage,tested in sibling issue.claude/skills/qa/SKILL.md,skills/qa/SKILL.md,templates/skills/qa/SKILL.mdall 3085 lines, byte-identical### Addedwith(#529)Risk Assessment
/Manual Test|try .*, confirm|...) while the grep on line 1838 is case-insensitive (-iE) — a spec written as "Try X, confirm Y" gets detected but won't have its AC ID extracted. Prior QA flagged this; it's a non-blocking nit since thegrep -iEstill fires on any mixed-case match.Verdict: READY_FOR_MERGE
All ACs MET, all CI green, 3-dir sync verified, CHANGELOG entry present. Minor awk case-sensitivity nit can be addressed in a follow-up — not blocking.
Documentation: Before merging, run
/docs 529to generate feature documentation (or skip if self-documented via CHANGELOG + SKILL.md).fix(#529): anchor spec-comment filter to phase marker; case-insensiti…
fix(#529): broaden awk AC-header regex to match #### and **AC-N** styles
fix(#529): detect **Verify:** prefix as manual-test indicator
feat(#551): /qa Section 6c — detection-pattern verification for skill…
feat(cli): `sequant ready <issue>` — post-resolve A+ QA gate (#683) (#…
feat(#529): enforce manual-test AC gate in QA skill
fix(#529): anchor spec-comment filter to phase marker; case-insensiti…
fix(#529): broaden awk AC-header regex to match #### and **AC-N** styles
fix(#529): detect **Verify:** prefix as manual-test indicator
feat(cli): `sequant ready <issue>` — post-resolve A+ QA gate (#683)