update: the release source is still resting — wire the one signed Matou channel #308
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#308
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?
Known honest-rest slice, filed for the production-deployment ledger.
control-plane/cmd/control-plane/whole_composition.go(~line 200): the update orchestrator composes withrestingReleaseSource{}— "the signed-Matou-channel read is out of arc (#181)". The rollout face itself is wired (#205), but no release can ever surface, so the fleet cannot receive updates in production — including security updates, which the policy defaults toModeAuto.Ben's ruling exists (#211: one signed Matou channel), and the app side already carries a signed-channel read with signature verification (
app/src/lib/matouChannel.ts). The Go-side release source needs the same: read the channel, verify the signature, refuse loudly on a bad or unverifiable feed.Ask: confirm this gates full production deployment (a fleet that cannot update probably shouldn't be someone's production), then spec the source against the existing channel format.
Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code).
Verification: Confirmed on
main. The update orchestrator composes with a resting release source — no release can ever surface, so the fleet cannot receive updates (including security updates, whose policy defaults to auto-apply). The rollout face itself is wired and working; only the release source is unimplemented. Ben's ruling on the channel shape (#211, one signed Matou channel) exists, and the app side already has a signed-channel reader with signature verification to mirror on the Go side.Recommendation:
ready-for-human— the report itself argues this should gate production ("a fleet that cannot update probably shouldn't be someone's production"), but that's still a policy call for a maintainer to ratify, not something to self-certify in triage. Also needs a maintainer/spec pass to turn the existing app-side channel format + #211's ruling into a concrete spec for the Go-side reader before this isready-for-agent.Leaving
enhancement+ moving toready-for-human.Ben ruled (2026-08-06, ready-for-human sweep): gates production — build now. A fleet that cannot take a security update is not production. Build the Go-side release source against the one signed Matou channel (#211): read the channel, verify the signature (the app's
app/src/lib/matouChannel.tsis the reference implementation of the format), refuse loudly on a bad or unverifiable feed (ADR 0100). #315 (known-good rollback rung) rides behind this. Flippedready-for-agent.Done in
25e43f7(onorigin/main).The update orchestrator no longer composes with
restingReleaseSource{}unconditionally — the fleet can receive updates on the one signed Matou channel in production (security included; policy defaultsModeAuto).New
internal/matouchannel— the Go-side twin of the app's reader (app/src/lib/matouChannel.ts, #211 — one signed channel, one pinned key).Sourceimplementsupdate.ReleaseSource: it reads the signed feed (a manifest JSON string + a detached base64 Ed25519 signature over exactly those bytes), verifies the signature against the pinned Matou release public key, and refuses loudly on a bad/malformed/unverifiable feed — an error, never a silentfound=false(ADR 0100). Only the signed payload (revision/kind/title/notes/signed-by/published) crosses; the per-fleet framing (touches/nodes/services/affects-gateway) stays computed-local, never trusted from the feed (ADR 0068). The network read lives behind theFetchseam (NewHTTPFetch, size-capped).Wiring — the whole composition selects the real source behind
OURCLOUD_RELEASE_FEED_URL+OURCLOUD_RELEASE_PUBLIC_KEY(productionReleaseSource); absent either, or a malformed key, it keeps the honestrestingReleaseSourcefallback (found=false — never a fabricated release). #315 (known-good rollback rung) rides behind this.Tests (red-first) — the
matouchannelseam suite (verified feed surfaces the signed release / tampered-manifest / wrong-signer / bad-base64 / malformed-feed / no-revision all refuse loud / empty channel rests / fetch fault errors) plus composition wiring (TestWholeComposition_PollsTheWiredReleaseSource,TestWholeComposition_RestsWhenNoReleaseSourceWired).go build/go vet/go test ./...andgolangci-lintgreen. STATUS.md header + milestone log updated.