updates (#1562-9): a validly signed OLD release is accepted as new — the channel has no replay/downgrade protection #1579
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.
Reference
Matou/idss#1579
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 0248, ADR 0017
Found while ticketing the publish rail (2026-09-18).
The defect: a validly signed OLD release is accepted as a new one
Orchestrator.Poll(internal/update/update.go) records whatever the channel's feed names as long as its revision is not the one running and is not already tracked:Revisions are git shas — they carry no order — and the manifest's
Publishedtime is explicitly advisory and never checked (internal/matouchannel). So a feed Matou signed last month still verifies today. Anyone who can influence what a gateway fetches from the feed URL — a compromised or misconfigured serving host, a stale cache, a restored backup of the artifacts dir — can serve it, and every community that never ran that release (any community founded after it;knowsonly covers a fleet's own history) treats it as new, and under auto-security rolls it out unattended. That is a downgrade to software with known holes, carrying a valid Matou signature. The signature proves who cut a release, not that it is the latest.What to build
publishedpromoted from advisory to required and compared) — inside the signed bytes, so it cannot be edited.testing↔stable) keeps a per-channel high-water mark; pin-or-fork is unaffected — a pinned fleet polls nothing.app/src/lib/matouChannel.ts) already refuses anything not strictly newer thancurrentVersion; keep ONE manifest format — add the field for both readers, not a fork.cmd/release-cut) and the publish rail emit the sequence; the rail refuses to publish a sequence that does not advance.Acceptance (seam)
swarm-claim host=bens-mac-04 run=26614
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1579 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
stablepromote cannot work — it dropsidss-idp, reports success on a 409 while the production-signed feed never publishes, and nothing can servestable(fix + provepublish.sh promotebefore the production key is minted) #19712026.09.3016, the short hash beside it (Ben, #1982, DDR 0290) #1983