drive: prove the steward rotation from the community app — the panel's "make a steward" is removed, so add-steward / remove-steward have no live proof #1979

Closed
opened 2026-09-28 23:08:15 +00:00 by ben · 2 comments
Owner

Why

Ben ruled (2026-09-28, on the live demo): the control panel no longer starts a promotion — "make a steward" is removed from the panel; a steward is made from the community app, where the founding-member upgrade IS the promotion (ADR 0286 d.13).

The IDIP rehearsal drive's add-steward and remove-steward legs started from that button (ledger-make-steward-<aid>), and remove-steward needed the second steward add-steward made. Both legs, their fixture helpers (runStewardRotation, promoteStewardAndCosign, demoteStewardAndCosign) and their pins were removed in the same change. The steward rotation (ADR 0197) now has no live proof in any journey.

What to build

A drive leg pair that proves the rotation the way a community will now do it:

  1. add-steward — a second identity is promoted from the community app (the founding-member upgrade on an IDSS backend runs the promotion rail, ADR 0286 d.13 / ADR 0235 d.10). Green when the group identity includes them AND they hold Administrator (ADR 0286 d.4) — read from the panel's Members row and its AC-P1 outcome, or from the ledger.
  2. remove-steward — the reverse, started from the panel row's ledger-remove-steward-<aid> (still shipped), asserting ADR 0286 d.5: exactly the promotion-issued Administrator is revoked.

Known constraint: the app upgrade is a live two-party ceremony — the member's app must be open within 5 minutes (seen on the demo 2026-09-27). The leg has to drive both parties.

Also restore the two leg names to CREDENTIAL_LEG_LEDGER (app/tests/e2e/fixtures/idip.ts), REHEARSAL_DEBUG_TAIL_LEGS (scripts/lib/rehearsal-debug-loop-lib.sh) and the order pin in app/tests/e2e/fixtures/idip.test.ts.

Also seen, worth a look while here

POST /api/v1/idip/stewards/rotation answered 502 twice on the demo at 22:40:40Z and 22:40:45Z 2026-09-28 (Ben pressing "make a steward" on the old panel); the control-plane journal carries no line for either. Not diagnosed — the button is gone, but remove from stewards posts to the same route.

ADR 0197, ADR 0286 d.4/d.5/d.13, #1085, #1086, #1954.

## Why Ben ruled (2026-09-28, on the live demo): the control panel no longer starts a promotion — **"make a steward" is removed from the panel**; a steward is made from the community app, where the founding-member upgrade IS the promotion (ADR 0286 d.13). The IDIP rehearsal drive's `add-steward` and `remove-steward` legs started from that button (`ledger-make-steward-<aid>`), and `remove-steward` needed the second steward `add-steward` made. Both legs, their fixture helpers (`runStewardRotation`, `promoteStewardAndCosign`, `demoteStewardAndCosign`) and their pins were removed in the same change. **The steward rotation (ADR 0197) now has no live proof in any journey.** ## What to build A drive leg pair that proves the rotation the way a community will now do it: 1. `add-steward` — a second identity is promoted **from the community app** (the founding-member upgrade on an IDSS backend runs the promotion rail, ADR 0286 d.13 / ADR 0235 d.10). Green when the group identity includes them AND they hold Administrator (ADR 0286 d.4) — read from the panel's Members row and its AC-P1 outcome, or from the ledger. 2. `remove-steward` — the reverse, started from the panel row's `ledger-remove-steward-<aid>` (still shipped), asserting ADR 0286 d.5: exactly the promotion-issued Administrator is revoked. Known constraint: the app upgrade is a **live two-party ceremony** — the member's app must be open within 5 minutes (seen on the demo 2026-09-27). The leg has to drive both parties. Also restore the two leg names to `CREDENTIAL_LEG_LEDGER` (`app/tests/e2e/fixtures/idip.ts`), `REHEARSAL_DEBUG_TAIL_LEGS` (`scripts/lib/rehearsal-debug-loop-lib.sh`) and the order pin in `app/tests/e2e/fixtures/idip.test.ts`. ## Also seen, worth a look while here `POST /api/v1/idip/stewards/rotation` answered **502** twice on the demo at 22:40:40Z and 22:40:45Z 2026-09-28 (Ben pressing "make a steward" on the old panel); the control-plane journal carries no line for either. Not diagnosed — the button is gone, but `remove from stewards` posts to the same route. ## Related ADR 0197, ADR 0286 d.4/d.5/d.13, #1085, #1086, #1954.

