Repository navigation
docs: mutation-sweep pre-release ritual (#72) - #310
Conversation
WhollyMindless
left a comment
There was a problem hiding this comment.
Reviewed the README-only diff at 6b7c3d9 against the owner's latest #72 ruling: pre-release cadence, human-run, results in bench/RESULTS.md. The three flags are supported by scripts/test-sweep.ts, including exit 4 for --fail-on-survivors; no CI change is needed for that decision.
N1 (non-blocking): clarify the point before release starts. “Before pushing a release commit” is ambiguous with the current release path: .github/workflows/release.yml runs semantic-release on pushes to main, and .releaserc.json has the release tooling generate/push the version-bump commit itself. By that commit, publishing has already been triggered.
Could the instruction instead say to run and record the sweep before merging a release-triggering PR into main (or making another releasable push to main)? That preserves the chosen manual ritual and places it before the automatic release begins.
Static verification only; no tests rerun for these two README lines.
There was a problem hiding this comment.
Reviewed at head 6b7c3d9c6b2ddd173c26e650d38871c148df8a80 (README-only, +2/-0, git diff --numstat origin/main...HEAD). CI re-check at filing: head 6b7c3d9c6b2ddd173c26e650d38871c148df8a80, lint pass, test pass, test-windows pass, smoke pass.
Contract. #72 (abogartz-authored, abogartz-adopted agent:ready; spec hash fdc135a2be4fb4b4 == anchor 6617142423, frozen). Owner ruling 2026-11-05T01:21:19Z (6646969384, corrected 6647733196): "pre-release cadence, human-run, score published to bench/RESULTS.md — ritual documented in PR #310. Not CI." The two added lines record exactly that: cadence pre-release only, human-run, score + survivor list to bench/RESULTS.md, never CI.
Tool claims verified against the tree. --validate scripts/test-sweep.ts:1142; --selftest :1540; --fail-on-survivors exit 4 :1608 (if (flag("fail-on-survivors") && survivors.length) return 4;). All accurate.
Local verification at head. bun run typecheck 0 errors; bun run lint 493 warnings = baseline, format clean; bun run test 1009 pass / 19 skip / 0 fail. No src/ touched, e2e not required.
Agree with @WhollyMindless N1 (review 5779133180). Verified: .github/workflows/release.yml header — "semantic-release runs on every push to main … updates package.json, pushes the tag"; .releaserc.json includes @semantic-release/git (pushes the version-bump commit itself). The human never pushes a release commit on this path — by the time one exists, publishing has already been triggered. "Before pushing a release commit" therefore instructs the ritual at a moment that does not exist. Suggested fix is theirs: run and record before merging a release-triggering PR into main (or any other releasable push to main).
P1 (timing): README.md:354 "before pushing a release commit" — same finding, endorse the reword.
Nit (dangling reference): README.md:354 says survivors "become entries on the unpinned-invariant list", and :350 references "the unpinned list", but the list lives in bench/test-sweep-results.md:87 and the README never names or links that file.
Frozen-criteria status (owner's call, not a block on a human-authored docs PR): criterion 2 "README lists the unpinned invariants with reasons" — list exists in bench/test-sweep-results.md:87, not in README; criterion 3 "One sentence in AGENTS.md / contributing notes stating rule 3" — no AGENTS.md or CONTRIBUTING file exists anywhere in the repo, and no rule-3 sentence found. The close of #72 with this PR as the deliverable reads as a scope cut to the ritual text; recording the delta so a maintainer confirms it explicitly.
Verdict COMMENTED: the ruling is documented accurately in substance; the timing phrase is factually misplaced on the current release path and two frozen criteria remain unmet in the tree. One-line reword + link (or an explicit scope note) settles it. Human merges.
|
🎉 This PR is included in version 0.15.38 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #72's ask as a ritual, not CI: pre-release cadence, human-run, score and survivors published to bench/RESULTS.md. README-only diff; the sweep tooling itself already exists (scripts/test-sweep.ts).