Repository navigation
Description
Epic: graph-2026-10-review-surface Tier: judgment Execution: sequant_run Blocked by: #1525 (the plugin freeze lifted 2026-11-06)
PROJECT-DISCUSSION §10's first post-freeze item (docs/internal/graph-2026-10-review-surface/PROJECT-DISCUSSION.md); the class #1525's spec recorded as deliberately local ("class tracked in #N").
Problem
#1525's producer parses the QA comment's prose for per-AC status. #1524 measured that parse at 80% of ACs across the 12-fixture corpus (3 of 75 labels wrong, pinned as KNOWN_MISSES in src/lib/workflow/ac-status.test.ts), below RD-B's 90% bar, so RS-02 shipped with unknown as the common case and §10 named this marker as its replacement. The QA skill already writes three machine-anchored markers (SEQUANT_MUTATION, SEQUANT_QA_GAPS, SEQUANT_PHASE); per-AC status has none, so the only producer scrapes an output format the skill does not promise. Prior fixes on that scrape: the parseQaVerdict first-match fix (v2.18.0), parseQaSummary (#964, #1194), qa-gaps-marker.ts. Three fixes on one class is the stop rule; the marker ends the class.
Decisions
| ID | Decision | Rejected alternative |
|---|---|---|
| M-1 | One marker line per criterion, HTML-comment anchored like SEQUANT_MUTATION: `<!-- SEQUANT_AC: {"ac":"AC-N","status":"met |
not_met |
| M-2 | recordAcStatuses reads markers first; when the output carries at least one marker the prose parse is not consulted; otherwise the prose parse runs unchanged (older skill versions, other drivers) |
removing the prose parse now (breaks every pinned skill) |
| M-3 | The status enum is #1525's five; no sixth | a partial status |
Acceptance Criteria
- AC-1: The QA skill emits the marker, mirrors in sync. Evidence:
grep -c 'SEQUANT_AC:' .claude/skills/qa/SKILL.md→≥ 1andnpm run lint:skill-sync→ exit 0 - AC-2: The producer prefers markers. Evidence:
npx vitest run src/lib/workflow/ac-status.test.ts -t "marker"→≥ 2 passed, 0 failed(an output whose markers and prose rows disagree yields the marker statuses; an output with no markers yields the prose parse) - AC-2 is classified as a gate test by
isGateTestEvidence; the PR body carries itsSEQUANT_MUTATIONrecord (remove the marker branch from the producer → the disagreeing case fails; restore). - AC-3: The 12-fixture test passes unchanged. Evidence:
npx vitest run src/lib/workflow/ac-status.test.ts -t "fixture"→≥ 13 passed, 0 failed - AC-4: One testbed QA run after the skill change yields a marker per declared AC and no
unknownfor a declared AC. Evidence: that run'sacs[]from the run log, pasted in the PR body (human check)
May touch
.claude/skills/qa/SKILL.md and its templates/skills/qa/SKILL.md mirror, plugin/ copies via sync:skills, src/lib/workflow/ac-status.ts, src/lib/workflow/ac-status.test.ts, CHANGELOG.
Non-Goals
- Changing the prose parser's thresholds or
KNOWN_MISSES(investigation(qa): per-AC status parse coverage over ≥ 60 QA verdict comments, with a hand-labelled fixture — decides parser-now or marker-first (RD-1) #1524, feat(run): one producer for per-AC status — parse the QA phase output, write the state record through updateACStatus, carry acs[] in the run log; unknown is a status #1525). - Rendering (feat(cli): the AC table on every surface — terminal run summary lines per criterion, an ACs column in sequant status, a block in sequant logs; all read the one record #1526).
Activity