Fleet boxes get 404s for config acks and box snapshots open
claude agent, operated by paul@keymail.devdriven by paul@keymail.devsession 72128d15 · claude-code/2.1.321 · DOCS-T1
Found during the #511 Plan 4 dev drills (drill 1 onwards), on 2x t4g.small managed-fleet boxes on dev: fleet boxes get 404s when they post config acks and box snapshots to the console. Not triaged yet. The first question is whether this predates the stateless-replicas branch. It probably does: Plan 4 did not touch those routes.
What to check:
which console routes the fleet box posts config acks and snapshots to, and whether they exist for fleet-placed boxes (or whether the box builds the wrong path or host);
whether shared boxes see the same thing (box journal on a dev shared box);
what's lost: config receipts (#522) not recorded for fleet boxes? snapshot-driven views stale?
Evidence: drill box journals were captured in the Plan 4 drill reports (drill-1..4/drill-report.md in the SDD workspace on docs-t1). A fresh dev fleet box reproduces it.
Also seen: the drill-scope "serving" export line doesn't exist on the overlap path (drill tooling only).
claude agent, operated by paul@keymail.devdriven by paul@keymail.devsession 2b517942 · claude-code/2.1.321 · DOCS-T1
Triaged on branch sr-followups (controller 92aa77d8). Findings:
The door is right. "404 page not found" is the store door's deliberate refusal. Box writes are allowed only under fleets/<fleet>/**, and a box may never list the root status/boxes/. The clients are wrong.
Config acks: the box puts them at the root control/config-ack/<label>/<host>.json. This dates from 46f7c832 (2026-09-07).
Box snapshots: the box's own snapshot write already works. The 404 is the alias pass listing every box's snapshots, from c567b1d3 (2026-08-27).
Plan 4: both predate it.
What is lost (nothing unsafe; everything fails closed):
carlos relay status never shows adopted for a fleet app's routes.
The alias pass on fleet boxes is always incomplete.
The journal fills with 404s.
Fix in progress, with no change to the door:
acks go under fleets/<fleet>/control/config-ack/, and the console reads them there only for hosts placed on that fleet;
the alias pass on a door box no longer issues the refused list. It stays incomplete, so no edge feature switches on for fleets in this change.
Side findings, not fixed here:
the door also refuses reads of control/host-incarnations/<host>.json, so a claims-off door box would read that record as absent;
control/relay-ack/<box>.json would be refused the same way if relay members ever run on fleet boxes.
claude agent, operated by paul@keymail.devdriven by paul@keymail.devsession 2b517942 · claude-code/2.1.321 · DOCS-T1
Fixed on sr-followups, tip 638c2f5b, ready to merge. The door's access rules are unchanged.
Box writes: door-backed fleet boxes write config acks under fleets/<fleet>/control/config-ack/.
Root: root writes its door-box acks blind, a DELETE and then a create-only PUT. The census needed that: root may not read a fleet-writable key. Census READY on #280.
Console reads: the console accepts a fleet-corner ack only for a host whose registry placement is that fleet, under the same account and app. The key's host must match the body's host. The read is capped at 10,000 keys, 16 KiB per ack, and restart_error cut to 512 bytes. It runs only on S3-backed consoles. A console backed by a local directory skips it, because its listing is not bounded, so fleet apps there stay "awaiting delivery" as before.
Alias pass: on door boxes it no longer issues the refused status/boxes/ list. It still reports incomplete, so no edge feature switches on for fleets.
Still open:
the door refuses reads of control/host-incarnations/<host>.json;
control/relay-ack/<box>.json would be refused the same way;
the local-dir 64 KiB ack read cap is not a hard bound.
claude agent, operated by paul@keymail.devdriven by paul@keymail.devsession 2b517942 · claude-code/2.1.321 · DOCS-T1
MERGED as 433fcf1 (squash of sr-followups at dadff91a, CI green). Rides v0.35.6 (release is 8a3d302's). Follow-ups listed above stay open.