portal: the whole member journey proven by drive — sign in → home → open a door → claim mail → sign out; closes map #1336 (spec #1361 s40) #1373

Closed
opened 2026-09-10 00:56:52 +00:00 by ben · 25 comments
Owner

Parent

Spec #1361 (the Portal); program map #1336; design contract DDR 0232 / ADR 0233, flow docs/ux/flows/portal.mermaid, wireframes docs/ux/wireframes/portal/. Slice portal-journey-leg in docs/slices/portal.yaml.

What to build

The public-path journey's Portal leg grows to the full member journey: sign in as a plain member → PT-S1 with at least one open door (the files door) → open it → back → claim the mailbox → the Mail card becomes webmail → Sign out → PT-S0; an operator sees the Control panel door; a member with no doors sees PT-S1e. Screenshots eyeballed (a GREEN can be FALSE). Closes the arc; the map #1336 closes with it.

Acceptance criteria

  • Given the public-path journey, when the Portal leg runs as a plain member, then sign in → PT-S1 with the files door open → open it → back → claim the mailbox → the Mail card becomes webmail → Sign out → PT-S0.
  • Given the same journey as an operator, when it runs, then PT-S1o shows the Control panel door and it opens the panel on the same session.
  • Given a member with no doors, when it runs, then PT-S1e renders.
  • Given the drive, when it completes, then GREEN with screenshots eyeballed; map #1336 closes on this ticket.

Blocked by

Why session

Needs a live drive on the rehearsal host (live doors, host credentials) — the ticket closes on a GREEN drive with eyeballed screenshots, never on unit tests alone (ADR 0174: ready-for-session).

Task manifest

task: portal-journey-leg
implements_flow: portal
implements_edge: the whole member journey — sign in → home with an open door → claim → sign out
wireframe: ''
interface: ''
seam: the public e2e journey (drive)
acceptance:
- given: the public-path journey
  when: the Portal leg runs as a plain member
  then: sign in → PT-S1 with the files door open → open it → back → claim the mailbox → the Mail card
    becomes webmail → Sign out → PT-S0
- given: the same journey as an operator
  when: it runs
  then: PT-S1o shows the Control panel door and it opens the panel on the same session
- given: a member with no doors
  when: it runs
  then: PT-S1e renders
- given: the drive
  when: it completes
  then: 'GREEN with screenshots eyeballed; map #1336 closes on this ticket'