Routed ready-for-human — the drive leg pair is blocked, live and one-way

Worked under ADR 0174 from the standing session-runner on matou-workstation. I verified the tree against the ticket before acting, and the core deliverable cannot be authored or proven from a one-shot two-way-door session. Ruled by agent under ADR 0174 — veto anytime.

What I verified against origin/main @ 09650575

  1. The premise ("make a steward" removed, the legs removed) has NOT landed. The panel still ships the promotion button — IdipRosterPanel.vue:339 renders ledger-make-steward-${row.aid} with @click="makeSteward(...)". CREDENTIAL_LEG_LEDGER (app/tests/e2e/fixtures/idip.ts:747-748) still carries add-steward: 1085 and remove-steward: 1086; REHEARSAL_DEBUG_TAIL_LEGS (scripts/lib/rehearsal-debug-loop-lib.sh:44) still lists both; the order pin in idip.test.ts still asserts them; and runStewardRotation / promoteStewardAndCosign / demoteStewardAndCosign (idip.ts:1471-1532) all still exist and drive the rotation from the panel button. So there is nothing to "restore" — the removal is itself unlanded work (the ADR 0286 contract phase), not something this ticket can react to yet.

  2. The app-driven promotion rail does not exist end-to-end. By ADR 0286 d.13 / d.4, add-steward "from the community app" means matou-app's founding-member upgrade runs the IDSS promotion rail and mints the Administrator ACDC. That half is cross-repo OWED (matou-app#669, blocked by #1954 which only just landed; the app must mint the ACDC and drive the group rotation). It is not built, so there is no app flow to drive.

  3. The e2e harness cannot drive the promoting party. The headless wallet (app/tests/e2e/fixtures/headlessWallet.ts) can read the descriptor, approve a sign-in and record spaces — and by its own comment holds "the holder's own identifier — never the community group they co-sign for." It has no promotion / group co-sign capability, so the two-party upgrade ceremony this leg needs cannot be expressed offline.

  4. It is a live two-party operator-spend ceremony. The ticket itself states the upgrade is a live two-party ceremony (both apps open within 5 minutes, a live founded community). That is the rehearsal-executor's queue-armed frontier — a one-way door (operator spend, two live wallets) I must not run from a one-shot session (ADR 0174 rule 2).

Why human

