feed: publish a signed manifest per revision so an operator app behind the feed can still found at its own release #2210
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#2210
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?
Problem
A founding refuses unless the signed feed's newest release is exactly the app's own revision (
internal/foundfetch/foundfetch.go, ADR 0272 §6, #1769). The rail cuts a release whenever fleet code lands (checked every 10 minutes), so any app that is one release behind cannot found until it is rebuilt. On 2026-11-19 that cost the TuIA founding 42 of its 102 minutes (#2209).The refusal is not a policy against older releases. It is a gap in what the feed publishes. The resolver's own comment says so:
The per-revision artifacts are already served (
/channel/<name>/<rev>/<role>). Only a signed manifest per revision is missing.Ask
The rail publishes a signed manifest per revision (e.g.
/channel/<name>/<rev>/manifest.json+ signature, same format and key as today's channel manifest viainternal/matouchannel), next to the per-revision artifacts. It keeps the newest one at the channel URL as now.The founding resolves its own revision's manifest and pins to it, so an app behind the feed founds at its own release. #1690's concern was a build ahead of the feed; behind is the ordinary case. The gateway then moves to newest through the existing update lane (#1562), which every community uses anyway.
Retention: the feed keeps the last N revisions' manifests and artifacts (proposal: 14 days or 20 releases, whichever is more).
A floor, not a forced update: the founding still refuses, but with operator copy and the app's update screen (ADR 0098), only when
withdrawnlist for a release with a security or data-loss bug).An app ahead of the feed keeps today's loud refusal.
Seam
foundfetchresolver tests against a fake feed:A rail test checks the per-revision manifest is written and signed.
Out of scope
Needs
A short ADR amending ADR 0272 §6 ("pinned by exact revision" stays; "only newest is verifiable" goes) and the floor/withdrawn rule.
Triage:
enhancement+needs-designCategory — enhancement. A new feed capability (a signed manifest per revision) plus a new founding resolver path. Not a defect in existing behaviour.
Claim verified against the code. The gap is real and exactly as described:
internal/foundfetch/foundfetch.go:19-25— the resolver refuses loud unless the feed's newest manifest names EXACTLY the founding revision, and the comment states the cause verbatim: "the feed serves only the newest manifest (there is no per-revision manifest endpoint), so the only signature-verifiable founding fetch is one where newest IS the founding release."foundfetch.go:177-179+RevisionMismatchError(line ~147) — the "newest ≠ founding" refusal, citingADR 0272 §6, #1769.docs/adr/0272-...md:124-129— §6 "Everything is pinned by exact revision, never latest." The per-revision artifacts are already served; only the per-revision signed manifest is missing.Not already implemented. Searched
internal/foundfetch,internal/matouchannel, and ADR 0272 — no per-revision manifest endpoint exists today.Why
needs-design(notready-for-agent). The issue's own## Needssection requires a design artifact that does not exist yet, and an implementing agent would have to build against it:withdrawnprimitive — a new trust mechanism for pulling a release with a security or data-loss bug. Its signing story, publication location, authority, and format are undesigned. A swarm worker should not invent a security primitive on the founding trust chain unreviewed.Per the design-to-agent missing-design gate, this routes to a DDR pass first (amend ADR 0272 §6 + define the floor/withdrawn rule and the per-revision manifest contract), after which the well-formed seam already sketched here (
foundfetchresolver cases + a rail manifest-written-and-signed test) makes it a cleanready-for-agentimplementation ticket.ADR 0174 note. This routing is a two-way door — relabel to
ready-for-agentanytime once the ADR lands, or veto thisneeds-designcall directly. It was NOT ruledready-for-agentby the agent because the undesigned pieces (2) and (1) sit on the signed founding trust chain, which is security-posture-adjacent and belongs in a reviewed DDR rather than a swarm worker's discretion.Not an app report: the body carries no
<!-- origin: app-report -->marker, so nolanding-prinheritance applies.