depends_on:
- cutover-drive-leg
- home-doors
- mail-rehome
out_of_scope:
- operator truth on the Portal
- operator notices / per-service public switch
- IDIP identity door
- mail on IDIP (stated limit)
- IDIP browser sign-in UX (#1302)
needs_human_decision: []
## Parent Spec **#1361** (the Portal); program map **#1336**; design contract DDR 0232 / ADR 0233, flow `docs/ux/flows/portal.mermaid`, wireframes `docs/ux/wireframes/portal/`. Slice `portal-journey-leg` in `docs/slices/portal.yaml`. ## What to build The public-path journey's Portal leg grows to the full member journey: sign in as a plain member → PT-S1 with at least one open door (the files door) → open it → back → claim the mailbox → the Mail card becomes webmail → Sign out → PT-S0; an operator sees the Control panel door; a member with no doors sees PT-S1e. Screenshots eyeballed (a GREEN can be FALSE). Closes the arc; the map #1336 closes with it. ## Acceptance criteria - [ ] Given the public-path journey, when the Portal leg runs as a plain member, then sign in → PT-S1 with the files door open → open it → back → claim the mailbox → the Mail card becomes webmail → Sign out → PT-S0. - [ ] Given the same journey as an operator, when it runs, then PT-S1o shows the Control panel door and it opens the panel on the same session. - [ ] Given a member with no doors, when it runs, then PT-S1e renders. - [ ] Given the drive, when it completes, then GREEN with screenshots eyeballed; map #1336 closes on this ticket. ## Blocked by - #1369 - #1371 - #1372 ## Why session Needs a live drive on the rehearsal host (live doors, host credentials) — the ticket closes on a GREEN drive with eyeballed screenshots, never on unit tests alone (ADR 0174: `ready-for-session`). ## Task manifest ```yaml task: portal-journey-leg implements_flow: portal implements_edge: the whole member journey — sign in → home with an open door → claim → sign out wireframe: '' interface: '' seam: the public e2e journey (drive) acceptance: - given: the public-path journey when: the Portal leg runs as a plain member then: sign in → PT-S1 with the files door open → open it → back → claim the mailbox → the Mail card becomes webmail → Sign out → PT-S0 - given: the same journey as an operator when: it runs then: PT-S1o shows the Control panel door and it opens the panel on the same session - given: a member with no doors when: it runs then: PT-S1e renders - given: the drive when: it completes then: 'GREEN with screenshots eyeballed; map #1336 closes on this ticket' depends_on: - cutover-drive-leg - home-doors - mail-rehome out_of_scope: - operator truth on the Portal - operator notices / per-service public switch - IDIP identity door - mail on IDIP (stated limit) - IDIP browser sign-in UX (#1302) needs_human_decision: [] ```
Author
Owner

Unblocked — #1369 closed GREEN on both paths (Ben's session, 2026-09-11). Read this before you drive.

This is the last ticket on map #1336; the map closes with it. What #1369 already proved, so you need not re-prove it: PT-S0 at the apex, the sign-in round trip, /fleet → 308 → admin.<apex>, the operator API 404 at the apex, Sign out landing on PT-S0 (public droplet drive), and the private path showing the Portal at the apex with no redirect (private local-guest drive). Frames eyeballed on both.

What this ticket adds is the full member journey on the public path: sign in as a plain member → PT-S1 with at least one open door (files) → open it → back → claim the mailbox → the Mail card becomes webmail → Sign out → PT-S0; an operator sees the Control panel door; a member with no doors sees PT-S1e.

THE FAILURE MODE TO AVOID — it has now burned four unattended sessions on #1369. Every one of them launched the drive, backgrounded it, and ended its turn. The runner then read "not advanced" and escalated to agent-blocked — while the drive went GREEN minutes later, unattended and unread. Two droplet drives and one private drive were all thrown away this way.

So: do not end your turn with a drive in flight. Run it in the foreground, or poll its log until it prints its verdict, and only then report. A drive takes 12–15 minutes; that is well inside one session.

Host notes. matou-dev-server-01 cannot run local-guest drives (production infra box, under the 6144 MiB floor) — it is excluded by the session-host marker and should skip at pick time. elitebook-distributed-server-03 can, but it currently runs with swap 100% full (/tmp is tmpfs holding ~5.6 GB of stale debris) and its forgejo-runner-swarm.service carries a MemoryHigh=2G drop-in that throttles host-executor builds indefinitely. If your drive dies at preflight or crawls, that is why — say so on the ticket rather than burning an attempt.

Bar: GREEN drive with screenshots eyeballed — a GREEN can be FALSE. Check the frames are distinct images of the right screens, not repeats of an earlier leg (the leg capturer has done that before, GOTCHAS #218).

**Unblocked — #1369 closed GREEN on both paths (Ben's session, 2026-09-11). Read this before you drive.** This is the **last ticket on map #1336**; the map closes with it. What #1369 already proved, so you need not re-prove it: PT-S0 at the apex, the sign-in round trip, `/fleet` → 308 → `admin.<apex>`, the operator API 404 at the apex, Sign out landing on PT-S0 (public droplet drive), and the private path showing the Portal at the apex with **no** redirect (private local-guest drive). Frames eyeballed on both. **What this ticket adds** is the full member journey on the public path: sign in as a plain member → PT-S1 with at least one open door (files) → open it → back → claim the mailbox → the Mail card becomes webmail → Sign out → PT-S0; an operator sees the Control panel door; a member with no doors sees PT-S1e. **THE FAILURE MODE TO AVOID — it has now burned four unattended sessions on #1369.** Every one of them launched the drive, backgrounded it, and ended its turn. The runner then read "not advanced" and escalated to `agent-blocked` — while the drive went GREEN minutes later, unattended and unread. Two droplet drives and one private drive were all thrown away this way. **So: do not end your turn with a drive in flight.** Run it in the foreground, or poll its log until it prints its verdict, and only then report. A drive takes 12–15 minutes; that is well inside one session. **Host notes.** `matou-dev-server-01` cannot run local-guest drives (production infra box, under the 6144 MiB floor) — it is excluded by the `session-host` marker and should skip at pick time. `elitebook-distributed-server-03` can, but it currently runs with **swap 100% full** (`/tmp` is tmpfs holding ~5.6 GB of stale debris) and its `forgejo-runner-swarm.service` carries a `MemoryHigh=2G` drop-in that throttles host-executor builds indefinitely. If your drive dies at preflight or crawls, that is why — say so on the ticket rather than burning an attempt. **Bar:** GREEN drive with screenshots **eyeballed** — a GREEN can be FALSE. Check the frames are distinct images of the right screens, not repeats of an earlier leg (the leg capturer has done that before, GOTCHAS #218).

Session on elitebook-distributed-server-03 (agent under ADR 0174) — ruled by agent, veto anytime. First session-runner attempt on #1373.

Drive-leg code landed (test-only, two-way, revertible): the whole member journey now drives on the public path (journey.droplet.spec.ts).

  • New app/tests/e2e/fixtures/portalJourney.ts — assertPortalMemberJourney: a plain kanidm member signs into the Portal at the apex -> PT-S1 (no control-panel door) -> the files door open -> Open it -> back -> the Mail card NO MAILBOX YET -> claim (MAIL-M1->M2->claimed) -> the Mail card BECOMES webmail (mail.) -> Sign out -> PT-S0 (/me 401). [AC1]
  • fixtures/cutover.ts gains assertPortalEmptyDoors (PT-S1e) [AC3] and assertControlPanelOpens (AC2 — the control-panel door opens the panel origin admin. on the same session); both additive, the proven #1369 round-trip untouched.
  • The drive gains a mail-cohost leg (co-host Mail, plain-deploy, settle-aware wait: Active or the MAIL-S1 readiness screen — a lab-DNS apex has no mail DNS records, so Stalwart activates degraded per ADR 0015 and the member claim over the mesh-proxied management API still works) and a portal-member leg (mints an active by-hand member, then the full journey).
  • Static gates GREEN: vue-tsc (0 errors, tests included), eslint, Playwright loader lists the spec. Payload re-warmed from main HEAD a575406b.

Live drive in flight now (watched to verdict in-session, not backgrounded-and-abandoned — the #1369 failure mode): droplet clan-lab-rehearsal-b2b5d6b5 (syd1, s-2vcpu-4gb, 6h TTL), fire 20260911T213639Z. Close-report with verdict + eyeballed frames follows in this session.

Host note (Ben's hazard): swap 99% full; the droplet target runs no local guest (MemAvailable ~10.6 GiB), so low-risk here; not touching /tmp (debris may be in use by the running sandcastle backend).

**Session on `elitebook-distributed-server-03` (agent under ADR 0174) — ruled by agent, veto anytime.** First session-runner attempt on #1373. **Drive-leg code landed (test-only, two-way, revertible):** the whole member journey now drives on the public path (`journey.droplet.spec.ts`). - New `app/tests/e2e/fixtures/portalJourney.ts` — `assertPortalMemberJourney`: a plain kanidm member signs into the Portal at the apex -> PT-S1 (no control-panel door) -> the **files door open -> Open it -> back** -> the **Mail card NO MAILBOX YET -> claim (MAIL-M1->M2->claimed) -> the Mail card BECOMES webmail** (mail.<apex>) -> **Sign out -> PT-S0** (/me 401). [AC1] - `fixtures/cutover.ts` gains `assertPortalEmptyDoors` (PT-S1e) [AC3] and `assertControlPanelOpens` (AC2 — the control-panel door opens the panel origin admin.<apex> on the same session); both additive, the proven #1369 round-trip untouched. - The drive gains a **`mail-cohost`** leg (co-host Mail, plain-deploy, settle-aware wait: Active **or** the MAIL-S1 readiness screen — a lab-DNS apex has no mail DNS records, so Stalwart activates degraded per ADR 0015 and the member claim over the mesh-proxied management API still works) and a **`portal-member`** leg (mints an active by-hand member, then the full journey). - Static gates GREEN: `vue-tsc` (0 errors, tests included), `eslint`, Playwright loader lists the spec. Payload re-warmed from `main` HEAD `a575406b`. **Live drive in flight now** (watched to verdict in-session, not backgrounded-and-abandoned — the #1369 failure mode): droplet `clan-lab-rehearsal-b2b5d6b5` (syd1, s-2vcpu-4gb, 6h TTL), fire `20260911T213639Z`. Close-report with verdict + eyeballed frames follows in this session. Host note (Ben's hazard): swap 99% full; the droplet target runs no local guest (MemAvailable ~10.6 GiB), so low-risk here; not touching /tmp (debris may be in use by the running sandcastle backend).

Session on bens-mac-04 (agent under ADR 0174 — ruled by agent, veto anytime). Second session-runner attempt on #1373.

The first attempt (2026-09-11) landed drive-leg code but its checkout's work was never pushed to main (portalJourney.ts was absent from main HEAD 4783ec99), so this session re-did it and pushed so it can't be lost again.

Drive-leg code landed on main (4a677463, test-only, additive, revertible):

  • app/tests/e2e/fixtures/portalJourney.ts — assertPortalEmptyDoors (AC3, PT-S1e: a fresh active member with nothing co-hosted meets the honest empty home — no service doors, no Mail card, no control-panel door) and assertPortalMemberJourney (AC1: PT-S1 with the files door OPEN → open it → back → Mail card NO MAILBOX YET → claim MAIL-M1→M2→claimed → the Mail card becomes an OPEN webmail door → Sign out → PT-S0); createActiveMember mints the member through the operator's panel session.
  • fixtures/cutover.ts — assertControlPanelOpens (AC2: the operator's Control panel door opens admin.<apex> on the SAME session, then returns home for Sign out); the proven #1369 operator round-trip is untouched.
  • fixtures/provision.ts — selectMailOnGateway (co-host the mail module).
  • journey.droplet.spec.ts — wires the portal-s1e (before co-host), mail-cohost, and portal-member legs; folds AC2 into the cutover leg.

Static gates GREEN: vue-tsc -p tsconfig.json (0 errors), eslint (repo-wide, pre-push hook), Playwright loader lists journey.droplet.spec.ts.

Two-way door (ADR 0174): test-only code + a routine lab-droplet drive, both revertible; proof is the live GREEN with eyeballed frames. Live droplet drive starting now, watched to verdict in-session (not backgrounded — the #1369 failure mode). Close-report with the verdict + eyeballed frames follows in THIS session.

**Session on `bens-mac-04` (agent under ADR 0174 — ruled by agent, veto anytime).** Second session-runner attempt on #1373. The first attempt (2026-09-11) landed drive-leg code but its checkout's work was **never pushed to `main`** (`portalJourney.ts` was absent from `main` HEAD `4783ec99`), so this session re-did it and **pushed** so it can't be lost again. **Drive-leg code landed on `main` (`4a677463`, test-only, additive, revertible):** - `app/tests/e2e/fixtures/portalJourney.ts` — `assertPortalEmptyDoors` (**AC3**, PT-S1e: a fresh active member with nothing co-hosted meets the honest empty home — no service doors, no Mail card, no control-panel door) and `assertPortalMemberJourney` (**AC1**: PT-S1 with the files door OPEN → open it → back → Mail card NO MAILBOX YET → claim MAIL-M1→M2→claimed → the Mail card becomes an OPEN webmail door → Sign out → PT-S0); `createActiveMember` mints the member through the operator's panel session. - `fixtures/cutover.ts` — `assertControlPanelOpens` (**AC2**: the operator's Control panel door opens `admin.<apex>` on the SAME session, then returns home for Sign out); the proven #1369 operator round-trip is untouched. - `fixtures/provision.ts` — `selectMailOnGateway` (co-host the mail module). - `journey.droplet.spec.ts` — wires the `portal-s1e` (before co-host), `mail-cohost`, and `portal-member` legs; folds AC2 into the `cutover` leg. **Static gates GREEN:** `vue-tsc -p tsconfig.json` (0 errors), `eslint` (repo-wide, pre-push hook), Playwright loader lists `journey.droplet.spec.ts`. **Two-way door (ADR 0174):** test-only code + a routine lab-droplet drive, both revertible; proof is the live GREEN with eyeballed frames. **Live droplet drive starting now, watched to verdict in-session** (not backgrounded — the #1369 failure mode). Close-report with the verdict + eyeballed frames follows in THIS session.
Author
Owner

⚠ STAND DOWN — a hand drive for this ticket is ALREADY IN FLIGHT. Do not start a second one.

Ben's session, 2026-09-12 03:41Z. A droplet drive for #1373 is running right now on elitebook-distributed-server-03, launched by hand and watched to verdict. It is past preflight, has rented clan-lab-rehearsal-5b50b1cb, and is founding.

  • Log: /home/swarm/swarm/drive-logs/portal-1373-hand-20260912T034008Z.log on elitebook (the path is also in drive-logs/portal-1373-hand.path).
  • It holds the drive reservation /tmp/matou-drive-wanted = 1373.
  • Tree pinned at 4a677463; payload dashboard dist refreshed by hand from that commit.

Why a second drive is harmful, not merely wasteful. Since 4783ec99 every founding target claims REHEARSAL_SLUG_FOUNDING = rehearsal-f. Two concurrent droplet drives therefore claim the same name: the second reds at S5 "that name is already taken", and worse, either drive's teardown offboards the slug the other one is using. That is the wrong-host offboard #575 exists to prevent, arriving by a different road.

So: do not run smoke-private-path.sh --target droplet while that log has no DRIVE EXIT line. If you want to help, tail it and report the verdict — but the launching session is already doing that, and will post the close-report with eyeballed frames.

For the record, what blocked the four previous attempts on this ticket (all now cleared):

  1. The slug collision with the standing community — fixed by #1401.
  2. The claimability guard treating bare DNS resolution as proof a name is taken, under a wildcard where every name resolves — fixed by d64e3ac5.
  3. The last session never drove at all: it armed a waiter that polls for "no operator app running" with a pattern matching its own command line, so its condition can never be true. It spun 45 minutes with a zero-byte log. No operator app was running.
  4. The payload refresh script writes to the repo's own output directory by default, not the host payload directory the drive reads — so a re-warm can "succeed" and change nothing. Refresh with the destination argument, and note a wholesale overwrite drops the QEMU runtime and the IDIP bundle that the live payload carries.
# ⚠ STAND DOWN — a hand drive for this ticket is ALREADY IN FLIGHT. Do not start a second one. **Ben's session, 2026-09-12 03:41Z.** A droplet drive for #1373 is running right now on `elitebook-distributed-server-03`, launched by hand and watched to verdict. It is past preflight, has rented `clan-lab-rehearsal-5b50b1cb`, and is founding. - Log: `/home/swarm/swarm/drive-logs/portal-1373-hand-20260912T034008Z.log` on elitebook (the path is also in `drive-logs/portal-1373-hand.path`). - It holds the drive reservation `/tmp/matou-drive-wanted` = 1373. - Tree pinned at `4a677463`; payload dashboard dist refreshed by hand from that commit. **Why a second drive is harmful, not merely wasteful.** Since `4783ec99` every founding target claims `REHEARSAL_SLUG_FOUNDING` = `rehearsal-f`. Two concurrent droplet drives therefore claim **the same name**: the second reds at S5 "that name is already taken", and worse, either drive's teardown offboards the slug the *other* one is using. That is the wrong-host offboard #575 exists to prevent, arriving by a different road. **So:** do not run `smoke-private-path.sh --target droplet` while that log has no `DRIVE EXIT` line. If you want to help, tail it and report the verdict — but the launching session is already doing that, and will post the close-report with eyeballed frames. **For the record, what blocked the four previous attempts on this ticket** (all now cleared): 1. The slug collision with the standing community — fixed by #1401. 2. The claimability guard treating bare DNS resolution as proof a name is taken, under a wildcard where every name resolves — fixed by `d64e3ac5`. 3. The last session never drove at all: it armed a waiter that polls for "no operator app running" with a pattern matching **its own command line**, so its condition can never be true. It spun 45 minutes with a zero-byte log. No operator app was running. 4. The payload refresh script writes to the repo's own output directory by default, not the host payload directory the drive reads — so a re-warm can "succeed" and change nothing. Refresh with the destination argument, and note a wholesale overwrite **drops** the QEMU runtime and the IDIP bundle that the live payload carries.
ben self-assigned this 2026-09-12 03:42:12 +00:00

drive 20260912T034016Z RED — now blocked by: #1406 (evidence on each). The drive re-fires when the last blocker closes.

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

Drive-readiness note — the next drive can start immediately once #1406 lands

The 03:40Z hand drive (20260912T034016Z) reached 19 legs, 18 green, with portal-s1e the only red. Four blockers were cleared to get there, and all of that groundwork is still in place on elitebook-distributed-server-03:

  • Slug: the drive claims rehearsal-f.idss.nz per #1401 — proven live, no collision with the standing community. Its Caddy cert store was harvested (test-results/cert-store/rehearsal-f.new, full identifier set), so the next drive on that name orders zero new certificates.
  • Payload: the dashboard dist in /home/swarm/swarm/rehearsal-payload was refreshed by hand from 4a677463 and is newer than the newest dashboard/ commit as of 03:40Z. Backup at dashboard.bak-20260912T033943Z. Refresh it with the destination argument — scripts/assemble-payload.sh "$IDSS_PAYLOAD_DIR" — the default writes to the repo's result-payload/, which the drive does not read, so a re-warm can "succeed" and change nothing. A wholesale overwrite also drops the QEMU runtime and the IDIP keri-web.js bundle that the live payload carries and the fresh build does not produce; refresh dashboard/ alone unless you have those sources staged.
  • Launcher: /home/swarm/swarm/drive-portal-1373.sh runs the drive under a /tmp/matou-drive-wanted reservation so session ticks defer instead of starting a second drive. Run it in tmux and watch the log to its DRIVE EXIT line.

Optional, not required — a leg reorder that makes this prove more

#1406's fix makes the current leg work as written, so this is a nice-to-have, held back deliberately to avoid colliding with the session working #1406.

portal-s1e currently creates the member and their komiti before any deploy. The empty home does not need a komiti at all — a member in none has no doors. So the leg could create the member with komiti: [], and a small grantKomitiDoor helper could create the komiti and add that same member in the portal-member leg, after files is live. The journey then proves something stronger: the same member meets the honest empty home, and then the files door appears once they are in a komiti.

I have that patch typechecked and lint-clean (vue-tsc 0 errors, eslint clean on both files) but have not pushed it. Say the word and it lands; otherwise ignore it — #1406 alone unblocks this ticket.

## Drive-readiness note — the next drive can start immediately once #1406 lands The 03:40Z hand drive (`20260912T034016Z`) reached **19 legs, 18 green**, with `portal-s1e` the only red. Four blockers were cleared to get there, and all of that groundwork is still in place on `elitebook-distributed-server-03`: - **Slug:** the drive claims `rehearsal-f.idss.nz` per #1401 — proven live, no collision with the standing community. Its Caddy cert store was harvested (`test-results/cert-store/rehearsal-f.new`, full identifier set), so the next drive on that name **orders zero new certificates**. - **Payload:** the dashboard dist in `/home/swarm/swarm/rehearsal-payload` was refreshed by hand from `4a677463` and is newer than the newest `dashboard/` commit as of 03:40Z. Backup at `dashboard.bak-20260912T033943Z`. **Refresh it with the destination argument** — `scripts/assemble-payload.sh "$IDSS_PAYLOAD_DIR"` — the default writes to the repo's `result-payload/`, which the drive does not read, so a re-warm can "succeed" and change nothing. A wholesale overwrite also **drops** the QEMU runtime and the IDIP `keri-web.js` bundle that the live payload carries and the fresh build does not produce; refresh `dashboard/` alone unless you have those sources staged. - **Launcher:** `/home/swarm/swarm/drive-portal-1373.sh` runs the drive under a `/tmp/matou-drive-wanted` reservation so session ticks defer instead of starting a second drive. Run it in tmux and watch the log to its `DRIVE EXIT` line. ## Optional, not required — a leg reorder that makes this prove more #1406's fix makes the current leg work as written, so this is a nice-to-have, held back deliberately to avoid colliding with the session working #1406. `portal-s1e` currently creates the member **and** their komiti before any deploy. The empty home does not need a komiti at all — a member in none has no doors. So the leg could create the member with `komiti: []`, and a small `grantKomitiDoor` helper could create the komiti and add that same member in the `portal-member` leg, after files is live. The journey then proves something stronger: the same member meets the honest empty home, and **then the files door appears** once they are in a komiti. I have that patch typechecked and lint-clean (`vue-tsc` 0 errors, eslint clean on both files) but have **not** pushed it. Say the word and it lands; otherwise ignore it — #1406 alone unblocks this ticket.
Author
Owner

⚠ A HAND DRIVE IS IN FLIGHT RIGHT NOW (04:52Z) — do not start a second one.

Running on elitebook-distributed-server-03, launched 04:42Z, currently past point and seed.

  • Log: /home/swarm/swarm/drive-logs/portal-1373-hand-20260912T044236Z.log (path also in drive-logs/portal-1373-hand.path)
  • Run dir: test-results/drive-droplet/20260912T045221Z
  • Holds /tmp/matou-drive-wanted = 1373.
  • Tree at 9e3345eb, which carries the #1406 komiti fix.

Two concurrent droplet drives are actively harmful, not just wasteful: since 4783ec99 every founding target claims the same name (rehearsal-f), so the second reds at S5 "already taken" and either drive's teardown offboards the slug the other is using.

Important, and the reason this drive is by hand: the #1406 fix lives in internal/, but oc_payload_fresh only gates control-plane/. So the staleness guard cannot see that a payload binary predates the fix — a drive started without rebuilding would have silently tested the unfixed control plane and re-red at portal-s1e. This drive assembled into /home/swarm/swarm/payload-staging and grafted the three binaries + the dashboard into the live payload, preserving the QEMU runtime and dashboard/idip/keri-web.js that a fresh assemble does not produce.

Also note this ticket was unworkable by the swarm for over an hour — a dead session's claim comment (bens-mac-04 run=1868074, 02:43Z, session gone by 03:19Z) made every other host stand down forever. Filed as #1412. That is why it is being driven by hand.

I will post the verdict with eyeballed frames when it exits. If you are a session that just claimed this: tail the log above rather than driving.

# ⚠ A HAND DRIVE IS IN FLIGHT RIGHT NOW (04:52Z) — do not start a second one. Running on `elitebook-distributed-server-03`, launched 04:42Z, currently past `point` and `seed`. - Log: `/home/swarm/swarm/drive-logs/portal-1373-hand-20260912T044236Z.log` (path also in `drive-logs/portal-1373-hand.path`) - Run dir: `test-results/drive-droplet/20260912T045221Z` - Holds `/tmp/matou-drive-wanted` = 1373. - Tree at `9e3345eb`, which carries the #1406 komiti fix. **Two concurrent droplet drives are actively harmful, not just wasteful:** since `4783ec99` every founding target claims the same name (`rehearsal-f`), so the second reds at S5 "already taken" and either drive's teardown offboards the slug the other is using. **Important, and the reason this drive is by hand:** the #1406 fix lives in `internal/`, but `oc_payload_fresh` only gates `control-plane/`. So the staleness guard **cannot see** that a payload binary predates the fix — a drive started without rebuilding would have silently tested the unfixed control plane and re-red at `portal-s1e`. This drive assembled into `/home/swarm/swarm/payload-staging` and grafted the three binaries + the dashboard into the live payload, preserving the QEMU runtime and `dashboard/idip/keri-web.js` that a fresh assemble does not produce. **Also note this ticket was unworkable by the swarm for over an hour** — a dead session's claim comment (`bens-mac-04 run=1868074`, 02:43Z, session gone by 03:19Z) made every other host stand down forever. Filed as #1412. That is why it is being driven by hand. I will post the verdict with eyeballed frames when it exits. If you are a session that just claimed this: tail the log above rather than driving.
Author
Owner

Drive verdict: 26 legs GREEN, 1 red — and the red says this ticket cannot fully close today

Hand drive 20260912T045221Z on elitebook, tree 9e3345eb (carries the #1406 fix), payload rebuilt from that commit. 26 green, 1 red, 0 skips.

What is now PROVEN (frames eyeballed, not just green)

  • portal-s1e GREEN — #1406's fix works live. artifacts/portal/pt-s1e-no-doors.png: "Signed in as E2E Portal Member", "No doors are open to you yet.", Manage your sign-in, Sign out. No service cards, no Mail card, no control-panel door. That is AC3 (PT-S1e), whole.
  • cutover GREEN, and assertControlPanelOpens with it. pt-s1o-control-panel-opened.png shows the panel at admin.<apex> on the same session — "E2E Drive", operator, all six tabs. That is AC2.
  • PT-S0 and the after-sign-out landing are byte-identical again (0d715570…), as in #1369.
  • Everything upstream is green: founding, supply, mesh, the cutover, deploy-files, files-healthy, door, branded-login, oidc-admin, branded-chrome.

The red: mail-cohost — the drive selected a service the product deliberately refuses to offer

deploy failed (clean-retry): … clan: config_eval on gateway:
error: flake input 'clan-core' doesn't provide clan-module with name 'mail'.

This is GOTCHAS #14 exactly — a phantom inventory instance naming a nonexistent module. It is a harness defect, not a product one, and the product is behaving correctly:

  • renderShippingService("mail") → true (internal/provision/deploy.go:1706)
  • clan.PortRoutable("mail") → false (internal/clan/portroute.go — only files/docs-editing and the forward-auth ports route)
  • therefore provisionCannotDeploy("mail") → true, i.e. CanDeployService("mail") == false

provisionCannotDeploy's own comment names it: "The gateway-colocated ports (mail / code / chat) and the other helper renders (meetings / static-sites) are the sibling frontier: render-shipping but not yet routed, so they stay gated." P4-S2 does not offer mail, by Ben's ruling under ADR 0100 — a selectable service that can only deploy as a phantom is a selectable lie.

The new selectMailOnGateway fixture reaches past that gate and selects it anyway, so it can only ever produce this failure.

The consequence — and it needs a ruling

portal-member never ran (it is ordered after mail-cohost). But reordering will not save it: assertPortalMemberJourney asserts the mail claim (Mail card NO MAILBOX YET → MAIL-M1 → M2 → the card becomes webmail), and mail cannot be deployed on any community today. So AC1 as written is unprovable by drive, not because the Portal is wrong but because the mail service is not yet routable.

Worth being plain: the Portal's mail work IS built and seam-proven (#1372 — /mail under the Portal shell, the Mail card by claim state, the cookie resolver fix for #1344). What is missing is the ability to deploy a mail service at all, which the Portal does not own and which sits on the sibling frontier with chat/code/meetings/static-sites.

Recommendation (Ben's call — it changes what "done" means here)

Split. Drop the mail-cohost leg and the mail assertions from this ticket, and prove what the Portal actually owns:

  • PT-S1e, the honest empty home — already green above
  • the operator's Control panel door — already green above
  • the member journey minus mail: sign in → PT-S1 with the files door open → open it → back → Sign out → PT-S0

Then track the mail half as its own ticket, blocked on mail becoming routable. The map (#1336) closes on the Portal being proven, and the Portal is proven; holding it open on a service-deployment frontier it does not own would be the wrong gate.

The alternative is to hold #1373 and #1336 open until mail is routed, which is unscoped work with no date.

Drive state left behind

Payload rebuilt from 9e3345eb and grafted (QEMU runtime + idip/keri-web.js preserved; backups alongside). rehearsal-f certs harvested again, so the next drive orders none. Launcher: /home/swarm/swarm/drive-portal-1373.sh.

Do not start a drive without rebuilding the payload first: the #1406 fix lives in internal/, and oc_payload_fresh only gates control-plane/ — the staleness guard cannot see a binary that predates it.

# Drive verdict: 26 legs GREEN, 1 red — and the red says this ticket cannot fully close today Hand drive `20260912T045221Z` on elitebook, tree `9e3345eb` (carries the #1406 fix), payload rebuilt from that commit. **26 green, 1 red, 0 skips.** ## What is now PROVEN (frames eyeballed, not just green) - **`portal-s1e` GREEN — #1406's fix works live.** `artifacts/portal/pt-s1e-no-doors.png`: "Signed in as E2E Portal Member", **"No doors are open to you yet."**, Manage your sign-in, Sign out. No service cards, no Mail card, no control-panel door. That is **AC3 (PT-S1e)**, whole. - **`cutover` GREEN, and `assertControlPanelOpens` with it.** `pt-s1o-control-panel-opened.png` shows the panel at `admin.<apex>` on the same session — "E2E Drive", operator, all six tabs. That is **AC2**. - PT-S0 and the after-sign-out landing are byte-identical again (`0d715570…`), as in #1369. - Everything upstream is green: founding, supply, mesh, the cutover, `deploy-files`, `files-healthy`, `door`, `branded-login`, `oidc-admin`, `branded-chrome`. ## The red: `mail-cohost` — the drive selected a service the product deliberately refuses to offer ``` deploy failed (clean-retry): … clan: config_eval on gateway: error: flake input 'clan-core' doesn't provide clan-module with name 'mail'. ``` This is **GOTCHAS #14** exactly — a phantom inventory instance naming a nonexistent module. It is a **harness defect, not a product one**, and the product is behaving correctly: - `renderShippingService("mail")` → **true** (`internal/provision/deploy.go:1706`) - `clan.PortRoutable("mail")` → **false** (`internal/clan/portroute.go` — only files/docs-editing and the forward-auth ports route) - therefore `provisionCannotDeploy("mail")` → **true**, i.e. **`CanDeployService("mail") == false`** `provisionCannotDeploy`'s own comment names it: *"The gateway-colocated ports (**mail** / code / chat) and the other helper renders (meetings / static-sites) are the sibling frontier: render-shipping but not yet routed, so they stay gated."* P4-S2 does not offer mail, by Ben's ruling under ADR 0100 — *a selectable service that can only deploy as a phantom is a selectable lie*. The new `selectMailOnGateway` fixture reaches past that gate and selects it anyway, so it can only ever produce this failure. ## The consequence — and it needs a ruling `portal-member` never ran (it is ordered after `mail-cohost`). But reordering will not save it: **`assertPortalMemberJourney` asserts the mail claim** (Mail card NO MAILBOX YET → MAIL-M1 → M2 → the card becomes webmail), and **mail cannot be deployed on any community today**. So **AC1 as written is unprovable by drive**, not because the Portal is wrong but because the mail *service* is not yet routable. Worth being plain: the Portal's mail work IS built and seam-proven (#1372 — `/mail` under the Portal shell, the Mail card by claim state, the cookie resolver fix for #1344). What is missing is the ability to deploy a mail service at all, which the Portal does not own and which sits on the sibling frontier with chat/code/meetings/static-sites. ### Recommendation (Ben's call — it changes what "done" means here) **Split.** Drop the `mail-cohost` leg and the mail assertions from this ticket, and prove what the Portal actually owns: - PT-S1e, the honest empty home — **already green above** - the operator's Control panel door — **already green above** - the member journey minus mail: sign in → PT-S1 with the **files** door open → open it → back → Sign out → PT-S0 Then track the mail half as its own ticket, blocked on mail becoming routable. The map (#1336) closes on the Portal being proven, and the Portal is proven; holding it open on a service-deployment frontier it does not own would be the wrong gate. The alternative is to hold #1373 and #1336 open until mail is routed, which is unscoped work with no date. ## Drive state left behind Payload rebuilt from `9e3345eb` and grafted (QEMU runtime + `idip/keri-web.js` preserved; backups alongside). `rehearsal-f` certs harvested again, so the next drive orders none. Launcher: `/home/swarm/swarm/drive-portal-1373.sh`. **Do not start a drive without rebuilding the payload first:** the #1406 fix lives in `internal/`, and `oc_payload_fresh` only gates `control-plane/` — the staleness guard cannot see a binary that predates it.

drive 20260912T045221Z RED — now blocked by: #1418 (evidence on each). The drive re-fires when the last blocker closes.

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

Correction to my drive verdict above — one claim in it was wrong.

I wrote that the mail-cohost leg "reaches past that gate and selects mail anyway", i.e. that this was a harness defect. That is not what happened. selectMailOnGateway asserts the mail toggle is visible on the P4-S2 select screen before clicking it, and that assertion passed, as did the follow-up assertion that it became selected. The screen offered Mail and accepted the selection; the failure came later, at deploy.

So this is a product defect, not a harness one: the offering path is not consulting provisionCannotDeploy / CanDeployService, and Mail is selectable when the product's own predicate says it cannot be deployed — a selectable lie under ADR 0100 / GOTCHAS #14. It is tracked as #1418 (already agent-working); my #1419 is closed as a duplicate.

Everything else in the verdict stands, including the part that needs your ruling: assertPortalMemberJourney asserts the mail claim, and no community can deploy mail today, so AC1 as written is unprovable by drive however #1418 is fixed. The recommendation is unchanged — drop the mail leg and assertions, prove what the Portal owns (PT-S1e ✅, the control-panel door ✅, and sign in → PT-S1 with the files door → open → back → Sign out → PT-S0), and track the mail half behind mail routability.

**Correction to my drive verdict above — one claim in it was wrong.** I wrote that the `mail-cohost` leg "reaches past that gate and selects mail anyway", i.e. that this was a harness defect. **That is not what happened.** `selectMailOnGateway` asserts the mail toggle is *visible* on the P4-S2 select screen before clicking it, and that assertion passed, as did the follow-up assertion that it became `selected`. The screen **offered** Mail and accepted the selection; the failure came later, at deploy. So this is a **product** defect, not a harness one: the offering path is not consulting `provisionCannotDeploy` / `CanDeployService`, and Mail is selectable when the product's own predicate says it cannot be deployed — a selectable lie under ADR 0100 / GOTCHAS #14. It is tracked as **#1418** (already `agent-working`); my #1419 is closed as a duplicate. **Everything else in the verdict stands**, including the part that needs your ruling: `assertPortalMemberJourney` asserts the mail claim, and no community can deploy mail today, so **AC1 as written is unprovable by drive** however #1418 is fixed. The recommendation is unchanged — drop the mail leg and assertions, prove what the Portal owns (PT-S1e ✅, the control-panel door ✅, and sign in → PT-S1 with the **files** door → open → back → Sign out → PT-S0), and track the mail half behind mail routability.

session-runner: two unattended attempts did not advance this ticket — labelled agent-blocked for a human look (ADR 0174 escalation). Latest session log: /home/swarm/.local/state/matou-session-runner-Matou-idss/logs/run-1373-20260912T051420Z.log on the workstation. Remove agent-blocked (and the stale fail counter if re-arming by hand) to let the runner retry.

session-runner: two unattended attempts did not advance this ticket — labelled `agent-blocked` for a human look (ADR 0174 escalation). Latest session log: `/home/swarm/.local/state/matou-session-runner-Matou-idss/logs/run-1373-20260912T051420Z.log` on the workstation. Remove `agent-blocked` (and the stale fail counter if re-arming by hand) to let the runner retry.
Author
Owner

Ben ruled it directly: "drop the mail leg for now" (2026-09-12). That confirms the split already landed as 4c79ddcd, so this ticket is unblocked and driving.

  • agent-blocked removed, stale attempt counters cleared, the #1418 dependency dropped — with the mail leg gone, the Mail selection defect no longer stands between this ticket and a green drive. #1418 stays open on its own merits: the P4-S2 screen offering a service CanDeployService says cannot deploy is a selectable lie under ADR 0100 regardless of this drive.
  • Leg order is now … branded-chrome → portal-member, with mail-cohost gone.

What this ticket now proves, all of it the Portal's own:

  • PT-S1e — the honest empty home (already GREEN + eyeballed, drive 20260912T045221Z)
  • the operator's Control panel door opening admin.<apex> on the same session (already GREEN + eyeballed)
  • the member journey: sign in → PT-S1 with the files door OPEN at files.<apex> → open it → back home → Sign out → PT-S0

Stated limit, carried in the code's own header: the mail claim walk (NO MAILBOX YET → MAIL-M1 → M2 → the card becomes a webmail door) is out of this ticket. The Portal's mail work is built and seam-proven (#1372); what is missing is that no community can deploy a mail service today — mail is render-shipping but not port-routable, so CanDeployService("mail") == false. That is the sibling frontier (mail/chat/code/meetings/static-sites), not the Portal's scope. It gets its own ticket, blocked on mail becoming routable.

Drive launched by hand on elitebook, payload rebuilt from current main first (the oc_payload_fresh guard only watches control-plane/, so it cannot see an internal/ change that a stale binary predates). Verdict with eyeballed frames to follow.

**Ben ruled it directly: "drop the mail leg for now" (2026-09-12).** That confirms the split already landed as `4c79ddcd`, so this ticket is unblocked and driving. - `agent-blocked` removed, stale attempt counters cleared, the #1418 dependency dropped — with the mail leg gone, the Mail selection defect no longer stands between this ticket and a green drive. **#1418 stays open on its own merits**: the P4-S2 screen offering a service `CanDeployService` says cannot deploy is a selectable lie under ADR 0100 regardless of this drive. - Leg order is now `… branded-chrome → portal-member`, with `mail-cohost` gone. **What this ticket now proves**, all of it the Portal's own: - **PT-S1e** — the honest empty home (already GREEN + eyeballed, drive `20260912T045221Z`) - **the operator's Control panel door** opening `admin.<apex>` on the same session (already GREEN + eyeballed) - **the member journey**: sign in → PT-S1 with the **files** door OPEN at `files.<apex>` → open it → back home → Sign out → PT-S0 **Stated limit, carried in the code's own header:** the mail claim walk (NO MAILBOX YET → MAIL-M1 → M2 → the card becomes a webmail door) is out of this ticket. The Portal's mail work is built and seam-proven (#1372); what is missing is that **no community can deploy a mail service today** — mail is render-shipping but not port-routable, so `CanDeployService("mail") == false`. That is the sibling frontier (mail/chat/code/meetings/static-sites), not the Portal's scope. It gets its own ticket, blocked on mail becoming routable. Drive launched by hand on elitebook, payload rebuilt from current `main` first (the `oc_payload_fresh` guard only watches `control-plane/`, so it cannot see an `internal/` change that a stale binary predates). Verdict with eyeballed frames to follow.

drive 20260912T144514Z RED — now blocked by: #1443 (evidence on each). The drive re-fires when the last blocker closes.

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

session-runner: two unattended attempts did not advance this ticket — labelled agent-blocked for a human look (ADR 0174 escalation). The prior session left no exit trace (SIGKILL/OOM/reboot class); its stale claim was swept (#63). Remove agent-blocked (and the stale fail counter if re-arming by hand) to let the runner retry.

session-runner: two unattended attempts did not advance this ticket — labelled `agent-blocked` for a human look (ADR 0174 escalation). The prior session left no exit trace (SIGKILL/OOM/reboot class); its stale claim was swept (#63). Remove `agent-blocked` (and the stale fail counter if re-arming by hand) to let the runner retry.
Author
Owner

⚠ READ BEFORE YOU DRIVE — the staged payload is the BROKEN build, and the guard cannot tell you

A session claimed this at 15:49Z. If you drive without rebuilding the payload, you will red at deploy-files and it will look like a Portal fault. It is not.

What happened. My 14:35Z drive red at deploy-files — a leg that was GREEN in the 05:13Z drive:

clan: config_eval on gateway: the node was excluded at the eval preflight — nothing was deployed:
error: undefined variable 'komiti_grp'

4b30dbf6 (#1409, the ocgroups backfill) wrote a shell parameter expansion into the files nix render without escaping it. Nix reads ${komiti_grp#komiti_} as an antiquotation, looks for a nix variable, and fails — and ONE bad expression fails evaluation of the whole machine, so nothing could deploy on any community founded from those bits (the #428 shape, GOTCHAS #14).

Fixed and pushed: ddb97900 — escaped to ''${, the form keri.go/video.go/surveys.go already use. Proven red-before-green; go test ./internal/clan/ green, go build ./... clean.

It shipped green because files_test.go asserted the raw form, so the unit test demanded exactly the string that breaks nix. A guard now fails the test if a raw "${komiti_grp ever reaches the render again.

The trap that will bite you

oc_payload_fresh gates control-plane/ only. The fix is in internal/clan/files.go, so the staleness guard cannot see that the staged binary predates it — the preflight will pass you straight through with the broken control plane.

The payload at $IDSS_PAYLOAD_DIR on elitebook was rebuilt from 1f116eb0, which contains the bug.

So rebuild before driving. The pattern that works, and does not damage the shared payload:

scripts/assemble-payload.sh /home/swarm/swarm/payload-staging     # NOT over the live payload
# then graft: control-plane, idss-idp, agent, and dashboard/
# preserving the QEMU runtime (lib/, qemu-datadir/, qemu-img*) and dashboard/idip/keri-web.js,
# which a fresh assemble does NOT produce

/home/swarm/swarm/drive-portal-1373.sh on elitebook already does exactly this, then drives, under a /tmp/matou-drive-wanted reservation. Run it in tmux and watch it to its DRIVE EXIT line — do not background it and end your turn (that failure mode cost four sessions on #1369).

Where this ticket stands

Mail leg dropped per Ben's ruling (4c79ddcd). Already GREEN and eyeballed from earlier drives: PT-S1e (pt-s1e-no-doors.png) and the operator's Control panel door (pt-s1o-control-panel-opened.png). The 14:35Z drive was 20 of 21 green with deploy-files the only red — that red is ddb97900's bug, now fixed. What remains unproven is the portal-member leg: sign in → PT-S1 with the files door OPEN at files.<apex> → open it → back → Sign out → PT-S0. It needs files to actually deploy, which is why the rebuild matters.

Closing this closes map #1336, and spec #1361 then needs a manual sweep-close.

# ⚠ READ BEFORE YOU DRIVE — the staged payload is the BROKEN build, and the guard cannot tell you A session claimed this at 15:49Z. If you drive without rebuilding the payload, **you will red at `deploy-files`** and it will look like a Portal fault. It is not. **What happened.** My 14:35Z drive red at `deploy-files` — a leg that was GREEN in the 05:13Z drive: ``` clan: config_eval on gateway: the node was excluded at the eval preflight — nothing was deployed: error: undefined variable 'komiti_grp' ``` `4b30dbf6` (#1409, the ocgroups backfill) wrote a **shell** parameter expansion into the files nix render without escaping it. Nix reads `${komiti_grp#komiti_}` as an antiquotation, looks for a nix variable, and fails — and ONE bad expression fails evaluation of the **whole machine**, so nothing could deploy on any community founded from those bits (the #428 shape, GOTCHAS #14). **Fixed and pushed: `ddb97900`** — escaped to `''${`, the form keri.go/video.go/surveys.go already use. Proven red-before-green; `go test ./internal/clan/` green, `go build ./...` clean. It shipped green because `files_test.go` asserted the **raw** form, so the unit test demanded exactly the string that breaks nix. A guard now fails the test if a raw `"${komiti_grp` ever reaches the render again. ## The trap that will bite you `oc_payload_fresh` gates **`control-plane/`** only. The fix is in **`internal/clan/files.go`**, so the staleness guard **cannot see** that the staged binary predates it — the preflight will pass you straight through with the broken control plane. The payload at `$IDSS_PAYLOAD_DIR` on elitebook was rebuilt from `1f116eb0`, which **contains the bug**. **So rebuild before driving.** The pattern that works, and does not damage the shared payload: ``` scripts/assemble-payload.sh /home/swarm/swarm/payload-staging # NOT over the live payload # then graft: control-plane, idss-idp, agent, and dashboard/ # preserving the QEMU runtime (lib/, qemu-datadir/, qemu-img*) and dashboard/idip/keri-web.js, # which a fresh assemble does NOT produce ``` `/home/swarm/swarm/drive-portal-1373.sh` on elitebook already does exactly this, then drives, under a `/tmp/matou-drive-wanted` reservation. Run it in tmux and watch it to its `DRIVE EXIT` line — **do not background it and end your turn** (that failure mode cost four sessions on #1369). ## Where this ticket stands Mail leg dropped per Ben's ruling (`4c79ddcd`). Already GREEN and eyeballed from earlier drives: **PT-S1e** (`pt-s1e-no-doors.png`) and **the operator's Control panel door** (`pt-s1o-control-panel-opened.png`). The 14:35Z drive was **20 of 21 green** with `deploy-files` the only red — that red is `ddb97900`'s bug, now fixed. What remains unproven is the `portal-member` leg: sign in → PT-S1 with the **files** door OPEN at `files.<apex>` → open it → back → Sign out → PT-S0. It needs files to actually deploy, which is why the rebuild matters. Closing this closes map #1336, and spec #1361 then needs a manual sweep-close.

Session-runner on elitebook-distributed-server-03 (agent under ADR 0174 — ruled by agent, veto anytime). Re-arming the drive now that the last blocker is closed.

The drive-leg code is already on main (4c79ddcd, mail leg dropped per Ben's 2026-09-12 ruling). Drive 20260912T144514Z reached deploy-files green-all-the-way-up (founding → supply → mesh → cutover → portal-s1e → co-host all passed) and red ONLY at deploy-files on the unescaped ${komiti_grp#komiti_} nix antiquotation — #1409, fixed by ddb97900 and closed by #1443 (3b7c37cf), now in the tree (confirmed internal/clan/files.go:872 carries the escaped ''${komiti_grp#komiti_}).

Launching a clean droplet drive on current origin/main (62e1ba47, carries #1443 + #1437), rebuilding the payload binaries from HEAD (Ben's launcher handles the internal/ staleness oc_payload_fresh can't see). No concurrent drive in flight; the prior red drive offboarded rehearsal-f so the S5 name is free. Watching to DRIVE EXIT in-session — not backgrounded-and-abandoned (the #1369 failure mode).

Ruled by agent under ADR 0174 — veto anytime (a lab-droplet drive is the routine two-way door; it reaps its own box).

**Session-runner on `elitebook-distributed-server-03` (agent under ADR 0174 — ruled by agent, veto anytime).** Re-arming the drive now that the last blocker is closed. The drive-leg code is already on `main` (`4c79ddcd`, mail leg dropped per Ben's 2026-09-12 ruling). Drive `20260912T144514Z` reached `deploy-files` green-all-the-way-up (founding → supply → mesh → cutover → **portal-s1e** → **co-host** all passed) and red ONLY at `deploy-files` on the unescaped `${komiti_grp#komiti_}` nix antiquotation — **#1409, fixed by `ddb97900` and closed by #1443 (`3b7c37cf`)**, now in the tree (confirmed `internal/clan/files.go:872` carries the escaped `''${komiti_grp#komiti_}`). Launching a clean droplet drive on current `origin/main` (`62e1ba47`, carries #1443 + #1437), rebuilding the payload binaries from HEAD (Ben's launcher handles the `internal/` staleness `oc_payload_fresh` can't see). No concurrent drive in flight; the prior red drive **offboarded `rehearsal-f`** so the S5 name is free. Watching to `DRIVE EXIT` in-session — not backgrounded-and-abandoned (the #1369 failure mode). Ruled by agent under ADR 0174 — veto anytime (a lab-droplet drive is the routine two-way door; it reaps its own box).

drive 20260912T160919Z RED — now blocked by: #1453 (evidence on each). The drive re-fires when the last blocker closes.

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

drive 20260914T130316Z RED — now blocked by: #1463 (evidence on each). The drive re-fires when the last blocker closes.

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

drive 20260914T134258Z RED — now blocked by: #1466 (evidence on each). The drive re-fires when the last blocker closes.

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

Portal drive status (Ben's Portal session, 2026-09-14 ~20:30Z) — unblocked on the tracker, parked on the host and the founding name.

  • #1467 is fixed on main (afc61b99): teardown now decrypts the claim secret from the sealed idss-claim-secret clan var and reds a reached-S5-but-unoffboardable name. That stops future drives wedging their name.
  • It does not release the reservation already wedged. rehearsal-f.idss.nz still answers 168.144.168.195 (the reaped clan-lab-rehearsal-f77d838f), not the *.idss.nz wildcard 143.198.134.168. Every droplet drive parks on it and every rented drive reds at the claim until it is offboarded.
  • Releasing it by hand is possible with tested code. The kept run drive-droplet/20260914T134258Z still has the sealed secret and its operator age key, clan is in the e2e shell, and oc_run_claim_secret <run_dir> recovers it for a POST /v1/subdomains/offboard. That spends a broker secret, so it waits for Ben.
  • Plan for this ticket, meanwhile: the next Portal drive runs with a launch-scoped REHEARSAL_SLUG_FOUNDING=rehearsal-g. rehearsal-g answers only the wildcard. No env file pins the founding name, and nothing persistent changes. It is launched by hand from elitebook once the #1447 private hand drive in flight (1447-private-hand-20260914T202545Z) exits, because they share the checkout. It spends no broker secret, and its green teardown should offboard rehearsal-g, which proves #1467 live as a side effect.

The ticket stays agent-blocked so no session starts a colliding drive.

**Portal drive status (Ben's Portal session, 2026-09-14 ~20:30Z)** — unblocked on the tracker, parked on the host and the founding name. - **#1467 is fixed on main (`afc61b99`)**: teardown now decrypts the claim secret from the sealed `idss-claim-secret` clan var and reds a reached-S5-but-unoffboardable name. That stops **future** drives wedging their name. - **It does not release the reservation already wedged.** `rehearsal-f.idss.nz` still answers `168.144.168.195` (the reaped `clan-lab-rehearsal-f77d838f`), not the `*.idss.nz` wildcard `143.198.134.168`. Every `droplet` drive parks on it and every `rented` drive reds at the claim until it is offboarded. - **Releasing it by hand is possible with tested code.** The kept run `drive-droplet/20260914T134258Z` still has the sealed secret and its operator age key, `clan` is in the e2e shell, and `oc_run_claim_secret <run_dir>` recovers it for a `POST /v1/subdomains/offboard`. **That spends a broker secret, so it waits for Ben.** - **Plan for this ticket, meanwhile:** the next Portal drive runs with a **launch-scoped** `REHEARSAL_SLUG_FOUNDING=rehearsal-g`. `rehearsal-g` answers only the wildcard. No env file pins the founding name, and nothing persistent changes. It is launched by hand from elitebook once the #1447 private hand drive in flight (`1447-private-hand-20260914T202545Z`) exits, because they share the checkout. It spends no broker secret, and its green teardown should offboard `rehearsal-g`, which proves #1467 live as a side effect. The ticket stays `agent-blocked` so no session starts a colliding drive.

drive 20260914T205845Z RED — now blocked by: #1476 (evidence on each). The drive re-fires when the last blocker closes.

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

Drive 20260914T205845Z (droplet, launch-scoped rehearsal-g): 26 of 27 GREEN. The one red is a test assertion, not the Portal. Fixed on main as 159ff533, relaunched.

Green, in order: connect → point → seed → enroll ×4 → supply → pair → mesh → public-entry → control-plane → dashboard → brand → admin → finish → sign-in (#1466 fix proven) → cutover → portal-s1e (PT-S1e honest empty home) → co-host → deploy-files → files-healthy → door → branded-login → oidc-admin → branded-chrome.

The red, portal-member: assertPortalMemberJourney checked [data-field="signed-in-as"] for the member's username e2e-portal-member. The Portal rendered " Signed in as E2E Portal Member", the display name. That is the design: DDR 0232 decision 8 ("Identity = the display name") and every PT-S1 wireframe ("Signed in as Mere Kahu"). The page snapshot shows the member reached PT-S1. The assertion was wrong, not the home. The fixture now takes PORTAL_MEMBER_DISPLAY_NAME and asserts it; vue-tsc and eslint are clean.

Also proven live on that red run: #1467. The teardown logged offboarded rehearsal-g.idss.nz, and rehearsal-g answers only the wildcard again. A founding drive no longer wedges its name.

rehearsal-f is still held from before the #1467 fix. Releasing it by hand (oc_run_claim_secret on drive-droplet/20260914T134258Z + offboard) still waits for Ben.

**Drive `20260914T205845Z` (droplet, launch-scoped `rehearsal-g`): 26 of 27 GREEN. The one red is a test assertion, not the Portal. Fixed on main as `159ff533`, relaunched.** Green, in order: connect → point → seed → enroll ×4 → supply → pair → mesh → public-entry → control-plane → dashboard → brand → admin → finish → **sign-in** (#1466 fix proven) → **cutover** → **portal-s1e** (PT-S1e honest empty home) → co-host → **deploy-files** → files-healthy → door → branded-login → oidc-admin → branded-chrome. **The red, `portal-member`:** `assertPortalMemberJourney` checked `[data-field="signed-in-as"]` for the member's **username** `e2e-portal-member`. The Portal rendered **" Signed in as E2E Portal Member"**, the display name. That is the design: DDR 0232 decision 8 (*"Identity = the display name"*) and every PT-S1 wireframe (*"Signed in as <b>Mere Kahu</b>"*). The page snapshot shows the member reached PT-S1. The assertion was wrong, not the home. The fixture now takes `PORTAL_MEMBER_DISPLAY_NAME` and asserts it; vue-tsc and eslint are clean. **Also proven live on that red run: #1467.** The teardown logged `offboarded rehearsal-g.idss.nz`, and `rehearsal-g` answers only the wildcard again. A founding drive no longer wedges its name. `rehearsal-f` is still held from before the #1467 fix. Releasing it by hand (`oc_run_claim_secret` on `drive-droplet/20260914T134258Z` + offboard) still waits for Ben.
Author
Owner

Correction to my comment above: 159ff533 was broken, and it is reverted as e363ad61.

159ff533 did not fix this. It landed with unresolved conflict markers in app/tests/e2e/fixtures/portalJourney.ts and a duplicate displayName parameter. A session had already fixed the same assertion as #1476 (d511ce30) minutes before. My reapply over it conflicted, and my script committed and pushed without checking that step. For the few minutes it was on main, any drive loading that fixture would have failed to parse it.

  • Reverted as e363ad61. Both files are byte-identical to d511ce30 again: the #1476 fix, which asserts the display name with the correct parameter order. No conflict markers remain on main.
  • The drive I launched on 159ff533 is stopped. It was still building its payload, so no droplet was rented, and its drive reservation is released.
  • Everything else in the comment above stands. Drive 20260914T205845Z went 26 of 27 green, the only red was this username-vs-display-name assertion, and #1467 was proven live by offboarded rehearsal-g.idss.nz.

I will relaunch on current main, which carries #1476's fix, once I have typechecked it on the drive host.

**Correction to my comment above: `159ff533` was broken, and it is reverted as `e363ad61`.** `159ff533` did not fix this. It landed with unresolved conflict markers in `app/tests/e2e/fixtures/portalJourney.ts` and a duplicate `displayName` parameter. A session had already fixed the same assertion as **#1476 (`d511ce30`)** minutes before. My reapply over it conflicted, and my script committed and pushed without checking that step. For the few minutes it was on main, any drive loading that fixture would have failed to parse it. - **Reverted as `e363ad61`.** Both files are byte-identical to `d511ce30` again: the #1476 fix, which asserts the display name with the correct parameter order. No conflict markers remain on main. - **The drive I launched on `159ff533` is stopped.** It was still building its payload, so no droplet was rented, and its drive reservation is released. - **Everything else in the comment above stands.** Drive `20260914T205845Z` went 26 of 27 green, the only red was this username-vs-display-name assertion, and #1467 was proven live by `offboarded rehearsal-g.idss.nz`. I will relaunch on current main, which carries #1476's fix, once I have typechecked it on the drive host.

drive 20260914T214850Z RED — now blocked by: #1478 (evidence on each). The drive re-fires when the last blocker closes.

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

CLOSED GREEN — the whole member journey is proven by drive (Ben's Portal session, 2026-09-14)

Drive 20260914T224653Z on elitebook-distributed-server-03, --target droplet, tree 7ca139a7, founding name rehearsal-g (set for this launch only). 31 legs: 28 green, 0 red, 3 skip. The skips are pre-existing, reasoned legs later in the droplet journey (backup-honest-floor, alert-email, rescue-rung), none of them a Portal criterion.

Screenshots checked by eye, criterion by criterion (artifacts/portal/):

  • PT-S1, the member's home (pt-s1-member-home.png): the community's own brand, E2E Drive, with its greeting. "Signed in as E2E Portal Member" is the display name. There is one Files & documents card with pill OPEN, "Runs Nextcloud", https://files.rehearsal-g.idss.nz and Open, then Manage your sign-in and Sign out. There is no control-panel door, correct for a plain member.
  • The door works (pt-s1-files-opened.png): Nextcloud greets "Hello, E2E Portal Member", so the door reached the real service on the member's own session. The home after returning is byte-identical to the home before.
  • PT-S0 after the member signs out (pt-s0-member-signed-out.png): brand and one Sign in button, byte-identical to PT-S0 and to the operator's signed-out landing. The landing is the proof.
  • PT-S1e, the honest empty home (pt-s1e-no-doors.png): "No doors are open to you yet.", with no cards, no Mail card and no control-panel door.
  • PT-S1o and the Control panel door (pt-home-signed-in.png, pt-s1o-control-panel-opened.png): the operator's home offers Open the control panel, which opens the panel at admin.<apex> on the same session.

Stated limit, per Ben's ruling on 2026-09-12: the mail claim walk is out of this ticket, because no community can deploy a mail service yet (CanDeployService("mail") == false). The Portal's mail work is built and seam-proven (#1372).

Proven on the way, each landed as its own ticket: the per-target founding name (#1401) and its wildcard-aware claim guard (d64e3ac5); the founding page's walk (#1447, #1463); the sign-in confirmation that vanished (#1466); cleanup that couldn't find the claim secret after #1404 (#1467, proven live: this run's teardown logged offboarded rehearsal-g.idss.nz); the display-name assertion (#1476); a working service shown RESTING to members for up to a whole monitor cycle (#1478, product-side fix); the files render's escaping (ddb97900); and the community brand on the apex (#1410, visible above).

One loose end, not this ticket's: rehearsal-f.idss.nz is still claimed, from a run before #1467's fix. The kept run holds its sealed secret (drive-droplet/20260914T134258Z). Releasing it with oc_run_claim_secret and an offboard waits for Ben.

## CLOSED GREEN — the whole member journey is proven by drive (Ben's Portal session, 2026-09-14) **Drive `20260914T224653Z`** on `elitebook-distributed-server-03`, `--target droplet`, tree **`7ca139a7`**, founding name `rehearsal-g` (set for this launch only). **31 legs: 28 green, 0 red, 3 skip.** The skips are pre-existing, reasoned legs later in the droplet journey (`backup-honest-floor`, `alert-email`, `rescue-rung`), none of them a Portal criterion. **Screenshots checked by eye, criterion by criterion** (`artifacts/portal/`): - **PT-S1, the member's home** (`pt-s1-member-home.png`): the community's own brand, **E2E Drive**, with its greeting. *"Signed in as E2E Portal Member"* is the display name. There is one **Files & documents** card with pill **OPEN**, *"Runs Nextcloud"*, `https://files.rehearsal-g.idss.nz` and **Open**, then Manage your sign-in and Sign out. There is **no** control-panel door, correct for a plain member. - **The door works** (`pt-s1-files-opened.png`): Nextcloud greets *"Hello, E2E Portal Member"*, so the door reached the real service on the member's own session. The home after returning is byte-identical to the home before. - **PT-S0 after the member signs out** (`pt-s0-member-signed-out.png`): brand and one Sign in button, byte-identical to PT-S0 and to the operator's signed-out landing. The landing is the proof. - **PT-S1e, the honest empty home** (`pt-s1e-no-doors.png`): *"No doors are open to you yet."*, with no cards, no Mail card and no control-panel door. - **PT-S1o and the Control panel door** (`pt-home-signed-in.png`, `pt-s1o-control-panel-opened.png`): the operator's home offers *Open the control panel*, which opens the panel at `admin.<apex>` on the same session. **Stated limit, per Ben's ruling on 2026-09-12:** the mail claim walk is out of this ticket, because no community can deploy a mail service yet (`CanDeployService("mail") == false`). The Portal's mail work is built and seam-proven (#1372). **Proven on the way, each landed as its own ticket:** the per-target founding name (#1401) and its wildcard-aware claim guard (`d64e3ac5`); the founding page's walk (#1447, #1463); the sign-in confirmation that vanished (#1466); cleanup that couldn't find the claim secret after #1404 (#1467, **proven live**: this run's teardown logged `offboarded rehearsal-g.idss.nz`); the display-name assertion (#1476); a working service shown RESTING to members for up to a whole monitor cycle (#1478, product-side fix); the files render's escaping (`ddb97900`); and the community brand on the apex (#1410, visible above). **One loose end, not this ticket's:** `rehearsal-f.idss.nz` is still claimed, from a run before #1467's fix. The kept run holds its sealed secret (`drive-droplet/20260914T134258Z`). Releasing it with `oc_run_claim_secret` and an offboard waits for Ben.
ben 2026-09-15 01:34:21 +00:00
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.

Depends on
Reference
Matou/idss#1373
No description provided.