rehearsal phase 5 standing drive: device-add + nextcloud-on-device — GREEN is the only close #854
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
#844 rehearsal-5 task 3/13: Fleet admission — mesh fact, AddNode on land, live TakeoverReady/Consent
Matou/idss
#845 rehearsal-5 task 4/13: The gateway serves the one-liner — install script + seeded agent cache
Matou/idss
#851 rehearsal-5 task 10/13: Rented-prefix extraction (behavior-preserving; #720 stays green)
Matou/idss
#893 enroll-activate: cloud-init.service fails IsADirectoryError on /var/lib/cloud/instance
Matou/idss
#897 standing: rent red at claim —
rehearsal-c slug wedged, device target has no pre-rent sweep
Matou/idss
#899 enroll-activate: gateway cloud-final still fails on converge — #893's fix did not hold
Matou/idss
#905 activation: gateway deploy red — both TLS doors never answer, DNS-01 delegation absent
Matou/idss
#922 activation: rented gateway's
_acme-challenge delegation never written — TLS door dead
Matou/idss
#929 standing/image-boot: timed-out first SSH dial escapes waitForSSHCommand's retry loop
Matou/idss
#936 join: the frontier poll cats /var/log/idss-agent-enroll.log, a path nothing ever writes
Matou/idss
#937 join: install writes the pinned agent over the running /usr/local/bin/idss-agent (ETXTBSY)
Matou/idss
#939 join: the published curl|sh doorway exits 0 at 'connection request sent', never waits
Matou/idss
#942 activation: LE 429 duplicate-cert cap on the fixed rehearsal-c apex blocks gateway TLS
Matou/idss
#987 standing/activation: every device drive burns an LE order — rehearsal-d's apex is walled
Matou/idss
#1002 enroll-activate: idss-mesh-self-admit races netbird-mgmt's :8011 bind, deploy exits 4
Matou/idss
#1010 standing/activation: enroll-activate's switch still holds the lock, deploy exits 11
Matou/idss
#1037 deploy-takeover: kexec installer built from source on gateway, SIGKILLed at 20m bound
Matou/idss
#1040 deploy-takeover: kexec installer for node-req-0003 built from source, SIGKILLed at 20m
Matou/idss
#1049 supply: the installer-base-cache seed is still mid-scp when the 600s leg budget expires
Matou/idss
Reference
Matou/idss#854
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?
Part of the #183 phase-5 rehearsal arc. Spec:
docs/superpowers/specs/2026-08-25-183-phase-5-device-nextcloud-rehearsal-design.md· Plan:docs/superpowers/plans/2026-08-25-183-phase-5-device-nextcloud-rehearsal.md(Task 13).Destination
An unattended
journey.device.spec.tsdrive on the STANDING rented community, GREEN on all fifteen teeth:standing → mint → device-create → agent-install → decline-resume → join → approve → assess → select-files → deploy-takeover → files-door → oidc-login → remove-device → reap → finish(+ the recorded rented-prefix legs whenever the staleness gate re-founds — ruling 7: recorded legs, never a preflight abort.)
Rules
reapleg or the carrier teardown destroys it;REHEARSAL_KEEP_RED_DROPLETapplies to the device only.oc_standing_teardownrecycles it. Its lease is renewed by the executor; the reaper stays honest (noidss-rental-hold, ever).Arming ritual (AFTER #720's confirmation loop closes)
On elitebook-03 (
~/swarm/rehearsal-env.sh, allow-ruled session edit):REHEARSAL_DRIVE_QUEUE(after 720)REHEARSAL_STANDING_DIR=/home/swarm/swarm/Matou/idss/test-results/standing-rentedPre-arming checklist
curl -sf $IDSS_BROKER_URL/v1/gateways/offer→ 200 with"price": ""scripts/gateway-image/latest.sh; #654/#656 rules apply)bash scripts/tests/rehearsal-device-target-test.shgreen on the hostbash scripts/tests/rehearsal-standing-test.sh+rental-reap-test.shgreenjourney.device.spec.ts+ device-add fixtures--target device+ standing preflight wiringRouting follows the exact precedent set by this arc's three prior standing-drive issues (#523, #657, #720 — all closed
ready-for-agent, no category label applied): a standing rehearsal-drive tracking issue with an arming ritual gated on the prior phase's confirmation loop closing. #720 (the phase-4 confirmation loop this ticket's arming waits on) is closed, so the gate is open. Applyingready-for-agentto match.drive
20260826T220705ZRED but nothing could be filed or matched (cap/limit) — flipped ready-for-human so the drive never hot-loops. A human decides the next drive.Ruled by agent under ADR 0174 (the watch's hands) — veto anytime: un-parked to
ready-for-agent, blocked by #884.Phase 5 armed on
elitebook-03at 22:07Z (queue + issue head → #854,REHEARSAL_DRIVE_TARGET=device;REHEARSAL_STANDING_DIRleft at itstest-results/standing-renteddefault). The executor picked it up on its first tick and fired.Drive
20260826T220705ZRED at the first leg in 32 seconds — 0 green / 2 red,standingand its wrappedwizard-rentboth timing out on[data-action="option:rented"].artifacts/legs/wizard-rent.pngshows the app still on the Welcome screen: it never entered the founding wizard, so S4 Access never rendered.Cause is a precondition that did not survive #851's extraction:
runRentedPrefixopens at leg 2 (wizard-rent→s4aRent) and requires the app to already stand on S4 Access.journey.rented.spec.tssatisfies that by walkingbootToWelcome→welcomeToS1→s1ToS2→s2WithSlug→s3BrandKit→ its own leg-1resetToAccessWithSlugfirst; the device journey's re-found branch calls the prefix cold on an app launched seconds earlier. The extraction was behaviour-preserving for its original caller, but the contract leg 1 was quietly satisfying never travelled with the function — and this branch had never executed before today, because every phase-4 drive entered the prefix through the rented spec. Full evidence and both fix shapes on #884.The re-found branch was the CORRECT branch to take (
test-results/standing-rented/does not exist yet, so the carrier rightly setOC_STANDING_REFOUND=1). No droplet was rented — the drive died beforewizard-rentreached the broker — so there is no leaked reservation from this run.The reporter could not file this itself (
cap/limit) and correctly parked rather than hot-loop. #884 closes → this drive re-fires; one green (rehearsal-confirm: 1) closes #854.drive
20260827T033903ZRED — now blocked by: #885 #886 (evidence on each). The drive re-fires when the last blocker closes.Watch note (ADR 0174) — #884's fix HELD, and a standing-community hazard to keep an eye on.
Drive
20260827T033903Z(commitf979d57c): 3 green / 2 red, and the three greens are real ground —wizard-rent,claim,createall passed, meaning the re-found branch walked the wizard from a cold launch and rented a genuine droplet from the broker (595495831,idss-gateway-rehearsal-c-c420,168.144.170.129). #884'senterFromfix is proven. The red is downstream atimage-bootand is #885's SSH-identity fault;standingrecords the same error only becauserunRentedPrefixruns inside it (#886 closed as its duplicate).The hazard: a red inside the re-found leaves the box neither adopted nor released.
artifacts/standing-founded.jsonis written only after the prefix returns green, so this drive wrote no standing facts andtest-results/standing-rented/still does not exist. The next drive will therefore setOC_STANDING_REFOUND=1again and rent another droplet, while this one stays up underREHEARSAL_KEEP_RED_DROPLET=1— which this ticket's own rules scope to the DEVICE, not the gateway. So the standing community's two protections have a gap between them: "the standing gateway is never destroyed by a red" assumes a gateway that was successfully recorded as standing, and a half-founded one is neither destroyed nor adoptable.Consequences if reds continue: one paid droplet stranded per red (the broker's 24h TTL reaps them, so this is cost and clutter rather than an unbounded leak), and — more importantly once deploys start succeeding — repeated re-founds burn the
rehearsal-cLet's Encrypt budget, which is the exact wall #724 hit at 5 certs/168h. Nothing has been issued yet: this drive died atimage-boot, well before any deploy.Not filed as a ticket yet, because #885's fix should let the re-found complete and write the facts, making it moot. If the next drive strands a second droplet, it becomes a real defect — the re-found should either persist partial facts for adoption or release the box it could not finish founding. Flagged for Ben.
rehearsal healer: drive
20260827T035855Zred atstanding(sig 25304f657c24) self-fixed — commit5c8f4c6ea7a54c0489ebddedddca5d17109cd3fe(3 files changed, 46 insertions(+), 5 deletions(-)); checks: bash scripts/tests/rehearsal-device-target-test.sh — PASS, 12 checks (fails on the new check with the smoke change stashed); bash scripts/tests/rehearsal-standing-test.sh — PASS, 12 checks; bash -n on both files clean.. The session also named a residual fault — it is being filed and will block the drive.drive
20260827T035855ZRED — now blocked by: #887 (evidence on each). The drive re-fires when the last blocker closes.drive
20260827T065053ZRED — now blocked by: #892 #893 (evidence on each). The drive re-fires when the last blocker closes.rehearsal-cslug with no pre-rent reservation sweep, andoc_standing_teardownbins the claim secret on a red re-found — the name is now permanently wedged (GOTCHAS #80 / #757) #896rehearsal-cslug with no pre-rent reservation sweep, andoc_standing_teardownbins the claim secret on a red re-found — the name is now permanently wedged (GOTCHAS #80 / #757)rehearsal-cslug wedged, device target has no pre-rent sweepdrive
20260827T073657ZRED — now blocked by: #896 #897 (evidence on each). The drive re-fires when the last blocker closes.rehearsal healer: drive
20260827T082850Zred atstanding(sig 25304f657c24) self-fixed — commit8b34ddeb9ea113fcef2f47bb6d14953ac5171019(2 files changed, 34 insertions(+), 4 deletions(-)); checks: bash scripts/tests/device-evidence-order-test.sh — PASS, 7 checks (new case 3b fails 'a prefix-red drive harvested NO gateway journal' with the lib change stashed); bash scripts/tests/droplet-evidence-order-test.sh — PASS, 3 checks; bash scripts/tests/rehearsal-device-target-test.sh — PASS, 13 checks; bash -n clean on both files.. The session also named a residual fault — it is being filed and will block the drive.drive
20260827T082850ZRED — now blocked by: #898 #899 (evidence on each). The drive re-fires when the last blocker closes.drive
20260827T144343ZRED — now blocked by: #904 #905 (evidence on each). The drive re-fires when the last blocker closes._acme-challengedelegation is written once at control-plane boot and never retried — a lost race against acme-dns-register leaves a permanently dead TLS door (#915's fix is a no-op on this path)_acme-challengedelegation never written — TLS door deaddrive
20260828T031915ZRED — now blocked by: #921 #922 (evidence on each). The drive re-fires when the last blocker closes._acme-challengedelegation never written — TLS door dead #922_acme-challengedelegation is written once at control-plane boot and never retried — a lost race against acme-dns-register leaves a permanently dead TLS door (#915's fix is a no-op on this path)path:<config-repo>flake ref makes nix ingest the live.git, so a mid-run repack redsvars generate(drive 20260828T051317Z, sig 25304f657c24)drive
20260828T051317ZRED — now blocked by: #923 #924 (evidence on each). The drive re-fires when the last blocker closes.drive
20260828T063513ZRED — now blocked by: #929 #930 (evidence on each). The drive re-fires when the last blocker closes.rehearsal healer: drive
20260828T071107Zred atdecline-resume(sig 77e1014ecd4d) self-fixed — commit83ec3f188bdeb0924abd487d3c8dcbf4224c34b5(8 files changed, 179 insertions(+), 60 deletions(-)); checks: pnpm --filter dashboard exec vitest run tests/unit/pendingDevices.test.ts — PASS, 9 tests (including the new case: the strip is absent while the drill-in is open, and "← Fleet" brings the raised card back); pnpm --filter app exec vitest run tests/e2e/fixtures/deviceAdd.test.ts — PASS, 7 tests; vue-tsc --noEmit on dashboard clean; app tsc --noEmit reports only the two pre-existing AppUpdateSurface errors in files this commit does not touch; eslint and prettier clean on both changed files.. The session also named a residual fault — it is being filed and will block the drive.drive
20260828T071107ZRED — now blocked by: #933 (evidence on each). The drive re-fires when the last blocker closes.drive
20260828T074707ZRED — now blocked by: #934 (evidence on each). The drive re-fires when the last blocker closes.drive
20260828T081514ZRED — now blocked by: #936 (evidence on each). The drive re-fires when the last blocker closes.drive
20260828T094908ZRED — now blocked by: #937 (evidence on each). The drive re-fires when the last blocker closes.curl | sh -s --doorway can't answer its own consent promptdrive
20260828T111510ZRED — now blocked by: #938 (evidence on each). The drive re-fires when the last blocker closes.drive
20260828T123909ZRED — now blocked by: #939 (evidence on each). The drive re-fires when the last blocker closes.drive
20260828T132108ZRED — now blocked by: #941 #942 (evidence on each). The drive re-fires when the last blocker closes.drive
20260828T152314ZRED — now blocked by: #945 (evidence on each). The drive re-fires when the last blocker closes.drive
20260828T174113ZRED — now blocked by: #949 (evidence on each). The drive re-fires when the last blocker closes.approve, sig c1ac37bc5a0d)drive
20260828T185311ZRED — now blocked by: #952 (evidence on each). The drive re-fires when the last blocker closes.netbird uprejectsmesh.internaland no device can landdrive
20260828T202109ZRED — now blocked by: #956 (evidence on each). The drive re-fires when the last blocker closes.netbird uprejectsmesh.internaland no device can land #956netbird uprejectsmesh.internaland no device can land #956netbird uprejectsmesh.internaland no device can land #956drive
20260829T085335ZRED — now blocked by: #979 (evidence on each). The drive re-fires when the last blocker closes.rehearsal healer: drive
20260829T105554Zred atapprove(sig c1ac37bc5a0d) self-fixed — commit6d3d9f833a35a07ea822e26aaf94876fdcaf893d(2 files changed, 157 insertions(+), 6 deletions(-)); checks: pnpm --filter dashboard exec vitest run tests/unit/fleet.test.ts — PASS, 18 tests, including the new red-first case that reproduces the drive (gateway-only fleet read, device pairs in, admission places it and the strip advances to enrolled, member row must appear with NO remount); with the FleetSurface.vue change stashed that case fails 'expected [] to have a length of 1'. Full dashboard suite: 112 files, 1276 passed. vue-tsc --noEmit clean; eslint and prettier clean on both files.. The drive stays armed; the next tick re-drives.rehearsal healer: drive
20260829T113721Zred atjoin(sig 227571a3f8a9) self-fixed — commit73f7034a468b1dbd414e0d92cb646da790109d34(3 files changed, 124 insertions(+), 13 deletions(-)); checks: CGO_ENABLED=0 go test ./internal/install/ -count=1 — PASS (whole package; gofmt and go vet clean). Red-first proof: with the retry loop short-circuited but the seam fields kept, TestInstallService_WaitsOutABusyPackageManager fails reproducing the drive's exact text ('E: Could not get lock /var/lib/apt/lists/lock. It is held by process 7185 (apt-get)') and TestInstallService_RefusesAMachineStillLockedAtTheDeadline fails with 'the doorway gave up after 1 attempt(s)'; both pass with the fix. The existing refusal test now also asserts a non-lock failure is tried exactly once.. The drive stays armed; the next tick re-drives.rehearsal healer: drive
20260829T114921Zred atstanding(sig 25304f657c24) self-fixed — commita55351d5d2f757470588ce4f55c1f44291198163(3 files changed, 121 insertions(+), 20 deletions(-)); checks: CGO_ENABLED=0 go test ./internal/founding/ -count=1 — PASS (whole package; gofmt and go vet clean). Red-first proof, both halves, against the drive's verbatim 429: the new TestOwnVPS_RateLimitedApexIsNotALaggingColdStart (one door live, apex rate-limited) fails with 'the classifier never harvested Caddy's issuer log while one door was live' when the !anyLive harvest gate is restored, and fails with 'walled-apex failure kind = "unknown", want "rate_limited"' plus the drive's byte-identical cold-start detail when the branch order is restored; both pass with the fix. The existing TestOwnVPS_RateLimitedIssuerIsNotADeadDelegation and the #524 two-door tests still pass.. The session also named a residual fault — it is being filed and will block the drive.drive
20260829T114921ZRED — now blocked by: #986 #987 (evidence on each). The drive re-fires when the last blocker closes.drive
20260829T131523ZRED — now blocked by: #988 #989 (evidence on each). The drive re-fires when the last blocker closes.rehearsal healer: drive
20260829T144927Zred atassess(sig 457bd1d5a8c2) self-fixed — commitd933fe965645995a047b6f0aec37cc62ad1f2176(2 files changed, 49 insertions(+), 2 deletions(-)); checks: CGO_ENABLED=0 go test ./internal/provision/ -count=1 — PASS (whole package); CGO_ENABLED=0 go test ./internal/controlapi/ -count=1 — PASS; gofmt and go vet clean. Red-first proof: with assess.go stashed, the new TestForRole_NothingToRecommendIsAnEmptyListNotAJSONNull fails 'a no-gaps helper selection came back with a nil Recommended — marshals to JSON null, not []'; it passes with the fix, and its second half pins the gateway path, which recommends nothing by construction. Consumer side green: pnpm --filter dashboard exec vitest run tests/unit/provisionSetup.test.ts tests/unit/provisionLive.test.ts — 18 passed.. The drive stays armed; the next tick re-drives.rehearsal healer: drive
20260829T152125Zred atdeploy-takeover(sig 800a2936720b) self-fixed — commitb992a794be4ee552f0bfacf431efa439e21eda99(2 files changed, 17 insertions(+), 2 deletions(-)); checks: CGO_ENABLED=0 go test ./internal/clan/ -count=1 — ok (19.0s, whole package); gofmt -l clean, go vet clean. Red-first proof: with internal/clan/vmguest.go reverted and the test kept, TestRenderGatewayGuest_Services failsgateway render missing "path = [ pkgs.bash pkgs.git pkgs.nix pkgs.openssh ];"; it passes with the fix.. The drive stays armed; the next tick re-drives.rehearsal healer: drive
20260829T163729Zred atdeploy-takeover(sig 800a2936720b) self-fixed — commit0915977a85c3e11ee974e53a953fe56aa4c94efa(3 files changed, 102 insertions(+)); checks: CGO_ENABLED=0 go test ./internal/clan/ -count=1 — ok (22.2s, whole package); CGO_ENABLED=0 go test ./internal/provision/ ./internal/founding/ -count=1 — ok, ok; gofmt -l clean, go vet clean. Red-first proof: with internal/clan/enrollment.go reverted and the new TestEnroll_MemberFullInstallComposesItsEntryModule kept, it fails 'the member's entry module must import ./platform.nix' and dumps the drive's exact entry module (imports = [ ./files.nix ]); it passes with the fix.. The drive stays armed; the next tick re-drives.rehearsal healer: drive
20260829T174933Zred atdeploy-takeover(sig 800a2936720b) self-fixed — commit1554943e3e3e9e2cc3b6a5b633a5625133bb1d84(3 files changed, 58 insertions(+), 8 deletions(-)); checks: CGO_ENABLED=0 go test ./internal/clan/ -count=1 — ok (20.1s, whole package); CGO_ENABLED=0 go test ./internal/provision/ ./internal/founding/ -count=1 — ok, ok; gofmt -l clean, go vet clean. Red-first proof: with internal/clan/netbird.go reverted and the new assertions kept, TestMeshBound_EmitsTheFourProperties fails on both 'missing "systemd.services.some-unit.startLimitIntervalSec = lib.mkForce 0;"' and 'must FORCE the start limit, never define it plainly (it collides with nixpkgs' nginx = 60)', and TestMeshBound_AppliedToEveryWt0Unit fails on the standalone files render; all pass with the fix. The nixpkgs facts were read off the local store copy, not from memory: default.nix:1496startLimitIntervalSec = 60;and systemd-unit-options.nix:297type = types.int;.. The drive stays armed; the next tick re-drives.rehearsal healer: drive
20260829T182130Zred atdeploy-takeover(sig 800a2936720b) self-fixed — commitccee59846e80af09320a18bca3cac96a2dad83a9(2 files changed, 54 insertions(+)); checks: CGO_ENABLED=0 go test ./internal/clan/ -count=1 — ok (23.1s, whole package); CGO_ENABLED=0 go test ./internal/provision/ ./internal/founding/ -count=1 — ok, ok; gofmt -l clean, go vet clean. Red-first proof: with internal/clan/vmguest.go reverted to HEAD and the new test kept, TestGatewayControlPlaneUnit_ExportsAHomeForItsBashChildren fails on all five gateway shapes ('the control-plane unit must export HOME=/root'); all pass with the fix restored.. The drive stays armed; the next tick re-drives.drive
20260829T185347ZRED — now blocked by: #996 (evidence on each). The drive re-fires when the last blocker closes.drive
20260829T201942ZRED — now blocked by: #1000 (evidence on each). The drive re-fires when the last blocker closes.rehearsal healer: drive
20260829T213942Zred atstanding(sig 25304f657c24) self-fixed — commit9ef8509af35476d35b1808bf52063faa95fc0045(3 files changed, 183 insertions(+), 5 deletions(-)); checks: CGO_ENABLED=0 go test ./control-plane/cmd/control-plane/ -count=1 — ok (3.5s, whole package); CGO_ENABLED=0 go test ./internal/enroll/ -count=1 — ok; gofmt -l clean, go vet clean. Red-first proof: withmintSelfOncePlaneAnswersswapped back for the bareminter.MintSelfand the new tests kept, TestRunMeshSelfAdmit_WaitsOutAPlaneStillBinding fails 'exit code = 1, want 0 — a plane still binding must be waited out, never bounced through systemd'; it passes with the fix, alongside TestRunMeshSelfAdmit_PlaneThatNeverAnswersFailsLoud (the wait stays bounded) and the marker assertion on the wait's own log lines. The systemd fact was read off the local man page, not memory: man 5 systemd.service TimeoutStartSec= — 'except when Type=oneshot is used, in which case the timeout is disabled by default'.. The drive stays armed; the next tick re-drives.drive
20260829T213942ZRED — now blocked by: #1002 (evidence on each). The drive re-fires when the last blocker closes.rehearsal healer: drive
20260829T221738Zred atapprove(sig c1ac37bc5a0d) self-fixed — commit76faa7e81c073187cbeed5fddd3b174cc8d1c605(3 files changed, 123 insertions(+), 8 deletions(-)); checks: CGO_ENABLED=0 go test ./internal/enroll/ -count=1 — ok (0.98s, whole package); CGO_ENABLED=0 go test ./control-plane/cmd/control-plane/ -count=1 — ok (3.2s); gofmt -l internal/enroll/ clean; go vet ./internal/enroll/ clean. Red-first proof: with internal/enroll/mesh_minter.go reverted to HEAD and the new tests kept, TestNetbirdMinter_MintOnAPlaneThatAlreadyHoldsPeers fails with the drive's verbatim sentence ('ensure group "node-req-0003": decode GET /api/groups response: json: cannot unmarshal object into Go struct field group.peers of type string') and TestNetbirdMinter_RevokeRemovesGroupPeers fails the same way on /api/groups/grp-1; both pass with the fix restored. The Netbird facts were read off the vendor's own openapi.yml for v0.72.3 (the version in the store as netbird-management-0.72.3), schemas Group: L1371 (peers → array of PeerMinimum) and PeerMinimum: L755 ({id, name}), not from memory.. The session also named a residual fault — it is being filed and will block the drive.approveleg asserts the landing against ANY connected card — the gateway's own enrolled row satisfies it, so a refused Approve is reported as an ssh exit code instead of the control plane's own sentencedrive
20260829T221738ZRED — now blocked by: #1005 (evidence on each). The drive re-fires when the last blocker closes.drive
20260829T232735ZRED — now blocked by: #1007 (evidence on each). The drive re-fires when the last blocker closes.Offline eval gate armed —
9727fba4(from the 08-29 time review: five of the last two days's reds were eval faults each costing a paid drive). The cycle now runs the whole IDSS_EVAL_SMOKE suite before renting: seed/VM, own-VPS, rented, and the NEWTestMemberDevice_EvalSmoke— the member-device composition this drive's deploy-takeover actually runs (placement AttachFiles+compose, then full-install bake + recompose), with teeth for the0915977acompose-before-bake class. Verdicts cache on the internal/clan+internal/provision tree key (~4 min per new key on this host, warm), RED parks the cycle BEFORE droplet spend and comments here. The gate's first full run already caught the seed-community/fleetgw drvPath baseline a week stale (nothing ran the manual suite through the whole mesh arc) — re-baselined per the #421 rule. GOTCHAS #130. Also armed for the IDIP drive (#788) — same cycle code on the workstation executor./run/current-system, so the deploy'sswitch-to-configuration bootcollides with the still-running switch and exits 11drive
20260830T002134ZRED — now blocked by: #1009 #1010 (evidence on each). The drive re-fires when the last blocker closes.drive
20260830T014530ZRED — now blocked by: #1011 (evidence on each). The drive re-fires when the last blocker closes.drive
20260830T034644ZRED — now blocked by: #1016 (evidence on each). The drive re-fires when the last blocker closes.drive
20260830T152228ZRED — now blocked by: #1037 (evidence on each). The drive re-fires when the last blocker closes.drive
20260830T162742ZRED — now blocked by: #1040 (evidence on each). The drive re-fires when the last blocker closes.rehearsal healer: drive
20260830T172147Zred atassess(sig 457bd1d5a8c2) self-fixed — commitadc6ff57fe18f0a86d35cd48c5140d6f5cbb1f67(3 files changed, 77 insertions(+), 12 deletions(-)); checks: pnpm --filter app exec vitest run tests/e2e/fixtures/deviceProvision.test.ts — 8 passed (1 file). Red-first proof: withconnectedDeviceIdFromActionsswapped for the pre-fix row-order pick and the new tests kept, the drive's own scenario test fails returning "node-req-0003" where "node-req-0005" is expected (2 failed | 6 passed); all 8 pass with the fix restored. pnpm exec vue-tsc -p tsconfig.json --noEmit — exit 0, clean. prettier reports a pre-existing formatting warning on journey.device.spec.ts that is present unchanged at HEAD (verified via git stash), so it was not introduced here and reformatting the whole file was left alone to keep the diff small.. The session also named a residual fault — it is being filed and will block the drive.approveorphans its landed node in the standing fleet — the droplet is reaped, the placed node is notdrive
20260830T172147ZRED — now blocked by: #1044 (evidence on each). The drive re-fires when the last blocker closes.supplydrive
20260830T190217ZRED — now blocked by: #1048 #1049 (evidence on each). The drive re-fires when the last blocker closes.supply#1048supply#1048supply#1048netbird upagainst no daemon — renderInstallerMesh ships pkgs.netbird + the oneshot but never declares services.netbird.clients, so wt0 never returns and deploy-takeover reds target_lost #1057netbird upagainst no daemon — renderInstallerMesh ships pkgs.netbird + the oneshot but never declares services.netbird.clients, so wt0 never returns and deploy-takeover reds target_lostremove-devicethe change surface never renders — a red drive burns its whole 195m budget, and its droplet's wall-clock, after the verdict is knowndrive
20260831T043317ZRED — now blocked by: #1067 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
e9a832c→4b01ae58c911by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.drive
20260831T102457ZRED — now blocked by: #1068 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
4b01ae5→03fb43cf6395by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.20260831T113210Zred atdeploy-takeover: the #1068 re-point held and the install LANDED, but the installed member is off the mesh so verify can never reconnect (#1069, live proof)drive
20260831T113210ZRED — now blocked by: #1070 (evidence on each). The drive re-fires when the last blocker closes.20260831T113210Zred atdeploy-takeover: the #1068 re-point held and the install LANDED, but the installed member is off the mesh so verify can never reconnect (#1069, live proof)20260831T113210Zred atdeploy-takeover: the #1068 re-point held and the install LANDED, but the installed member is off the mesh so verify can never reconnect (#1069, live proof) #107020260831T113210Zred atdeploy-takeover: the #1068 re-point held and the install LANDED, but the installed member is off the mesh so verify can never reconnect (#1069, live proof) #1070gateway-image: snapshot advanced
03fb43c→d6865d3d0831by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.rehearsal healer: drive
20260831T141810Zred atdeploy-takeover(sig 800a2936720b) self-fixed — commitbae17488f46319a018d4caa644af6849ab1faa74(2 files changed, 103 insertions(+), 2 deletions(-)); checks: CGO_ENABLED=0 go test ./internal/clan/ -count=1 — ok (23.5s, whole package); CGO_ENABLED=0 go test ./internal/provision/ -count=1 — ok; gofmt -l internal/clan/ clean; go vet ./internal/clan/ clean. Red-first proof: with persistTarget removed and the new test kept, TestEnroll_RepointLandsOnTheInventoryEveryOtherReaderResolvesFrom fails 'inventory deploy.targetHost = "root@100.82.251.189", want the re-pointed root@100.82.232.94' — the drive's exact shape — and passes with the fix; its second half drives the real Supply.Seed and pins that it archives to ssh-ng://root@100.82.232.94, the call that actually red on the box.. The session also named a residual fault — it is being filed and will block the drive.drive
20260831T141810ZRED — now blocked by: #1072 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
d6865d3→63e16af7a0e3by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.drive
20260831T160611ZRED — now blocked by: #1075 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
63e16af→e18b405ca5ddby elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.eval gate RED (key 91ee3d7adf6d5d8e) — a rendered config no longer evaluates offline; the cycle parked BEFORE renting a droplet. Fix the eval red on main (evidence: /home/swarm/swarm/Matou/idss/test-results/eval-smoke/91ee3d7adf6d5d8e.log on elitebook-distributed-server-03); the gate re-proves automatically once internal/clan or internal/provision moves.
gateway-image: snapshot advanced
e18b405→900d1bc371bdby elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.eval gate RED (key 91ee3d7adf6d5d8e) — a rendered config no longer evaluates offline; the cycle parked BEFORE renting a droplet. Fix the eval red on main (evidence: /home/swarm/swarm/Matou/idss/test-results/eval-smoke/91ee3d7adf6d5d8e.log on elitebook-distributed-server-03); the gate re-proves automatically once internal/clan or internal/provision moves.
gateway-image: snapshot advanced
900d1bc→090cc03eb65cby elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.kanidm system oauth2 update-basic-secretis not a kanidm subcommand — the off-gateway files client can never take the shared secret, so every placement deploy dies at switch exit 4drive
20260831T202009ZRED — now blocked by: #1088 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
090cc03→8bb9987d7cbcby elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.create --wait(drive 20260831T231010Z parked at preflight, nothing filed) #1092gateway-image: snapshot advanced
8bb9987→87971b7f581cby elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.drive
20260901T005009ZRED — now blocked by: #1097 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
87971b7→9d414e84fd01by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.rehearsal healer: drive
20260901T030011Zred atdeploy-takeover(sig 800a2936720b) self-fixed — commit9ad39c595f1e85ba75cd3cc519a071142356dcbb(3 files changed, 115 insertions(+), 6 deletions(-)); checks: pnpm --filter app exec vitest run tests/e2e/fixtures/droplet.test.ts — 21 passed (1 file). Red-first: with the guard removed and the new tests kept, 'reds naming the dial, its exit code and its stderr when ssh is refused' failspromise resolved "''" instead of rejecting— the drive's verbatim empty string — and passes with the guard restored. pnpm exec vue-tsc -p tsconfig.json --noEmit — exit 0. prettier --check clean on all three touched files (the one warning it raised was mine, fixed; verified absent at HEAD via git stash).. The session also named a residual fault — it is being filed and will block the drive.activefires while it is still pulling the closuredrive
20260901T030011ZRED — now blocked by: #1099 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
9d414e8→953c92800329by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.drive
20260901T052209ZRED — now blocked by: #1106 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
953c928→adb83d58ad94by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.drive
20260901T064809ZRED but nothing could be filed or matched (cap/limit) — flipped ready-for-human so the drive never hot-loops. A human decides the next drive.Human decision (session, ADR 0174): the red is understood and already fixed on main — re-armed for the swarm.
The reporter could not file (cap/limit) and correctly flipped this to
ready-for-humanrather than re-driving blind. Nothing is left for a human to decide:Drive
20260901T064809Z— the takeover LANDEDFirst drive in the arc where the takeover is positively proven.
waitForDeviceNixOS(#1099's relay, reachable since #1105) polled the member device through the gateway and passed. Verified independently down the same path before teardown:The erase, kexec, install and reboot all worked. 26/27 green.
The red was an assertion that could not pass — fixed in
4a27f34e(#1110)False, and the box proved it:
journalctl --list-bootsshowed exactly ONE boot (the installed system's first), andgrep -ci takeoverwas 0 across all boots. The kexec installer runs from RAM and then wipes the disk, so nothing it logged survives; and "takeover" is IDSS's own word, written by the gateway's control plane, never on the target. A successfully taken-over device is by construction a box with no memory of its own takeover.#1110 replaces it with a fact that survives the reboot —
/proc/cmdlinenaminginit=/nix/store/…-nixos-system-node-req-<id>/init, which proves the box runs this clan node's system and which an un-erased Ubuntu box can never produce. It also fixed the negative twin in the same family (the VMModedeployleg's vacuouskexec|disko== 0 check, now a boot_id comparison). GOTCHAS #151 records the hazard class. The session's own ticket for this red (#1109) is closed as superseded — #1110's proof is the stronger one.Action taken
Restored
ready-for-agent(droppedready-for-human). No blocker is needed: the fix is already on main, so the next cycle drives with it aboard. This resumes itself.Arc state
Eleven drives, each red strictly later than the last. Every render-seam defect is closed and hardware-proven (#1057 → #1068 → #1069 → #1072 → #1075/#1076 → #1088 → #1095), the gateway switch clears, and the takeover itself now lands. Only
verify— leg 27, never yet reached — stands between this and green.The last five reds were one family: a check reporting a confident conclusion it had no way to observe (#1096/#1100 a key that never differs; #1105 a relay that could not dial and a files-door assertion that could not fail; #1110 a journal that cannot exist). The takeover has likely been correct for two drives — what was red was our ability to ask it the right question.
drive
20260901T083610ZRED — now blocked by: #1113 (evidence on each). The drive re-fires when the last blocker closes.standingreds foreverdrive
20260901T085409ZRED — now blocked by: #1114 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
adb83d5→ae94e1e21b3eby elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.standingreds forever #1114drive
20260901T093209ZRED but nothing could be filed or matched (cap/limit) — flipped ready-for-human so the drive never hot-loops. A human decides the next drive.Human decision (session, ADR 0174): re-armed — the red that caused this park was already fixed ten minutes before the park.
Sequence:
10:29Z— drive20260901T093209Ztookdeploy-takeoverGREEN (27 legs green, the arc's first) and then red atfiles-door, a leg that had never run.~10:40Z— that red was diagnosed (#1115) and fixed on main in6fc64e19:assertBrandedLoginhad one journey's community name ("E2E Drive") baked into a shared fixture, while this journey's community is correctly named"Rehearsal E". Everything the leg exists to prove had passed — the DDR 0158 auto-redirect, the #643-hardened form-field wait, the accent, and the community name in the heading.10:50Z— the reporter hit its filing cap, could not file or match, and flipped this toready-for-humanso the drive would not hot-loop. Correct behaviour on its part; it simply could not know the fix had already landed.Nothing is left to decide: restored
ready-for-agent(droppedready-for-human), no blockers open,#1115closed. The next cycle drives with the fix aboard.My own miss, recorded so it is visible: this sat parked for roughly eight hours because I was watching the blocker set rather than the labels. A
ready-for-humanflip produces no blocker change —open blockers: nonereads healthy while the drive is stopped — so my watch reported nothing wrong the entire time. I have adjusted to poll the label state, not just dependencies.Worth noting for the loop's own design: the reporter has now hit its cap twice in this arc (
08:13Z,10:50Z), and each time the lane stops until a human looks. That is the intended safety behaviour, but it means the unattended loop's real ceiling is the reporter's filing budget, not the drive's. If these arcs are meant to run overnight, that budget — or a louder signal when it is exhausted — is the thing to raise.drive
20260901T201017ZRED — now blocked by: #1129 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
ae94e1e→b0d402bcf4f2by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.drive
20260901T205618ZRED — now blocked by: #1133 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
b0d402b→0e00c4ff0602by elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.drive
20260901T223244ZRED — now blocked by: #1134 (evidence on each). The drive re-fires when the last blocker closes.gateway-image: snapshot advanced
0e00c4f→0963b679d7cbby elitebook-distributed-server-03 (#661 auto-rebuild — build.sh resolved the newest published agent ancestor, #654). The rented drive now boots current agent bits; no human build.sh run was needed.rehearsal healer: drive
20260902T002219Zred atremove-device(sig 0be66b4eb38d) self-fixed — commit2cef224d541d066fae472b94992c8d315902c2a8(3 files changed, 179 insertions(+), 2 deletions(-)); checks: pnpm --filter app exec vitest run tests/e2e/fixtures/deviceProvision.test.ts — 19 passed (1 file). Red-first: with readRemovalVerdict cut back to the pre-fix reading (only Active settles) and the new tests kept, 'reads the drill-in gone as handed-back' failsexpected 'running' to be 'handed-back'— the drive's exact hang — 3 failed | 16 passed; all 19 pass with the fix restored. prettier --check clean on all three touched files (its two warnings were mine, fixed; verified absent at HEAD via git stash); eslint clean on all three.pnpm exec tsc --noEmit -p app/tsconfig.jsonreports two pre-existingAppUpdateSurfaceerrors in src/bootstrap.ts and tests/unit/appShell.test.ts, neither file touched here.. The drive stays armed; the next tick re-drives.rehearsal healer: drive
20260902T020219Zred atreap(sig ce8d0c6c3e59) self-fixed — commit4ceb86e16206c7dc62ded55f3aaed99d15f24c4d(1 file changed, 45 insertions(+), 2 deletions(-)); checks: bash scripts/tests/rehearsal-device-target-test.sh — PASS, 15 checks (was 14); bash -n clean. Red-first proof, each against the otherwise-restored carrier: (a) deleting 7f3a62d5's export line — the exact state this drive ran at — fails 7b with 'oc_device_create did not set OC_E2E_DEVICE_TEARDOWN', the drive's own shape; (b) downgradingexportto a bare assignment fails 'set but NOT exported — the playwright subprocess still reads it unset'; (c) leaving $CLAN_LAB unquoted re-splits a spaced path and fails on the command not running. All 15 pass with the carrier restored; git status clean apart from the committed test.. The drive stays armed; the next tick re-drives.drive
20260902T030641ZGREEN end to end — evidence (legs.json, durations, trace, host facts) intest-results/drive-device/20260902T030641Z/on the executor host; a representative screenshot is attached here if one was captured (#596). Closing per the standing instructions: the device journey passes, #183 is ready to be boring.journey.rented-device.spec.tson the standing rented community: Overview → Add a device → place → rent → the box calls in → the device card → remove → reap; GREEN is the only close #1400journey.rented-device.spec.tson the standing rented community: Overview → Add a device → place → rent → the box calls in → the device card → remove → reap; GREEN is the only close #1400