The residue is not a two-way door and a second agent attempt would hit the same wall — it needs a human to:

  • Sequence the prerequisites. Land the panel "make a steward" removal (ADR 0286 contract phase) and the matou-app founding-member-upgrade → promotion-rail half (matou-app#669) before this leg can be authored — building the new-shape leg now would duplicate/conflict with the still-present panel-driven legs and rest against unbuilt cross-repo UI.
  • Extend the harness or accept a manual party. The headless wallet needs a promotion / group co-sign capability, or the drive must drive a real second app — neither exists.
  • Arm the live drive (operator spend). Once authored and offline-green, the live two-party proof is the rehearsal-executor's job, not a one-shot session's. This sits in the same family as the panel-unlock live leg (#1936), also routed to a human.

remove-steward from the panel row (ledger-remove-steward-<aid>, still shipped) remains authorable the old way, but it "needs the second steward add-steward made" — so it too waits on the app-driven promote.

The 502 (Also seen) — real but orthogonal, filed separately

I traced Ben's 502: POST /api/v1/idip/stewards/rotation maps every known refusal (pending / none-pending / no-such-member / last-steward) to a 409 via rotationConflictOf (internal/keria/adapter.go:1154), so a 502 is a genuine store/engine failure (keria agent unreachable, or a mint that failed). And writeRotationError → writeProblem → writeJSON (internal/controlapi/backups.go:362) logs nothing at 5xx — which is exactly why "the journal carries no line for either." That is the same observability gap #1962 just closed for sign-in refusals. It is orthogonal to the drive leg, so I filed it as #1981 (bug / ready-for-session) rather than expand this ticket's diff.

No code changed on this ticket; the tree is left clean at 09650575.

## Routed ready-for-human — the drive leg pair is blocked, live and one-way Worked under ADR 0174 from the standing session-runner on matou-workstation. I verified the tree against the ticket before acting, and the core deliverable cannot be authored or proven from a one-shot two-way-door session. Ruled by agent under ADR 0174 — veto anytime. ### What I verified against `origin/main` @ 09650575 1. **The premise ("make a steward" removed, the legs removed) has NOT landed.** The panel still ships the promotion button — `IdipRosterPanel.vue:339` renders `ledger-make-steward-${row.aid}` with `@click="makeSteward(...)"`. `CREDENTIAL_LEG_LEDGER` (`app/tests/e2e/fixtures/idip.ts:747-748`) still carries `add-steward: 1085` and `remove-steward: 1086`; `REHEARSAL_DEBUG_TAIL_LEGS` (`scripts/lib/rehearsal-debug-loop-lib.sh:44`) still lists both; the order pin in `idip.test.ts` still asserts them; and `runStewardRotation` / `promoteStewardAndCosign` / `demoteStewardAndCosign` (`idip.ts:1471-1532`) all still exist and drive the rotation **from the panel button**. So there is nothing to "restore" — the removal is itself unlanded work (the ADR 0286 contract phase), not something this ticket can react to yet. 2. **The app-driven promotion rail does not exist end-to-end.** By ADR 0286 d.13 / d.4, `add-steward` "from the community app" means matou-app's founding-member upgrade runs the IDSS promotion rail and mints the Administrator ACDC. That half is **cross-repo OWED** (matou-app#669, blocked by #1954 which only just landed; the app must mint the ACDC and drive the group rotation). It is not built, so there is no app flow to drive. 3. **The e2e harness cannot drive the promoting party.** The headless wallet (`app/tests/e2e/fixtures/headlessWallet.ts`) can read the descriptor, approve a sign-in and record spaces — and by its own comment holds "the holder's own identifier — never the community group they co-sign for." It has no promotion / group co-sign capability, so the two-party upgrade ceremony this leg needs cannot be expressed offline. 4. **It is a live two-party operator-spend ceremony.** The ticket itself states the upgrade is a live two-party ceremony (both apps open within 5 minutes, a live founded community). That is the rehearsal-executor's queue-armed frontier — a one-way door (operator spend, two live wallets) I must not run from a one-shot session (ADR 0174 rule 2). ### Why human The residue is not a two-way door and a second agent attempt would hit the same wall — it needs a human to: - **Sequence the prerequisites.** Land the panel "make a steward" removal (ADR 0286 contract phase) and the matou-app founding-member-upgrade → promotion-rail half (matou-app#669) **before** this leg can be authored — building the new-shape leg now would duplicate/conflict with the still-present panel-driven legs and rest against unbuilt cross-repo UI. - **Extend the harness or accept a manual party.** The headless wallet needs a promotion / group co-sign capability, or the drive must drive a real second app — neither exists. - **Arm the live drive (operator spend).** Once authored and offline-green, the live two-party proof is the rehearsal-executor's job, not a one-shot session's. This sits in the same family as the panel-unlock live leg (#1936), also routed to a human. `remove-steward` from the panel row (`ledger-remove-steward-<aid>`, still shipped) remains authorable the old way, but it "needs the second steward `add-steward` made" — so it too waits on the app-driven promote. ### The 502 (Also seen) — real but orthogonal, filed separately I traced Ben's 502: `POST /api/v1/idip/stewards/rotation` maps every known refusal (pending / none-pending / no-such-member / **last-steward**) to a 409 via `rotationConflictOf` (`internal/keria/adapter.go:1154`), so a **502 is a genuine store/engine failure** (keria agent unreachable, or a mint that failed). And `writeRotationError` → `writeProblem` → `writeJSON` (`internal/controlapi/backups.go:362`) logs **nothing** at 5xx — which is exactly why "the journal carries no line for either." That is the same observability gap #1962 just closed for sign-in refusals. It is orthogonal to the drive leg, so I filed it as **#1981** (`bug` / `ready-for-session`) rather than expand this ticket's diff. No code changed on this ticket; the tree is left clean at 09650575.
Author
Owner

Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.

Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.
ben 2026-10-21 21:53:53 +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.

Dependencies

No dependencies set.

Reference
Matou/idss#1979
No description provided.