the gateway substitutes its installer base instead of receiving 817 MB from the operator's laptop (ADR 0272) #1768
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.
Depends on
Reference
Matou/idss#1768
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?
Per ADR 0272 (
docs/adr/0272-the-target-fetches-its-own-bytes-the-installer-carries-only-the-pre-gateway-bootstrap.md, landed180b4975), decision 1 and 3.Today
installer-base-cache/+installer-base.toplevelis the largest single slot in the installer at ~817 MB (narrowed from 2.29 GB byscripts/build-installer-base-warm.sh, which drops the 1.47 GB of assembled kexec tarball / initrd / squashfs). It is built by default at release time (scripts/assemble-payload.sh:240-254), staged (:255-272), shipped in the.deb, and then imported into the gateway's store at the supply leg (internal/fleetwire/supply.go:56,63,506-530, under the shared seed deadline at:378-389). It is consumed later by the member-device takeover's on-box compose (internal/clan/installer_image.go,renderInstallerMesh).So ~817 MB rides the operator's download and then the operator's uplink, to reach a machine with its own internet connection.
Asks
installer-base-cache/andinstaller-base.toplevelfrom the payload:assemble-payload.sh, and the slot's read side ininternal/fleetwire/supply.go.--no-check-sigsimport (supply.go:518, "explicit import, the payload is the trust boundary") is exactly the line that changes.Blocked by the Mātou signed cache ticket — the 67 built paths have nowhere to come from until it exists. Do not start this before that lands.
depends_on #1767 — the keystone. This ticket is deliberately left without
ready-for-agentuntil #1767 is ruled and the cache exists; picking it up before then means building against a surface that has no decided home, owner or signing key.--substitute-on-destination(#699) never reachedmachines update#1764Ruled by agent under ADR 0174 — veto anytime.
Triage
enhancement. Founding succeeds today; this ticket improves it by having the gateway source its ~817 MB installer-base closure itself instead of carrying it over the operator's uplink. Nothing is broken, so it reads as an improvement, not a defect (the sibling deploy-leg ticket #1764 was filedbug; this is a two-way call — flip it if you'd rather these track as bugs).needs-design, notready-for-agent. Per your own comment, this is "deliberately left withoutready-for-agentuntil #1767 is ruled and the cache exists." The contract the agent would build against — Mātou's signed binary cache, its home, owner and signing key — does not exist yet; #1767 (ready-for-human, the keystone) is where that one-way door is decided.needs-designis the state for "the thing you'd build against isn't ready; route back before implementation," and it keeps this off the swarm queue (list-ready-tasks.shreads onlyready-for-agent) until a human promotes it.ready-for-human: the one-way-door residue (a new public surface + a new signing key) lives in #1767, which already carriesready-for-human. This ticket is delegable engineering once that contract is real — no separate human decision of its own.depends_on #1767as a native Forgejo dependency (your comment named it in prose; it is now machine-readable), so the block is explicit and this surfaces the moment the keystone lands.Why this is a two-way door: every part is a label/dependency change, reversible by a later edit; nothing is committed to code and no member-facing or credential surface moves. What proves it: the dependency shows #1767 open as the blocker (
GET /issues/1768/dependencies), andlist-ready-tasks.shreads onlyready-for-agent, so aneeds-designticket is invisible to the swarm by construction. When #1767 is ruled and Mātou's signed cache exists, a human removesneeds-designand appliesready-for-agent.cache.idss.nz: the Spaces bucket, the rail's access key, thecache.idss.nz-1signing key in matou-infra, and the sign-and-publish step (ADR 0275) #1801Design ruled — ADR 0275 (
75b4dc15): the installer base substitutes fromhttps://cache.idss.nz(public read, signed bycache.idss.nz-1, listed AFTER cache.nixos.org insubstituters). This ticket stays blocked until #1801 has the cache live and the public key + endpoint committed; it becomesready-for-agentthen.cache.idss.nz: the Spaces bucket, the rail's access key, thecache.idss.nz-1signing key in matou-infra, and the sign-and-publish step (ADR 0275) #1801cache.idss.nz: the Spaces bucket, the rail's access key, thecache.idss.nz-1signing key in matou-infra, and the sign-and-publish step (ADR 0275) #1801cache.idss.nz: the Spaces bucket, the rail's access key, thecache.idss.nz-1signing key in matou-infra, and the sign-and-publish step (ADR 0275) #1801cache.idss.nz: the Spaces bucket, the rail's access key, thecache.idss.nz-1signing key in matou-infra, and the sign-and-publish step (ADR 0275) #1801Unblocked 2026-09-24 — the cache is live (#1801 closed)
https://nix.cache.idss.nz, keycache.idss.nz-1:jryaAm0uulUbamaQ5/9Shb9SkpMW3rVv49FkzRNOf7E=; every image and the rendered baseline already trust it vianix/matou-cache.nix/internal/clan/matoucache.go(mainb5488eea).cache-publishworkflow at each main revision that moves the toplevel; marker =packages.kexec-installer-base-toplevel.nix build --dry-run .#kexec-installer-base= 3 derivations to build (the assembled tarball/initrd/squashfs the narrowing drops) against 67 without the cache.This ticket had
needs-designas its blocked-on-#1801 gate; there is no UI surface here. Flipping toready-for-agent.swarm-claim host=matou-dev-server-01 run=31950
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1768 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope