updates (#1562-11): the live proof drive — a rehearsal gateway takes a signed release end to end (applied, rolled back, refused, replay), then one leg on the real testing rail #1614

Closed
opened 2026-09-18 22:37:25 +00:00 by ben · 50 comments
Owner

Parent: #1562 — the one build child its decomposition named and never filed ("… → existing-community step → drive leg")

What's true today (2026-09-18, main @ 0425c095)

The whole lane is built and the station is on air: https://get.idss.nz/channel/testing.json serves a signed release that tracks main by itself (#1578), verified outside-in with the fleet's own reader against the testing channel key. But no gateway has ever taken a release. Poll → land → staged rollout → the control plane swapping its own binary → resume → applied, and the rollback and refusal paths, are seam-proven only.

Nothing will prove it by waiting:

  • no rehearsal drive sets a release channel, and scripts/, app/tests and dashboard/tests/e2e contain no leg that touches the Updates lane;
  • #1562's live acceptance says the live green is "the rehearsal-executor's queue-armed job, authored + offline-green first" — that authoring was never ticketed.

This now gates a decision. Founding's channel pin (#1582) is written but HELD (local branch pin-testing-1582-held, Ben's ruling 2026-09-18: wait for a rehearsal gateway to take an update). Reason: the rail cuts every testing release as kind patch; Kind.Automatic() is security|patch; the default policy is Security: ModeAuto, window 02:00–04:00 — so with the pin live every newly founded community would install each fleet-affecting main commit overnight through a path never run on a real gateway.

What to build

