Repository navigation
Description
Summary
`/qa` SKILL.md §10a says "Do NOT give READY_FOR_MERGE if CHANGELOG entry missing for user-facing changes" — but §7's verdict-determination algorithm does not include this branch. So the rule is documented in prose and silently ignored when `READY_FOR_MERGE` is otherwise eligible.
Evidence
During `/fullsolve 575` (PR #579), my round-1 /qa marked CHANGELOG verification as N/A on a `fix:` commit affecting `templates/scripts/cleanup-worktree.sh` (a user-facing template script). The verdict was `READY_FOR_MERGE`. The CHANGELOG was empty for #575 until the user surfaced the gap with "any gaps?" — at which point I added the entry on round 2.
The /qa skill's CHANGELOG validation already implements:
- File detection (`if [ ! -f "CHANGELOG.md" ]; then skip`)
- User-facing change detection (conventional-commit prefixes `feat:|fix:|perf:|refactor:|docs:`)
- The rule itself: "Do NOT give READY_FOR_MERGE"
It just isn't wired into the verdict algorithm in §7.
Proposed change
In `templates/skills/qa/SKILL.md` §7 "Determine verdict (in order)", add a new branch alongside existing gates:
```diff
- ELSE IF execution_evidence == "Incomplete":
→ AC_MET_BUT_NOT_A_PLUS (scripts not verified - cannot be READY_FOR_MERGE)
-
- ELSE IF changelog_required AND changelog_missing:
-
→ AC_MET_BUT_NOT_A_PLUS (CHANGELOG entry required for user-facing changes)- ELSE IF quality_plan_status == "Not Addressed" AND quality_plan_exists:
→ AC_MET_BUT_NOT_A_PLUS (quality dimensions not addressed - flag for review)
```
- ELSE IF quality_plan_status == "Not Addressed" AND quality_plan_exists:
Where `changelog_required` reuses §10a's existing detection (`CHANGELOG.md` exists AND user-facing commit prefix in `git log main..HEAD`) and `changelog_missing` reuses §10a's `[Unreleased]` entry check.
Mirror across all three skill directories: `.claude/skills/qa/SKILL.md`, `skills/qa/SKILL.md`, `templates/skills/qa/SKILL.md`.
Acceptance Criteria
- AC-1: §7 verdict algorithm includes a `changelog_missing` branch that demotes `READY_FOR_MERGE` to `AC_MET_BUT_NOT_A_PLUS` when `CHANGELOG.md` exists, the feature branch has user-facing commits, and the `[Unreleased]` section lacks an entry for the issue/PR.
- AC-2: The branch is no-op when `CHANGELOG.md` doesn't exist (graceful degradation for projects without one). Verify by running /qa on a synthetic repo lacking CHANGELOG.md.
- AC-3: The branch is no-op when no user-facing commit prefix is detected (e.g., `chore:`/`test:`/`ci:` only). Verify by running /qa on a non-user-facing diff.
- AC-4: Change is mirrored across all three `qa/SKILL.md` files.
- AC-5: Regression check — existing /qa runs against a recent merged PR with a proper CHANGELOG entry still verdict `READY_FOR_MERGE`.
Notes
- Caveat to document in SKILL prose: detection requires conventional-commit prefixes. Projects without conventional commits silently skip the gate (failsafe to "off"). Acceptable for sequant's typical user base.
- This is a "rule already exists, wire it into the algorithm" change. Low risk; high value for repos with active CHANGELOGs.
- Origin: dogfooded during `/fullsolve 575` round-1 vs round-2 /qa diff.
Activity
admarble commentedon May 8, 2026
Plan for #585 — Wire CHANGELOG gate into §7 verdict algorithm
Acceptance Criteria
changelog_missingbranch demotingREADY_FOR_MERGE→AC_MET_BUT_NOT_A_PLUSwhen CHANGELOG.md exists, branch has user-facing commits, and[Unreleased]lacks an entry. Verify: Manual — read §7 after edit; new branch betweenexecution_evidenceandquality_plan_status.CHANGELOG.mddoesn't exist. Verify: Manual — trace §10a skip path;changelog_required = false.user_facing = 0→changelog_required = false.qa/SKILL.mdfiles. Verify: Manual —diffall three pairs produces empty output.[Unreleased]entry still verdictsREADY_FOR_MERGE. Verify: Manual — dry-run /qa against e.g. 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.Implementation Plan
templates/skills/qa/SKILL.md,.claude/skills/qa/SKILL.md,skills/qa/SKILL.mdbetweenexecution_evidence == "Incomplete"andquality_plan_status == "Not Addressed":diff— expect zero output.[Unreleased]CHANGELOG entry for feat(qa): wire CHANGELOG gate into §7 verdict algorithm so it actually blocks READY_FOR_MERGE #585 (dogfoods the new gate).Key Decisions
changelog_required/changelog_missingrather than duplicating logic in §7. Mirrors §11 (execution_evidence) and §3a (browser_test_missing) patterns.Open Questions
Sibling-Site Scan
Negative. Two other "Do NOT give
READY_FOR_MERGE" rules (CI gating line ~804, Script/CLI verification line ~2393) are already wired into §7 viapending_countandexecution_evidence. CHANGELOG was the only orphan.Recommended Workflow
spec → exec → qa, quality loop disabled. testgen and /test N/A for a markdown-prose change.admarble commentedon May 8, 2026
/exec Progress Update — #585
AC Coverage Summary
changelog_missingbranchtemplates/skills/qa/SKILL.md:2086-2087— newELSE IF changelog_required AND changelog_missingbetweenexecution_evidence == "Incomplete"andquality_plan_status == "Not Addressed"CHANGELOG.mdabsent:2056—changelog_required = true IFF CHANGELOG.md exists AND ...; absent file → branch skips:2056—changelog_requiredrequires `feat:qa/SKILL.mdfilesdiffzero output acrosstemplates//.claude//skills/pairs;check-skill-sync.tsreports synced 3/3 forqa/SKILL.md[Unreleased]entry still verdictsREADY_FOR_MERGEchangelog_required && !changelog_missing, the AND short-circuits, branch falls throughFiles Changed
templates/skills/qa/SKILL.md(+8 lines): variable defs + new §7 ELSE-IF branch + §10a prose caveat.claude/skills/qa/SKILL.md(+8): mirrorskills/qa/SKILL.md(+8): mirrorCHANGELOG.md(+1):[Unreleased] / Addedentry for feat(qa): wire CHANGELOG gate into §7 verdict algorithm so it actually blocks READY_FOR_MERGE #585 (dogfoods the gate)Build / Lint / Test Results
npm run buildnpm run lintnpx vitest run(targeted)qa/markdown-only-ci,merge-check/,assess-collision-detectcheck-skill-sync.tsqa/SKILL.mdlisted under synced (22 total); changes did not introduce divergencelint:skill-callsSkill()collisionsTest Coverage Analysis
templates/skills/qa/SKILL.md.claude/skills/qa/SKILL.mdskills/qa/SKILL.mdCHANGELOG.mdThis is a markdown-prose verdict-algorithm wiring change. AC-1–AC-5 are all "Manual" verification per the spec plan — runtime behavior is determined by
/qareading SKILL.md prose. Manual verdict trace done above.Quality Plan Alignment
N/A — spec plan for #585 did not include a Feature Quality Planning section (markdown-prose-only change, quality-loop disabled).
CLI Wiring Check
N/A — no
RunOptions/bin/cli.tschanges.Pre-PR Confidence Check
execution_evidence == "Incomplete"andquality_plan_status == "Not Addressed"per the spec plan, deliberately AFTER hard-blocker causes (skill_verification, execution_evidence) and BEFORE the soft "notes" gates (quality_plan, browser_test_missing, smoke_test). This matches the §10a "Do NOT give READY_FOR_MERGE" intent — same severity asexecution_evidence == "Incomplete".markdown-only-ci.test.ts/merge-check.test.tsexercise the surrounding pipeline. The conventional-commit-dependency caveat is documented in §10a prose for projects opting out.PR Status
✅ PR #601 created — #601
Documentation Reminder
/qaSKILL.md is itself the documentation for §7. CHANGELOG entry already added. No README/docs/ updates needed (already verified by /qa skill's docs check.)Next Steps
/qa 585to verify the gate-wiring verdict algorithm against the spec./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 (recent merged PRs with proper[Unreleased]entries) to confirm AC-5 regression case still producesREADY_FOR_MERGE.admarble commentedon May 8, 2026
QA Review for Issue #585 (Simple Fix)
Size Gate
AC Coverage
changelog_missingbranch demotingREADY_FOR_MERGEtoAC_MET_BUT_NOT_A_PLUSchangelog_requiredandchangelog_missingdefined at lines 2056–2057. Position matches issue's proposed diff exactly (betweenexecution_evidence == "Incomplete"andquality_plan_status == "Not Addressed").CHANGELOG.mdis absentchangelog_requiredpredicates onCHANGELOG.mdexistence; when absent, condition isfalse→ branch not taken. §10a's existing detection (line 2318–2321) returns early when file missing.changelog_requiredrequires user-facing prefix; without it, branch is no-op. Caveat documented at §10a (line 2312).qa/SKILL.mdfilesdiffconfirms.claude/skills/qa/SKILL.md,skills/qa/SKILL.md, andtemplates/skills/qa/SKILL.mdare byte-identical.READY_FOR_MERGEAND changelog_missing); when entry exists,changelog_missing=false, flow continues to lower-priority gates.Coverage: 5/5 AC items fully met
Quality Metrics
any)Code Review
Strengths:
diff).CHANGELOG.md/[Unreleased]checks rather than duplicating logic.**Wired into §7**and**Caveat**paragraphs at §10a make the cross-reference legible from both directions.[Unreleased]entry.Issues:
user_facingdetection is^[a-f0-9]+ (feat\|fix\|perf\|refactor\|docs):(line 2328), which matches only unscoped form. Quick audit on this repo: 26/30 recent commits use scoped form (feat(#NNN):), 0/30 use unscoped — i.e. the gate never fires on sequant's own commits, including this PR's ownfeat(#585):commit. The new §7 wiring is correct; the upstream detection is the gap. AC-3 says "no-op when no user-facing prefix detected" so this technically passes, but the gate effectively cannot trigger on sequant dogfood — undermining the very/fullsolve 575round-1 motivation cited in the issue body.(feat\|fix\|perf\|refactor\|docs)(\([^)]*\))?!?:.Suggestions:
user_facingregex to match scoped conventional-commits (feat(#NNN):,fix(area)!:)" — required for the gate to actually fire on sequant's own commits.Test Coverage Analysis
N/A — prompt-only change; skill markdown is interpreted by an LLM at runtime, no executable code paths to unit-test.
Anti-Pattern Detection
No code patterns to scan (markdown-only diff).
Risk Assessment
feat:commits.execution_evidence,quality_plan_status) follow the sameELSE IF X: → AC_MET_BUT_NOT_A_PLUSshape. No intra-file siblings with the same root cause.CI Status
CI Summary: 8 passed, 0 pending, 0 failed.
CHANGELOG Verification
feat(#585):commit)[Unreleased]entry### Added(#585); action verb "wires"Result: CHANGELOG requirements met for this PR's own commit (regardless of whether §10a's regex would auto-detect it).
Verdict: AC_MET_BUT_NOT_A_PLUS
All 5 ACs are literally met and the wiring is correct. CI is green. The PR delivers exactly what the issue's proposed diff specified.
The non-blocking concern is that §10a's existing detection regex (referenced by the new branch) silently misses sequant's own scoped conventional-commit format — so although the gate is now wired into the verdict algorithm, it effectively cannot fire on sequant's own commits including this very PR. The AC text accepts no-op behavior on undetected prefixes (AC-3), so this is a recommendation, not an unmet AC.
Documentation
[Unreleased]/ Added with issue ref(#585)Next Steps
user_facingregex from(feat\|fix\|perf\|refactor\|docs):to(feat\|fix\|perf\|refactor\|docs)(\([^)]*\))?!?:so the gate actually fires on scoped conventional commits. Without this, the gate cannot enforce CHANGELOG entries on sequant's own dogfood (the/fullsolve 575regression case).(feat\|fix\|...):exactly (no scope, no!) silently skip."admarble commentedon May 9, 2026
/fullsolve Complete
Issue: #585
Status: AC_MET_BUT_NOT_A_PLUS → proceeding to PR (per feedback_qa_break_vs_loop)
Resumption Note
All phases were already complete on a prior
/fullsolveinvocation. This run detected the existing state and did not re-execute spec / exec / qa.eaa1b2aAC_MET_BUT_NOT_A_PLUSAC Coverage (from prior QA)
changelog_missingbranch → METCHANGELOG.mdabsent → METqa/SKILL.mdcopies → METREADY_FOR_MERGE→ METCoverage: 5/5
CI Status
8/8 checks green (build 20.x/22.x, typecheck, validate-skills, validate-plugin, plugin structure, hooks, setup dirs).
Risk Assessment (carried from QA)
^[a-f0-9]+ (feat\|fix\|perf\|refactor\|docs):) misses scoped conventional commits likefeat(#NNN):, so the newly wired §7 gate cannot fire on sequant's own dogfood. Wiring is correct; upstream detection is the bottleneck.Recommended Follow-up
File a separate issue to broaden §10a's
user_facingregex from(feat\|fix\|perf\|refactor\|docs):to(feat\|fix\|perf\|refactor\|docs)(\([^)]*\))?!?:so the gate fires on scoped conventional commits. (This is a recommendation, not an unmet AC — explicitly out of scope for #585.)PR: #601
Ready for human merge.
admarble commentedon May 9, 2026
Follow-up filed: #610
Per QA's recommendation in PR #601 — filed #610 to broaden §10a's
user_facingregex from(feat|fix|perf|refactor|docs):to(feat|fix|perf|refactor|docs)(\([^)]*\))?!?:so the gate wired by this PR actually fires on scoped conventional-commit projects (sequant included). Also covers tightening the §10a caveat wording.This PR (#601) ships as-is — its ACs are literally met and the wiring is correct. #610 closes the dogfood gap separately.
feat(#585): wire CHANGELOG gate into /qa §7 verdict algorithm (#601)
fix(#610): broaden /qa §10a user_facing regex to scoped conventional …