Repository navigation
fix(#1194): parseQaSummary parses bold/emoji-less status words and survives an unparseable AC table - #1214
Merged
admarble merged 4 commits intoSep 29, 2026
Conversation
…moji, and a marker with no parseable AC row AC-1: STATUS_CELL tolerates a **-bold cell with no emoji and normalizes NOT MET/NOT_MET. AC-2: a valid SEQUANT_QA_GAPS marker is hoisted above the acTotal===0 guard. AC-3: adds the skill's documented emoji, PENDING and OVERRIDDEN keywords. AC-4: buildQaVerdictComment lists pendingAcIds and pause_for_human findings under NEEDS_VERIFICATION. Entire-Checkpoint: f2b3d66cee0b
…_for_human findings once A notes cell starting 'Not met' no longer overrides the status cell. NEEDS_VERIFICATION comments drop pause_for_human descriptions from Gaps since they get their own section; the new test builds the summary through parseQaSummary instead of a hand-written gaps list. Entire-Checkpoint: 6d2b4c9f99b2
…in comments Entire-Checkpoint: 74f6e60b1a82
…arseqasummary-returns-null-when-ac-statuse
admarble
deleted the
feature/1194-fix-qa-parseqasummary-returns-null-when-ac-statuse
branch
September 29, 2026 15:15
This was referenced Sep 29, 2026
7 tasks
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.
Closes #1194
Summary
parseQaSummary'sSTATUS_CELLregex only matched an emoji-prefixed status keyword, so a table using bold-no-emoji cells (**MET**,**PENDING**,**NOT MET**) or the skill's own documented⏳ PENDING/🔄 Overriddenforms counted zero AC rows and the function returnednull— before it ever read theSEQUANT_QA_GAPSfindings marker.acTotal === 0guard, so a valid marker (including the skill's clean-pass{"findings":[]}shape) produces a summary even when no AC row parsed.QaSummarygains an optionalpendingAcIdsfield;buildQaVerdictCommentlists PENDING AC ids andpause_for_humanfindings in their own section under aNEEDS_VERIFICATIONverdict, distinct from the generic gaps list.Pre-PR AC Verification
phase-executor.tsSTATUS_CELL now tolerates\*{0,2}and normalizesNOT MET/NOT_MET; test#1194 AC-1inphase-executor.test.tsacTotal === 0rawFindingshoisted above the guard; tests#1194 AC-2(x2) inphase-executor.test.ts⏳ PENDINGand🔄 OverriddenparseSTATUS_CELL,OVERRIDDENkeyword added; property test inphase-executor.property.test.tspause_for_humanfindings; no "0/0 met"buildQaVerdictCommentinbatch-executor.ts; 4 tests under#1194 AC-4inbatch-executor.test.tsRunner follow-up (graph-run #1203, commit
f50de5f9)QA returned
AC_MET_BUT_NOT_A_PLUSwith two gaps that would have shipped, both fixed here:NOT[ _]MET, the right-to-left cell scan took a notes cell such asNot met in first pass; fixedas the status (0/1 on this branch vs 1/1 on main). A table status cell must now hold the keyword alone, optionally bold, or followed by a separator (—,(,:…). The checklist fallback keeps its prefix match.pause_for_human.parseQaSummaryalready unions marker descriptions intogaps, so those findings printed under both Gaps and Needs human review. Under NEEDS_VERIFICATION they now appear only in the latter. The new test builds the summary throughparseQaSummary; the earlier fixture hand-wrotegaps, which is why it missed this.Mutation-verified: notes-cell fix — reverted the table scan to
STATUS_CELL;src/lib/workflow/phase-executor.test.ts > parseQaSummary > #1194: a notes cell that starts with a status word does not override the status cellfailed (1/192); restored.Mutation-verified: AC-4 dedupe — made the gaps filter keep every gap;
src/lib/workflow/batch-executor.test.ts > #1194 AC-4: buildQaVerdictComment lists PENDING ACs and pause_for_human findings > lists each pause_for_human finding once when the summary comes from parseQaSummaryfailed (1/102); restored.Open Questions resolution (per spec recommendations)
"NOT MET"(space) normalizes toNOT_MET. ✅{"findings":[]}(empty, non-null) suppresses theacTotal === 0early return. ✅🔄 Overriddencounts as MET-equivalent. ✅Runner follow-up, round 2 (commit
2e5111d7)QA's second pass returned
AC_MET_BUT_NOT_A_PLUS. I fixed itsfix_nowfinding:🔄 Overriddennewly parsing, a later Overridden row could credit an AC that the coverage table marks PENDING. Each AC id is now counted once, from its first table row.—/§escape text.Left as documented: a notes cell written as
Not met — fixedstill reads as the status. I kept the em dash as a separator on purpose, because✅ MET — verifiedis a real status-cell shape.Mutation-verified: per-id dedupe — disabled the repeat check;
src/lib/workflow/phase-executor.test.ts > parseQaSummary > #1194: an AC repeated in a second table is counted once, from its first rowfailed (1/193); restored.Test plan
npx vitest run src/lib/workflow/phase-executor.test.ts— 24/24parseQaSummarytests pass (AC-1, AC-2 evidence)npx vitest run src/lib/workflow/phase-executor.property.test.ts— 7/7 pass, including new⏳/🔄property test (AC-3 evidence)npx vitest run src/lib/workflow/batch-executor.test.ts— 4 new AC-4 tests pass, plus full file (all pass)npm run buildandnpm run lint— cleanf50de5f9:npx vitest run src/lib/workflow/phase-executor.test.ts src/lib/workflow/phase-executor.property.test.ts src/lib/workflow/batch-executor.test.ts— 3 files, 301/301 passed;npx tsc --noEmitcleannpm testintentionally not run in this phase per the issue's own wave-2 launch constraint (hard 30-minute MCP phase wall; wave-1 exec phases ran 25-29 min). CI runs the full suite.Refs #1203 (graph tracker)
🤖 Generated with Claude Code