Repository navigation
Conversation
§10a's prose rule "Do NOT give READY_FOR_MERGE if CHANGELOG entry missing" was orphaned — the §7 verdict-determination algorithm did not include a `changelog_missing` branch, so the gate silently passed when READY_FOR_MERGE was otherwise eligible (surfaced during /fullsolve 575 round-1). - Add `changelog_required` and `changelog_missing` to §7's verification- gates variable list, defined in terms of §10a's existing CHANGELOG.md file-presence + conventional-commit-prefix detection + [Unreleased] entry check (no logic duplication). - Insert a new ELSE-IF branch in §7's verdict-determination chain between `execution_evidence == "Incomplete"` and `quality_plan_status == "Not Addressed"` that demotes READY_FOR_MERGE → AC_MET_BUT_NOT_A_PLUS when the gate trips. - Document the conventional-commit-dependency caveat in §10a prose: projects without conventional commits silently skip (failsafe-off). - Mirrored across all three qa/SKILL.md copies (.claude/skills, templates/skills, skills); diff-verified zero divergence. - CHANGELOG entry added (dogfoods the new gate). No-op when CHANGELOG.md is absent (AC-2) or only non-user-facing prefixes (chore:|test:|ci:) appear in `git log main..HEAD` (AC-3).
This was referenced May 8, 2026
Closed
admarble
deleted the
feature/585-feat-qa-wire-changelog-gate-into-7-verdict-algorit
branch
May 9, 2026 15:52
This was referenced May 9, 2026
admarble
added a commit
that referenced
this pull request
May 9, 2026
…commits (#613) * fix(#610): broaden /qa §10a user_facing regex to match scoped conventional commits The §7 CHANGELOG gate wired by #585/PR #601 cannot fire on scoped conventional-commit projects — including sequant itself. The §10a detection regex matched only unscoped form (feat:, fix:), but sequant uses scoped form (feat(#NNN):) on 26/26 audited recent commits, so user_facing=0 → changelog_required=false → §7 branch short-circuits → gate effectively no-op'd on sequant's own dogfood (the very /fullsolve 575 regression case the original issue cited). Update regex from `(feat|fix|perf|refactor|docs):` to `(feat|fix|perf|refactor|docs)(\([^)]*\))?!?:` across all three qa/SKILL.md mirrors. The new pattern accepts unscoped, scoped, breaking, and scoped-breaking forms; still rejects chore:/test:/ci:/build:/style: per conventional-commit semantics. Rewrite §10a "Caveat" paragraph to enumerate the prefix list with optional scope and ! marker, so readers can predict gate triggering without reading the regex. Verified: - 8/8 positive cases match (feat:, feat(#585):, feat!:, feat(scope)!:, fix(area)!:, docs!:, refactor:, fix(#592):) - 6/6 negative cases reject (chore:, test:, ci:, build(deps):, style:, wip:) - Dogfood: NEW regex detects merged dd6027b feat(#585):; OLD returns 0 - All 3 SKILL.md mirrors byte-identical post-edit * fix(#610): point §7 changelog_required prose at §10a as single source of truth Adversarial re-read after first-pass QA surfaced a missed sibling-site: §7's verdict-algorithm prose at line 2056 was a duplicate spec of §10a's detection regex, still describing the OLD unscoped prefix list (feat:|fix:|perf:|refactor:|docs:). After fc5d5c2 broadened §10a's regex to accept scoped/breaking variants, §7's prose became stale — a reader following §7 to the letter would conclude scoped commits don't trigger changelog_required, contradicting §10a's actual code. Replace the inline prefix list in §7 with a pointer to §10a: "changelog_required = true IFF §10a's user_facing count > 0 (single source of truth — see §10a for the regex)". Eliminates the drift surface; future regex changes only need to update §10a. Sibling-site scan in /spec missed this because it grep'd for the regex literal, not for prose descriptions of the prefix list. Mirrored across all 3 qa/SKILL.md copies. Verified byte-identical.
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
/qa§10a's prose said "Do NOT giveREADY_FOR_MERGEif CHANGELOG entry missing" but §7's verdict algorithm silently ignored it.ELSE IF changelog_required AND changelog_missingbranch in §7 demotesREADY_FOR_MERGE→AC_MET_BUT_NOT_A_PLUSwhenCHANGELOG.mdexists, branch has user-facing conventional-commit prefixes, and[Unreleased]lacks an entry. Reuses §10a's existing detection — zero logic duplication.qa/SKILL.mdcopies (.claude/skills/,templates/skills/,skills/); CHANGELOG entry added (dogfoods the new gate).Pre-PR AC Verification
changelog_missingbranch demotingREADY_FOR_MERGE→AC_MET_BUT_NOT_A_PLUStemplates/skills/qa/SKILL.md:2086-2087, betweenexecution_evidence == "Incomplete"andquality_plan_status == "Not Addressed"CHANGELOG.mdabsent:2056—changelog_required = true IFF CHANGELOG.md exists AND ...; absent file → branch skips:2056requires `feat:qa/SKILL.mdfilesdiffzero output across all three pairs (verified post-edit)[Unreleased]entry still verdictsREADY_FOR_MERGEchangelog_required = trueANDchangelog_missing = false, the AND short-circuits — branch falls through to remaining gatesTest plan
npm run buildpasses (no TypeScript errors)npm run lintpasses (no ESLint errors)markdown-only-ci,merge-check,assess-collision-detect) — 95/95 passednpx tsx scripts/check-skill-sync.tsconfirmsqa/SKILL.mdsynced 3/3npm run lint:skill-callspasses (no unqualifiedSkill()collisions introduced)/qaagainst feat(spec): ac-linter — detect title/body verification-method tension #571/feat(run): -q mode silent for entire phase duration — no liveness or stall signal #574/feat(spec): mirror /qa sibling-site scan prompt into /spec planning checklist #580 to confirm regression behavior (AC-5)Quality Plan Alignment
N/A — spec plan did not include a Feature Quality Planning section (this is a markdown-prose-only verdict-algorithm wiring change).
Closes #585