A rehearsal drive (the existing executor's shape — author it, get it offline-green, then queue-arm it; do not run it from a one-shot session) on a throwaway gateway:

  1. Found from revision A, tuned to a drive-local feed. Use the helper's existing override (IDSS_RELEASE_FEED_URL / IDSS_RELEASE_PUBLIC_KEY → founding.WithReleaseChannel). The drive cuts its own releases with cmd/release-cut under the committed TEST key and serves them from the drive host — a throwaway gateway is exactly what the TEST key is for (ADR 0248 decision 3 amendment), and it lets the drive control what B is. The testing channel seed never leaves the rail.
  2. Leg — applied. Publish B, which changes one visible control-panel string. With no SSH and no operator app, the gateway serves B's panel, the control plane reports B's revision, and Updates shows B applied with its signed notes verbatim. Prove the self-swap survived: the control plane restarted and the rollout resumed (#1567, GOTCHAS #241), not restarted from scratch.
  3. Leg — rolled back. Publish C whose control plane fails its health check. The gateway rolls back by itself, the previous binary and panel are back on disk (#1576), the community stays reachable throughout, a second failure quarantines C.
  4. Leg — refused. Tamper with an artifact (digest mismatch) and, separately, with the feed (bad signature). The gateway refuses, keeps serving B, shows U3x / the standing U1 row (DDR 0250), counts two tries then quarantines, and does not re-download every five minutes (#1577).
  5. Leg — replay. Re-serve validly signed A after B: refused (#1579).
  6. One leg on the REAL rail. Re-tune the same gateway to get.idss.nz/channel/testing.json + the testing public half (FEoWsURiW4Xu6IS/uxAbt28AUH6ioUg2tag/ORtMpoI=) with set-release-channel (#1569) and let it take whatever is newest — this is the rehearsal of the Whakatōhea Demo step, including a 23 MB artifact over the public doorway.
  7. Screenshots of U1, U3 (with the land row), U4, U4x, U3x and the refused-list row, saved for Ben to eyeball against docs/ux/wireframes/p4b-updates/.

The window. A drive cannot wait for 02:00. Open the window through the operator's own door (the Updates policy screen) — no test-only env that bypasses the scheduler. If no such door exists end to end, say so on this ticket: that is a finding, not something to route around.

Also settle (small, same lane): the default policy names channel stable while the pinned feed is testing, and the reader never compares them — the policy screen would tell the operator "stable". Either derive the displayed channel from what the gateway is actually tuned to, or file it; don't leave it unmentioned.

Acceptance

  • The drive is authored, offline-green, and queue-armed for the rehearsal executor
  • Legs 2–6 green by LEG LIST on a live throwaway gateway, zero skips
  • Each leg's screenshot is attached; Ben eyeballs them (a green leg list alone does not count)
  • Any live defect found is filed and linked here before the drive is called green

After this is green

Ben decides: push pin-testing-1582-held, then #1569 on Whakatōhea Demo, then the production key and the first stable promote (#1562).


Filed 2026-09-18 from Ben's ruling to hold founding's pin until a rehearsal gateway has taken an update. No host pin on purpose — any session-runner may take the authoring.

## Parent: #1562 — the one build child its decomposition named and never filed ("… → existing-community step → **drive leg**") ## What's true today (2026-09-18, `main` @ `0425c095`) The whole lane is built and the station is on air: `https://get.idss.nz/channel/testing.json` serves a signed release that tracks `main` by itself (#1578), verified outside-in with the fleet's own reader against the `testing` channel key. **But no gateway has ever taken a release.** Poll → land → staged rollout → the control plane swapping its own binary → resume → applied, and the rollback and refusal paths, are seam-proven only. Nothing will prove it by waiting: - no rehearsal drive sets a release channel, and `scripts/`, `app/tests` and `dashboard/tests/e2e` contain no leg that touches the Updates lane; - #1562's live acceptance says the live green is "the rehearsal-executor's queue-armed job, **authored + offline-green first**" — that authoring was never ticketed. **This now gates a decision.** Founding's channel pin (#1582) is written but HELD (local branch `pin-testing-1582-held`, Ben's ruling 2026-09-18: *wait for a rehearsal gateway to take an update*). Reason: the rail cuts every `testing` release as kind `patch`; `Kind.Automatic()` is security|patch; the default policy is `Security: ModeAuto`, window 02:00–04:00 — so with the pin live every newly founded community would install each fleet-affecting `main` commit overnight through a path never run on a real gateway. ## What to build A rehearsal drive (the existing executor's shape — author it, get it offline-green, then queue-arm it; do not run it from a one-shot session) on a **throwaway** gateway: 1. **Found from revision A, tuned to a drive-local feed.** Use the helper's existing override (`IDSS_RELEASE_FEED_URL` / `IDSS_RELEASE_PUBLIC_KEY` → `founding.WithReleaseChannel`). The drive cuts its own releases with `cmd/release-cut` under the committed TEST key and serves them from the drive host — a throwaway gateway is exactly what the TEST key is for (ADR 0248 decision 3 amendment), and it lets the drive control what B is. The `testing` channel seed never leaves the rail. 2. **Leg — applied.** Publish B, which changes one visible control-panel string. With no SSH and no operator app, the gateway serves B's panel, the control plane reports B's revision, and Updates shows B applied with its signed notes verbatim. Prove the self-swap survived: the control plane restarted and the rollout **resumed** (#1567, GOTCHAS #241), not restarted from scratch. 3. **Leg — rolled back.** Publish C whose control plane fails its health check. The gateway rolls back by itself, the previous binary **and** panel are back on disk (#1576), the community stays reachable throughout, a second failure quarantines C. 4. **Leg — refused.** Tamper with an artifact (digest mismatch) and, separately, with the feed (bad signature). The gateway refuses, keeps serving B, shows U3x / the standing U1 row (DDR 0250), counts two tries then quarantines, and does **not** re-download every five minutes (#1577). 5. **Leg — replay.** Re-serve validly signed A after B: refused (#1579). 6. **One leg on the REAL rail.** Re-tune the same gateway to `get.idss.nz/channel/testing.json` + the `testing` public half (`FEoWsURiW4Xu6IS/uxAbt28AUH6ioUg2tag/ORtMpoI=`) with `set-release-channel` (#1569) and let it take whatever is newest — this is the rehearsal of the Whakatōhea Demo step, including a 23 MB artifact over the public doorway. 7. **Screenshots** of U1, U3 (with the land row), U4, U4x, U3x and the refused-list row, saved for Ben to eyeball against `docs/ux/wireframes/p4b-updates/`. **The window.** A drive cannot wait for 02:00. Open the window through the operator's own door (the Updates policy screen) — no test-only env that bypasses the scheduler. If no such door exists end to end, say so on this ticket: that is a finding, not something to route around. **Also settle (small, same lane):** the default policy names channel `stable` while the pinned feed is `testing`, and the reader never compares them — the policy screen would tell the operator "stable". Either derive the displayed channel from what the gateway is actually tuned to, or file it; don't leave it unmentioned. ## Acceptance - [ ] The drive is authored, offline-green, and queue-armed for the rehearsal executor - [ ] Legs 2–6 green by LEG LIST on a live throwaway gateway, zero skips - [ ] Each leg's screenshot is attached; Ben eyeballs them (a green leg list alone does not count) - [ ] Any live defect found is filed and linked here before the drive is called green ## After this is green Ben decides: push `pin-testing-1582-held`, then #1569 on Whakatōhea Demo, then the production key and the first `stable` promote (#1562). --- *Filed 2026-09-18 from Ben's ruling to hold founding's pin until a rehearsal gateway has taken an update. No host pin on purpose — any session-runner may take the authoring.* <!-- rehearsal-target: local-updates --> <!-- rehearsal-confirm: 1 -->

Session-runner report — #1614 (one-shot session, matou-workstation)

What landed this session (two-way, proven, pushed as e2f4ec60)

1. The "small, same lane" defect is FIXED (not filed). The default policy named channel stable while a gateway tuned to testing.json actually pulled testing, and the reader never compared them — update.Policy.Channel was a free-standing string threaded into the U1/U1x display and into src.Latest's channel arg, the replay high-water key (store.go:130) and refusal reporting. The production fetch (matouchannel.NewHTTPFetch) hits the fixed feed URL and ignores the channel arg, so the feed URL is the one authority on which channel a gateway is on.

  • matouchannel.Source.Channel() now derives the channel from the pinned feed URL's channel/<name>.json segment (matourelease.FeedPath's shape), "" for an absent/non-conforming URL.
  • composeWhole seeds Policy.Channel from the wired source when it names a channel, else the composed default stable (the resting stub, seam fakes and a fork name none → byte-identical). A gateway on testing.json now reports testing on U1/U1x, and the replay key + refusals name one real channel.
  • Red-first: TestSource_ChannelFromFeedURL, TestWholeComposition_NamesTheTunedChannel, TestWholeComposition_KeepsDefaultChannelWhenSourceUnnamed. go test ./internal/update/... ./internal/matouchannel/ ./control-plane/cmd/control-plane/ green; vet + gofmt clean.

Ruled by agent under ADR 0174 — veto anytime. Two-way: a code+test change reverted by editing Source.Channel() and the composeWhole derivation; proven by the tests above.

2. The window door — FINDING: it exists end-to-end, no test-only env needed. The ticket asked whether the operator can open the maintenance window through their own door without a scheduler-bypassing env. Yes:
UpdatePolicyScreen.vue (U5) has editable window start/end → POST /api/v1/updates/policy (internal/controlapi/updates.go:70-79) → Orchestrator.SetPolicy (internal/update/policy.go:27) → the live Window.Contains(now) gate re-read on every scheduler tick (internal/update/rollout.go:214, impl :557). The drive opens the window by editing U5 to bracket now; the next tick (≤5 min) rolls. No test-only env exists or is needed. Window.Zero() also means "always in window", and a by-hand retry (RetryByHand, manual=true) bypasses the window — but the clean operator door is the U5 window edit.

What did NOT land — and why a one-shot session structurally can't

The drive itself is greenfield and its legs are inherently live, so it cannot be authored to a genuine offline-green nor run from a one-shot session (the ticket itself says "do not run it from a one-shot session"). Confirmed against the machinery:

  • No smoke target, no journey.*.spec.ts, and no drive leg anywhere touches the Updates/release lane today (grep of scripts/, app/tests, dashboard/tests/e2e for release-cut/set-release-channel/IDSS_RELEASE_FEED_URL/testing.json → nothing). The release rail (scripts/release-rail/, cmd/release-cut) is driven by a systemd timer, never by the rehearsal executor.
  • A drive "leg list" is a Playwright journey spec (app/tests/e2e/journey.<target>.spec.ts, ordered JourneyLegs from fixtures/legs.ts), gated by a target in scripts/smoke-private-path.sh:98-100, and its "offline-green" is a scripts/tests/rehearsal-<target>-target-test.sh wired into scripts/seam-smoke.sh — but that offline test only proves routing/slug/spec-existence. Each leg's run() (found-from-A, cut-B via release-cut, self-swap, rollback, tamper/refuse, replay, real-rail, screenshots) only executes against a live gateway. Shipping ~hundreds of lines of unverifiable live-only legs and calling it "offline-green" would be false green against the ticket's own "Legs 2–6 green by LEG LIST … zero skips" bar.

Authoring plan (the concrete next-session starting point)

  1. New smoke target updates (or local-updates): add to the whitelist case in scripts/smoke-private-path.sh:98-100; likely NOT uses_droplet_machinery if it drives the local release-rail scripts + cmd/release-cut against a drive-local fixture feed on a local-guest-style KVM gateway; else a real throwaway droplet target.
  2. Founding-from-A with a drive-local feed: the helper already reads IDSS_RELEASE_FEED_URL / IDSS_RELEASE_PUBLIC_KEY → founding.WithReleaseChannel (app/helper/cmd/helper/wiring_prod.go:733-749). The drive founds revision A tuned to its own feed served from the drive host, signed with the committed TEST key (matourelease.TestReleaseSeedB64; ADR 0248 dec 3). The testing seed never leaves the rail.
  3. journey.updates.spec.ts leg list (model on journey.droplet.spec.ts:95-112): applied (cut B via cmd/release-cut → panel/revision/U4 + self-swap-resume proof #1567), rolled-back (cut C failing health → U4x + previous binary+panel back #1576, second failure quarantines), refused (digest tamper + feed-signature tamper → U3x / standing U1 row DDR 0250, two-tries-then-quarantine, no 5-min re-download #1577), replay (re-serve A after B → refused #1579), then one real-rail leg re-tuning via control-plane set-release-channel (#1569) to get.idss.nz/channel/testing.json + FEoWsURiW4Xu6IS/uxAbt28AUH6ioUg2tag/ORtMpoI=.
  4. Open the window in each leg via the U5 operator door (finding above), not an env.
  5. Offline-green: a scripts/tests/rehearsal-updates-target-test.sh (model on rehearsal-v2-fleet-target-test.sh) wired into scripts/seam-smoke.sh:125.
  6. Queue-arm: open/keep this issue with a <!-- rehearsal-target: updates --> body marker (+ optional <!-- rehearsal-confirm: N -->), ready-for-agent, and add its number to a host's REHEARSAL_DRIVE_QUEUE — then the executor runs it live (screenshots for Ben's eyes are produced there, not here).

Ticket state

Left ready-for-session (rule 8): the small defect + window finding landed and are proven, but the drive authoring is a multi-file greenfield build whose acceptance ends on a live executor run + Ben's eyeballs — neither reachable from a one-shot ready-for-session drainer. If this is the second unadvanced attempt the runner will escalate to a human; the plan above is the starting point either way. No labels changed by hand (the runner owns the agent-working claim lifecycle). Advances #1614.

## Session-runner report — #1614 (one-shot session, matou-workstation) ### What landed this session (two-way, proven, pushed as `e2f4ec60`) **1. The "small, same lane" defect is FIXED (not filed).** The default policy named channel `stable` while a gateway tuned to `testing.json` actually pulled testing, and the reader never compared them — `update.Policy.Channel` was a free-standing string threaded into the U1/U1x display **and** into `src.Latest`'s channel arg, the replay high-water key (`store.go:130`) and refusal reporting. The production fetch (`matouchannel.NewHTTPFetch`) hits the fixed feed URL and *ignores* the channel arg, so the feed URL is the one authority on which channel a gateway is on. - `matouchannel.Source.Channel()` now derives the channel from the pinned feed URL's `channel/<name>.json` segment (matourelease.FeedPath's shape), `""` for an absent/non-conforming URL. - `composeWhole` seeds `Policy.Channel` from the wired source when it names a channel, else the composed default `stable` (the resting stub, seam fakes and a fork name none → byte-identical). A gateway on `testing.json` now reports `testing` on U1/U1x, and the replay key + refusals name one real channel. - Red-first: `TestSource_ChannelFromFeedURL`, `TestWholeComposition_NamesTheTunedChannel`, `TestWholeComposition_KeepsDefaultChannelWhenSourceUnnamed`. `go test ./internal/update/... ./internal/matouchannel/ ./control-plane/cmd/control-plane/` green; vet + gofmt clean. **Ruled by agent under ADR 0174 — veto anytime.** Two-way: a code+test change reverted by editing `Source.Channel()` and the `composeWhole` derivation; proven by the tests above. **2. The window door — FINDING: it exists end-to-end, no test-only env needed.** The ticket asked whether the operator can open the maintenance window through their own door without a scheduler-bypassing env. Yes: `UpdatePolicyScreen.vue` (U5) has editable window start/end → `POST /api/v1/updates/policy` (`internal/controlapi/updates.go:70-79`) → `Orchestrator.SetPolicy` (`internal/update/policy.go:27`) → the live `Window.Contains(now)` gate re-read on **every** scheduler tick (`internal/update/rollout.go:214`, impl `:557`). The drive opens the window by editing U5 to bracket `now`; the next tick (≤5 min) rolls. No test-only env exists or is needed. `Window.Zero()` also means "always in window", and a by-hand retry (`RetryByHand`, manual=true) bypasses the window — but the clean operator door is the U5 window edit. ### What did NOT land — and why a one-shot session structurally can't The drive itself is **greenfield** and its legs are **inherently live**, so it cannot be authored to a *genuine* offline-green nor run from a one-shot session (the ticket itself says "do not run it from a one-shot session"). Confirmed against the machinery: - No smoke target, no `journey.*.spec.ts`, and no drive leg anywhere touches the Updates/release lane today (grep of `scripts/`, `app/tests`, `dashboard/tests/e2e` for `release-cut`/`set-release-channel`/`IDSS_RELEASE_FEED_URL`/`testing.json` → nothing). The release rail (`scripts/release-rail/`, `cmd/release-cut`) is driven by a systemd timer, never by the rehearsal executor. - A drive "leg list" is a Playwright journey spec (`app/tests/e2e/journey.<target>.spec.ts`, ordered `JourneyLeg`s from `fixtures/legs.ts`), gated by a target in `scripts/smoke-private-path.sh:98-100`, and its "offline-green" is a `scripts/tests/rehearsal-<target>-target-test.sh` wired into `scripts/seam-smoke.sh` — but that offline test only proves routing/slug/spec-existence. Each leg's `run()` (found-from-A, cut-B via release-cut, self-swap, rollback, tamper/refuse, replay, real-rail, screenshots) only executes against a live gateway. Shipping ~hundreds of lines of unverifiable live-only legs and calling it "offline-green" would be false green against the ticket's own "Legs 2–6 green by LEG LIST … zero skips" bar. ### Authoring plan (the concrete next-session starting point) 1. **New smoke target** `updates` (or `local-updates`): add to the whitelist `case` in `scripts/smoke-private-path.sh:98-100`; likely NOT `uses_droplet_machinery` if it drives the local `release-rail` scripts + `cmd/release-cut` against a drive-local fixture feed on a `local-guest`-style KVM gateway; else a real throwaway droplet target. 2. **Founding-from-A with a drive-local feed**: the helper already reads `IDSS_RELEASE_FEED_URL` / `IDSS_RELEASE_PUBLIC_KEY` → `founding.WithReleaseChannel` (`app/helper/cmd/helper/wiring_prod.go:733-749`). The drive founds revision A tuned to its own feed served from the drive host, signed with the committed TEST key (`matourelease.TestReleaseSeedB64`; ADR 0248 dec 3). The `testing` seed never leaves the rail. 3. **`journey.updates.spec.ts`** leg list (model on `journey.droplet.spec.ts:95-112`): applied (cut B via `cmd/release-cut` → panel/revision/U4 + self-swap-resume proof #1567), rolled-back (cut C failing health → U4x + previous binary+panel back #1576, second failure quarantines), refused (digest tamper + feed-signature tamper → U3x / standing U1 row DDR 0250, two-tries-then-quarantine, no 5-min re-download #1577), replay (re-serve A after B → refused #1579), then **one real-rail leg** re-tuning via `control-plane set-release-channel` (#1569) to `get.idss.nz/channel/testing.json` + `FEoWsURiW4Xu6IS/uxAbt28AUH6ioUg2tag/ORtMpoI=`. 4. **Open the window** in each leg via the U5 operator door (finding above), not an env. 5. **Offline-green**: a `scripts/tests/rehearsal-updates-target-test.sh` (model on `rehearsal-v2-fleet-target-test.sh`) wired into `scripts/seam-smoke.sh:125`. 6. **Queue-arm**: open/keep this issue with a `<!-- rehearsal-target: updates -->` body marker (+ optional `<!-- rehearsal-confirm: N -->`), `ready-for-agent`, and add its number to a host's `REHEARSAL_DRIVE_QUEUE` — then the executor runs it live (screenshots for Ben's eyes are produced there, not here). ### Ticket state Left **`ready-for-session`** (rule 8): the small defect + window finding landed and are proven, but the drive authoring is a multi-file greenfield build whose acceptance ends on a live executor run + Ben's eyeballs — neither reachable from a one-shot ready-for-session drainer. If this is the second unadvanced attempt the runner will escalate to a human; the plan above is the starting point either way. No labels changed by hand (the runner owns the `agent-working` claim lifecycle). Advances #1614.

Session-runner ruling — #1614 → ready-for-human (attempt 2, matou-dev-server-01)

Ruled by agent under ADR 0174 — veto anytime. Routing this off the session queue to ready-for-human, because after mapping the whole Updates-lane machinery the remaining work is (a) an oversized greenfield drive-infrastructure build, (b) whose acceptance is inherently live + Ben's eyeballs, and (c) gated on a spend/host one-way door no session-runner may open. The two small same-lane items the ticket asked to settle are already done (attempt 1). Detail below so the next hands — human or swarm — start from a settled map, not a cold read.

What is already landed and green (safe slice, attempt 1 — elitebook-distributed-server-03, e2f4ec60)

  • The "small, same lane" display defect is FIXED. matouchannel.Source.Channel() derives the channel from the pinned feed URL's channel/<name>.json segment; composeWhole seeds Policy.Channel from the wired source. A gateway on testing.json now reports testing, not a free-standing stable. Proven by TestSource_ChannelFromFeedURL + TestWholeComposition_NamesTheTunedChannel/…KeepsDefaultChannelWhenSourceUnnamed.
  • The maintenance-window door — FINDING, answered YES. The operator opens the window through their own door end-to-end with no test-only env: UpdatePolicyScreen.vue (U5) editable window → POST /api/v1/updates/policy → Orchestrator.SetPolicy → the live Window.Contains(now) gate re-read every scheduler tick (internal/update/rollout.go). A drive opens the window by bracketing now through U5; the next tick (≤5 min) rolls.
  • Lane is green today: go test ./internal/update/... ./internal/matouchannel/ re-run this session → ok.

Why the rest cannot be a one-shot session ticket

I mapped the machinery in full. Every piece the drive needs already exists:

  • cmd/release-cut cuts a signed release under the committed TEST key (matourelease.TestReleaseKey() when IDSS_RELEASE_SEED is unset) to a local --out tree a drive host can serve over HTTP; artifacts are control-plane binary + control-panel tarball + agent (internal/update/land.go role consts).
  • Founding-from-A override exists: app/helper/cmd/helper/wiring_prod.go:738 reads IDSS_RELEASE_FEED_URL/IDSS_RELEASE_PUBLIC_KEY → founding.WithReleaseChannel (same env the gateway control-plane reads back at internal/clan/vmguest.go).
  • Re-tune to the real rail exists: set-release-channel <node> <feedURL> <publicKey> (control-plane/cmd/control-plane/set_release_channel.go, #1569).
  • The rollout/land/resume/rollback/quarantine lane is fully built: scheduler updates_scheduler.go (5-min ticker), productionReleaseSource (wires only when BOTH feed+key env are set), land.go (digest boundary), resume.go (#1567 self-swap resume), rollback.go (#1576 restore, maxAttempts=2 → quarantine; recordRefusal puts a land refusal on the same budget → DDR 0250).
  • The UI screens for the screenshots exist with stable data-fields: U1 UpdatesScreen.vue (data-field="channel-refused"), U3 RollingOutScreen.vue (land row data-field="stage-land"), U4 AppliedScreen.vue, U4x RolledBackScreen.vue, U3x RefusedScreen.vue (data-field="refusal"/"refused-artifact"/"refused-check").
  • Adding a drive target is mechanical: whitelist at scripts/smoke-private-path.sh:99 (+:146 if remote), a journey.updates.spec.ts, and a scripts/tests/rehearsal-updates-target-test.sh (auto-picked by the seam-smoke.sh scripts/tests/*.sh glob).

But the drive itself is genuinely greenfield and un-runnable / un-provable from here:

  1. No drive has EVER wired a live feed or exercised a real control-plane binary self-swap. The entire rollout lane is proven only by unit/seam tests with FakeFleet/FakeReleaseSource. The smoke script never exports IDSS_RELEASE_FEED_URL, never serves a local feed, and never stands up a gateway whose productionReleaseSource is armed — so on every current drive the scheduler just stamps last-checked and never lands. This drive would be the first end-to-end exercise of the self-swap, and the plumbing to make that happen (serve the drive-local release-cut tree, export the feed pair into founding, provision a throwaway gateway with the timer armed) does not exist and must be built.
  2. Its acceptance is live + human. "Legs 2–6 green by LEG LIST on a live throwaway gateway, zero skips" needs a live executor drive; "each leg's screenshot … Ben eyeballs them (a green leg list alone does not count)" is an explicit human gate. Neither is reachable from a headless one-shot session — and the ticket itself says "do not run it from a one-shot session."
  3. Committing blind scaffolding now would be hollow, not a safe green slice. The offline "green" bar is only the target-test (routing + journey.updates.spec.ts on disk). Authoring hundreds of lines of live-only leg run() + new smoke-script feed plumbing that no live gateway has verified, and calling it "offline-green," risks a target that looks armed but whose plumbing is unverified guesswork — which, when the executor picks it up, burns a paid live drive (non-routine spend). That is the opposite of a two-way door.

Why human

  1. Spend + host one-way door (ADR 0174). The throwaway gateway must run somewhere. matou-dev-server-01 cannot — it is prod Matou infra pinned under the local-guest 6144 MiB memory floor; standing a guest risks OOM to member services (one-way door), and its rehearsal target is idip/#1547, not updates. The two ways to run an updates drive both need Ben's ruling: a throwaway DigitalOcean droplet (non-routine spend), or a local-guest KVM on elitebook-03 (the #89 affinity host for local-guest drives). Picking the host and authorising the spend is Ben's.
  2. Ben eyeballs the screenshots (U1, U3+land row, U4, U4x, U3x, refused-list row) against docs/ux/wireframes/p4b-updates/ — the acceptance says a green leg list alone does not count.
  3. This gates Ben's HELD decision (pin-testing-1582-held): founding's testing pin stays held until a rehearsal gateway takes an update. Ben owns that gate and the after-this-is-green sequence (#1569 on Whakatōhea Demo, the production key, the first stable promote — #1562).

Proposed decomposition (so this can be swarmed once Ben rules host+spend)

  • Slice 1 — drive plumbing (smoke-private-path.sh + lib): a new --target updates (droplet or elitebook-03 local-guest per Ben) that (a) release-cuts revision A to a drive-local --out tree under the TEST key, (b) serves it over HTTP from the drive host, (c) exports the feed pair into founding so the gateway founds tuned to the drive-local feed with the scheduler armed. Live-only-verifiable — the swarm proves it on the chosen host.
  • Slice 2 — journey.updates.spec.ts leg list: applied (cut B, open window via U5, self-swap + resume #1567, U4 + verbatim notes), rolled-back (cut C fails health → U4x, previous binary+panel back #1576, 2nd failure quarantines), refused (digest tamper + feed-sig tamper → U3x / standing U1 row, two-tries-then-quarantine, no 5-min re-download #1577), replay (re-serve A after B → refused #1579), then the real-rail leg (set-release-channel → get.idss.nz/channel/testing.json + FEoWsURiW4Xu6IS/uxAbt28AUH6ioUg2tag/ORtMpoI=, take newest). Screenshots via the per-leg setLegCapturer hook.
  • Slice 3 — offline target-test scripts/tests/rehearsal-updates-target-test.sh (auto-picked by the seam-smoke glob).
  • Live run + Ben's eyeball = the closing acceptance.

Ticket state

Relabelled ready-for-human (removed ready-for-session). This is an honest routing, not a stalled attempt: the safe slice landed in attempt 1, the machinery is fully mapped above, and what remains is a spend/host one-way door + a multi-slice live-and-human-gated feature. Advances #1614.

## Session-runner ruling — #1614 → `ready-for-human` (attempt 2, matou-dev-server-01) Ruled by agent under ADR 0174 — veto anytime. **Routing this off the session queue to `ready-for-human`**, because after mapping the whole Updates-lane machinery the remaining work is (a) an oversized greenfield **drive-infrastructure** build, (b) whose acceptance is inherently **live + Ben's eyeballs**, and (c) gated on a **spend/host one-way door** no session-runner may open. The two small same-lane items the ticket asked to settle are already done (attempt 1). Detail below so the next hands — human or swarm — start from a settled map, not a cold read. ### What is already landed and green (safe slice, attempt 1 — `elitebook-distributed-server-03`, `e2f4ec60`) - **The "small, same lane" display defect is FIXED.** `matouchannel.Source.Channel()` derives the channel from the pinned feed URL's `channel/<name>.json` segment; `composeWhole` seeds `Policy.Channel` from the wired source. A gateway on `testing.json` now reports `testing`, not a free-standing `stable`. Proven by `TestSource_ChannelFromFeedURL` + `TestWholeComposition_NamesTheTunedChannel`/`…KeepsDefaultChannelWhenSourceUnnamed`. - **The maintenance-window door — FINDING, answered YES.** The operator opens the window through their own door end-to-end with no test-only env: `UpdatePolicyScreen.vue` (U5) editable window → `POST /api/v1/updates/policy` → `Orchestrator.SetPolicy` → the live `Window.Contains(now)` gate re-read every scheduler tick (`internal/update/rollout.go`). A drive opens the window by bracketing `now` through U5; the next tick (≤5 min) rolls. - Lane is green today: `go test ./internal/update/... ./internal/matouchannel/` re-run this session → **ok**. ### Why the rest cannot be a one-shot session ticket I mapped the machinery in full. Every *piece* the drive needs already exists: - `cmd/release-cut` cuts a signed release under the committed **TEST key** (`matourelease.TestReleaseKey()` when `IDSS_RELEASE_SEED` is unset) to a **local `--out` tree** a drive host can serve over HTTP; artifacts are `control-plane` binary + `control-panel` tarball + `agent` (`internal/update/land.go` role consts). - Founding-from-A override exists: `app/helper/cmd/helper/wiring_prod.go:738` reads `IDSS_RELEASE_FEED_URL`/`IDSS_RELEASE_PUBLIC_KEY` → `founding.WithReleaseChannel` (same env the gateway control-plane reads back at `internal/clan/vmguest.go`). - Re-tune to the real rail exists: `set-release-channel <node> <feedURL> <publicKey>` (`control-plane/cmd/control-plane/set_release_channel.go`, #1569). - The rollout/land/resume/rollback/quarantine lane is fully built: scheduler `updates_scheduler.go` (5-min ticker), `productionReleaseSource` (wires only when BOTH feed+key env are set), `land.go` (digest boundary), `resume.go` (#1567 self-swap resume), `rollback.go` (#1576 restore, `maxAttempts=2` → quarantine; `recordRefusal` puts a land refusal on the same budget → DDR 0250). - The UI screens for the screenshots exist with stable `data-field`s: **U1** `UpdatesScreen.vue` (`data-field="channel-refused"`), **U3** `RollingOutScreen.vue` (land row `data-field="stage-land"`), **U4** `AppliedScreen.vue`, **U4x** `RolledBackScreen.vue`, **U3x** `RefusedScreen.vue` (`data-field="refusal"/"refused-artifact"/"refused-check"`). - Adding a drive target is mechanical: whitelist at `scripts/smoke-private-path.sh:99` (+`:146` if remote), a `journey.updates.spec.ts`, and a `scripts/tests/rehearsal-updates-target-test.sh` (auto-picked by the `seam-smoke.sh` `scripts/tests/*.sh` glob). **But the drive itself is genuinely greenfield and un-runnable / un-provable from here:** 1. **No drive has EVER wired a live feed or exercised a real control-plane binary self-swap.** The entire rollout lane is proven only by unit/seam tests with `FakeFleet`/`FakeReleaseSource`. The smoke script never exports `IDSS_RELEASE_FEED_URL`, never serves a local feed, and never stands up a gateway whose `productionReleaseSource` is armed — so on every current drive the scheduler just stamps last-checked and never lands. This drive would be the **first** end-to-end exercise of the self-swap, and the plumbing to make that happen (serve the drive-local `release-cut` tree, export the feed pair into founding, provision a throwaway gateway with the timer armed) **does not exist and must be built.** 2. **Its acceptance is live + human.** "Legs 2–6 green by LEG LIST on a live throwaway gateway, zero skips" needs a live executor drive; "each leg's screenshot … Ben eyeballs them (a green leg list alone does not count)" is an explicit human gate. Neither is reachable from a headless one-shot session — and the ticket itself says *"do not run it from a one-shot session."* 3. **Committing blind scaffolding now would be hollow, not a safe green slice.** The offline "green" bar is only the target-test (routing + `journey.updates.spec.ts` on disk). Authoring hundreds of lines of live-only leg `run()` + new smoke-script feed plumbing that no live gateway has verified, and calling it "offline-green," risks a target that *looks* armed but whose plumbing is unverified guesswork — which, when the executor picks it up, burns a **paid live drive** (non-routine spend). That is the opposite of a two-way door. ## Why human 1. **Spend + host one-way door (ADR 0174).** The throwaway gateway must run somewhere. **matou-dev-server-01 cannot** — it is prod Matou infra pinned under the local-guest 6144 MiB memory floor; standing a guest risks OOM to member services (one-way door), and its rehearsal target is `idip`/#1547, not updates. The two ways to run an updates drive both need Ben's ruling: a **throwaway DigitalOcean droplet** (non-routine spend), or a **local-guest KVM on `elitebook-03`** (the #89 affinity host for local-guest drives). Picking the host and authorising the spend is Ben's. 2. **Ben eyeballs the screenshots** (U1, U3+land row, U4, U4x, U3x, refused-list row) against `docs/ux/wireframes/p4b-updates/` — the acceptance says a green leg list alone does not count. 3. **This gates Ben's HELD decision** (`pin-testing-1582-held`): founding's `testing` pin stays held until a rehearsal gateway takes an update. Ben owns that gate and the after-this-is-green sequence (#1569 on Whakatōhea Demo, the production key, the first `stable` promote — #1562). ### Proposed decomposition (so this can be swarmed once Ben rules host+spend) - **Slice 1 — drive plumbing (`smoke-private-path.sh` + lib):** a new `--target updates` (droplet or elitebook-03 local-guest per Ben) that (a) `release-cut`s revision A to a drive-local `--out` tree under the TEST key, (b) serves it over HTTP from the drive host, (c) exports the feed pair into founding so the gateway founds tuned to the drive-local feed with the scheduler armed. Live-only-verifiable — the swarm proves it on the chosen host. - **Slice 2 — `journey.updates.spec.ts` leg list:** applied (cut B, open window via U5, self-swap + `resume` #1567, U4 + verbatim notes), rolled-back (cut C fails health → U4x, previous binary+panel back #1576, 2nd failure quarantines), refused (digest tamper + feed-sig tamper → U3x / standing U1 row, two-tries-then-quarantine, no 5-min re-download #1577), replay (re-serve A after B → refused #1579), then the real-rail leg (`set-release-channel` → `get.idss.nz/channel/testing.json` + `FEoWsURiW4Xu6IS/uxAbt28AUH6ioUg2tag/ORtMpoI=`, take newest). Screenshots via the per-leg `setLegCapturer` hook. - **Slice 3 — offline target-test** `scripts/tests/rehearsal-updates-target-test.sh` (auto-picked by the seam-smoke glob). - **Live run + Ben's eyeball** = the closing acceptance. ### Ticket state Relabelled **`ready-for-human`** (removed `ready-for-session`). This is an honest routing, not a stalled attempt: the safe slice landed in attempt 1, the machinery is fully mapped above, and what remains is a spend/host one-way door + a multi-slice live-and-human-gated feature. Advances #1614.
Author
Owner

Ben ruled 2026-09-18: Option A — the throwaway gateway is a local KVM guest on elitebook-03 (free and repeatable; the drive takes the exclusive slot; no droplet, no spend). The build is split as the session proposed and chained: #1617 (plumbing) → #1618 (leg list) → #1619 (offline target test + arming this ticket's markers); this ticket is now blocked by #1619. It stays ready-for-human: once #1619 lands, queueing it on elitebook-03 (REHEARSAL_DRIVE_QUEUE) and eyeballing the screenshots are Ben's.

**Ben ruled 2026-09-18: Option A — the throwaway gateway is a local KVM guest on elitebook-03** (free and repeatable; the drive takes the exclusive slot; no droplet, no spend). The build is split as the session proposed and chained: #1617 (plumbing) → #1618 (leg list) → #1619 (offline target test + arming this ticket's markers); this ticket is now blocked by #1619. It stays `ready-for-human`: once #1619 lands, queueing it on elitebook-03 (`REHEARSAL_DRIVE_QUEUE`) and eyeballing the screenshots are Ben's.

Armed for the executor rail (#1619, slice 3 of 3). The two drive-body markers are now on this issue (rehearsal-target: local-updates, rehearsal-confirm: 1), the exact form the other queued drives use (#1277). The whole offline tail is green:

  • scripts/lib/rehearsal-updates-feed-lib.sh — the drive-host feed (slice 1, #1617), plus the throwaway-only guard (updates_feed_assert_throwaway): the drive signs release A with the committed TEST key and now refuses to found against any feed pair that is not its own TEST-key feed (a kept community's IDSS_RELEASE_PUBLIC_KEY/…_FEED_URL leaking in from the host env), before anything is cut or served.
  • app/tests/e2e/journey.updates.spec.ts — the ordered leg list (slice 2, #1618): the documented seven Updates legs after the shared founding prefix.
  • scripts/tests/rehearsal-local-updates-target-test.sh — the offline target test (part of scripts/seam-smoke.sh): the local-updates route, the spec's seven-leg list, the feed server + publish helper existence + teardown-on-both-exits, and the throwaway-only guard's accept/refuse behaviour. 9 checks green.

Ready to queue on elitebook-03 — the only executor whose local-guest world stands up. This arms alone: REHEARSAL_DRIVE_QUEUE=<this> (exclusive slot). Setting the host env is a human step (not touched here). On the live run, legs 2–6 must go green by leg list with zero skips, and the per-leg screenshots (U1/U3/U4/U4x/U3x/refused-list) are for Ben's eyeball against docs/ux/wireframes/p4b-updates/. Founding's pin stays HELD (pin-testing-1582-held) until this drive is green.

**Armed for the executor rail (#1619, slice 3 of 3).** The two drive-body markers are now on this issue (`rehearsal-target: local-updates`, `rehearsal-confirm: 1`), the exact form the other queued drives use (#1277). The whole offline tail is green: - `scripts/lib/rehearsal-updates-feed-lib.sh` — the drive-host feed (slice 1, #1617), plus the **throwaway-only guard** (`updates_feed_assert_throwaway`): the drive signs release A with the committed TEST key and now **refuses to found** against any feed pair that is not its own TEST-key feed (a kept community's `IDSS_RELEASE_PUBLIC_KEY`/`…_FEED_URL` leaking in from the host env), before anything is cut or served. - `app/tests/e2e/journey.updates.spec.ts` — the ordered leg list (slice 2, #1618): the documented seven Updates legs after the shared founding prefix. - `scripts/tests/rehearsal-local-updates-target-test.sh` — the offline target test (part of `scripts/seam-smoke.sh`): the `local-updates` route, the spec's seven-leg list, the feed server + publish helper existence + teardown-on-both-exits, and the throwaway-only guard's accept/refuse behaviour. 9 checks green. **Ready to queue on elitebook-03** — the only executor whose local-guest world stands up. This arms alone: `REHEARSAL_DRIVE_QUEUE=<this>` (exclusive slot). Setting the host env is a human step (not touched here). On the live run, legs 2–6 must go green by leg list with zero skips, and the per-leg screenshots (U1/U3/U4/U4x/U3x/refused-list) are for Ben's eyeball against `docs/ux/wireframes/p4b-updates/`. Founding's pin stays HELD (`pin-testing-1582-held`) until this drive is green.

rehearsal healer: drive 20260919T131607Z red at updates-open (sig 7e8181a118ff) fast-lane self-fixed — commit 6bfde10961d8ddd96d65f338cf7b299e4be02df9 filed and closed #1628 through the close-report gate; checks: pnpm --filter dashboard exec vitest run tests/unit/dashboardComposition.test.ts — RED first with AssertionError: expected 'fleet' to be 'settings' (the leg's own snapshot, exactly), GREEN after: 30 passed (30). Package tests pnpm --filter dashboard exec vitest run — 136 files, 1741 passed | 3 skipped (1744), including the previously-green mountProvisioningUpdates.test.ts, settings.test.ts and navigatorDialog.test.ts.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260919T131607Z` red at `updates-open` (sig 7e8181a118ff) fast-lane self-fixed — commit `6bfde10961d8ddd96d65f338cf7b299e4be02df9` filed and closed #1628 through the close-report gate; checks: `pnpm --filter dashboard exec vitest run tests/unit/dashboardComposition.test.ts` — RED first with `AssertionError: expected 'fleet' to be 'settings'` (the leg's own snapshot, exactly), GREEN after: 30 passed (30). Package tests `pnpm --filter dashboard exec vitest run` — 136 files, 1741 passed | 3 skipped (1744), including the previously-green `mountProvisioningUpdates.test.ts`, `settings.test.ts` and `navigatorDialog.test.ts`.. The drive stays armed; the next tick re-drives.
Author
Owner

Run 2 (20260919T135211Z) — diagnosis from the trace, for whoever heals it (session watching for Ben; NOT fixing this one, to avoid a second double-landing with the healer).

The leg got PAST the drill-in (the updates-open fix holds) and the Updates surface then hit its display-fault frame. From trace.zip:

  • console: [dashboard] surface display fault TypeError: Cannot read properties of null (reading 'length')
  • the live read GET /api/v1/updates → 200 {"resting":false,"channel":"testing","last_checked":…,"pending":null,"automatic":[ … release A … ], …}

"pending": null — internal/update/surface.go declares Pending/Automatic/Quarantined as plain slices, so a nil slice marshals as JSON null; UpdatesScreen.vue reads surface.pending.length (l.44), .automatic.length (l.76), .quarantined.length (l.118). Every seam fake hands back [], so no unit test saw it. On a real gateway the Updates surface crashes whenever any of the three lists is empty — i.e. almost always. Fix at the source (never marshal a nil list: []), and the OpenAPI/TS type says array so the panel is right to trust it.

Second thing in the same response, not a red yet: the gateway lists release A — the release it was FOUNDED with — under automatic, as an update waiting to apply. composeWhole seeds update.Current{} (empty), so a fresh gateway does not know its own revision and treats its own founding release as new. The drive will probably not trip on it (B supersedes A), but in production every newly founded community pinned to a feed would show an update pending and run a full self-swap rollout onto the bits it already runs, the first night. Worth its own ticket before the pin goes live.

GET /api/v1/updates/rollout → 404 no_rollout is expected at rest.

**Run 2 (`20260919T135211Z`) — diagnosis from the trace, for whoever heals it (session watching for Ben; NOT fixing this one, to avoid a second double-landing with the healer).** The leg got PAST the drill-in (the `updates-open` fix holds) and the Updates surface then hit its display-fault frame. From `trace.zip`: - console: `[dashboard] surface display fault TypeError: Cannot read properties of null (reading 'length')` - the live read `GET /api/v1/updates` → 200 `{"resting":false,"channel":"testing","last_checked":…,"pending":null,"automatic":[ … release A … ], …}` **`"pending": null`** — `internal/update/surface.go` declares `Pending`/`Automatic`/`Quarantined` as plain slices, so a nil slice marshals as JSON `null`; `UpdatesScreen.vue` reads `surface.pending.length` (l.44), `.automatic.length` (l.76), `.quarantined.length` (l.118). Every seam fake hands back `[]`, so no unit test saw it. On a real gateway the Updates surface crashes whenever any of the three lists is empty — i.e. almost always. Fix at the source (never marshal a nil list: `[]`), and the OpenAPI/TS type says array so the panel is right to trust it. **Second thing in the same response, not a red yet:** the gateway lists release **A — the release it was FOUNDED with — under `automatic`**, as an update waiting to apply. `composeWhole` seeds `update.Current{}` (empty), so a fresh gateway does not know its own revision and treats its own founding release as new. The drive will probably not trip on it (B supersedes A), but in production every newly founded community pinned to a feed would show an update pending and run a full self-swap rollout onto the bits it already runs, the first night. Worth its own ticket before the pin goes live. `GET /api/v1/updates/rollout` → 404 `no_rollout` is expected at rest.

rehearsal healer: drive 20260919T135211Z red at updates-open (sig 7e8181a118ff) fast-lane self-fixed — commit 1035817588cc14a53e9ad6245dc69fafb80ef5d4 filed and closed #1630 through the close-report gate; checks: Targeted: go test ./internal/update -run 'TestState_EmptySectionsMarshalAsListsNotNull|TestState_PopulatedSectionLeavesTheOthersAsLists' — RED first (surface_test.go:34: "pending" must marshal as an empty list, got null), GREEN after (ok git.matou.nz/Matou/idss/internal/update 0.005s). Package: go test ./internal/update/... — ok. Consumer package: go test ./internal/controlapi/... — ok (1.039s). gofmt -l internal/update/ clean, go vet ./internal/update/ clean.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260919T135211Z` red at `updates-open` (sig 7e8181a118ff) fast-lane self-fixed — commit `1035817588cc14a53e9ad6245dc69fafb80ef5d4` filed and closed #1630 through the close-report gate; checks: Targeted: `go test ./internal/update -run 'TestState_EmptySectionsMarshalAsListsNotNull|TestState_PopulatedSectionLeavesTheOthersAsLists'` — RED first (`surface_test.go:34: "pending" must marshal as an empty list, got null`), GREEN after (`ok git.matou.nz/Matou/idss/internal/update 0.005s`). Package: `go test ./internal/update/...` — ok. Consumer package: `go test ./internal/controlapi/...` — ok (1.039s). `gofmt -l internal/update/` clean, `go vet ./internal/update/` clean.. The drive stays armed; the next tick re-drives.
Author
Owner

Run 3 (20260919T141551Z) — red at updates-open, and this one is #1631, not a new defect. Both earlier fixes hold: the drill-in opens and U1 renders. The leg then reads U1 and reports: waiting on the fleet revision on U1 — the Updates surface showed instead: U1 active, fleet on (revision unread). The gateway has no revision to show because composeWhole seeds update.Current{} — the same root as run 2's second finding (its own founding release A listed under automatic). That is ticketed as #1631 (seed the gateway's release identity — revision + signed sequence — from the founding payload; never offer a release that is not newer). It is a carrier decision across founding → sidecar → composition, not a fast-lane patch, so I have made this drive natively blocked by #1631 and given #1631 priority: the executor idles instead of burning a 13-minute founding per tick on a red that cannot change until #1631 lands. Do not loosen the leg's gate to get past it — a gateway that does not know what it is running is exactly what the pin must not ship with.

**Run 3 (`20260919T141551Z`) — red at `updates-open`, and this one is #1631, not a new defect.** Both earlier fixes hold: the drill-in opens and U1 renders. The leg then reads U1 and reports: *waiting on the fleet revision on U1 — the Updates surface showed instead: U1 active, fleet on (revision unread)*. The gateway has no revision to show because `composeWhole` seeds `update.Current{}` — the same root as run 2's second finding (its own founding release A listed under `automatic`). That is ticketed as **#1631** (seed the gateway's release identity — revision + signed sequence — from the founding payload; never offer a release that is not newer). It is a carrier decision across founding → sidecar → composition, not a fast-lane patch, so I have made **this drive natively blocked by #1631** and given #1631 `priority`: the executor idles instead of burning a 13-minute founding per tick on a red that cannot change until #1631 lands. Do not loosen the leg's gate to get past it — a gateway that does not know what it is running is exactly what the pin must not ship with.

drive 20260919T141551Z RED — now blocked by: #1633 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260919T141551Z` RED — now blocked by: #1633 (evidence on each). The drive re-fires when the last blocker closes.

rehearsal healer: drive 20260919T152807Z red at updates-open (sig 7e8181a118ff) self-fixed — commit a86ff344412f70fac88dd34f6c582e779a2885fd (2 files changed, 121 insertions(+), 4 deletions(-)); checks: pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts — RED first with the fix stashed (AssertionError: expected '' to be 'testing' on the U1x resting case), GREEN after: 4 passed (4). Wider offline suite pnpm --filter app exec vitest run tests/e2e/fixtures/ — 32 files, 537 passed (537). pnpm --filter app exec vue-tsc -p tsconfig.json — clean; eslint on both touched files — clean. Screen confirmed from the drive's own trace.zip DOM snapshot: data-field="up-to-date" … All 1 nodes are running <code>133b7440…</code> on the <b>testing</b> channel, with no header-meta in the DOM.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260919T152807Z` red at `updates-open` (sig 7e8181a118ff) self-fixed — commit `a86ff344412f70fac88dd34f6c582e779a2885fd` (2 files changed, 121 insertions(+), 4 deletions(-)); checks: pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts — RED first with the fix stashed (`AssertionError: expected '' to be 'testing'` on the U1x resting case), GREEN after: 4 passed (4). Wider offline suite pnpm --filter app exec vitest run tests/e2e/fixtures/ — 32 files, 537 passed (537). pnpm --filter app exec vue-tsc -p tsconfig.json — clean; eslint on both touched files — clean. Screen confirmed from the drive's own trace.zip DOM snapshot: `data-field="up-to-date" … All 1 nodes are running <code>133b7440…</code> on the <b>testing</b> channel`, with no header-meta in the DOM.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260919T155510Z red at updates-open (sig 7e8181a118ff) self-fixed — commit 49094cbe80d976e821c1e7f4487a75c93c73778c (3 files changed, 131 insertions(+), 5 deletions(-)); checks: Targeted: pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts — RED first with the two source files stashed (AssertionError: expected [ 'console.error: Loading the font …' , … ] to deeply equal [], and expected [ 'console.error: noise from nowhere' ] to deeply equal []): 2 failed | 6 passed (8). GREEN after: 8 passed (8), the new cases driving the drive's verbatim kanidm messages. Wider offline suite pnpm --filter app exec vitest run tests/e2e/fixtures/ — 32 files, 541 passed (541). pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit — clean. pnpm exec eslint on all three touched files — clean.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260919T155510Z` red at `updates-open` (sig 7e8181a118ff) self-fixed — commit `49094cbe80d976e821c1e7f4487a75c93c73778c` (3 files changed, 131 insertions(+), 5 deletions(-)); checks: Targeted: `pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts` — RED first with the two source files stashed (`AssertionError: expected [ 'console.error: Loading the font …' , … ] to deeply equal []`, and `expected [ 'console.error: noise from nowhere' ] to deeply equal []`): 2 failed | 6 passed (8). GREEN after: 8 passed (8), the new cases driving the drive's verbatim kanidm messages. Wider offline suite `pnpm --filter app exec vitest run tests/e2e/fixtures/` — 32 files, 541 passed (541). `pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit` — clean. `pnpm exec eslint` on all three touched files — clean.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260919T161534Z red at applied (sig b2c402d43d70) self-fixed — commit 39f718cc37000293d18287333ca9cb82ba432474 (3 files changed, 221 insertions(+), 19 deletions(-)); checks: Targeted: pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts — RED first with the two source files stashed (TypeError: probeApexStatus is not a function, assertServedPanelHasString reaching the fake page's throwing request getter): 6 failed | 8 passed (14). GREEN after: 14 passed (14). Wider offline suite pnpm --filter app exec vitest run tests/e2e/fixtures/ — 32 files, 547 passed (547). pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit — clean. pnpm exec eslint on all three touched files — clean. No door-leg re-prove: this is not a roles-proof door leg and the box is gone.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260919T161534Z` red at `applied` (sig b2c402d43d70) self-fixed — commit `39f718cc37000293d18287333ca9cb82ba432474` (3 files changed, 221 insertions(+), 19 deletions(-)); checks: Targeted: `pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts` — RED first with the two source files stashed (`TypeError: probeApexStatus is not a function`, `assertServedPanelHasString` reaching the fake page's throwing `request` getter): 6 failed | 8 passed (14). GREEN after: 14 passed (14). Wider offline suite `pnpm --filter app exec vitest run tests/e2e/fixtures/` — 32 files, 547 passed (547). `pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit` — clean. `pnpm exec eslint` on all three touched files — clean. No door-leg re-prove: this is not a roles-proof door leg and the box is gone.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive 20260919T165607Z red at applied (sig b2c402d43d70) self-fixed — commit 59359ba8229265732b4590ce018ade99f5bf5e6c (2 files changed, 121 insertions(+), 2 deletions(-)); checks: Targeted: pnpm --filter app exec vitest run tests/e2e/fixtures/updatesFeed.test.ts — RED first against the unfixed patcher, reproducing the drive verbatim (expected 'i("label",…' to contain 'The fleet is running · B' / Received "The fleet is running � B", and the every-occurrence count +0 vs 2): 2 failed | 2 passed (4). GREEN after: 4 passed (4). Real-bundle check against the drive's own founded payload (/home/swarm/swarm/rehearsal-payload/dashboard, throwaway spec, deleted after): the patched assets/index-DVoP64yT.js now reads back "The fleet is running · B" — exactly the string the applied leg seeks. Wider offline suite pnpm --filter app exec vitest run tests/e2e/fixtures/ — 33 files, 551 passed (551). pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit — clean. pnpm exec eslint on both touched files — clean. No door-leg re-prove: this is not a roles-proof door leg and no artifacts/live-box.json was handed over.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260919T165607Z` red at `applied` (sig b2c402d43d70) self-fixed — commit `59359ba8229265732b4590ce018ade99f5bf5e6c` (2 files changed, 121 insertions(+), 2 deletions(-)); checks: Targeted: `pnpm --filter app exec vitest run tests/e2e/fixtures/updatesFeed.test.ts` — RED first against the unfixed patcher, reproducing the drive verbatim (`expected 'i("label",…' to contain 'The fleet is running · B'` / Received `"The fleet is running � B"`, and the every-occurrence count `+0` vs `2`): 2 failed | 2 passed (4). GREEN after: 4 passed (4). Real-bundle check against the drive's own founded payload (`/home/swarm/swarm/rehearsal-payload/dashboard`, throwaway spec, deleted after): the patched `assets/index-DVoP64yT.js` now reads back `"The fleet is running · B"` — exactly the string the applied leg seeks. Wider offline suite `pnpm --filter app exec vitest run tests/e2e/fixtures/` — 33 files, 551 passed (551). `pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit` — clean. `pnpm exec eslint` on both touched files — clean. No door-leg re-prove: this is not a roles-proof door leg and no artifacts/live-box.json was handed over.. The drive stays armed; the next tick re-drives.

drive 20260919T173243Z RED — now blocked by: #1636 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260919T173243Z` RED — now blocked by: #1636 (evidence on each). The drive re-fires when the last blocker closes.

preflight PARK (host-local refusal, exit 3) on elitebook-distributed-server-03 — no drive ran, nothing was filed, and #1614 is blocked on nothing:

the payload's dashboard dist is OLDER than the newest dashboard/ commit — the drive would test stale bits (the phase-2 arc's drive 4). Refresh it: scripts/assemble-payload.sh (or rebuild dashboard/ and refresh the payload's dashboard/)

This does not heal itself: a preflight park creates no run dir, so neither the healer nor the reporter ever sees it (#918). The executor backs off for ~30 min (#1035) and then retries; until a session or a human clears the refusal the lane reads "blocked by nothing" while nothing drives. Executor log on elitebook-distributed-server-03.

preflight PARK (host-local refusal, exit 3) on elitebook-distributed-server-03 — no drive ran, nothing was filed, and #1614 is blocked on nothing: `the payload's dashboard dist is OLDER than the newest dashboard/ commit — the drive would test stale bits (the phase-2 arc's drive 4). Refresh it: scripts/assemble-payload.sh (or rebuild dashboard/ and refresh the payload's dashboard/)` This does not heal itself: a preflight park creates no run dir, so neither the healer nor the reporter ever sees it (#918). The executor backs off for ~30 min (#1035) and then retries; until a session or a human clears the refusal the lane reads "blocked by nothing" while nothing drives. Executor log on elitebook-distributed-server-03.
Author
Owner

Diagnosis for run 20260920T001206Z (from the #1562 lane session) — harness, one line; applied PASSED.

The good news first: ADR 0259 / #1636 is proven live. The guest journal shows Started idss-control-plane.service at 00:33:39 and, from the new PID, update resumed across a control-plane restart and converged revision=updates-b at 00:33:52. The gateway restarted its own control plane and the new process finished the rollout — the --no-block escape clears #858.

The red is at the start of rolled-back, before anything touches the box: fixtures/updatesFeed.ts:230 brokenControlPlane() runs go build in <run>/state/updates-work/C/control-plane.src. It writes its own go.mod, but the run dir is INSIDE the repo checkout and the repo root has a go.work — workspace mode ignores the nested module, so go answers main module (git.matou.nz/Matou/idss) does not contain package …/control-plane.src.

Fix (reproduced on the laptop, same error, same cure): add GOWORK: "off" to that execFileSync env (beside CGO_ENABLED/GOOS/GOARCH). Nothing else. An offline fixture test that calls brokenControlPlane() into a dir under the repo root would have caught it.

**Diagnosis for run `20260920T001206Z` (from the #1562 lane session) — harness, one line; `applied` PASSED.** **The good news first:** ADR 0259 / #1636 is proven live. The guest journal shows `Started idss-control-plane.service` at 00:33:39 and, from the new PID, `update resumed across a control-plane restart and converged revision=updates-b` at 00:33:52. The gateway restarted its own control plane and the new process finished the rollout — the `--no-block` escape clears #858. **The red** is at the start of `rolled-back`, before anything touches the box: `fixtures/updatesFeed.ts:230` `brokenControlPlane()` runs `go build` in `<run>/state/updates-work/C/control-plane.src`. It writes its own `go.mod`, but the run dir is INSIDE the repo checkout and the repo root has a **`go.work`** — workspace mode ignores the nested module, so go answers `main module (git.matou.nz/Matou/idss) does not contain package …/control-plane.src`. **Fix (reproduced on the laptop, same error, same cure):** add `GOWORK: "off"` to that `execFileSync` env (beside `CGO_ENABLED`/`GOOS`/`GOARCH`). Nothing else. An offline fixture test that calls `brokenControlPlane()` into a dir under the repo root would have caught it.

rehearsal healer: drive 20260920T001206Z red at rolled-back (sig d4b0dc7b8ac9) self-fixed — commit d57c82892cc1f906ad8fcb12940caf84bd5826de (3 files changed, 79 insertions(+), 2 deletions(-)); checks: Targeted: pnpm --filter app exec vitest run tests/e2e/fixtures/updatesFeed.test.ts — RED first against the unfixed fixture, reproducing the drive's message verbatim (main module (example.test/checkout) does not contain package example.test/checkout/test-results/state/updates-work/C/control-plane.src): 2 failed | 4 passed (6). GREEN after: 6 passed (6), the new cases building under a go.work root and proving the artifact is an ELF that exits 1. Wider offline suite pnpm --filter app exec vitest run tests/e2e/fixtures/ — 33 files, 553 passed (553). pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit — clean. pnpm exec eslint on both touched TS files — clean. Root cause independently reproduced on the host before any edit: a scratch module under the checkout red with the drive's exact string, and the same build with GOWORK=off succeeded. No door-leg re-prove: this is not a roles-proof door leg and no artifacts/live-box.json was handed over (the guest is torn down; logs/guest-failed-units.log recorded 0 failed units).. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260920T001206Z` red at `rolled-back` (sig d4b0dc7b8ac9) self-fixed — commit `d57c82892cc1f906ad8fcb12940caf84bd5826de` (3 files changed, 79 insertions(+), 2 deletions(-)); checks: Targeted: `pnpm --filter app exec vitest run tests/e2e/fixtures/updatesFeed.test.ts` — RED first against the unfixed fixture, reproducing the drive's message verbatim (`main module (example.test/checkout) does not contain package example.test/checkout/test-results/state/updates-work/C/control-plane.src`): 2 failed | 4 passed (6). GREEN after: 6 passed (6), the new cases building under a `go.work` root and proving the artifact is an ELF that exits 1. Wider offline suite `pnpm --filter app exec vitest run tests/e2e/fixtures/` — 33 files, 553 passed (553). `pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit` — clean. `pnpm exec eslint` on both touched TS files — clean. Root cause independently reproduced on the host before any edit: a scratch module under the checkout red with the drive's exact string, and the same build with `GOWORK=off` succeeded. No door-leg re-prove: this is not a roles-proof door leg and no `artifacts/live-box.json` was handed over (the guest is torn down; `logs/guest-failed-units.log` recorded 0 failed units).. The drive stays armed; the next tick re-drives.

drive 20260920T011806Z RED — now blocked by: #1646 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260920T011806Z` RED — now blocked by: #1646 (evidence on each). The drive re-fires when the last blocker closes.
Author
Owner

Diagnosis for run 20260920T011806Z (from the #1562 lane session) — PRODUCT, not harness. applied passed again (second live proof of ADR 0259); red at the top of rolled-back.

The leg waited its whole budget for the U5 policy door and the surface showed U4 applied throughout. That is not slowness — U4 is a dead end, forever:

  • UpdatesSurface.vue renders AppliedScreen whenever rollout && rollout.applied, ahead of the U1x/U1 branches. The refused and rolled-back branches carry && !returnedToUpdates and a @return-to-updates exit; the applied branch has neither, and AppliedScreen.vue offers only open-logs.
  • The backend never clears it: Orchestrator.RolloutState() serves store.lastRollout, retainRollout only ever overwrites it, and since #1633 it is durable — so it survives the ADR 0259 restart too. The harness comment in updatesDrive.ts ("a retained rollout screen has none, so poll until it clears") assumes a clearing that does not exist.

Operator consequence: after a community takes its FIRST successful update, the Updates surface is U4 on every visit. They can never reach U1 again — not the policy door (U5), not the next pending release`s review (U2), not the history drill-in — until some later rollout overwrites the retained view with a non-applied one. On a kept community that is "after the first night".

Suggested shape (two-way door; the pattern already exists two branches up): give U4 the same return-to-updates exit U4x/U3x have ("Back to updates"), guarded by !returnedToUpdates in the surface — plus one rule worth adding: a retained applied view should not outrank a NEW pending/queued release (U1 with something to review matters more than last nights success). The flow (p4b-updates.mermaid) gives U4 only the hand-off edge to P5; it needs a U4 → U1edge and the wireframep4b-u4-applied.html` the button. Do NOT fix this in the harness by reloading or clearing state — the leg found a real trap.

**Diagnosis for run `20260920T011806Z` (from the #1562 lane session) — PRODUCT, not harness. `applied` passed again (second live proof of ADR 0259); red at the top of `rolled-back`.** The leg waited its whole budget for the U5 policy door and the surface showed U4 `applied` throughout. That is not slowness — **U4 is a dead end, forever**: - `UpdatesSurface.vue` renders `AppliedScreen` whenever `rollout && rollout.applied`, ahead of the U1x/U1 branches. The refused and rolled-back branches carry `&& !returnedToUpdates` and a `@return-to-updates` exit; **the applied branch has neither**, and `AppliedScreen.vue` offers only `open-logs`. - The backend never clears it: `Orchestrator.RolloutState()` serves `store.lastRollout`, `retainRollout` only ever overwrites it, and since #1633 it is durable — so it survives the ADR 0259 restart too. The harness comment in `updatesDrive.ts` ("a retained rollout screen has none, so poll until it clears") assumes a clearing that does not exist. **Operator consequence:** after a community takes its FIRST successful update, the Updates surface is U4 on every visit. They can never reach U1 again — not the policy door (U5), not the next pending release`s review (U2), not the history drill-in — until some later rollout overwrites the retained view with a non-applied one. On a kept community that is "after the first night". **Suggested shape (two-way door; the pattern already exists two branches up):** give U4 the same `return-to-updates` exit U4x/U3x have ("Back to updates"), guarded by `!returnedToUpdates` in the surface — plus one rule worth adding: a retained *applied* view should not outrank a NEW pending/queued release (U1 with something to review matters more than last night`s success). The flow (`p4b-updates.mermaid`) gives U4 only the hand-off edge to P5; it needs a `U4 → U1` edge and the wireframe `p4b-u4-applied.html` the button. Do NOT fix this in the harness by reloading or clearing state — the leg found a real trap.

eval gate RED (key 2f0302ab93f00c52) — 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/2f0302ab93f00c52.log on elitebook-distributed-server-03); the gate re-proves automatically once internal/clan or internal/provision moves.

eval gate RED (key 2f0302ab93f00c52) — 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/2f0302ab93f00c52.log on elitebook-distributed-server-03); the gate re-proves automatically once internal/clan or internal/provision moves.
Author
Owner

Eval-gate red cleared from the #1562 lane session — 996e047e. It was not a config that fails to evaluate: every eval passed, and only the committed drvPath baseline drifted (seed-community/fleetgw), because #1639 (da89695e) wired the restore guard into the VM gateways control-plane unit and landed without the baseline (a swarm worker cannot run the nix smoke). Reviewed as the intended change — it is the only internal/clan` commit since the last green gate and the only machine that moved — and regenerated; the laptop and elitebook-03 computed the same value. The gate re-keys on this commit, so the next cycle should drive. Worth a factory follow-up: a render-touching worker commit should flag "baseline needs regenerating" in its close-report rather than let the drive discover it.

Eval-gate red cleared from the #1562 lane session — `996e047e`. It was not a config that fails to evaluate: every eval passed, and only the committed drvPath baseline drifted (`seed-community/fleetgw`), because #1639 (`da89695e`) wired the restore guard into the VM gateway`s control-plane unit and landed without the baseline (a swarm worker cannot run the nix smoke). Reviewed as the intended change — it is the only `internal/clan` commit since the last green gate and the only machine that moved — and regenerated; the laptop and elitebook-03 computed the same value. The gate re-keys on this commit, so the next cycle should drive. Worth a factory follow-up: a render-touching worker commit should flag "baseline needs regenerating" in its close-report rather than let the drive discover it.
Author
Owner

Diagnosis for run 20260920T034948Z at 996e047e (from the #1562 lane session) — two live proofs, one leg-premise problem, one product bug.

Proven live this run

  • DDR 0261 (#1646): the leg got off U4, closed and re-opened the window through the U5 door, and reached U4x (u4x-rolled-back screenshot taken).
  • #1639 restore guard: 04:32:07 idss-control-plane-restore-guard: the swapped control plane failed to boot 3 times for updates-c — restoring the previous fleet software, then the restored process logged a swapped control plane failed to BOOT … attempt=1. First live rollback of a cant-boot binary. (applied` also passed a third time.)

**Why it red — the legs premise does not hold on this fleet.** journey.updates.spec.ts:~307-330 polls the apex every 15 s and reds on ANY 5xx, on the comment "a health check fails on the canary, never the gateway". But the throwaway community is ONE node: the gateway is the whole fleet, and release C breaks the *control plane itself* (os.Exit(1)). Under ADR 0247 the apex IS the control panel, proxied to :8080, so while C crash-loops (3 boots × RestartSec=5s≈ 15-20 s until the guard acts) the apex is necessarily 502 — caddy loggeddial tcp 127.0.0.1:8080: connection refused at 04:32:04. A zero-outage assertion can never pass with this C. Options for whoever picks it up: (a) bound it — tolerate an outage no longer than the guards window (say ≤ 60 s, the figure U2 promises the operator), red on anything longer; or (b) split it — C fails a service health check (the #1576 on-disk rollback, community stays up, assert zero outage), and a separate C′ is the can`t-boot case asserting guard-restores-within-N-seconds. (b) proves more; (a) is the one-line unblock.

Product bug (against ADR 0067 as written, no new ruling needed): the retry is IMMEDIATE, not "at the next maintenance window". Journal: attempt 1 counted at 04:32:07.970; fleetland: landed C again at 04:32:08.880; gateway self-swap: restarting at 04:32:18; second crash 04:32:19. The schedulers start-up tick sees the window still open (Window.Contains(now), updates_scheduler.go:201/rollout.go:234) and re-runs the failed release one second after the rollback. On a real community (02:00–04:00) a failure at 02:10 retries at 02:10:01 — two back-to-back outages and a quarantine in under a minute, with no time for a transient cause to clear, which is the whole point of the wait. A failed attempt should hold its retry until the next window *occurrence* (e.g. not before the current windows end). The harvest ends right after the second crash, so this run does not show whether attempt 2 → guard → quarantine completes; the next run should.

**Diagnosis for run `20260920T034948Z` at `996e047e` (from the #1562 lane session) — two live proofs, one leg-premise problem, one product bug.** **Proven live this run** - **DDR 0261 (#1646):** the leg got off U4, closed and re-opened the window through the U5 door, and reached U4x (`u4x-rolled-back` screenshot taken). - **#1639 restore guard:** `04:32:07 idss-control-plane-restore-guard: the swapped control plane failed to boot 3 times for updates-c — restoring the previous fleet software`, then the restored process logged `a swapped control plane failed to BOOT … attempt=1`. First live rollback of a can`t-boot binary. (`applied` also passed a third time.) **Why it red — the leg`s premise does not hold on this fleet.** `journey.updates.spec.ts:~307-330` polls the apex every 15 s and reds on ANY 5xx, on the comment "a health check fails on the canary, never the gateway". But the throwaway community is ONE node: the gateway is the whole fleet, and release C breaks the *control plane itself* (`os.Exit(1)`). Under ADR 0247 the apex IS the control panel, proxied to `:8080`, so while C crash-loops (3 boots × `RestartSec=5s` ≈ 15-20 s until the guard acts) the apex is necessarily 502 — caddy logged `dial tcp 127.0.0.1:8080: connection refused` at 04:32:04. A zero-outage assertion can never pass with this C. Options for whoever picks it up: (a) bound it — tolerate an outage no longer than the guard`s window (say ≤ 60 s, the figure U2 promises the operator), red on anything longer; or (b) split it — C fails a *service* health check (the #1576 on-disk rollback, community stays up, assert zero outage), and a separate C′ is the can`t-boot case asserting guard-restores-within-N-seconds. (b) proves more; (a) is the one-line unblock. **Product bug (against ADR 0067 as written, no new ruling needed):** the retry is IMMEDIATE, not "at the next maintenance window". Journal: attempt 1 counted at `04:32:07.970`; `fleetland: landed` C again at `04:32:08.880`; `gateway self-swap: restarting` at `04:32:18`; second crash `04:32:19`. The scheduler`s start-up tick sees the window still open (`Window.Contains(now)`, `updates_scheduler.go:201` / `rollout.go:234`) and re-runs the failed release one second after the rollback. On a real community (02:00–04:00) a failure at 02:10 retries at 02:10:01 — two back-to-back outages and a quarantine in under a minute, with no time for a transient cause to clear, which is the whole point of the wait. A failed attempt should hold its retry until the next window *occurrence* (e.g. not before the current window`s end). The harvest ends right after the second crash, so this run does not show whether attempt 2 → guard → quarantine completes; the next run should.

drive 20260920T034948Z RED — now blocked by: #1650 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260920T034948Z` RED — now blocked by: #1650 (evidence on each). The drive re-fires when the last blocker closes.
Author
Owner

Run 20260920T050806Z at 9c906f8e (from the #1562 lane session) — two more live proofs, and a harness red in the same leg #1654 is editing.

Proven live: (1) Bens bounded closed-door window — the leg measured ONE outage, apex 502 12.1s, reopened, well inside 60 s. (2) The durable retry throttle (#1650) — after the guard restored B at 05:49:18and the restored process counted attempt 1, there is NO secondfleetland: landed/ self-swap forupdates-c in the journal; last run it re-landed one second later. (applied` green a fourth time; U3/U4/U4x screenshots captured.)

The red: rolled-back → "waiting on the fleet rolled back to updates-b — showed instead: fleet on (unread)". Harness. After the outage check the leg does reloadPanelToUpdates then readFleetRevision (journey.updates.spec.ts:~418-427), which only knows U1/U1x selectors (up-to-date / current / convergence — updatesDrive.ts:134-147). But after a reload the surface rightly lands on U4x again (a retained rolled-back view holds the screen until the operator leaves it — unchanged by DDR 0261), and U4x carries none of those fields. The fleet IS on B: U4x says so itself in its rollback detail (view.rollback.nowOn, composed as <channel> · <revision> — all N nodes converged, rolloutview.go:242/268).

Fix, to fold into #1654 since it is rewriting this exact stretch: read B off U4xs own "now on" detail (give that span a data-field, e.g. now-on, and teach readFleetRevision about it) — and keep the leg ON U4x, because #1654s "retry by hand" button lives there. Only after the quarantine check press "Back to updates" and cross-check U1`s header. Do not reorder it the other way round (return-to-updates first) or the retry-by-hand door is gone.

**Run `20260920T050806Z` at `9c906f8e` (from the #1562 lane session) — two more live proofs, and a harness red in the same leg #1654 is editing.** **Proven live:** (1) Ben`s bounded closed-door window — the leg measured ONE outage, `apex 502 12.1s`, reopened, well inside 60 s. (2) The durable retry throttle (#1650) — after the guard restored B at `05:49:18` and the restored process counted attempt 1, there is NO second `fleetland: landed` / self-swap for `updates-c` in the journal; last run it re-landed one second later. (`applied` green a fourth time; U3/U4/U4x screenshots captured.) **The red:** `rolled-back` → "waiting on the fleet rolled back to updates-b — showed instead: fleet on (unread)". Harness. After the outage check the leg does `reloadPanelToUpdates` then `readFleetRevision` (`journey.updates.spec.ts:~418-427`), which only knows U1/U1x selectors (`up-to-date` / `current` / `convergence` — `updatesDrive.ts:134-147`). But after a reload the surface rightly lands on **U4x** again (a retained rolled-back view holds the screen until the operator leaves it — unchanged by DDR 0261), and U4x carries none of those fields. The fleet IS on B: U4x says so itself in its rollback detail (`view.rollback.nowOn`, composed as `<channel> · <revision> — all N nodes converged`, `rolloutview.go:242/268`). **Fix, to fold into #1654 since it is rewriting this exact stretch:** read B off U4x`s own "now on" detail (give that span a `data-field`, e.g. `now-on`, and teach `readFleetRevision` about it) — and keep the leg ON U4x, because #1654`s "retry by hand" button lives there. Only after the quarantine check press "Back to updates" and cross-check U1`s header. Do not reorder it the other way round (return-to-updates first) or the retry-by-hand door is gone.

drive 20260920T050806Z RED — now blocked by: #1655 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260920T050806Z` RED — now blocked by: #1655 (evidence on each). The drive re-fires when the last blocker closes.
Author
Owner

Diagnosis for run 20260920T070007Z at d7a45ca2 (from the #1562 lane session, read off the Playwright trace) — the PRODUCT quarantined C correctly; the screen never learned of it. One product defect, one harness gap.

The box did everything right. Journal: first attempt rolled back by the guard at 07:42:13 (attempt=1); "Retry now" pressed → C re-landed 07:43:05, self-swap 07:43:15, guard restore 07:43:26, and a swapped control plane failed to BOOT twice — … the release is now quarantined … attempt=2. Retry-by-hand, the second bounded outage, and the ADR 0067 quarantine all worked live.

Product defect — "Retry now" always answers with an error when the release carries a control-plane binary. Trace, network: 07:43:05 POST /api/v1/updates/rollout/updates-c/retry-by-hand → 502. RetryByHand runs the staged rollout SYNCHRONOUSLY inside the HTTP handler (internal/controlapi/updates.go:~154-158), and since ADR 0259 the gateway stage ENDS by restarting the process serving that request — so the POST dies with the restart on every self-swapping release, success or failure alike. RolledBackScreen.onRetry then takes its error branch (if (error.value) return; — no retried emit, no re-read): the operator is told the retry failed on a button that worked, and the screen sits on the stale "attempt 1 of 2 · Retry now" card. The trace shows no further /api/v1/updates* GET for the remaining 18 minutes. Fix shape: the endpoint starts the retry and returns 202 (or the UI treats a dropped connection on this call as "started" and goes to U3 polling); the surface must re-read across the restart the way U3 already does for a windowed rollout. Same audit for end-early and any other synchronous act that can cross a self-swap.

Harness gap (same stretch): after retryByHand the leg calls waitForScreen(…, "rolled-back") — but the STALE attempt-1 U4x is already on screen, so it returns at once (07:43:08, 18 s before the quarantine landed), does its one refreshUpdates, and then waits on a locator with no polling. It should poll-with-refresh until the view is attempt 2 / carries quarantined-note. Also: [data-field="quarantined-<rev>"] exists only on U1 (UpdatesScreen.vue:127); on U4x the quarantine shows as quarantined-note. So the leg must either assert quarantined-note on U4x, or press "Back to updates" and then assert the U1 row — as written it could not pass even with fresh data. (Last pre-quarantine reads, for the record: /updates quarantined=[], /updates/rollout attempt 1.)

Small copy bug seen on the same card: the failure line reads "'s control plane service failed its health check…" — the node name is EMPTY in the boot-failure path (RecordBootFailure composes the result without a failing node), and the wording says "failed its health check" where bootFailedCheck means "did not start".

**Diagnosis for run `20260920T070007Z` at `d7a45ca2` (from the #1562 lane session, read off the Playwright trace) — the PRODUCT quarantined C correctly; the screen never learned of it. One product defect, one harness gap.** **The box did everything right.** Journal: first attempt rolled back by the guard at `07:42:13` (`attempt=1`); "Retry now" pressed → C re-landed `07:43:05`, self-swap `07:43:15`, guard restore `07:43:26`, and `a swapped control plane failed to BOOT twice — … the release is now quarantined … attempt=2`. Retry-by-hand, the second bounded outage, and the ADR 0067 quarantine all worked live. **Product defect — "Retry now" always answers with an error when the release carries a control-plane binary.** Trace, network: `07:43:05 POST /api/v1/updates/rollout/updates-c/retry-by-hand → 502`. `RetryByHand` runs the staged rollout SYNCHRONOUSLY inside the HTTP handler (`internal/controlapi/updates.go:~154-158`), and since ADR 0259 the gateway stage ENDS by restarting the process serving that request — so the POST dies with the restart on every self-swapping release, success or failure alike. `RolledBackScreen.onRetry` then takes its error branch (`if (error.value) return;` — no `retried` emit, no re-read): the operator is told the retry failed on a button that worked, and the screen sits on the stale "attempt 1 of 2 · Retry now" card. The trace shows **no further `/api/v1/updates*` GET for the remaining 18 minutes**. Fix shape: the endpoint starts the retry and returns `202` (or the UI treats a dropped connection on this call as "started" and goes to U3 polling); the surface must re-read across the restart the way U3 already does for a windowed rollout. Same audit for `end-early` and any other synchronous act that can cross a self-swap. **Harness gap (same stretch):** after `retryByHand` the leg calls `waitForScreen(…, "rolled-back")` — but the STALE attempt-1 U4x is already on screen, so it returns at once (`07:43:08`, 18 s before the quarantine landed), does its one `refreshUpdates`, and then waits on a locator with no polling. It should poll-with-refresh until the view is attempt 2 / carries `quarantined-note`. Also: `[data-field="quarantined-<rev>"]` exists only on U1 (`UpdatesScreen.vue:127`); on U4x the quarantine shows as `quarantined-note`. So the leg must either assert `quarantined-note` on U4x, or press "Back to updates" and then assert the U1 row — as written it could not pass even with fresh data. (Last pre-quarantine reads, for the record: `/updates` quarantined=[], `/updates/rollout` attempt 1.) Small copy bug seen on the same card: the failure line reads "`'s control plane service failed its health check…`" — the node name is EMPTY in the boot-failure path (`RecordBootFailure` composes the result without a failing node), and the wording says "failed its health check" where `bootFailedCheck` means "did not start".

rehearsal healer: drive 20260920T070007Z red at rolled-back (sig d4b0dc7b8ac9) self-fixed — commit 1ab409f30fc3d1a5cb009880eab1c9f42af48826 (3 files changed, 158 insertions(+), 4 deletions(-)); checks: Targeted: pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts — RED first with app/tests/e2e/fixtures/updatesDrive.ts stashed (5 failed | 20 passed, 25), GREEN after (25 passed). Wider offline suite pnpm --filter app exec vitest run tests/e2e/fixtures/ — 33 files, 578 passed (578). pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit — clean. pnpm exec eslint on all three touched files — clean. pnpm exec prettier --check on all three — clean. No box query and no door-leg re-prove: no artifacts/live-box.json was handed over (the droplet was torn down) and this is not a roles-proof door leg; the box's own verdict was read from logs/guest-control-plane.log:195 — "a swapped control plane failed to BOOT twice — the previous fleet software was restored out-of-process and the release is now quarantined (ADR 0259 / #1639) revision=updates-c attempt=2".. The session also named a residual fault — it is being filed and will block the drive.

rehearsal healer: drive `20260920T070007Z` red at `rolled-back` (sig d4b0dc7b8ac9) self-fixed — commit `1ab409f30fc3d1a5cb009880eab1c9f42af48826` (3 files changed, 158 insertions(+), 4 deletions(-)); checks: Targeted: `pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts` — RED first with `app/tests/e2e/fixtures/updatesDrive.ts` stashed (5 failed | 20 passed, 25), GREEN after (25 passed). Wider offline suite `pnpm --filter app exec vitest run tests/e2e/fixtures/` — 33 files, 578 passed (578). `pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit` — clean. `pnpm exec eslint` on all three touched files — clean. `pnpm exec prettier --check` on all three — clean. No box query and no door-leg re-prove: no `artifacts/live-box.json` was handed over (the droplet was torn down) and this is not a roles-proof door leg; the box's own verdict was read from `logs/guest-control-plane.log:195` — "a swapped control plane failed to BOOT twice — the previous fleet software was restored out-of-process and the release is now quarantined (ADR 0259 / #1639) revision=updates-c attempt=2".. The session also named a residual fault — it is being filed and will block the drive.

drive 20260920T070007Z RED — now blocked by: #1657 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260920T070007Z` RED — now blocked by: #1657 (evidence on each). The drive re-fires when the last blocker closes.
Author
Owner

Diagnosis for run 20260920T083206Z at 12adef99 (from the #1562 lane session; trace + guest journal) — rolled-back GREEN for the first time; refused-artifact red on a PRODUCT hang, not a harness timing.

New live proofs: rolled-back green in 319 s with TWO measured closed-door windows, apex 502 9.1s each (one per failed attempt, both inside Bens 60 s bound); "Retry now" → second boot failure → guard restore → quarantined (/api/v1/updatesends withquarantined:["updates-c"]). The DDR 0262 policy door worked too: the leg re-opened the window from the standing screen (POST /api/v1/updates/policy → 204` at 09:11:35).

The red. D (control-panel artifact tampered by one appended byte) was picked up correctly — automatic:["updates-d"], rollout started_at 09:15:12.84Z, stages seed: done, land: current — and then never moved again. The panel was served the byte-identical rollout view (6b24c119…) on every 20 s poll from 09:15:18 to the last read at 09:29:46: not refused, not failed, not rolled back. On the box: the control plane logged zero lines between 09:14 and the 09:29 harvest, and guest-resources shows it alive at 0.0 % CPU (pid 6884, started 09:10). A process silently parked in the land stage.

**Most likely cause (not proven from the harvest — the feed servers access log is not in the run dir):** the land stages download has no deadline. internal/update/land.go:107-110 — NewHTTPArtifactFetcher(nil) falls back to http.DefaultClient, which has no timeout, and the rollouts context carries none either, so any stalled body read (here: over the guests slirp hop to 10.0.2.2:8091, right after the file was rewritten under the server) blocks the rollout forever. B and C landed through the same path in seconds on this very run, so it is not a dead route.

Why this matters beyond the drive: a stuck land stage is worse than a failed one. It holds the rollout checkpoint, so — by ADR 0259 rule 4 — every operator deploy is refused with "an update is being applied" for as long as it hangs, and nothing ever counts an attempt, refuses, or quarantines. On a real community a half-open connection to get.idss.nz at 02:10 would wedge the fleet until someone restarts the unit.

Fix shape: (1) give the artifact fetch a real budget — a client with a response-header timeout plus a stall-bounded body read (the same lesson as the pull rails curl --speed-limit/--speed-time, GOTCHAS #255; a flat total timeout sized for metadata will bite a 25 MB binary on a slow line); a fetch that exceeds it is a transport fault → the attempt FAILS loudly and is counted. (2) Log the land stage: one line per artifact (start, bytes, verified/refused) — fifteen silent minutes is what made this unreadable. (3) Harvest the updates feed servers .server.log into the runs logs/` so the next red can tell "never asked" from "asked and stalled". (4) Consider a whole-rollout watchdog so no stage can hold the ADR 0259 deploy-refusal indefinitely.

**Diagnosis for run `20260920T083206Z` at `12adef99` (from the #1562 lane session; trace + guest journal) — `rolled-back` GREEN for the first time; `refused-artifact` red on a PRODUCT hang, not a harness timing.** **New live proofs:** `rolled-back` green in 319 s with TWO measured closed-door windows, `apex 502 9.1s` each (one per failed attempt, both inside Ben`s 60 s bound); "Retry now" → second boot failure → guard restore → `quarantined` (`/api/v1/updates` ends with `quarantined:["updates-c"]`). The DDR 0262 policy door worked too: the leg re-opened the window from the standing screen (`POST /api/v1/updates/policy → 204` at 09:11:35). **The red.** D (control-panel artifact tampered by one appended byte) was picked up correctly — `automatic:["updates-d"]`, rollout `started_at 09:15:12.84Z`, stages `seed: done`, `land: current` — and then **never moved again**. The panel was served the byte-identical rollout view (`6b24c119…`) on every 20 s poll from 09:15:18 to the last read at 09:29:46: not refused, not failed, not rolled back. On the box: the control plane logged **zero lines** between 09:14 and the 09:29 harvest, and `guest-resources` shows it alive at **0.0 % CPU** (pid 6884, started 09:10). A process silently parked in the land stage. **Most likely cause (not proven from the harvest — the feed server`s access log is not in the run dir):** the land stage`s download has no deadline. `internal/update/land.go:107-110` — `NewHTTPArtifactFetcher(nil)` falls back to `http.DefaultClient`, which has **no timeout**, and the rollout`s context carries none either, so any stalled body read (here: over the guest`s slirp hop to `10.0.2.2:8091`, right after the file was rewritten under the server) blocks the rollout forever. B and C landed through the same path in seconds on this very run, so it is not a dead route. **Why this matters beyond the drive:** a stuck land stage is worse than a failed one. It holds the rollout checkpoint, so — by ADR 0259 rule 4 — **every operator deploy is refused with "an update is being applied"** for as long as it hangs, and nothing ever counts an attempt, refuses, or quarantines. On a real community a half-open connection to get.idss.nz at 02:10 would wedge the fleet until someone restarts the unit. **Fix shape:** (1) give the artifact fetch a real budget — a client with a response-header timeout plus a stall-bounded body read (the same lesson as the pull rail`s `curl --speed-limit/--speed-time`, GOTCHAS #255; a flat total timeout sized for metadata will bite a 25 MB binary on a slow line); a fetch that exceeds it is a transport fault → the attempt FAILS loudly and is counted. (2) Log the land stage: one line per artifact (start, bytes, verified/refused) — fifteen silent minutes is what made this unreadable. (3) Harvest the updates feed server`s `.server.log` into the run`s `logs/` so the next red can tell "never asked" from "asked and stalled". (4) Consider a whole-rollout watchdog so no stage can hold the ADR 0259 deploy-refusal indefinitely.

rehearsal healer: drive 20260920T083206Z red at refused-artifact (sig b46830aa93ad) fast-lane self-fixed — commit 840e8bfbf637130b1308475ab2d25a49236356ed filed and closed #1659 through the close-report gate; checks: Targeted: go test ./internal/update/ -run 'TestRolloutState_RefusedIsOnTheWireForU3x|TestRolloutState_AppliedCarriesNoRefusedFlag' — RED first against the unfixed view, the absence proven by the compiler itself (internal/update/rolloutview_test.go:289:8: v.Refused undefined (type update.RolloutView has no field or method Refused), build failed); GREEN after: 2 passed, the first reading refused: true out of the marshalled JSON beside its refusal evidence, the second proving an applied run still omits the key. Package tests: go test ./internal/update/ ./internal/controlapi/ — both ok (0.015s / 0.839s). go vet ./internal/update/ ./internal/controlapi/ — clean. gofmt -l internal/update/ — clean. Panel side unchanged but re-run to prove no drift the other way: pnpm --filter dashboard exec vitest run tests/unit/updatesRefused.test.ts tests/unit/rollout.test.ts tests/unit/updatesLive.test.ts — 3 files, 44 passed (44). No box query and no door-leg re-prove: no artifacts/live-box.json was handed over (the guest was torn down; logs/guest-failed-units.log recorded 0 failed units and NRestarts=2 with Result=success), and this is not a roles-proof door leg.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260920T083206Z` red at `refused-artifact` (sig b46830aa93ad) fast-lane self-fixed — commit `840e8bfbf637130b1308475ab2d25a49236356ed` filed and closed #1659 through the close-report gate; checks: Targeted: `go test ./internal/update/ -run 'TestRolloutState_RefusedIsOnTheWireForU3x|TestRolloutState_AppliedCarriesNoRefusedFlag'` — RED first against the unfixed view, the absence proven by the compiler itself (`internal/update/rolloutview_test.go:289:8: v.Refused undefined (type update.RolloutView has no field or method Refused)`, build failed); GREEN after: 2 passed, the first reading `refused: true` out of the marshalled JSON beside its `refusal` evidence, the second proving an applied run still omits the key. Package tests: `go test ./internal/update/ ./internal/controlapi/` — both ok (0.015s / 0.839s). `go vet ./internal/update/ ./internal/controlapi/` — clean. `gofmt -l internal/update/` — clean. Panel side unchanged but re-run to prove no drift the other way: `pnpm --filter dashboard exec vitest run tests/unit/updatesRefused.test.ts tests/unit/rollout.test.ts tests/unit/updatesLive.test.ts` — 3 files, 44 passed (44). No box query and no door-leg re-prove: no `artifacts/live-box.json` was handed over (the guest was torn down; `logs/guest-failed-units.log` recorded 0 failed units and `NRestarts=2` with `Result=success`), and this is not a roles-proof door leg.. The drive stays armed; the next tick re-drives.
Author
Owner

CORRECTION to my comment 51549 — the "land-stage hang" diagnosis was WRONG. The healers reading (840e8bfb`, #1659) is the right one.

I read .refused off the rollout view, got null, and concluded the rollout never ended. The same JSON I had in hand carries the whole refusal: refusal: {check: "fingerprint-mismatch", artifact_role: "control-panel", signed_sha256: d2f5fa55…, received_sha256: 47312b36…, attempt: 1, at: 09:15:13.809Z} and refused_at. The gateway downloaded D, caught the tampered control panel one second after the rollout started, and refused it — exactly as designed. The control plane was idle at 0 % CPU because it was FINISHED, not parked. What was missing was only the boolean the panel keys on (refused), so UpdatesSurface drew U3 over an ended rollout — the healer`s fix.

So: no product hang, no evidence of a stalled download. Please disregard the "wedges every deploy" consequence I drew — it does not follow from this run.

What survives from that comment, as hardening rather than a finding: NewHTTPArtifactFetcher(nil) does fall back to http.DefaultClient with no timeout (internal/update/land.go:107-110), and the land stage logs nothing on a refusal (a refusal that leaves no journal line is what let me misread it). Both are worth a small ticket; neither blocks #1614. I will file it as such, not as a drive blocker.

**CORRECTION to my comment 51549 — the "land-stage hang" diagnosis was WRONG. The healer`s reading (`840e8bfb`, #1659) is the right one.** I read `.refused` off the rollout view, got `null`, and concluded the rollout never ended. The same JSON I had in hand carries the whole refusal: `refusal: {check: "fingerprint-mismatch", artifact_role: "control-panel", signed_sha256: d2f5fa55…, received_sha256: 47312b36…, attempt: 1, at: 09:15:13.809Z}` and `refused_at`. The gateway downloaded D, caught the tampered control panel **one second** after the rollout started, and refused it — exactly as designed. The control plane was idle at 0 % CPU because it was FINISHED, not parked. What was missing was only the boolean the panel keys on (`refused`), so `UpdatesSurface` drew U3 over an ended rollout — the healer`s fix. So: **no product hang, no evidence of a stalled download.** Please disregard the "wedges every deploy" consequence I drew — it does not follow from this run. What survives from that comment, as hardening rather than a finding: `NewHTTPArtifactFetcher(nil)` does fall back to `http.DefaultClient` with no timeout (`internal/update/land.go:107-110`), and the land stage logs nothing on a refusal (a refusal that leaves no journal line is what let me misread it). Both are worth a small ticket; neither blocks #1614. I will file it as such, not as a drive blocker.
Author
Owner

Diagnosis for run 20260920T093955Z at 840e8bfb (from the #1562 lane session — whole responses read this time). Six legs green, including refused-artifact for the first time; red at refused-list.

Proven live this run: rolled-back green again (outages 9.1 s + 12.1 s; the fixed "Retry now" #1658 used live); refused-artifact green — D refused on fingerprint-mismatch, second refusal through the DDR 0262 policy door, /updates/rollout ends refused:true, quarantined:true, refusal.attempt:2, U3x photographed.

refused-list: the PRODUCT refused the tampered list correctly; the panel could not show it.

  • Box: 10:33:09 WARN update poll failed … matou channel "testing": signature is not valid base64 — refusing (ADR 0100), again at 10:38 and 10:43.
  • Wire: from the 10:33:18 read on, /api/v1/updates carries channel_refused: {check: "list-signature", channel: "testing", feed_url: …, first_refused_at: 10:33:09, last_checked_at: …}, advancing each tick. Nothing it claims is shown; the fleet stays on updates-b.
  • Screen: [data-status="refused"] — Ds retained, QUARANTINED U3x — for the whole budget. In UpdatesSurface.vuethe channel-refused frame renders only whenview === "refused-list" (:37), and the only thing that sets that view is the standing refused rows open-refusal on U1 (UpdatesScreen.vue:36). But a retained refusal holds the surface ahead of U1 and returnedToUpdates resets on every mount — so after ANY refused or rolled-back release, a channel whose whole release list stops verifying is invisible unless the operator first thinks to press "Back to updates".

Two separable things:

  1. Harness (unblocks the leg): leave Ds quarantined screen by its own "Back to updates" door, then open U1s standing refused row (data-action="open-refusal") — the path the flow draws (U1 → the standing refused row opens the same frame).
  2. Product question (small, DDR 0261/0262 family — flagging, not ruling): should a LIVE channel refusal outrank a retained QUARANTINED release screen? A quarantined U3x/U4x asks the operator nothing any more; "your release list no longer verifies against the pinned Matou key" is a live trust event. DDR 0261 rule 2 already lets "something to review" outrank a retained applied view; this is the same argument one notch up.

Harness nit: updates_feed_tamper_feed rotates the base64 signature by one character, which moves the = padding into the middle — so the gateway refuses on "not valid base64" and never reaches Ed25519 verification. The leg is named for a signature that does not VERIFY; rotate only the unpadded body (or flip one character) so the refusal it proves is the cryptographic one.

**Diagnosis for run `20260920T093955Z` at `840e8bfb` (from the #1562 lane session — whole responses read this time). Six legs green, including `refused-artifact` for the first time; red at `refused-list`.** **Proven live this run:** `rolled-back` green again (outages 9.1 s + 12.1 s; the fixed "Retry now" #1658 used live); `refused-artifact` green — D refused on `fingerprint-mismatch`, second refusal through the DDR 0262 policy door, `/updates/rollout` ends `refused:true, quarantined:true, refusal.attempt:2`, U3x photographed. **`refused-list`: the PRODUCT refused the tampered list correctly; the panel could not show it.** - Box: `10:33:09 WARN update poll failed … matou channel "testing": signature is not valid base64 — refusing (ADR 0100)`, again at 10:38 and 10:43. - Wire: from the 10:33:18 read on, `/api/v1/updates` carries `channel_refused: {check: "list-signature", channel: "testing", feed_url: …, first_refused_at: 10:33:09, last_checked_at: …}`, advancing each tick. Nothing it claims is shown; the fleet stays on `updates-b`. - Screen: `[data-status="refused"]` — D`s retained, QUARANTINED U3x — for the whole budget. In `UpdatesSurface.vue` the channel-refused frame renders only when `view === "refused-list"` (`:37`), and the only thing that sets that view is the standing refused row`s `open-refusal` on **U1** (`UpdatesScreen.vue:36`). But a retained refusal holds the surface ahead of U1 and `returnedToUpdates` resets on every mount — so after ANY refused or rolled-back release, a channel whose whole release list stops verifying is invisible unless the operator first thinks to press "Back to updates". **Two separable things:** 1. *Harness (unblocks the leg):* leave D`s quarantined screen by its own "Back to updates" door, then open U1`s standing refused row (`data-action="open-refusal"`) — the path the flow draws (`U1 → the standing refused row opens the same frame`). 2. *Product question (small, DDR 0261/0262 family — flagging, not ruling):* should a LIVE channel refusal outrank a retained QUARANTINED release screen? A quarantined U3x/U4x asks the operator nothing any more; "your release list no longer verifies against the pinned Matou key" is a live trust event. DDR 0261 rule 2 already lets "something to review" outrank a retained *applied* view; this is the same argument one notch up. **Harness nit:** `updates_feed_tamper_feed` rotates the base64 signature by one character, which moves the `=` padding into the middle — so the gateway refuses on *"not valid base64"* and never reaches Ed25519 verification. The leg is named for a signature that does not VERIFY; rotate only the unpadded body (or flip one character) so the refusal it proves is the cryptographic one.

rehearsal healer: drive 20260920T093955Z red at refused-list (sig ddf30ce2feca) self-fixed — commit b55917dce7a3f2982636714641f0ad55c0dd52e1 (3 files changed, 130 insertions(+), 5 deletions(-)); checks: Targeted: pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts — RED first against the unfixed fixture (4 failed | 27 passed, 31), the waitForScreen case reproducing the drive's own gate string verbatim (leg refused-list was waiting on the channel-refused screen) with zero door-presses recorded; GREEN after: 31 passed (31). Wider offline suite pnpm --filter app exec vitest run tests/e2e/fixtures/ — 33 files, 584 passed (584). pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit — clean. pnpm exec eslint on all three touched files — clean. pnpm exec prettier --check on all three — clean. No box query and no door-leg re-prove: no artifacts/live-box.json was handed over (the guest was torn down; logs/guest-failed-units.log recorded 0 failed units), and this is not a roles-proof door leg. The box's own verdict was read from the harvested log: logs/guest-control-plane.log:198-200, three polls running — matou channel "testing": signature is not valid base64 — refusing (ADR 0100): illegal base64 data at input byte 85 — so the product raised the refusal on time and only the harness could not look at it.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260920T093955Z` red at `refused-list` (sig ddf30ce2feca) self-fixed — commit `b55917dce7a3f2982636714641f0ad55c0dd52e1` (3 files changed, 130 insertions(+), 5 deletions(-)); checks: Targeted: `pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts` — RED first against the unfixed fixture (4 failed | 27 passed, 31), the waitForScreen case reproducing the drive's own gate string verbatim (`leg refused-list was waiting on the channel-refused screen`) with zero door-presses recorded; GREEN after: 31 passed (31). Wider offline suite `pnpm --filter app exec vitest run tests/e2e/fixtures/` — 33 files, 584 passed (584). `pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit` — clean. `pnpm exec eslint` on all three touched files — clean. `pnpm exec prettier --check` on all three — clean. No box query and no door-leg re-prove: no `artifacts/live-box.json` was handed over (the guest was torn down; `logs/guest-failed-units.log` recorded 0 failed units), and this is not a roles-proof door leg. The box's own verdict was read from the harvested log: `logs/guest-control-plane.log:198-200`, three polls running — `matou channel "testing": signature is not valid base64 — refusing (ADR 0100): illegal base64 data at input byte 85` — so the product raised the refusal on time and only the harness could not look at it.. The drive stays armed; the next tick re-drives.
Author
Owner

Run 20260920T105438Z at b55917dc (from the #1562 lane session) — NINE of ten legs green. refused-list and replay green for the first time; red at the very last leg, real-rail, on a harness path.

Green: founding-prefix, operator-session, updates-open, applied, rolled-back (outages 9.1 s + 12.1 s), refused-artifact, refused-list, replay.

The red is before anything touches the product: the leg SSHes into the guest and runs
cd "${IDSS_CONFIG_REPO:-/var/lib/idss/config}"; idss-control-plane set-release-channel gateway <testing feed> <testing key> (journey.updates.spec.ts:588) → bash: cd: /var/lib/idss/config: No such file or directory.

Two things wrong with that line:

  1. The gateways config checkout is **/srv/idss/config**, not /var/lib/idss/config — it is the path the control-plane units own start script exports (internal/clan/vmguest.go: if [ -d /srv/idss/config ]; then export IDSS_CONFIG_REPO=/srv/idss/config). A bare SSH session has no IDSS_CONFIG_REPO, so the fallback is what runs.
  2. cd is not what the subcommand reads anyway: set_release_channel.go:47 takes the repo from the environment (os.Getenv("IDSS_CONFIG_REPO")) and refuses loud without it. So the line must export IDSS_CONFIG_REPO=/srv/idss/config (and carry whatever else the units start script exports that the re-render needs — HOME=/root, SOPS_AGE_KEY_FILE — see the unit script), not just change directory. Also confirm the binarys name/path on the guest (/srv/idss/bin/control-plane is where the lander puts it; is idss-control-plane on root`s PATH?).

Why it matters past the drive: this leg is the rehearsal of #1569 — the exact act Ben will run on Whakatōhea Demo. docs/architecture/11-update-supply-chain.md:~136-146 says only "with IDSS_CONFIG_REPO pointing at the gateway`s checkout"; once this leg is green, copy its working invocation (real path, real env, real binary) into that runbook so the kept community is not where we find the next missing export.

**Run `20260920T105438Z` at `b55917dc` (from the #1562 lane session) — NINE of ten legs green. `refused-list` and `replay` green for the first time; red at the very last leg, `real-rail`, on a harness path.** Green: founding-prefix, operator-session, updates-open, applied, rolled-back (outages 9.1 s + 12.1 s), refused-artifact, refused-list, replay. **The red** is before anything touches the product: the leg SSHes into the guest and runs `cd "${IDSS_CONFIG_REPO:-/var/lib/idss/config}"; idss-control-plane set-release-channel gateway <testing feed> <testing key>` (`journey.updates.spec.ts:588`) → `bash: cd: /var/lib/idss/config: No such file or directory`. Two things wrong with that line: 1. The gateway`s config checkout is **`/srv/idss/config`**, not `/var/lib/idss/config` — it is the path the control-plane unit`s own start script exports (`internal/clan/vmguest.go`: `if [ -d /srv/idss/config ]; then export IDSS_CONFIG_REPO=/srv/idss/config`). A bare SSH session has no `IDSS_CONFIG_REPO`, so the fallback is what runs. 2. `cd` is not what the subcommand reads anyway: `set_release_channel.go:47` takes the repo from the **environment** (`os.Getenv("IDSS_CONFIG_REPO")`) and refuses loud without it. So the line must `export IDSS_CONFIG_REPO=/srv/idss/config` (and carry whatever else the unit`s start script exports that the re-render needs — `HOME=/root`, `SOPS_AGE_KEY_FILE` — see the unit script), not just change directory. Also confirm the binary`s name/path on the guest (`/srv/idss/bin/control-plane` is where the lander puts it; is `idss-control-plane` on root`s PATH?). **Why it matters past the drive:** this leg is the rehearsal of **#1569** — the exact act Ben will run on Whakatōhea Demo. `docs/architecture/11-update-supply-chain.md:~136-146` says only "with IDSS_CONFIG_REPO pointing at the gateway`s checkout"; once this leg is green, copy its working invocation (real path, real env, real binary) into that runbook so the kept community is not where we find the next missing export.

rehearsal healer: drive 20260920T105438Z red at real-rail (sig 844ba04b38b5) self-fixed — commit 9538cb2171118174c592dc5dc0df9b3be7c3d9bb (3 files changed, 99 insertions(+), 6 deletions(-)); checks: Targeted: pnpm --filter app exec vitest run tests/e2e/fixtures/updatesJourney.test.ts — RED first against the unfixed command (5 failed | 15 passed, 20), including the spec-source case proving the leg still carried the hand-rolled /var/lib/idss/config twin; GREEN after: 20 passed (20). Wider offline suite pnpm --filter app exec vitest run tests/e2e/fixtures/ — 33 files, 589 passed (589). pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit — clean. pnpm exec eslint on all three touched files — clean. pnpm exec prettier --check on all three — clean after a --write on the test file. No box query and no door-leg re-prove: no artifacts/live-box.json was handed over (logs/qemu.log records exit 1 … ps -C qemu-system-x86_64 with no process — the VM-mode guest was torn down), and this is not a roles-proof door leg. The box's own verdict was read from the harvested logs instead: logs/guest-control-plane.log:57 names the config repo verbatim — "config repo wired: single-writer config store + clan deploy runner … dir=/srv/idss/config" — and :183 shows the release source still wired to the drive-local feed http://10.0.2.2:8091/channel/testing.json.. The session also named a residual fault — it is being filed and will block the drive.

rehearsal healer: drive `20260920T105438Z` red at `real-rail` (sig 844ba04b38b5) self-fixed — commit `9538cb2171118174c592dc5dc0df9b3be7c3d9bb` (3 files changed, 99 insertions(+), 6 deletions(-)); checks: Targeted: `pnpm --filter app exec vitest run tests/e2e/fixtures/updatesJourney.test.ts` — RED first against the unfixed command (5 failed | 15 passed, 20), including the spec-source case proving the leg still carried the hand-rolled `/var/lib/idss/config` twin; GREEN after: 20 passed (20). Wider offline suite `pnpm --filter app exec vitest run tests/e2e/fixtures/` — 33 files, 589 passed (589). `pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit` — clean. `pnpm exec eslint` on all three touched files — clean. `pnpm exec prettier --check` on all three — clean after a `--write` on the test file. No box query and no door-leg re-prove: no `artifacts/live-box.json` was handed over (`logs/qemu.log` records `exit 1 … ps -C qemu-system-x86_64` with no process — the VM-mode guest was torn down), and this is not a roles-proof door leg. The box's own verdict was read from the harvested logs instead: `logs/guest-control-plane.log:57` names the config repo verbatim — "config repo wired: single-writer config store + clan deploy runner … dir=/srv/idss/config" — and `:183` shows the release source still wired to the drive-local feed `http://10.0.2.2:8091/channel/testing.json`.. The session also named a residual fault — it is being filed and will block the drive.

drive 20260920T105438Z RED — now blocked by: #1661 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260920T105438Z` RED — now blocked by: #1661 (evidence on each). The drive re-fires when the last blocker closes.
Author
Owner

Run 20260920T123207Z at 039b0c35 (from the #1562 lane session) — nine legs green again; real-rail red INSIDE the new --apply, one step further than last run.

What worked, live, on the box: the command ran with the right env (IDSS_CONFIG_REPO=/srv/idss/config IDSS_STATE_DIR=/var/lib/idss /srv/idss/bin/control-plane set-release-channel --apply gateway <testing feed> <testing key>), the fence passed (fleet idle), the pin committed, and the failure was loud and safe — switching the gateways own closure in place failed — the control plane was NOT restarted (the pin is committed but not live)`. Exactly the fail-loud ordering #1661 promised.

The red: clan machines update gateway: exit status 1 — error: flake "git+file:///srv/idss/config" does not provide attribute "devShells.x86_64-linux.default" …. channel_apply.go:112 hand-rolls exec "nix" "develop" "--command" "clan" "machines" "update" … in the config repo. nix develop needs a devShell, and a COMMUNITY config flake has none — the dev shell lives in the idss source repo, which is why the same line works in rehearsal-standing-lib.sh:322 (run from the drive HOST`s checkout) and cannot work on a gateway.

Fix — use the seam the product already has, do not invent a second way to find clan: the gateways own deploy runner never uses nix develop. internal/clan/cli.go ToolClanresolves "the dev-shellclanwhen one is on PATH, elsenix run of the community flakes clan-core pin (PinnedClanRef, ADR 0125 — clan is never a second bare-PATH tool)". --apply should drive its switch through that same runner — Invocation{Tool: ToolClan, Args: ["machines","update",node,"--build-host","localhost","--target-host","localhost","--host-key-check","none"], Dir: configRepo} — with the env the control-plane units start script exports for it (HOME=/root, SOPS_AGE_KEY_FILE=/var/lib/sops-nix/key.txt, the units path: bash git nix openssh — a bare SSH session has none of these; see internal/clan/vmguest.go ~:780-850). The seam test should assert the switch goes through ToolClan, so a hand-rolled argv cannot come back.

Note for the runbook (#1569): the same applies on Whakatōhea Demo — a rented gateway`s config repo has no devShell either.

**Run `20260920T123207Z` at `039b0c35` (from the #1562 lane session) — nine legs green again; `real-rail` red INSIDE the new `--apply`, one step further than last run.** What worked, live, on the box: the command ran with the right env (`IDSS_CONFIG_REPO=/srv/idss/config IDSS_STATE_DIR=/var/lib/idss /srv/idss/bin/control-plane set-release-channel --apply gateway <testing feed> <testing key>`), the **fence passed** (fleet idle), the **pin committed**, and the failure was **loud and safe** — `switching the gateway`s own closure in place failed — the control plane was NOT restarted (the pin is committed but not live)`. Exactly the fail-loud ordering #1661 promised. **The red:** `clan machines update gateway: exit status 1 — error: flake "git+file:///srv/idss/config" does not provide attribute "devShells.x86_64-linux.default" …`. `channel_apply.go:112` hand-rolls `exec "nix" "develop" "--command" "clan" "machines" "update" …` in the config repo. `nix develop` needs a devShell, and a COMMUNITY config flake has none — the dev shell lives in the idss source repo, which is why the same line works in `rehearsal-standing-lib.sh:322` (run from the drive HOST`s checkout) and cannot work on a gateway. **Fix — use the seam the product already has, do not invent a second way to find clan:** the gateway`s own deploy runner never uses `nix develop`. `internal/clan/cli.go` `ToolClan` resolves "the dev-shell `clan` when one is on PATH, else `nix run` of the community flake`s clan-core pin (`PinnedClanRef`, ADR 0125 — clan is never a second bare-PATH tool)". `--apply` should drive its switch through that same runner — `Invocation{Tool: ToolClan, Args: ["machines","update",node,"--build-host","localhost","--target-host","localhost","--host-key-check","none"], Dir: configRepo}` — with the env the control-plane unit`s start script exports for it (`HOME=/root`, `SOPS_AGE_KEY_FILE=/var/lib/sops-nix/key.txt`, the unit`s `path`: bash git nix openssh — a bare SSH session has none of these; see `internal/clan/vmguest.go` ~:780-850). The seam test should assert the switch goes through `ToolClan`, so a hand-rolled argv cannot come back. Note for the runbook (#1569): the same applies on Whakatōhea Demo — a rented gateway`s config repo has no devShell either.

rehearsal healer: drive 20260920T123207Z red at real-rail (sig 844ba04b38b5) fast-lane self-fixed — commit 2f368486cbe7343fd6982daa1a2685f994efabb7 filed and closed #1663 through the close-report gate; checks: Targeted: go test ./control-plane/cmd/control-plane/ -run 'TestRunSetReleaseChannel|TestExecChannelApply' -v — RED first against the unfixed code, the absence proven by the compiler (set_release_channel_test.go:140:60: unknown field cli in struct literal of type execChannelApply; 176:54: too many arguments in call to e.SwitchClosure — have (context.Context, string, string), want (context.Context, string); build failed). GREEN after: 11 passed, including the recording-CLI case proving the invocation is the pinned clan at git+file://<dir>?rev=abc123 with no dev shell anywhere in it. Package tests: go test ./control-plane/cmd/control-plane/ ./internal/clan/ — both ok (26.239s / 20.275s). go build ./control-plane/... — clean. go vet ./control-plane/cmd/control-plane/ — clean. gofmt -l control-plane/cmd/control-plane/ — clean. golangci-lint is not on PATH on this workstation, so the errcheck gate (#1662) was not re-run here; the new code returns every error it produces and adds no writes to an io.Writer.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260920T123207Z` red at `real-rail` (sig 844ba04b38b5) fast-lane self-fixed — commit `2f368486cbe7343fd6982daa1a2685f994efabb7` filed and closed #1663 through the close-report gate; checks: Targeted: `go test ./control-plane/cmd/control-plane/ -run 'TestRunSetReleaseChannel|TestExecChannelApply' -v` — RED first against the unfixed code, the absence proven by the compiler (`set_release_channel_test.go:140:60: unknown field cli in struct literal of type execChannelApply`; `176:54: too many arguments in call to e.SwitchClosure — have (context.Context, string, string), want (context.Context, string)`; build failed). GREEN after: 11 passed, including the recording-CLI case proving the invocation is the pinned clan at `git+file://<dir>?rev=abc123` with no dev shell anywhere in it. Package tests: `go test ./control-plane/cmd/control-plane/ ./internal/clan/` — both ok (26.239s / 20.275s). `go build ./control-plane/...` — clean. `go vet ./control-plane/cmd/control-plane/` — clean. `gofmt -l control-plane/cmd/control-plane/` — clean. golangci-lint is not on PATH on this workstation, so the errcheck gate (#1662) was not re-run here; the new code returns every error it produces and adds no writes to an io.Writer.. The drive stays armed; the next tick re-drives.

drive 20260920T134755Z RED — now blocked by: #1664 (evidence on each). The drive re-fires when the last blocker closes.

drive `20260920T134755Z` RED — now blocked by: #1664 (evidence on each). The drive re-fires when the last blocker closes.
Author
Owner

Run 20260920T134755Z at 2f368486 (from the #1562 lane session) — nine green a third time; real-rail one step further again.

The healers fix worked: the switch now goes through the pinned-clan seam, clan ran, and it named the closure it was switching to (dd2be426…). It failed — loud and safe again, control plane NOT restarted — on the next missing piece of the units environment:

clan: missing_var on gateway … Failed to get the data key required to decrypt the SOPS file … SOPS_AGE_KEY_FILE …

This is the second half of what comment 51622 flagged. The control-plane UNIT runs clan with an environment its start script builds (internal/clan/vmguest.go ~:823-850): export HOME=/root, if [ -f /var/lib/sops-nix/key.txt ]; then export SOPS_AGE_KEY_FILE=/var/lib/sops-nix/key.txt; fi ("the deploy runners clan CLI operates sops AS THE MACHINE", drive 20260810T044843Z), git identity for vars commits, and the units path (bash git nix openssh). --apply runs from a bare root SSH shell, which has none of it.

Fix shape — --apply must build that environment ITSELF, not ask the caller to: the operator on Whakatōhea Demo will type one command in an SSH session exactly like this leg does; a runbook that says "and also export these four things" is the missing-export trap again. Factor the unit scripts exports into one Go helper (or have the render emit them to a sourced env file, e.g. /etc/idss/control-plane.env) that BOTH the unit and --applyuse, so they cannot drift — and let the seam test assert--applys clan invocation carries SOPS_AGE_KEY_FILEandHOME. Worth doing in one pass rather than one export per drive: diff the unit scripts full export list against what --apply sets.

**Run `20260920T134755Z` at `2f368486` (from the #1562 lane session) — nine green a third time; `real-rail` one step further again.** The healer`s fix worked: the switch now goes through the pinned-clan seam, clan ran, and it named the closure it was switching to (`dd2be426…`). It failed — loud and safe again, control plane NOT restarted — on the next missing piece of the unit`s environment: `clan: missing_var on gateway … Failed to get the data key required to decrypt the SOPS file … SOPS_AGE_KEY_FILE …` This is the second half of what comment 51622 flagged. The control-plane UNIT runs clan with an environment its start script builds (`internal/clan/vmguest.go` ~:823-850): `export HOME=/root`, `if [ -f /var/lib/sops-nix/key.txt ]; then export SOPS_AGE_KEY_FILE=/var/lib/sops-nix/key.txt; fi` ("the deploy runner`s clan CLI operates sops AS THE MACHINE", drive 20260810T044843Z), git identity for vars commits, and the unit`s `path` (bash git nix openssh). `--apply` runs from a bare root SSH shell, which has none of it. **Fix shape — `--apply` must build that environment ITSELF, not ask the caller to:** the operator on Whakatōhea Demo will type one command in an SSH session exactly like this leg does; a runbook that says "and also export these four things" is the missing-export trap again. Factor the unit script`s exports into one Go helper (or have the render emit them to a sourced env file, e.g. `/etc/idss/control-plane.env`) that BOTH the unit and `--apply` use, so they cannot drift — and let the seam test assert `--apply`s clan invocation carries `SOPS_AGE_KEY_FILE` and `HOME`. Worth doing in one pass rather than one export per drive: diff the unit script`s full export list against what `--apply` sets.
Author
Owner

Run 20260920T150807Z at 5134fbb3 (from the #1562 lane session; whole responses read) — THE REAL RAIL WORKED. The red is the leg asserting the wrong screen.

What the box did: set-release-channel --apply went all the way through (fence → pin → switch → restart → read-back), and the throwaway gateway then took a REAL release off https://get.idss.nz/channel/testing.json, verified against the real testing key:

  • /api/v1/updates/rollout: revision 2f368486cbe7…, title "testing · 2f368486cbe7", started_at 16:14:25, applied_at 16:14:35, applied:true, healthy:true, converged 1/1, stages seed: done, gateway: done.
  • /api/v1/updates: current: {channel:"testing", revision:"2f368486cbe7…", converged:1, total:1}, no channel_refused, nothing pending.
    2f368486 is a real main commit the publish rail cut — the first time a gateway has updated itself from the public rail end to end.

Why it red: the leg waits for the U4 applied screen ([data-field="what-happened"]); the surface showed U1 with the fleet on 2f368486. That is DDR 0261 rule 2 doing what it says: quarantined: ["updates-c","updates-d"] is still standing from the earlier legs, and a quarantined release outranks a retained applied view, so the visit lands on U1. Product correct; the leg`s expectation predates DDR 0261.

Fix (harness): real-rail should assert the OUTCOME, not the screen — U1s fleet revision equals the real rails served revision (it already read it: "fleet on 2f368486…"), and the applied run is in the update history / the rollout read says applied && healthy for that revision. Do not clear the quarantined rows to force U4.

**Run `20260920T150807Z` at `5134fbb3` (from the #1562 lane session; whole responses read) — THE REAL RAIL WORKED. The red is the leg asserting the wrong screen.** **What the box did:** `set-release-channel --apply` went all the way through (fence → pin → switch → restart → read-back), and the throwaway gateway then took a REAL release off `https://get.idss.nz/channel/testing.json`, verified against the real `testing` key: - `/api/v1/updates/rollout`: `revision 2f368486cbe7…`, `title "testing · 2f368486cbe7"`, `started_at 16:14:25`, **`applied_at 16:14:35`, `applied:true`, `healthy:true`, converged 1/1**, stages `seed: done`, `gateway: done`. - `/api/v1/updates`: `current: {channel:"testing", revision:"2f368486cbe7…", converged:1, total:1}`, no `channel_refused`, nothing pending. `2f368486` is a real `main` commit the publish rail cut — the first time a gateway has updated itself from the public rail end to end. **Why it red:** the leg waits for the U4 *applied* screen (`[data-field="what-happened"]`); the surface showed **U1** with the fleet on `2f368486`. That is DDR 0261 rule 2 doing what it says: `quarantined: ["updates-c","updates-d"]` is still standing from the earlier legs, and a quarantined release outranks a retained *applied* view, so the visit lands on U1. Product correct; the leg`s expectation predates DDR 0261. **Fix (harness):** `real-rail` should assert the OUTCOME, not the screen — U1`s fleet revision equals the real rail`s served revision (it already read it: "fleet on 2f368486…"), and the applied run is in the update history / the rollout read says `applied && healthy` for that revision. Do not clear the quarantined rows to force U4.

rehearsal healer: drive 20260920T150807Z red at real-rail (sig 844ba04b38b5) self-fixed — commit 2372505deaf6abd1e519f4e5fa9b25c37d4effc8 (3 files changed, 193 insertions(+), 2 deletions(-)); checks: Targeted: pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts — RED first against the unfixed source (5 failed | 32 passed, 37), including the case redding through the drive's own gate string verbatim and the spec-source pin that the leg still waited on waitForScreen(dash!, 'applied', 'real-rail'; GREEN after: 37 passed (37). Wider offline suite pnpm --filter app exec vitest run tests/e2e/fixtures/ — 33 files, 595 passed (595). pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit — clean. pnpm exec eslint on all three touched files — clean. pnpm exec prettier --check on all three — clean after a --write on the test file. No box query and no door-leg re-prove: no artifacts/live-box.json was handed over (the droplet was torn down; logs/guest-failed-units.log records 0 failed units, logs/qemu.log no process), and this is not a roles-proof door leg. The box's own verdict was read from the harvested logs instead — logs/guest-control-plane.log:120 wires the feed to https://get.idss.nz/channel/testing.json, :187-193 verify all three artifacts, land them, self-swap the control plane, and :193 records update resumed across a control-plane restart and converged revision=2f368486cbe7343fd6982daa1a2685f994efabb7 at 16:14:35 — and confirmed against artifacts/legs/real-rail-dash.png, which shows channel: testing, REVISION testing · 2f368486… — all 1 nodes converged, and the two QUARANTINED rows (C and D) that suppress U4.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260920T150807Z` red at `real-rail` (sig 844ba04b38b5) self-fixed — commit `2372505deaf6abd1e519f4e5fa9b25c37d4effc8` (3 files changed, 193 insertions(+), 2 deletions(-)); checks: Targeted: `pnpm --filter app exec vitest run tests/e2e/fixtures/updatesDrive.test.ts` — RED first against the unfixed source (5 failed | 32 passed, 37), including the case redding through the drive's own gate string verbatim and the spec-source pin that the leg still waited on `waitForScreen(dash!, 'applied', 'real-rail'`; GREEN after: 37 passed (37). Wider offline suite `pnpm --filter app exec vitest run tests/e2e/fixtures/` — 33 files, 595 passed (595). `pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit` — clean. `pnpm exec eslint` on all three touched files — clean. `pnpm exec prettier --check` on all three — clean after a `--write` on the test file. No box query and no door-leg re-prove: no `artifacts/live-box.json` was handed over (the droplet was torn down; `logs/guest-failed-units.log` records 0 failed units, `logs/qemu.log` no process), and this is not a roles-proof door leg. The box's own verdict was read from the harvested logs instead — `logs/guest-control-plane.log:120` wires the feed to `https://get.idss.nz/channel/testing.json`, `:187-193` verify all three artifacts, land them, self-swap the control plane, and `:193` records `update resumed across a control-plane restart and converged revision=2f368486cbe7343fd6982daa1a2685f994efabb7` at 16:14:35 — and confirmed against `artifacts/legs/real-rail-dash.png`, which shows `channel: testing`, `REVISION testing · 2f368486… — all 1 nodes converged`, and the two QUARANTINED rows (C and D) that suppress U4.. The drive stays armed; the next tick re-drives.

drive 20260920T171007Z GREEN end to end — 9/9 legs green — evidence (legs.json, durations, trace, host facts) in test-results/private-path/20260920T171007Z/ on the executor host; a representative screenshot is attached here if one was captured (#596). Closing per the standing instructions: the local-guest journey passes, #183 is ready to be boring.

drive `20260920T171007Z` GREEN end to end — 9/9 legs green — evidence (legs.json, durations, trace, host facts) in `test-results/private-path/20260920T171007Z/` on the executor host; a representative screenshot is attached here if one was captured (#596). Closing per the standing instructions: the local-guest journey passes, #183 is ready to be boring.
Author
Owner

Reopening for one more fire (Ben ruled option B): #1675 (62c31d95) makes this drive found the production way — stamped payload, no founding-release override — and assert U1x rests on the stamped revision. The testing pin on founding stays held until this run is green.

Reopening for one more fire (Ben ruled option B): #1675 (`62c31d95`) makes this drive found the production way — stamped payload, no founding-release override — and assert U1x rests on the stamped revision. The `testing` pin on founding stays held until this run is green.
ben reopened this issue 2026-09-21 03:01:24 +00:00

preflight PARK (host-local refusal, exit 3) on elitebook-distributed-server-03 — no drive ran, nothing was filed, and #1614 is blocked on nothing:

the payload's control-plane binary at /home/swarm/swarm/rehearsal-payload carries no founding-release stamp (fleetwire.Release unstamped) — a stamped-A founding proves the product path, a test override proves nothing (#1675). Build the payload through scripts/assemble-payload.sh so oc_release_ldflags stamps HEAD onto it (#1674).

This does not heal itself: a preflight park creates no run dir, so neither the healer nor the reporter ever sees it (#918). The executor backs off for ~30 min (#1035) and then retries; until a session or a human clears the refusal the lane reads "blocked by nothing" while nothing drives. Executor log on elitebook-distributed-server-03.

preflight PARK (host-local refusal, exit 3) on elitebook-distributed-server-03 — no drive ran, nothing was filed, and #1614 is blocked on nothing: `the payload's control-plane binary at /home/swarm/swarm/rehearsal-payload carries no founding-release stamp (fleetwire.Release unstamped) — a stamped-A founding proves the product path, a test override proves nothing (#1675). Build the payload through scripts/assemble-payload.sh so oc_release_ldflags stamps HEAD onto it (#1674).` This does not heal itself: a preflight park creates no run dir, so neither the healer nor the reporter ever sees it (#918). The executor backs off for ~30 min (#1035) and then retries; until a session or a human clears the refusal the lane reads "blocked by nothing" while nothing drives. Executor log on elitebook-distributed-server-03.
Author
Owner

Preflight park diagnosed + fixed (ce1a72a3). The #1675 guard was right: the standing payload was unstamped — and always would be. scripts/rehearsal-cycle.sh's per-fire "refreshing the payload's tree-built artifacts" step rebuilt $IDSS_PAYLOAD_DIR/control-plane with a bare go build, a third build site #1674 did not reach. It now builds through oc_release_ldflags at HEAD (pinned in rehearsal-local-updates-target-test.sh, red without the fix; round-trip read-back checked by hand). Nothing to do on the host — the next fire after the 30-min preflight backoff syncs main and stamps the payload itself.

**Preflight park diagnosed + fixed (`ce1a72a3`).** The #1675 guard was right: the standing payload was unstamped — and always would be. `scripts/rehearsal-cycle.sh`'s per-fire "refreshing the payload's tree-built artifacts" step rebuilt `$IDSS_PAYLOAD_DIR/control-plane` with a bare `go build`, a third build site #1674 did not reach. It now builds through `oc_release_ldflags` at HEAD (pinned in `rehearsal-local-updates-target-test.sh`, red without the fix; round-trip read-back checked by hand). Nothing to do on the host — the next fire after the 30-min preflight backoff syncs main and stamps the payload itself.

preflight PARK (host-local refusal, exit 3) on elitebook-distributed-server-03 — no drive ran, nothing was filed, and #1614 is blocked on nothing:

the payload's control-plane binary at /home/swarm/swarm/rehearsal-payload carries no founding-release stamp (fleetwire.Release unstamped) — a stamped-A founding proves the product path, a test override proves nothing (#1675). Build the payload through scripts/assemble-payload.sh so oc_release_ldflags stamps HEAD onto it (#1674).

This does not heal itself: a preflight park creates no run dir, so neither the healer nor the reporter ever sees it (#918). The executor backs off for ~30 min (#1035) and then retries; until a session or a human clears the refusal the lane reads "blocked by nothing" while nothing drives. Executor log on elitebook-distributed-server-03.

preflight PARK (host-local refusal, exit 3) on elitebook-distributed-server-03 — no drive ran, nothing was filed, and #1614 is blocked on nothing: `the payload's control-plane binary at /home/swarm/swarm/rehearsal-payload carries no founding-release stamp (fleetwire.Release unstamped) — a stamped-A founding proves the product path, a test override proves nothing (#1675). Build the payload through scripts/assemble-payload.sh so oc_release_ldflags stamps HEAD onto it (#1674).` This does not heal itself: a preflight park creates no run dir, so neither the healer nor the reporter ever sees it (#918). The executor backs off for ~30 min (#1035) and then retries; until a session or a human clears the refusal the lane reads "blocked by nothing" while nothing drives. Executor log on elitebook-distributed-server-03.
Author
Owner

Second preflight park (04:52Z) — expected to clear by itself, no new defect. That fire was the one that PULLED ce1a72a3 (Updating 62c31d95..56445548, scripts/rehearsal-cycle.sh | 8 +-) — mid-run. The running bash keeps the pre-pull script (git replaces the file; the open inode is the old one), so its payload refresh was still the bare go build: the binary it left has no -ldflags build setting and the revision only as vcs.revision. The next fire starts from the new script and stamps. (Checked and ruled out: go 1.26 dropping -ldflags from buildinfo — it records it, same as 1.25.) Hardening worth a ticket later: the cycle re-execs itself when its own sync changes rehearsal-cycle.sh.

**Second preflight park (04:52Z) — expected to clear by itself, no new defect.** That fire was the one that PULLED `ce1a72a3` (`Updating 62c31d95..56445548`, `scripts/rehearsal-cycle.sh | 8 +-`) — mid-run. The running bash keeps the pre-pull script (git replaces the file; the open inode is the old one), so its payload refresh was still the bare `go build`: the binary it left has no `-ldflags` build setting and the revision only as `vcs.revision`. The next fire starts from the new script and stamps. (Checked and ruled out: go 1.26 dropping `-ldflags` from buildinfo — it records it, same as 1.25.) Hardening worth a ticket later: the cycle re-execs itself when its own sync changes `rehearsal-cycle.sh`.

rehearsal healer: drive 20260921T053406Z red at real-rail (sig 844ba04b38b5) self-fixed — commit c91520ae38441eafc08fea54fc311af3ece63844 (3 files changed, 60 insertions(+), 7 deletions(-)); checks: Targeted: pnpm --filter app exec vitest run tests/e2e/fixtures/updatesJourney.test.ts — RED first against the unfixed spec (1 failed | 21 passed, 22), the spec-source pin guestExec(live, realRailLandStep(), REAL_RAIL_APPLY_BUDGET_MS) absent at updatesJourney.test.ts:342; GREEN after: 22 passed (22). Wider offline suite pnpm --filter app exec vitest run tests/e2e/fixtures/ — 33 files, 640 passed (640). pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit — clean. pnpm exec eslint on all three touched files — clean. pnpm exec prettier --check on all three — clean after a --write. No box query and no door-leg re-prove: no artifacts/live-box.json was handed over (logs/qemu.log records exit 1 … ps -C qemu-system-x86_64 with no process — the guest was torn down), and real-rail is not a roles-proof door leg. The box's own words were read from the harvested journals instead: logs/guest-system-journal.log:7027 (session accepted 06:34:07), :7055 "Connection closed by 10.0.2.2 port 60322" at 06:34:37, :7067-7072 switch-to-configuration at 06:34:42-43, and logs/guest-control-plane.log:189 at 06:34:46 "release source wired: the fleet receives updates on the one signed Matou channel … feed=https://get.idss.nz/channel/testing.json" — where :119 at 06:09:03 still read feed=http://10.0.2.2:8091/channel/testing.json.. The drive stays armed; the next tick re-drives.

rehearsal healer: drive `20260921T053406Z` red at `real-rail` (sig 844ba04b38b5) self-fixed — commit `c91520ae38441eafc08fea54fc311af3ece63844` (3 files changed, 60 insertions(+), 7 deletions(-)); checks: Targeted: `pnpm --filter app exec vitest run tests/e2e/fixtures/updatesJourney.test.ts` — RED first against the unfixed spec (1 failed | 21 passed, 22), the spec-source pin `guestExec(live, realRailLandStep(), REAL_RAIL_APPLY_BUDGET_MS)` absent at updatesJourney.test.ts:342; GREEN after: 22 passed (22). Wider offline suite `pnpm --filter app exec vitest run tests/e2e/fixtures/` — 33 files, 640 passed (640). `pnpm --filter app exec vue-tsc -p tsconfig.json --noEmit` — clean. `pnpm exec eslint` on all three touched files — clean. `pnpm exec prettier --check` on all three — clean after a `--write`. No box query and no door-leg re-prove: no `artifacts/live-box.json` was handed over (`logs/qemu.log` records `exit 1 … ps -C qemu-system-x86_64` with no process — the guest was torn down), and real-rail is not a roles-proof door leg. The box's own words were read from the harvested journals instead: `logs/guest-system-journal.log:7027` (session accepted 06:34:07), `:7055` "Connection closed by 10.0.2.2 port 60322" at 06:34:37, `:7067-7072` switch-to-configuration at 06:34:42-43, and `logs/guest-control-plane.log:189` at 06:34:46 "release source wired: the fleet receives updates on the one signed Matou channel … feed=https://get.idss.nz/channel/testing.json" — where `:119` at 06:09:03 still read `feed=http://10.0.2.2:8091/channel/testing.json`.. The drive stays armed; the next tick re-drives.

drive 20260921T064206Z GREEN end to end — 9/9 legs green — evidence (legs.json, durations, trace, host facts) in test-results/private-path/20260921T064206Z/ on the executor host; a representative screenshot is attached here if one was captured (#596). Closing per the standing instructions: the local-guest journey passes, #183 is ready to be boring.

drive `20260921T064206Z` GREEN end to end — 9/9 legs green — evidence (legs.json, durations, trace, host facts) in `test-results/private-path/20260921T064206Z/` on the executor host; a representative screenshot is attached here if one was captured (#596). Closing per the standing instructions: the local-guest journey passes, #183 is ready to be boring.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks Depends on
Reference
Matou/idss#1614
No description provided.