updates (#1562-12): a freshly founded gateway does not know its own release — it offers the release it was FOUNDED with as an update, and would self-swap onto its own bits the first night #1631
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.
Blocks
Reference
Matou/idss#1631
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 — found live by the #1614 proof drive (run 2, 2026-09-19). Must land before founding's channel pin (#1582, held on
pin-testing-1582-held) goes live.What's true today
A freshly founded gateway does not know which release it is running, so it lists the release it was founded with as an update waiting to apply.
Evidence — run
20260919T135211Z, the liveGET /api/v1/updatesa minute after founding, from a gateway founded from release A and tuned to a feed whose newest release IS A:Cause:
composeWholeseeds the store withupdate.Current{}(control-plane/cmd/control-plane/whole_composition.go:603) — empty revision, zero sequence.Orchestrator.Pollaccepts any release whose revision differs from current and is not in the fleet's history, so A (≠ "") qualifies.update.Current.Sequence's own doc comment already says what was meant and never wired: "A newly founded community starts its per-channel high-water mark from this — the founding payload knows its own release's sequence".Why it matters
With the pin live, every newly founded community would, on its first night (patch releases apply automatically 02:00–04:00,
Security: ModeAuto): download 35 MB, swap its own control plane, restart and resume — onto the bits it is already running; and until then its Updates screen says an update is pending when none is. A pointless first-night self-swap is also the worst moment to meet a rollout defect. And the replay floor (#1579) starts at zero instead of at the founding release's sequence.What to build
update.Current/ the per-channel high-water mark when the control plane composes. Decide the carrier under ADR 0174 and record it (amend ADR 0248);fleetwire.Releasealready stamps the build's revision — reuse it rather than inventing a second stamp.Currentis then, honestly (ADR 0100) — and make sure the drive's founding release A is not then offered back to the gateway it founded.Pollmust not offer a release whose revision equals the running one or whose sequence is ≤ the running sequence.Acceptance
updates-openleg ("at rest after founding") so the drive holds it livego build ./... && go vet ./... && go test ./...+ lint green; STATUS.md in the same commitFiled from the #1614 drive's evidence. Nothing in this body is a drive marker.
swarm-claim host=bens-mac-04 run=27582
(automated multi-host claim — lowest live claim id works this ticket)
More evidence from run 3, via the drive reporter's #1633 (now blocked by this ticket so nobody builds it twice). U1 on the fresh gateway read:
REVISION testing · — 0 of 0 nodes converged, with Founding release A … queued for tonight's window above it. Soupdate.Currentis empty in all three parts that the screen shows — revision, andConverged/Total— not only the revision and sequence this body names. Please seed (or honestly derive) the node counts too, or say on #1633 that they are out of scope here. The drive'supdates-openleg gates on a real fleet revision on U1; do not loosen it.close-report for #1631 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope