updates rail: a human can cut ONE testing release of kind feature — a test aid so the ask-me-first review path is walked on a real community (the rail only ever cuts patch) #1973
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1973
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #1562 — contract: ADR 0017 (the policy split), ADR 0068 (kind + signed notes), ADR 0248; rail built under #1578
Why (Ben, 2026-09-28)
Ben's order of proof: automated
testingupdates are proven on a kept community under thetestingchannel key FIRST; the production key andstablecome after. This ticket is a test aid for that first step. It changes no rule about what a kind means.What's true today (read on
main@be126a6b; Whakatōhea Demo read 2026-09-28)testingcut--kind patch(scripts/release-rail/publish.sh:172).release-publish.ymldeclaresworkflow_dispatch: {}— no inputs.patch. Its policy is security/patchapply-automatically, feature/majorask-me-first.services/nodes) was found by reading a parked patch, not by walking the path.What to build
A way for a human to cut ONE
testingrelease of kindfeatureormajor, so the review path can be walked on the demo.publish.sh publishtakes the kind from its environment (RELEASE_KIND, defaultpatch). It acceptspatch,feature,major. It refusessecurityand any other value before building anything — asecuritykind is a human's call made only at promote (ADR 0068, #1578).patch, byte-for-byte as today.kindchoice input onworkflow_dispatch.patchif it fires before the hand dispatch. The build must make the hand cut winnable without luck — e.g. the kind rides the tip commit as a trailer the rail reads, or the dispatch is documented with a hold. A dispatch naming a kind for a tip that is already published refuses in plain words; it never re-cuts.scripts/release-rail/README.mdgains the ritual: how to cut a feature release for a review test, and what the next patch cut does to it (below).Known limit — accepted for this ticket
Every
testingcut is main's tip. A laterpatchcut contains the feature release's code and applies by itself, so a waiting feature release is overtaken by the next commit to main. For this test that is accepted: keep main's fleet-software set quiet between the feature cut and the Approve. Whetherfeatureshould hold later cuts is a separate ruling (#1974) and is out of scope here.Why session
The proposed default edits
.forgejo/workflows/release-publish.yml, a protected path a swarm worker may not touch (#445).Acceptance
Offline (
scripts/tests/release-rail-test.sh):RELEASE_KIND, Then the cut ispatchand the existing 36 checks stay greenRELEASE_KIND=feature(andmajor), Then the signed manifest's kind is that kindRELEASE_KIND=securityor an unknown value, Then the rail refuses before building and exits non-zeropatchLive (Ben's eyes, after this lands — routed to #1562, not a condition of closing this ticket):
featurerelease cut ontestingappears on Whakatōhea Demo as pending the steward's decision, the review sheet shows its signed notes, Approve queues it, and it applies inside the 11:00–13:00 UTC windowpatchcarries an unapprovedfeaturerelease onto the community by itself #1974Close-report — landed on
main@c2f27b41, offline-proven (ADR 0174, two-way).A human can now hand-cut ONE
testingrelease of kindfeature/major; the scheduled rail still only ever cutspatch. No rule about what a kind means changed — this is the test aid for the first ask-me-first proof (routed to parent #1562).What landed
publish.sh publishreads the cut kind fromRELEASE_KIND(defaultpatch) via a new pureoc_release_cut_kindinscripts/lib/release-rail-lib.sh.patch/feature/majorare cuttable;securityand any unknown value are refused before building (a security kind is a human call made only atpromote, ADR 0068). Therelease_cutcall now passes--kind "$kind"(was hardcoded--kind patch).RELEASE_KIND, so it cutspatchbyte-for-byte as before. A hand door sets it: akindchoice input onrelease-publish.yml'sworkflow_dispatch(patch/feature/major— neversecurity), bound toRELEASE_KIND: ${{ github.event.inputs.kind }}, which is empty on every schedule tick.patchfirst) refuses in plain words and cuts nothing — it never re-cuts. Winnable ritual: land the fleet-affecting tip, keepmainquiet, dispatch; if the cron beat you, push a fresh tip and dispatch again.README.mdgained the ritual + the accepted overtake note (a laterpatchcut overtakes a waitingfeature; whetherfeatureshould hold later cuts is #1974, out of scope).STATUS.mdmilestone prepended.Proof —
scripts/tests/release-rail-test.sh(111 checks, was 83, all green undernix/go):oc_release_cut_kind: no-value/empty/patch→patch;feature/majorecho unchanged;securityand unknown refuse (rc≠0, echo nothing).release-cutcut with--kind patch|feature|major, manifest.kindasserted (AC:RELEASE_KIND=feature/major→ manifest kind is that kind).publish.shrefusesRELEASE_KIND=securityand an unknown value before building (never logs "building"; names security) → non-zero (AC: security/unknown refuse before building, exit non-zero).publish.shrefuses a non-patch kind for an already-published tip (empty range) and publishes nothing, while thepatchpath on the same tip stays exit-0 "nothing to publish" (AC: a kind named for an already-published tip refuses, publishes nothing).RELEASE_KINDto the dispatch input alone (empty on schedule →patch), the input is achoice, offersfeature/major, and does not offersecurity(AC: the scheduled path cannot be made to cut anything butpatch; AC: noRELEASE_KIND→patch, existing checks stay green).All five offline acceptance boxes are covered and green.
Owed (not a condition of closing — routed to #1562, Ben's eyes): cutting a real
featureontestingand walking the U2 review sheet → Approve → applied inside the 11:00–13:00 UTC window on Whakatōhea Demo.Ruled by agent under ADR 0174 — two-way (revertible script/workflow/docs, proven by the offline seam) — veto anytime.
A laptop session briefly claimed this ticket at ~22:36Z (assigned
ben, swappedready-for-sessionforno-triage) without seeing the session-runner claim from bens-mac-04 at 22:33Z. Labels and assignee are restored to what the runner left. The runner builds; the laptop session stands down and reviews the landing (Ben, 2026-09-28).