Repository navigation
fix(#610): broaden /qa §10a user_facing regex to scoped conventional commits - #613
Merged
admarble merged 2 commits intoMay 9, 2026
Conversation
…ional 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
5 tasks
… 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.
admarble
deleted the
feature/610-fix-qa-broaden-10a-user-facing-regex-to-match-scop
branch
May 9, 2026 16:29
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§10auser_facingdetection regex to match scoped conventional commits (feat(#NNN):,fix(area)!:).Why
/qa§10a's regex was^[a-f0-9]+ (feat|fix|perf|refactor|docs):. Sequant uses scoped form on 26/26 audited recent commits (per QA review of #601). Result:user_facing=0→changelog_required=false→ §7 branch short-circuits → gate doesn't fire on the very/fullsolve 575regression case the original issue (#585) cited.New regex:
^[a-f0-9]+ (feat|fix|perf|refactor|docs)(\([^)]*\))?!?:— accepts unscoped, scoped, breaking, scoped-breaking forms. Still rejectschore:,test:,ci:,build:,style:per conventional-commit semantics.Changes
templates/skills/qa/SKILL.md+.claude/skills/qa/SKILL.md+skills/qa/SKILL.md:![Unreleased]/### Changeddocumenting the broadening and dogfood gap closureDiff: 4 files, +7/-6.
AC Coverage
chore:,test:,ci:,build(deps):,style:,wip:)feat/fix/perf/refactor/docs+ optional scope(...)+ breaking!diffexit 0 on each pairorigin/main~5..origin/main; NEW findsdd6027b feat(#585):Test plan
All commands above pass locally.
Closes #610