create — the IDIP drive's payload carries no config-server, so founding refuses at preflight after the droplet is already rented (#1623's open slot) #1773
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.
Reference
Matou/idss#1773
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?
The failure
Drive
20260923T160002Z, targetidip, red at legcreate(sigb052db2832cd) after the full 60s ceiling:Legs
claim(1.6s),wizard-precheck(2.0s) andconnect-dial-in(33.1s) were all green first — the paid droplet was rented, the agent installed and the box paired before this fired.What actually happened
The S6a ceremony SUCCEEDED.
state/founding-state.jsonrecordsfounded: true,draft.step: "created",access.kind: "self-hosted",identity: "idip".BeginStandupthen refused, so the stand-up never advanced to S7b and neither awaited status ever mounted.The app's own surface names the refusal — from the run's
error-context.mdaria snapshot:That is
ErrConfigServerNotCarriedverbatim —internal/founding/privatepath.go:200, raised byrequireConfigServerForIDIP(internal/founding/privatepath.go:206-214) from the self-hosted branch ofBeginStandup(internal/founding/manualpath.go:224-229). It reads the payload slot throughSupply.CarriesConfigServer(internal/fleetwire/supply.go:257-264, slot nameinternal/fleetwire/supply.go:47).The box confirms it (read-only, kept droplet
170.64.198.61)The agent from the S4d dial-in is running; nothing else was ever supplied or deployed. That is precisely what "refused before the worker launches" means — no seed, no supply, no unit. The harvested
logs/droplet-units.txtagrees (ss -tlnpshows only sshd and systemd-resolve), andlogs/clan-config-snapshot.logreadsno config repo … (a drive that never built one).Root cause
The payload this drive used carries no
config-server:/home/dev/drives/payload-portal/(the drive'sIDSS_PAYLOAD_DIR, perartifacts/host.jsonpayloadMode) holdsagent,control-plane,idss-idp,dashboard,nixos-guest.qcow2,installer-base-cache— noconfig-server.PAYLOAD.txtsays so in as many words:config-server: ABSENT — set PAYLOAD_CONFIG_SERVER_SRC to matou-infrastructure's config-server.py (idss never vendors it, ADR 0226 d.2); an IDIP founding refuses at preflight until you do.PAYLOAD_CONFIG_SERVER_SRCis unset in this host's env (/home/dev/swarm/idss-env.shsetsIDSS_PAYLOAD_DIRand nothing else payload-side), so both the assembler (scripts/assemble-payload.sh:142-148) and the drive's own re-stage step (scripts/rehearsal-cycle.sh:391-395) took their WARN branch and drove on.The guard is correct; the input is missing. Commit
4ffd4810(#1623) closed the render-only gap and explicitly parked this half: "Out of scope (unchanged): where the payload's default copy comes from (open Ben ruling — matou-infrastructure is private; builders point PAYLOAD_CONFIG_SERVER_SRC at a local checkout)." This drive is the first live IDIP drive to walk into it.The fix has two halves
1. Supply the slot (needs the ruling).
matou-infrastructure/config-server.pyexists on this workstation (/home/dev/matou/matou-infrastructure/config-server.py, also/home/dev/swarm/matou-infra/config-server.py), but ADR 0226 d.2 forbids idss vendoring it. Choosing between a host-envPAYLOAD_CONFIG_SERVER_SRCline, a fetch step in the cycle, or a pinned submodule is a one-way call about a private repo's boundary, and landing it means editing host env state outside this checkout. A swarm worker cannot do either unaided.2. Gate before the rent (mechanical, should ride with the ruling).
scripts/rehearsal-cycle.sh:394only WARNs and drives on. For an IDIP target that is a guaranteed red atcreate, every tick, after a droplet has been rented, installed and paired — 37s of green legs and a full 60s blind ceiling to rediscover a fault knowable at stage time. It should be a hard refusal for anidiptarget (REHEARSAL_DRIVE_TARGET/rehearsal_target_base,scripts/lib/rehearsal-queue-lib.sh:56-58), the same fail-loud shapestage_keriwebalready carries (scripts/lib/keriweb-stage-lib.sh:29calls the config-server slot its precedent). Kanidm targets must stay untouched — they need no config server.Worth a
docs/GOTCHAS.mdentry beside #265: a payload slot that only an IDIP path gates on is invisible to every kanidm drive, so its absence surfaces first on a paid IDIP droplet.Suspected layer
Drive/payload staging + an open product ruling — not the harness journey and not the app.
app/tests/e2e/fixtures/idip.ts:248did its job: it waited for a stand-up that was correctly refused. Its race covers the ceremony's ownrecovery-errorbut not aBeginStanduprefusal, which renders on the stack-layer fault line instead — worth widening separately, but broadening that accept-set is not this ticket and must not be traded for the red.Why I refused to heal
Refusal rule 3 (design / one-way door), plus the standing bar on infra state outside this checkout. Both available fixes are off-limits in-lane: pointing
PAYLOAD_CONFIG_SERVER_SRCat a private-repo checkout means editing this host's env files, and deciding where the canonical copy lives is the ruling #1623 deferred to Ben. Half 2 alone (the pre-rent gate) is in-lane scripts/ work, but landing it would not turn this drive green — it would only make the same red cheaper — so it belongs with the ruling as one coherent change rather than as a heal that re-fires the drive into the identical refusal.drive
20260923T160002Zred atcreate:expect(locator).toBeVisible() failed Locator: locator('[data-status="install-machine"], [data-status="spec-gate-pass"]').or(locator('[data-status="recovery-phrase"]').locator('[data-status="recovery-eevidence:
/home/dev/drives/idss-portal/test-results/drive-idip/20260923T160002Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedRuled by agent under ADR 0174 — veto anytime. Worked as a standing session under the two-way-door rule: the in-lane half landed on
main, the one-way half is routed to you below.What landed (the two-way half — the pre-rent gate)
Commit
8ddebdfconmain. The diagnosis in this ticket is correct: the guard (ErrConfigServerNotCarried) is right, the input is missing, and the fault was fully knowable at stage time yet only surfaced afterclaim/wizard-precheck/connect-dial-inwere all green — i.e. after a paid droplet had been rented, installed and paired.require_config_server_for_idip(scripts/lib/config-server-stage-lib.sh) hard-refuses anidip-base drive whose payload has noconfig-server, wired intostage_and_preflight(scripts/rehearsal-cycle.sh) after the former WARN branch — the same fail-loud shapestage_keriweb(#1710) already carries, which itself cites the config-server slot as its precedent.REHEARSAL_DRIVE_TARGET = rehearsal_target_base), soidip-app-foundingalso reads asidipand is covered.scripts/tests/rehearsal-config-server-gate-test.sh— absent/empty slot → refuse (message names the slot +PAYLOAD_CONFIG_SERVER_SRC), staged slot → drive,kanidm/local-guest/device→ allowed. Green; the existingrehearsal-idip-app-founding-target-test.shstill green;bash -nclean on the cycle.GOTCHAS #321records the class (a slot only one target path gates on is invisible to every other drive, so its absence surfaces first on a paid box).STATUS.mdupdated in the same commit.This makes the guaranteed IDIP red cheap (at stage, before any rent) instead of expensive (37s of green legs + a 60s blind ceiling on a rented droplet). It does not turn the drive green — see below.
Why human
A one-way door: supplying the config-server slot (ADR 0174 §3 — non-routine call over a private repo's boundary + host-env state outside this checkout). Both available ways to fill the slot are off-limits in-lane:
PAYLOAD_CONFIG_SERVER_SRCline, a fetch step in the cycle, or a pinned submodule is a decision about a private repo's boundary (ADR 0226 d.2 forbids idss vendoringconfig-server.py)./home/dev/swarm/idss-env.sh/ host-only files) — outside a standing session's two-way lane.config-server.pyis present on this workstation (/home/dev/matou/matou-infrastructure/config-server.py,/home/dev/swarm/matou-infra/config-server.py); the residue is the ruling, not the file. Once you setPAYLOAD_CONFIG_SERVER_SRC(or rule the mechanism), the next IDIP drive stages the slot and the pre-rent gate passes.Not this ticket
The harness journey and the app are both correct:
app/tests/e2e/fixtures/idip.tswaited for a stand-up that was correctly refused. Widening its accept-set to cover aBeginStanduprefusal (as against the ceremony's ownrecovery-error) is a separate, honest follow-up — noted, not traded for this red.Relabelled
ready-for-human. Advances #1773.Ruled by Ben (coa session, 2026-09-24: "lets do 1773") and LANDED on bens-mac-04.
The ruling — mechanism
A host-env line pointing at a clone of matou-infrastructure's PUBLIC GitLab mirror. The premise that the source is private was half right:
git.matou.nz/Matou/matou-infrastructureis private, but its primarygitlab.com/matou-collective/matou-infrastructureis public (raw fetch answers 200 unauthenticated), so no token, submodule or fetch step in the cycle is needed — the cycle's existing re-stage (rehearsal-cycle.shPAYLOAD_CONFIG_SERVER_SRCbranch) does the copy. idss still vendors nothing (ADR 0226 d.2). Rejected: a fetch step in the cycle (one more network dependency on the fire path, for a file that changes rarely) and a submodule (a pin that would drift from the fleet's own config server). The discipline that comes with it: GitLab main must be kept mirrored from Forgejo main — today it was 9 commits behind, including the threeconfig-server.pycommits the 1.1 descriptor needs (40de699,b53e89f,652265b), so a host cloning GitLab would have staged the pre-1.1 server. Mirrored now (git push origin forgejo/main:main, GitLab main = Forgejo main =79fb999).What landed on the host (bens-mac-04)
~/idssfast-forwarded to mainc768c3b9(was28fac3a7, 153 behind — it now carries the pre-rent gate and the Portal/panelTab fixes).~/matou-infrastructure= the public GitLab clone at79fb999;config-server.pyblob6ba4c16e…(matches Forgejo main).~/drive-logs/byo-env.sh(the env every hand fire sources) gainsexport PAYLOAD_CONFIG_SERVER_SRC=$HOME/matou-infrastructure/config-server.py, with a comment naming this ticket.~/idss-payload/config-server(shad61128b6…= the clone's),PAYLOAD.txtsays so.. scripts/lib/config-server-stage-lib.sh && require_config_server_for_idip idip ~/idss-payload→ passes; the same call on an empty dir still refuses. The next IDIP fire from this host passes the pre-rent gate; the re-stage step refreshes the slot from the env line every fire.Not done here: the matou-workstation executor host (
/home/dev/swarm/idss-env.sh) — it has the file at/home/dev/swarm/matou-infra/config-server.pyper the earlier comment; oneexport PAYLOAD_CONFIG_SERVER_SRC=/home/dev/swarm/matou-infra/config-server.pyline there does the same, with the same mirror discipline. Closing: the ruling is made and the founding host that the WKT-DEMO drives fire from is landed; reopen if the workstation needs it before its next IDIP fire.