Skip to content

chore(#687): relocate /release what-weve-built version-stamp check post-bump - #688

Merged
admarble merged 1 commit into
mainfrom
feature/687-chore-release-release-check-11-what-weve-built-rea
Jun 1, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/687-chore-release-release-check-11-what-weve-built-rea

Conversation

@admarble

@admarble admarble commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Pre-PR AC Verification

AC Description Status Evidence
AC-1 Stamp checks run after Step 4 bump, compare against new version ✅ Implemented New Step 4.63 reads new_version from package.json post-bump
AC-2 Warns when stamps omit/mismatch the version being released ✅ Verified Simulated stale stamp (release 2.5.0 vs stamp 2.4.0) → 2 warnings; matching → none
AC-3 Pointer note left at former pre-flight location ✅ Implemented Documentation Checks block now points to Step 4.63 / Step 4.65
AC-4 Single skill copy — no mirror sync ✅ Verified Only .claude/skills/release/SKILL.md exists; no templates/skills or skills/ copy

Test plan

  • npm run lint:skill-calls → No violations
  • Simulated check against real what-weve-built.md: matching version → no warnings; stale stamp → warns on both title and ASCII art
  • Reviewer: confirm Step 4.63 ordering reads correctly relative to Step 4.6 / 4.65

Closes #687

🤖 Generated with Claude Code

…st-bump

Pre-flight Check #11 read package.json before the Step 4 version bump, so it
compared what-weve-built.md stamps against the *previous* release — a no-op for
the version actually being released (same ordering bug fixed for the README
check in #685).

Move the title + ASCII version-stamp comparison to a new post-bump Step 4.63
(just after Step 4.6, which updates the stamps), comparing against new_version.
Leave a pointer note at the former pre-flight location. Warn-only semantics
unchanged. Single skill copy — no mirror sync.

Entire-Checkpoint: 6108128c3472
admarble added a commit that referenced this pull request Jun 1, 2026
`Verdict: ✅ READY_FOR_MERGE` parsed as null because the regex only allowed
`**`/whitespace between `Verdict:` and the token — so a genuine QA pass was
recorded as "QA completed without a parseable verdict" (live repro:
`sequant run 687 --phases exec,qa`, where QA had already posted
READY_FOR_MERGE and opened PR #688).

Widen the gap to any run of non-alphanumeric chars (emoji, asterisks,
whitespace) via a negated ASCII class — ReDoS-safe and
no-misleading-character-class-clean, matching parseQaSummary. Also hardens
`sequant ready`, whose #534 guard would otherwise misclassify an
emoji-verdict pass as NO_IMPLEMENTATION. Adds regression tests.
@admarble
admarble merged commit 599f56b into main Jun 1, 2026
4 checks passed
admarble added a commit that referenced this pull request Jun 1, 2026
…686)

* feat(cli): `sequant ready <issue>` — post-resolve A+ QA gate (#683)

Add a standalone `sequant ready <issue>` command that reproduces the
maintainer's manual fresh-session A+ QA pass deterministically: drives an
already-resolved issue's worktree through a full-weight `qa → loop → qa`
pipeline and STOPS at the human merge gate — it never merges.

- Engine: src/lib/workflow/ready-gate.ts (runReadyGate, DI-injectable phase
  runner). Command shell: src/commands/ready.ts.
- Full-weight QA (AC-2): new ExecutionConfig.fullQa sets SEQUANT_FULL_QA=1 for
  the qa phase; qa/SKILL.md (×3) honors it to run the standalone branch-
  freshness / process-state pre-flight checks even under an orchestrator —
  catching the no-implementation / divergent-branch class (#318/#529/#570).
- Gate policy (AC-3/AC-3a): ready.policy in settings (default "ac"),
  overridable via --policy. `ac` stops at no AC_NOT_MET and reports (not
  fixes) quality gaps; Non-Goal-touching findings are report-only. `a-plus`
  loops to READY_FOR_MERGE. Both bounded by --max-iterations, --budget token
  cap, and the LOOP_NO_DIFF stagnation guard.
- #534 guard (AC-5): zero-diff worktree or null/unparseable verdict →
  NO_IMPLEMENTATION, never ready.
- Never merges (AC-4): terminates in new `waiting_for_human_merge` status with
  a structured markdown/JSON gap report.
- Tests: 29 deterministic cases (ready-gate.test.ts, ready.test.ts).
- Docs (AC-7/AC-8): docs/reference/ready-command.md,
  docs/investigations/ready-gate-backtest.md, README, CHANGELOG.

* fix(qa): tolerate emoji-prefixed verdicts in parseQaVerdict (#683)

`Verdict: ✅ READY_FOR_MERGE` parsed as null because the regex only allowed
`**`/whitespace between `Verdict:` and the token — so a genuine QA pass was
recorded as "QA completed without a parseable verdict" (live repro:
`sequant run 687 --phases exec,qa`, where QA had already posted
READY_FOR_MERGE and opened PR #688).

Widen the gap to any run of non-alphanumeric chars (emoji, asterisks,
whitespace) via a negated ASCII class — ReDoS-safe and
no-misleading-character-class-clean, matching parseQaSummary. Also hardens
`sequant ready`, whose #534 guard would otherwise misclassify an
emoji-verdict pass as NO_IMPLEMENTATION. Adds regression tests.
admarble added a commit that referenced this pull request Sep 9, 2026
`Verdict: ✅ READY_FOR_MERGE` parsed as null because the regex only allowed
`**`/whitespace between `Verdict:` and the token — so a genuine QA pass was
recorded as "QA completed without a parseable verdict" (live repro:
`sequant run 687 --phases exec,qa`, where QA had already posted
READY_FOR_MERGE and opened PR #688).

Widen the gap to any run of non-alphanumeric chars (emoji, asterisks,
whitespace) via a negated ASCII class — ReDoS-safe and
no-misleading-character-class-clean, matching parseQaSummary. Also hardens
`sequant ready`, whose #534 guard would otherwise misclassify an
emoji-verdict pass as NO_IMPLEMENTATION. Adds regression tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(release): /release Check #11 (what-weve-built) reads version pre-bump — same ordering no-op fixed for README in #685

1 participant