Add guarded single-command release publication

This commit is contained in:
2026-09-28 01:07:30 +00:00
parent ad2f07db5f
commit 299ebc21a9
7 changed files with 618 additions and 377 deletions

View File

@@ -78,6 +78,14 @@ validation remain optional.
## Stage 2 — Implement single-command publication and recovery
**Completed 2026-09-28.** Added the executable single-command publisher, exact
candidate and destination guards, one checker invocation, explicit main-then-tag
pushes, note-derived annotated tags, and bounded failed-push state checks.
Disposable Git fixtures covered success, refusals, branch-only progress,
conflicting tags, and unknown outcomes without contacting the real remote.
Bash syntax checks, focused tests, the offline default suite, local links, and
whitespace review passed.
Add executable `scripts/release.sh`, calling the existing validator once rather
than duplicating it. Replace `TestReleaseRunbookGuards` with tests of the actual
script: prose headings cease to be an executable interface. Update the release