updates: a signed release never carries idss-idp — an IDIP community updates its control plane and runs its founding-day sign-in bridge forever #1689

Closed
opened 2026-09-21 15:40:07 +00:00 by ben · 5 comments
Owner

What

A signed fleet release carries exactly three artifacts — control-plane, control-panel, agent (internal/matourelease/matourelease.go:49-55, scripts/release-rail/publish.sh:89-112,174-177; the live testing manifest at get.idss.nz lists those three URLs and nothing else). The lander touches only the control-plane binary, the panel dir and the agent cache (internal/fleetland/fleetland.go:86-89).

The IDIP bridge idss-idp reaches a gateway ONCE, at founding (scripts/assemble-payload.sh stages it; Supply seeds /srv/idss/bin/idss-idp). Nothing in the update lane ever re-lands or restarts it: the ADR 0259 self-restart is systemctl restart --no-block idss-control-plane only, and the idss-idp unit has no PartOf/Requires on the control plane (internal/clan/idssidp.go:250-252).

Consequence

An IDIP community born on testing (founding pin 9d7fbe8e) updates its control plane, control panel and agent forever and runs its founding-day sign-in bridge forever. A security fix in control-plane/cmd/idss-idp never reaches a running community; and any change that moves the control plane ↔ bridge contract in lockstep (the descriptor, /login/app/*, #1687-class changes) lands one half only. The keri-web browser bundle DOES update (it rides inside the control-panel tarball), so the browser half and the bridge half can also drift apart.

Proposed default (ADR 0174 two-way door — amends ADR 0248's bundle)

  1. Add an idss-idp role to the release manifest; publish.sh builds it; the cutter takes --idss-idp.
  2. The lander lands it at /srv/idss/bin/idss-idp keeping *.previous (same rollback rule as the control plane), only on a gateway where the unit exists (a Kanidm-path gateway ignores the role).
  3. The gateway stage restarts idss-idp after the swap; Resume's health verdict on an IDIP gateway includes the bridge answering (https://id.<apex>/login 200), so a bridge that cannot boot rolls the release back.
  4. Extend the #1614 Updates drive (or the IDIP prove-it drive #1688) with a leg: IDIP gateway takes a release, bridge binary changed, sign-in still works.

Found while preparing the hand re-founding of Whakatōhea Demo (rented + IDIP, #1562). Relates to #1562, ADR 0248, ADR 0259.

## What A signed fleet release carries exactly three artifacts — `control-plane`, `control-panel`, `agent` (`internal/matourelease/matourelease.go:49-55`, `scripts/release-rail/publish.sh:89-112,174-177`; the live `testing` manifest at get.idss.nz lists those three URLs and nothing else). The lander touches only the control-plane binary, the panel dir and the agent cache (`internal/fleetland/fleetland.go:86-89`). The IDIP bridge `idss-idp` reaches a gateway ONCE, at founding (`scripts/assemble-payload.sh` stages it; Supply seeds `/srv/idss/bin/idss-idp`). Nothing in the update lane ever re-lands or restarts it: the ADR 0259 self-restart is `systemctl restart --no-block idss-control-plane` only, and the `idss-idp` unit has no `PartOf`/`Requires` on the control plane (`internal/clan/idssidp.go:250-252`). ## Consequence An IDIP community born on `testing` (founding pin `9d7fbe8e`) updates its control plane, control panel and agent forever and runs its **founding-day sign-in bridge** forever. A security fix in `control-plane/cmd/idss-idp` never reaches a running community; and any change that moves the control plane ↔ bridge contract in lockstep (the descriptor, `/login/app/*`, #1687-class changes) lands one half only. The keri-web browser bundle DOES update (it rides inside the control-panel tarball), so the browser half and the bridge half can also drift apart. ## Proposed default (ADR 0174 two-way door — amends ADR 0248's bundle) 1. Add an `idss-idp` role to the release manifest; `publish.sh` builds it; the cutter takes `--idss-idp`. 2. The lander lands it at `/srv/idss/bin/idss-idp` keeping `*.previous` (same rollback rule as the control plane), **only on a gateway where the unit exists** (a Kanidm-path gateway ignores the role). 3. The gateway stage restarts `idss-idp` after the swap; `Resume`'s health verdict on an IDIP gateway includes the bridge answering (`https://id.<apex>/login` 200), so a bridge that cannot boot rolls the release back. 4. Extend the #1614 Updates drive (or the IDIP prove-it drive #1688) with a leg: IDIP gateway takes a release, bridge binary changed, sign-in still works. Found while preparing the hand re-founding of Whakatōhea Demo (rented + IDIP, #1562). Relates to #1562, ADR 0248, ADR 0259.
Author
Owner

Why human

Sign-in trust surface: this makes every IDIP community's sign-in bridge replaceable, unattended, by a signed release. Proposed default ruling is in the body (land + restart + bridge in the health verdict, rollback on a bridge that cannot answer). Ben rules before anything lands.

## Why human Sign-in trust surface: this makes every IDIP community's sign-in bridge replaceable, unattended, by a signed release. Proposed default ruling is in the body (land + restart + bridge in the health verdict, rollback on a bridge that cannot answer). Ben rules before anything lands.
Author
Owner

RULED by Ben 2026-09-21 — ship idss-idp in the signed release, same policy as everything else, with two conditions

Why: leaving the bridge out buys no safety. A release already replaces keri-web (the browser code that derives the passcode from the recovery phrase) and the control plane (sessions, the front-door gate), unattended, under the same signature. The trust boundary is the release key, not which binary is inside. Excluding the bridge only guarantees drift — and today it is the worst drift: the browser half of sign-in updates, the server half never does. A sign-in security fix that cannot reach a running community is the larger risk.

Rejected: "bridge-changing releases always wait for a human". It makes sign-in security fixes the ones that sit unapplied — the reason the manual "restart to finish" button was rejected in ADR 0259.

Build brief (amends ADR 0248's bundle; ADR 0259's restart + health rules extend to the bridge)

  1. Manifest + rail. Add role idss-idp to internal/matourelease; cmd/release-cut takes --idss-idp; scripts/release-rail/publish.sh builds ./control-plane/cmd/idss-idp (static, linux) and uploads it under the versioned path like the other three. A manifest WITHOUT the role stays valid (older releases, replay tests).
  2. Lander. internal/fleetland lands it at /srv/idss/bin/idss-idp, keeping idss-idp.previous (same rule as the control plane). Only on a gateway where the idss-idp unit exists — a Kanidm-path gateway ignores the role (does not download it).
  3. Condition 2 — touch it only when it changed. Land + restart the bridge only when the artifact's digest differs from the running binary's. Most releases will not change it; an ordinary patch must not bounce sign-in. The build must FIND OUT whether a bridge restart drops members' live sessions and record the answer in the ADR amendment; if it does, U2's review copy says so for a bridge-changing release.
  4. Condition 1 — the health verdict includes the bridge, and rolls back. The bridge grows a loopback self-test endpoint (keys loaded, KERIA reachable, able to mint a token — NOT merely "the login page answers 200"; the gateway cannot perform a real sign-in without someone's phrase). After the swap the gateway stage restarts idss-idp, and Resume's verdict on an IDIP gateway requires the self-test green. A bridge that fails it rolls the WHOLE release back (*.previous for every landed role) → U4x, ADR 0067 attempt budget unchanged. The #1639 can't-boot restore guard covers the bridge unit too.
  5. Order on the gateway stage: land all → restart bridge (if changed) → self-test → then the ADR 0259 --no-block control-plane restart → Resume verdict. A bridge failure must be caught BEFORE the control plane restarts, while the old control plane can still roll back.
  6. Tests. Seam: lander lands/skips by unit presence and by digest; rollback restores the bridge; manifest without the role verifies. Drive: a leg on an IDIP gateway (extend #1688's prove-it drive or the #1614 Updates drive with an IDIP variant) — takes a release whose bridge changed, sign-in still works after; a release whose bridge fails self-test rolls back and sign-in still works on the old bridge.
  7. Docs in the same commit: ADR 0248 amendment, docs/architecture/11-update-supply-chain.md, STATUS.md.

Sequencing: blocks #1562's production-key mint + first stable promote (real communities must not enter a lane that never updates their sign-in program). Does NOT block the Whakatōhea Demo hand re-founding in progress.

## RULED by Ben 2026-09-21 — ship `idss-idp` in the signed release, same policy as everything else, with two conditions **Why:** leaving the bridge out buys no safety. A release already replaces `keri-web` (the browser code that derives the passcode from the recovery phrase) and the control plane (sessions, the front-door gate), unattended, under the same signature. The trust boundary is the release key, not which binary is inside. Excluding the bridge only guarantees drift — and today it is the worst drift: the browser half of sign-in updates, the server half never does. A sign-in security fix that cannot reach a running community is the larger risk. **Rejected:** "bridge-changing releases always wait for a human". It makes sign-in security fixes the ones that sit unapplied — the reason the manual "restart to finish" button was rejected in ADR 0259. ## Build brief (amends ADR 0248's bundle; ADR 0259's restart + health rules extend to the bridge) 1. **Manifest + rail.** Add role `idss-idp` to `internal/matourelease`; `cmd/release-cut` takes `--idss-idp`; `scripts/release-rail/publish.sh` builds `./control-plane/cmd/idss-idp` (static, linux) and uploads it under the versioned path like the other three. A manifest WITHOUT the role stays valid (older releases, replay tests). 2. **Lander.** `internal/fleetland` lands it at `/srv/idss/bin/idss-idp`, keeping `idss-idp.previous` (same rule as the control plane). **Only on a gateway where the `idss-idp` unit exists** — a Kanidm-path gateway ignores the role (does not download it). 3. **Condition 2 — touch it only when it changed.** Land + restart the bridge only when the artifact's digest differs from the running binary's. Most releases will not change it; an ordinary patch must not bounce sign-in. The build must FIND OUT whether a bridge restart drops members' live sessions and record the answer in the ADR amendment; if it does, U2's review copy says so for a bridge-changing release. 4. **Condition 1 — the health verdict includes the bridge, and rolls back.** The bridge grows a loopback self-test endpoint (keys loaded, KERIA reachable, able to mint a token — NOT merely "the login page answers 200"; the gateway cannot perform a real sign-in without someone's phrase). After the swap the gateway stage restarts `idss-idp`, and `Resume`'s verdict on an IDIP gateway requires the self-test green. A bridge that fails it rolls the WHOLE release back (`*.previous` for every landed role) → U4x, ADR 0067 attempt budget unchanged. The #1639 can't-boot restore guard covers the bridge unit too. 5. **Order on the gateway stage:** land all → restart bridge (if changed) → self-test → then the ADR 0259 `--no-block` control-plane restart → Resume verdict. A bridge failure must be caught BEFORE the control plane restarts, while the old control plane can still roll back. 6. **Tests.** Seam: lander lands/skips by unit presence and by digest; rollback restores the bridge; manifest without the role verifies. Drive: a leg on an IDIP gateway (extend #1688's prove-it drive or the #1614 Updates drive with an IDIP variant) — takes a release whose bridge changed, sign-in still works after; a release whose bridge fails self-test rolls back and sign-in still works on the old bridge. 7. **Docs in the same commit:** ADR 0248 amendment, `docs/architecture/11-update-supply-chain.md`, STATUS.md. **Sequencing:** blocks #1562's production-key mint + first `stable` promote (real communities must not enter a lane that never updates their sign-in program). Does NOT block the Whakatōhea Demo hand re-founding in progress.

swarm-claim host=matou-dev-server-01 run=29380
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=29380 (automated multi-host claim — lowest live claim id works this ticket)

Built per Ben's build brief (2026-09-21) — live drive leg deferred under ADR 0174

Implemented the whole brief in code + seam tests + docs, deferring ONLY the live IDIP-gateway drive leg (brief item 6's live portion) to the next real IDIP fire — a swarm worker cannot stand up a live IDIP gateway, so the live proof rides the #1688 prove-it drive / #1614 Updates drive extension exactly as #1688 itself deferred its live founding leg. Two-way door (ADR 0174 — veto anytime): revertible by dropping the role/guard, and everything landed is proven offline; the deferred leg proves nothing new about the design Ben ruled, only that it holds on real hardware.

Landed (seam-proven):

  1. Manifest + rail — matourelease/update ArtifactIdssIdp; release-cut --idss-idp; publish.sh builds ./control-plane/cmd/idss-idp and uploads art-idss-idp. A manifest WITHOUT the role stays valid.
  2. Lander — fleetland lands /srv/idss/bin/idss-idp keeping *.previous, only where the unit exists (seeded-binary presence is the gate; Kanidm path ignores it), dropping an idss-idp.changed sentinel only on a real swap.
  3. Digest gate — the sentinel means the guard restarts only a changed bridge; an ordinary patch never bounces sign-in.
  4. Self-test + rollback — the bridge grew a loopback GET /selftest (keys loaded, KERIA reachable, able to mint a token — 200/503). At the land stage, before any node deploys and before the ADR 0259 control-plane restart, the update bridge guard restarts a changed bridge and requires self-test green; a red verdict rolls the whole release back (every landed *.previous restored, bridge restarted onto its previous binary so sign-in still answers) and counts the attempt as a refusal (CheckBridgeSelfTest).
  5. Order — the guard runs at the land stage → caught BEFORE the control plane restarts (condition 5), while the old control plane can still cleanly roll back.

Condition 3's required finding (recorded in the ADR amendment): a bridge restart re-hydrates established sessions from bbolt (#794), so a member with a live session is NOT signed out — only a member mid-login (an in-flight auth code) must retry. So a bridge-changing release blips only active in-flight logins for the restart's seconds.

Docs: ADR 0248 Decision 1 amendment, docs/architecture/11-update-supply-chain.md, STATUS.md. Operator-facing refusal words added (dashboard refusal.ts + OpenAPI enum regenerated). Blocks #1562's production-key mint + first stable promote; does not block the Whakatōhea Demo hand re-founding.

## Built per Ben's build brief (2026-09-21) — live drive leg deferred under ADR 0174 Implemented the whole brief in code + seam tests + docs, deferring ONLY the **live IDIP-gateway drive leg** (brief item 6's live portion) to the next real IDIP fire — a swarm worker cannot stand up a live IDIP gateway, so the live proof rides the #1688 prove-it drive / #1614 Updates drive extension exactly as #1688 itself deferred its live founding leg. **Two-way door (ADR 0174 — veto anytime):** revertible by dropping the role/guard, and everything landed is proven offline; the deferred leg proves nothing new about the *design* Ben ruled, only that it holds on real hardware. **Landed (seam-proven):** 1. **Manifest + rail** — `matourelease`/`update` `ArtifactIdssIdp`; `release-cut --idss-idp`; `publish.sh` builds `./control-plane/cmd/idss-idp` and uploads `art-idss-idp`. A manifest WITHOUT the role stays valid. 2. **Lander** — `fleetland` lands `/srv/idss/bin/idss-idp` keeping `*.previous`, only where the unit exists (seeded-binary presence is the gate; Kanidm path ignores it), dropping an `idss-idp.changed` sentinel only on a real swap. 3. **Digest gate** — the sentinel means the guard restarts only a *changed* bridge; an ordinary patch never bounces sign-in. 4. **Self-test + rollback** — the bridge grew a loopback `GET /selftest` (keys loaded, KERIA reachable, able to mint a token — 200/503). At the land stage, before any node deploys and before the ADR 0259 control-plane restart, the `update` bridge guard restarts a changed bridge and requires self-test green; a red verdict rolls the whole release back (every landed `*.previous` restored, bridge restarted onto its previous binary so sign-in still answers) and counts the attempt as a refusal (`CheckBridgeSelfTest`). 5. **Order** — the guard runs at the land stage → caught BEFORE the control plane restarts (condition 5), while the old control plane can still cleanly roll back. **Condition 3's required finding (recorded in the ADR amendment):** a bridge restart **re-hydrates established sessions from bbolt** (#794), so a member with a live session is NOT signed out — only a member mid-login (an in-flight auth code) must retry. So a bridge-changing release blips only active in-flight logins for the restart's seconds. Docs: ADR 0248 Decision 1 amendment, `docs/architecture/11-update-supply-chain.md`, STATUS.md. Operator-facing refusal words added (dashboard `refusal.ts` + OpenAPI enum regenerated). Blocks #1562's production-key mint + first `stable` promote; does not block the Whakatōhea Demo hand re-founding.

close-report for #1689 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1689,
  "status": "success",
  "commits": [
    "63f9791b34635df5db940a0f2b3e7119fa5c63a0"
  ],
  "changed_files": [
    "STATUS.md",
    "cmd/release-cut/main.go",
    "control-plane/cmd/control-plane/bridge_guard.go",
    "control-plane/cmd/control-plane/whole_composition.go",
    "dashboard/src/lib/api/generated.ts",
    "dashboard/src/lib/refusal.ts",
    "dashboard/tests/unit/refusalBridge.test.ts",
    "docs/adr/0248-design-fleet-auto-update-lands-a-signed-release-on-a-running-community.md",
    "docs/architecture/11-update-supply-chain.md",
    "internal/clan/idssidp.go",
    "internal/fleetland/fleetland.go",
    "internal/fleetland/fleetland_test.go",
    "internal/idp/provider.go",
    "internal/idp/selftest.go",
    "internal/idp/selftest_test.go",
    "internal/matourelease/matourelease.go",
    "internal/matourelease/matourelease_test.go",
    "internal/update/bridge.go",
    "internal/update/land.go",
    "internal/update/refusal.go",
    "internal/update/rollout.go",
    "internal/update/rollout_bridge_test.go",
    "internal/update/update.go",
    "packages/openapi-spec/openapi.yaml",
    "scripts/lib/rehearsal-updates-feed-lib.sh",
    "scripts/release-rail/publish.sh",
    "scripts/tests/rehearsal-updates-feed-test.sh"
  ],
  "tests": [
    {
      "command": "go test ./internal/update/ ./internal/fleetland/ ./internal/matourelease/ ./internal/idp/ ./cmd/release-cut/ ./internal/clan/ ./control-plane/cmd/control-plane/",
      "exit_code": 0
    },
    {
      "command": "go vet ./internal/update/ ./internal/fleetland/ ./internal/idp/ ./internal/matourelease/ ./cmd/release-cut/ ./internal/clan/ ./control-plane/cmd/control-plane/",
      "exit_code": 0
    },
    {
      "command": "golangci-lint run (touched packages)",
      "exit_code": 0
    },
    {
      "command": "bash scripts/tests/rehearsal-updates-feed-test.sh",
      "exit_code": 0
    },
    {
      "command": "bash scripts/tests/release-rail-test.sh",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm --filter @idss/openapi-spec run generate:client",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm exec vue-tsc --noEmit (dashboard)",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm exec vitest run tests/unit/refusalBridge.test.ts tests/unit/updatesRefused.test.ts (dashboard)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Manifest + rail carry idss-idp; a manifest without the role stays valid": "matourelease.ArtifactIdssIdp + update.ArtifactIdssIdp; cmd/release-cut/main.go --idss-idp; scripts/release-rail/publish.sh builds ./control-plane/cmd/idss-idp + uploads art-idss-idp; TestCut_CarriesIdssIdpButRoleIsOptional (matourelease_test.go)",
    "Lander lands idss-idp keeping *.previous, only where the unit exists, only when it changed": "internal/fleetland/fleetland.go landIdp (unit-gated on seeded-binary presence, sentinel on real swap) + Restore restores it and clears the sentinel; TestLand_BridgeLandsWhereUnitExistsIgnoredOnKanidmPath, TestLand_BridgeUnchangedDropsNoSentinel, TestRestore_BridgeRestoredAndSentinelCleared (fleetland_test.go)",
    "Bridge grows a loopback self-test (keys loaded, KERIA reachable, mint a token)": "internal/idp/selftest.go GET /selftest (200/503); TestSelfTest_GreenOnlyWhenEveryProbePasses, TestSelfTest_EndpointStatusMatchesVerdict (selftest_test.go)",
    "A changed bridge is restarted + self-tested before any node deploys; a red verdict rolls the whole release back": "internal/update/rollout.go land-stage guard + internal/update/bridge.go bridgeSelfTestFailed (restore all + restart previous bridge, CheckBridgeSelfTest refusal, ADR 0067 budget); TestRollout_BridgeSelfTestFailureRollsBackBeforeAnyDeploy, TestRollout_BridgeUnchangedRollsOutNormally (rollout_bridge_test.go)",
    "Caught before the control-plane restart (condition 5)": "guard runs at StageLand, before deployGatewayThenRestart / the ADR 0259 --no-block restart; TestRollout_BridgeSelfTestFailureRollsBackBeforeAnyDeploy asserts rst.calls==0",
    "Production wiring": "control-plane/cmd/control-plane/bridge_guard.go (systemctl restart idss-idp + loopback curl of /selftest) wired via up.WithBridgeGuard in whole_composition.go; clan.IdssIdpLoopbackURL single-sources the port",
    "Condition 3 finding recorded (does a restart drop live sessions?)": "ADR 0248 amendment: a restart re-hydrates established sessions from bbolt (#794); only a member mid-login blips",
    "Drive extended (live leg deferred)": "scripts/lib/rehearsal-updates-feed-lib.sh founding cut carries the bridge + updates_feed_cut_bridge_bump; scripts/tests/rehearsal-updates-feed-test.sh asserts the 4th artifact + a bridge-only digest change; the live IDIP-gateway leg rides the next real IDIP fire (#1688/#1614), documented in the ADR amendment + STATUS",
    "Docs updated in the same commit": "docs/adr/0248 Decision 1 amendment; docs/architecture/11-update-supply-chain.md; STATUS.md; operator words in dashboard/src/lib/refusal.ts + packages/openapi-spec/openapi.yaml (regenerated generated.ts)"
  },
  "summary": "A signed release now carries idss-idp; the lander lands a changed bridge, the update guard restarts + self-tests it before any node deploys, and a red self-test rolls the whole release back — closing the drift where an IDIP community ran its founding-day sign-in bridge forever.",
  "blockers": []
}
**close-report** for #1689 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1689, "status": "success", "commits": [ "63f9791b34635df5db940a0f2b3e7119fa5c63a0" ], "changed_files": [ "STATUS.md", "cmd/release-cut/main.go", "control-plane/cmd/control-plane/bridge_guard.go", "control-plane/cmd/control-plane/whole_composition.go", "dashboard/src/lib/api/generated.ts", "dashboard/src/lib/refusal.ts", "dashboard/tests/unit/refusalBridge.test.ts", "docs/adr/0248-design-fleet-auto-update-lands-a-signed-release-on-a-running-community.md", "docs/architecture/11-update-supply-chain.md", "internal/clan/idssidp.go", "internal/fleetland/fleetland.go", "internal/fleetland/fleetland_test.go", "internal/idp/provider.go", "internal/idp/selftest.go", "internal/idp/selftest_test.go", "internal/matourelease/matourelease.go", "internal/matourelease/matourelease_test.go", "internal/update/bridge.go", "internal/update/land.go", "internal/update/refusal.go", "internal/update/rollout.go", "internal/update/rollout_bridge_test.go", "internal/update/update.go", "packages/openapi-spec/openapi.yaml", "scripts/lib/rehearsal-updates-feed-lib.sh", "scripts/release-rail/publish.sh", "scripts/tests/rehearsal-updates-feed-test.sh" ], "tests": [ { "command": "go test ./internal/update/ ./internal/fleetland/ ./internal/matourelease/ ./internal/idp/ ./cmd/release-cut/ ./internal/clan/ ./control-plane/cmd/control-plane/", "exit_code": 0 }, { "command": "go vet ./internal/update/ ./internal/fleetland/ ./internal/idp/ ./internal/matourelease/ ./cmd/release-cut/ ./internal/clan/ ./control-plane/cmd/control-plane/", "exit_code": 0 }, { "command": "golangci-lint run (touched packages)", "exit_code": 0 }, { "command": "bash scripts/tests/rehearsal-updates-feed-test.sh", "exit_code": 0 }, { "command": "bash scripts/tests/release-rail-test.sh", "exit_code": 0 }, { "command": "CI=true pnpm --filter @idss/openapi-spec run generate:client", "exit_code": 0 }, { "command": "CI=true pnpm exec vue-tsc --noEmit (dashboard)", "exit_code": 0 }, { "command": "CI=true pnpm exec vitest run tests/unit/refusalBridge.test.ts tests/unit/updatesRefused.test.ts (dashboard)", "exit_code": 0 } ], "criteria": { "Manifest + rail carry idss-idp; a manifest without the role stays valid": "matourelease.ArtifactIdssIdp + update.ArtifactIdssIdp; cmd/release-cut/main.go --idss-idp; scripts/release-rail/publish.sh builds ./control-plane/cmd/idss-idp + uploads art-idss-idp; TestCut_CarriesIdssIdpButRoleIsOptional (matourelease_test.go)", "Lander lands idss-idp keeping *.previous, only where the unit exists, only when it changed": "internal/fleetland/fleetland.go landIdp (unit-gated on seeded-binary presence, sentinel on real swap) + Restore restores it and clears the sentinel; TestLand_BridgeLandsWhereUnitExistsIgnoredOnKanidmPath, TestLand_BridgeUnchangedDropsNoSentinel, TestRestore_BridgeRestoredAndSentinelCleared (fleetland_test.go)", "Bridge grows a loopback self-test (keys loaded, KERIA reachable, mint a token)": "internal/idp/selftest.go GET /selftest (200/503); TestSelfTest_GreenOnlyWhenEveryProbePasses, TestSelfTest_EndpointStatusMatchesVerdict (selftest_test.go)", "A changed bridge is restarted + self-tested before any node deploys; a red verdict rolls the whole release back": "internal/update/rollout.go land-stage guard + internal/update/bridge.go bridgeSelfTestFailed (restore all + restart previous bridge, CheckBridgeSelfTest refusal, ADR 0067 budget); TestRollout_BridgeSelfTestFailureRollsBackBeforeAnyDeploy, TestRollout_BridgeUnchangedRollsOutNormally (rollout_bridge_test.go)", "Caught before the control-plane restart (condition 5)": "guard runs at StageLand, before deployGatewayThenRestart / the ADR 0259 --no-block restart; TestRollout_BridgeSelfTestFailureRollsBackBeforeAnyDeploy asserts rst.calls==0", "Production wiring": "control-plane/cmd/control-plane/bridge_guard.go (systemctl restart idss-idp + loopback curl of /selftest) wired via up.WithBridgeGuard in whole_composition.go; clan.IdssIdpLoopbackURL single-sources the port", "Condition 3 finding recorded (does a restart drop live sessions?)": "ADR 0248 amendment: a restart re-hydrates established sessions from bbolt (#794); only a member mid-login blips", "Drive extended (live leg deferred)": "scripts/lib/rehearsal-updates-feed-lib.sh founding cut carries the bridge + updates_feed_cut_bridge_bump; scripts/tests/rehearsal-updates-feed-test.sh asserts the 4th artifact + a bridge-only digest change; the live IDIP-gateway leg rides the next real IDIP fire (#1688/#1614), documented in the ADR amendment + STATUS", "Docs updated in the same commit": "docs/adr/0248 Decision 1 amendment; docs/architecture/11-update-supply-chain.md; STATUS.md; operator words in dashboard/src/lib/refusal.ts + packages/openapi-spec/openapi.yaml (regenerated generated.ts)" }, "summary": "A signed release now carries idss-idp; the lander lands a changed bridge, the update guard restarts + self-tests it before any node deploys, and a red self-test rolls the whole release back — closing the drift where an IDIP community ran its founding-day sign-in bridge forever.", "blockers": [] } ``` </details>
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.

Reference
Matou/idss#1689
No description provided.