rescue: build the real IdentitySide (mesh recipient set + SSH principals) and settle every OUTSTANDING operator key — the posture ADR 0249 deferred #1572

Open
opened 2026-09-18 04:21:18 +00:00 by ben · 0 comments
Owner

Why

ADR 0249 (Ben's option-3 ruling on #1570, commit deaef925) lets an operator grant LAND on a gateway whose rescue key engine is unwired: the member is admin on every service and holds NO break-glass key, recorded as operator_key_outstanding in the members ledger, said in the audit line and the detail note.

That is a deliberate, narrower operator than ADR 0089/0087 describe. The real fix is still owed: both composition roots (control-plane/cmd/control-plane/whole_composition.go:295, resting_composition.go:444) inject restingIdentitySide{}, whose Pair/Cut answer errRescueEngineUnwired (rescue_surfaces.go). No standing operator key can be minted on any founded community.

What this ticket owes

  1. A posture ruling (Ben, or a session under ADR 0174 with the proposed default named): which mesh recipient set and which SSH principals file, on which nodes, a standing operator key pairs with, where that material is written, and how it is cut — the material ADR 0087's break-glass path depends on. #1570's option 1 (the real adapter in the engine-adapters arc, ADR 0100) and option 2 (the single-gateway SSH-principals-only side) are the two candidates.
  2. A real rescue.IdentitySide wired into composeWhole (left resting in composeResting), with seam tests.
  3. A settle sweep on its first act: every operator carrying operator_key_outstanding gets the mint retried — member.GrantOperator already does this on a repeat grant (settleOutstandingOperatorKey), so the sweep is a loop over the ledger calling it.

Not this ticket

Widening ErrOperatorKeyUnavailable to any other mint error — ADR 0249 names that as a one-way door not to be pushed further.

Refs: #1570, #1547, ADR 0249, ADR 0089, ADR 0087, ADR 0100.

## Why ADR 0249 (Ben's option-3 ruling on #1570, commit `deaef925`) lets an operator grant LAND on a gateway whose rescue key engine is unwired: the member is admin on every service and holds NO break-glass key, recorded as `operator_key_outstanding` in the members ledger, said in the audit line and the detail note. That is a deliberate, narrower operator than ADR 0089/0087 describe. The real fix is still owed: **both** composition roots (`control-plane/cmd/control-plane/whole_composition.go:295`, `resting_composition.go:444`) inject `restingIdentitySide{}`, whose `Pair`/`Cut` answer `errRescueEngineUnwired` (`rescue_surfaces.go`). No standing operator key can be minted on any founded community. ## What this ticket owes 1. A **posture ruling** (Ben, or a session under ADR 0174 with the proposed default named): which mesh recipient set and which SSH principals file, on which nodes, a standing operator key pairs with, where that material is written, and how it is cut — the material ADR 0087's break-glass path depends on. #1570's option 1 (the real adapter in the engine-adapters arc, ADR 0100) and option 2 (the single-gateway SSH-principals-only side) are the two candidates. 2. A real `rescue.IdentitySide` wired into `composeWhole` (left resting in `composeResting`), with seam tests. 3. A **settle sweep** on its first act: every operator carrying `operator_key_outstanding` gets the mint retried — `member.GrantOperator` already does this on a repeat grant (`settleOutstandingOperatorKey`), so the sweep is a loop over the ledger calling it. ## Not this ticket Widening `ErrOperatorKeyUnavailable` to any other mint error — ADR 0249 names that as a one-way door not to be pushed further. Refs: #1570, #1547, ADR 0249, ADR 0089, ADR 0087, ADR 0100.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#1572
No description provided.