A standing community never receives a front-door posture change: the release lane and rerender-gateway leave front-door.nix as founded, so every pre-ADR-0271 community loses its control panel on its next release (apex boots the Portal, admin.<apex> 404s) #1845
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#1845
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?
Symptom
A community founded before ADR 0271 (the apex switch,
976ef465) that takes ANY later release loses its control panel. Found 2026-09-24 while hand-updatingwhakatohea-demo(founded fromff4a5263on 09-23) to thetestingrelease2c5fe0fa(seq 2835):machines/gateway/front-door.nixis the ADR 0247 render:@apex host <apex>→ gate → control plane (the panel), noadmin.<apex>route (https://admin.whakatohea-demo.idss.nz/→ Caddy 404, content-length 0);2c5fe0fadashboard bundle is host-aware (dashboard/src/lib/portalRouting.ts,APEX_SURFACE = 'portal'): the bare apex boots the Portal, onlyadmin.<apex>boots the operator SPA;admin.<apex>is never served.Cause
Nothing re-renders
front-door.nixon a standing community:internal/update/land.go+ ADR 0259 self-swap) lands control-plane / control-panel / agent / idss-idp and restarts — it never touches the front door;rerender-gateway --switch(#1821) re-renders the gateway surface + keri/idp/anysync modules only; front-door/acme-dns/files/code/mail were left as the "named follow-up" because the sidecar lacks their post-founding route inputs;AttachFrontDooris called only frominternal/provision/deploy.goon a service deploy/remove.The same class as #1821 (GOTCHAS #179), now on the front door — and this one bites the PRODUCT lane, not just re-supply: every pre-0271 community on the
testingchannel will auto-apply a post-0271 patch in its window and come up panel-less.Proof the render is reproducible from what the box already holds
Rendering the demo's front door through the real
AttachFrontDoorwith the live set the orchestrator assembles (frontDoorLiveSet+fleetFrontDoorServices: apex, IDIP + Keri + Mesh from the sidecar facts, files →127.0.0.1:8084withFilesExemptPaths+FilesEditorCallbackPaths, docs-editing →DocsEditingServeFacts().LoopbackTarget()) atff4a5263reproduces the box's file byte-for-byte; the same inputs at2c5fe0farender the ADR 0271 front door (admin route + Portal apex + the 308 list). So the running control plane has every input it needs — the fleet store knows the deployed services and their placement.Proposed fix (two-way door, ADR 0174)
AttachFrontDoor(frontDoorLiveSet(gateway, fleetFrontDoorServices(...))), then the same in-place switchrerender-gateway --switchdrives. Unchanged render → single-writer no-op.rerender-gatewaygrows the same reconcile (it hasIDSS_CONFIG_REPO; the fleet store lives under the state dir) so the standing re-supply carries it too.front-door.nixequals the current render and a second reconcile is a no-op.Meanwhile (hand recipe, whakatohea-demo)
Land the four signed
2c5fe0faartifacts the standing-re-supply way, commit the freshly renderedfront-door.nixinto/srv/idss/configBEFORErerender-gateway --switch(one switch carries both), and advanceupdate.jsoncurrent/high_waterto2c5fe0fa/2835 withactivecleared (Poll never prunes parked entries below the floor — an Approve on one would walk the box backwards).Related: #1821, #1816, ADR 0271 / DDR 0270, ADR 0259, ADR 0208 ruling 3a,
internal/clan/frontdoor_attach.go,internal/provision/deploy.go.swarm-claim host=elitebook-distributed-server-03 run=32049
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1845 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
Live proof on whakatohea-demo, 2026-09-24 19:22Z. The hand update landed the
2c5fe0faartifacts plus the hand-rendered ADR 0271front-door.nix(commitb2b8b9bin the box's config repo). The new control plane's first poll foundc85d2bb3(seq 2849, this fix) already on the feed and applied it unattended: artifacts verified, bridge restarted + self-tested (#1689), ADR 0259 self-swap, then at 19:22:43Z the new binary loggedfront-door reconcile at startup: re-attached the gateway front door from the live fleet (heals a pre-ADR-0271 door …, #1845)and the resume converged onc85d2bb3at 19:23:05Z.Outside-in after: apex
200(Portal shell),admin.<apex>/→302 /authz/signin?rd=…(panel gated, the door exists),id.<apex>/login200,files.<apex>/status.php200;/etc/nix/nix.confnow carriesextra-substituters = https://nix.cache.idss.nz(the #1801 render finally on a standing box);update.jsoncurrentc85d2bb3/2849, high-water 2849, no parked releases.One collision worth knowing:
rerender-gateway --switchrun by hand at the same moment lost the NixOS switch lock to the rollout's own deploy (Could not acquire lock, exit 11) — the re-render was committed (a5220a8) and the rollout's resume then deployed that HEAD, so nothing was lost, but a hand re-supply must not race a live rollout. Follow-up filed for the stale doorwayRELEASEmarker the lane leaves behind.