founding (IDIP): the founder's identity was never created — sign-in says “No identity was found for that phrase”, and the hand-off still let the founder finish #2190

Closed
opened 2026-11-11 12:21:26 +00:00 by ben · 4 comments
Owner

What happened

tu-ia, app 2026.11.3430, right after the hand-off (2026-11-10 ~23:01 local): signing in at the community with the founder's 12 words fails with "No identity was found for that phrase in this community." (app/src/keriweb/main.ts idssKeriSignIn, signInAid(recovered.aids) empty).

What the gateway showed (before it was reaped, #2189)

  • KERIA's journal held exactly one agent boot (Agent Pre … Controller …), at 04:01:49 UTC = 23:01:49 local — the sign-in attempt itself (client.recover boots an empty agent for an unknown passcode). No agent boot from the founding.
  • The control plane never logged idip roster: founder registered, and the descriptor writer kept logging community not yet founded — org-config rests (no identity recorded) across its 18:41, 02:54 and 03:00 UTC restarts.

So the IDIP identity legs (FoundingStandup.vue startIdentityLegs → IdentityLegsDriver: founder AID, community group AID, registry, membership ACDC, registerFounder, recordCommunityIdentity) appear never to have run against this gateway, yet the founding reached hand-off and the hand-off let the founder finish.

Leads

  • The legs start from a watch(carrierDoorsLive) with an identityStarted guard. This founding spanned several app launches and Retries (3425 → 3426 → 3430). Check whether a resumed walk that is already past seeding ever starts them.
  • identityApex comes from walk.draft?.address?.host — check it on the rented own-domain path after a resume.
  • The hand-off must refuse to finish an IDIP founding whose identity legs have not all passed: today the founder can leave with no identity at all.

Related: #2189, #2188, DDR 0200, ADR 0195/0197/0198, #981, #1018, #1638.

## What happened tu-ia, app 2026.11.3430, right after the hand-off (2026-11-10 ~23:01 local): signing in at the community with the founder's 12 words fails with **"No identity was found for that phrase in this community."** (`app/src/keriweb/main.ts` `idssKeriSignIn`, `signInAid(recovered.aids)` empty). ## What the gateway showed (before it was reaped, #2189) - KERIA's journal held exactly **one** agent boot (`Agent Pre … Controller …`), at 04:01:49 UTC = 23:01:49 local — the sign-in attempt itself (`client.recover` boots an empty agent for an unknown passcode). No agent boot from the founding. - The control plane never logged `idip roster: founder registered`, and the descriptor writer kept logging `community not yet founded — org-config rests (no identity recorded)` across its 18:41, 02:54 and 03:00 UTC restarts. So the IDIP identity legs (`FoundingStandup.vue` `startIdentityLegs` → `IdentityLegsDriver`: founder AID, community group AID, registry, membership ACDC, `registerFounder`, `recordCommunityIdentity`) appear never to have run against this gateway, yet the founding reached hand-off and the hand-off let the founder finish. ## Leads - The legs start from a `watch(carrierDoorsLive)` with an `identityStarted` guard. This founding spanned several app launches and Retries (3425 → 3426 → 3430). Check whether a resumed walk that is already past seeding ever starts them. - `identityApex` comes from `walk.draft?.address?.host` — check it on the rented own-domain path after a resume. - The hand-off must refuse to finish an IDIP founding whose identity legs have not all passed: today the founder can leave with no identity at all. Related: #2189, #2188, DDR 0200, ADR 0195/0197/0198, #981, #1018, #1638.
ben self-assigned this 2026-11-11 12:21:26 +00:00

This was generated by AI during triage.

Agent Brief

Category: bug
Summary: On an IDIP founding, the founder's identity legs never ran (sign-in fails "No identity was found for that phrase"), yet the hand-off still let the founder finish. Ensure the identity legs run on a resumed walk, and make the hand-off refuse to finish an IDIP founding whose identity legs have not all passed.

Current behavior:
After hand-off, signing in at the community with the founder's twelve words fails: app/src/keriweb/main.ts idssKeriSignIn → signInAid(recovered.aids) finds no AID ("No identity was found for that phrase in this community."). Gateway evidence (before the box was reaped, #2189): KERIA booted exactly one agent — the sign-in attempt itself — with no agent boot from the founding; the control plane never logged idip roster: founder registered; the descriptor writer kept logging "community not yet founded — org-config rests (no identity recorded)". So the IDIP identity legs (FoundingStandup.vue startIdentityLegs → IdentityLegsDriver: founder AID, community group AID, registry, membership ACDC, registerFounder, recordCommunityIdentity) never ran against this gateway — yet the founding reached hand-off and the hand-off let the founder finish with no identity at all.

Likely root cause (confirmed as a plausible path, to be verified): the legs start from a watch(carrierDoorsLive) guarded by an identityStarted flag. A Vue watch without immediate does not fire for a value that is already true when the watcher mounts. This founding spanned several app launches / Retries (3425 → 3426 → 3430); on a resumed walk that is already past seeding, carrierDoorsLive is already true at mount, the watcher never fires, and startIdentityLegs is never called.

Desired behavior:

  • On a resumed IDIP founding that is already past seeding (carrier doors already live when the standup mounts), the identity legs start exactly once (the identityStarted guard still prevents a double start on a fresh walk).
  • The hand-off refuses to let an IDIP founding finish until every identity leg has passed (founder AID, community group AID, registry, membership ACDC, registerFounder, recordCommunityIdentity). An IDIP founding can never complete with no founder identity recorded; the operator sees the identity work is still owed / failed rather than a silent finish.
  • Signing in with the founder's twelve words after a completed IDIP founding resolves the founder's AID.

Key interfaces:

  • FoundingStandup.vue — the watch(carrierDoorsLive, …) that starts startIdentityLegs() under the identityStarted guard: it must also fire when carrierDoorsLive is already true at mount (e.g. { immediate: true } or an explicit initial-state check), without double-starting.
  • identityApex is derived from walk.draft?.address?.host — verify it resolves on the rented own-domain path after a resume (an empty/rested apex would start the legs against the wrong/no gateway).
  • IdentityLegsDriver (app/src/lib/identityLegs.ts) — the legs themselves; no change expected beyond ensuring they are invoked.
  • The hand-off / finish gate in the founding flow — add the "all identity legs passed" precondition for identityKind === 'idip'.

Acceptance criteria:

  • A test resumes an IDIP walk whose carrier doors are already live at standup mount and asserts the identity legs start (exactly once).
  • A test asserts the hand-off refuses to finish an IDIP founding when one or more identity legs have not passed.
  • A fresh (non-resumed) IDIP founding still starts the legs exactly once (no double start) and finishes normally when all legs pass.
  • identityApex resolves to the community gateway host on the rented own-domain path after a resume.
  • App unit suite, vue-tsc, eslint clean.

Out of scope:

  • The non-IDIP (plain) founding finish path — only IDIP foundings gain the identity-legs precondition.
  • The KERIA/witness provisioning itself (the legs' server-side behavior) — this ticket is about the legs being invoked and the hand-off gating on them.
  • The live drive proving a real resumed IDIP founding signs in afterward — owed as drive proof after the fix lands (reaches a founder only through a rebuilt app at a feed-named revision, #1769); tracked by the standing drive issue.

Ruled by agent under ADR 0174 — veto anytime.
Ruling: ready-for-agent. Two-way door: making the watcher fire on an already-true initial value and adding a hand-off precondition are additive, revertible per commit, and proven by the unit tests named above. Not on the one-way-door list: the hand-off gate tightens safety (it refuses to finish without the founder's identity), it does not accept any member-facing trust or widen security posture; no data destruction, no spend, no personal credentials. The unconfirmed-root-cause risk is bounded — the hand-off guard is independently shippable and testable regardless of which resume path dropped the legs.

> *This was generated by AI during triage.* ## Agent Brief **Category:** bug **Summary:** On an IDIP founding, the founder's identity legs never ran (sign-in fails "No identity was found for that phrase"), yet the hand-off still let the founder finish. Ensure the identity legs run on a resumed walk, and make the hand-off refuse to finish an IDIP founding whose identity legs have not all passed. **Current behavior:** After hand-off, signing in at the community with the founder's twelve words fails: `app/src/keriweb/main.ts` `idssKeriSignIn` → `signInAid(recovered.aids)` finds no AID ("No identity was found for that phrase in this community."). Gateway evidence (before the box was reaped, #2189): KERIA booted exactly one agent — the sign-in attempt itself — with **no agent boot from the founding**; the control plane never logged `idip roster: founder registered`; the descriptor writer kept logging "community not yet founded — org-config rests (no identity recorded)". So the IDIP identity legs (`FoundingStandup.vue` `startIdentityLegs` → `IdentityLegsDriver`: founder AID, community group AID, registry, membership ACDC, `registerFounder`, `recordCommunityIdentity`) never ran against this gateway — yet the founding reached hand-off and the hand-off let the founder finish with no identity at all. Likely root cause (confirmed as a plausible path, to be verified): the legs start from a `watch(carrierDoorsLive)` guarded by an `identityStarted` flag. A Vue `watch` without `immediate` does not fire for a value that is **already true** when the watcher mounts. This founding spanned several app launches / Retries (3425 → 3426 → 3430); on a resumed walk that is already past seeding, `carrierDoorsLive` is already true at mount, the watcher never fires, and `startIdentityLegs` is never called. **Desired behavior:** - On a resumed IDIP founding that is already past seeding (carrier doors already live when the standup mounts), the identity legs start exactly once (the `identityStarted` guard still prevents a double start on a fresh walk). - The hand-off **refuses to let an IDIP founding finish until every identity leg has passed** (founder AID, community group AID, registry, membership ACDC, `registerFounder`, `recordCommunityIdentity`). An IDIP founding can never complete with no founder identity recorded; the operator sees the identity work is still owed / failed rather than a silent finish. - Signing in with the founder's twelve words after a completed IDIP founding resolves the founder's AID. **Key interfaces:** - `FoundingStandup.vue` — the `watch(carrierDoorsLive, …)` that starts `startIdentityLegs()` under the `identityStarted` guard: it must also fire when `carrierDoorsLive` is already true at mount (e.g. `{ immediate: true }` or an explicit initial-state check), without double-starting. - `identityApex` is derived from `walk.draft?.address?.host` — verify it resolves on the rented **own-domain** path after a resume (an empty/rested apex would start the legs against the wrong/no gateway). - `IdentityLegsDriver` (`app/src/lib/identityLegs.ts`) — the legs themselves; no change expected beyond ensuring they are invoked. - The hand-off / finish gate in the founding flow — add the "all identity legs passed" precondition for `identityKind === 'idip'`. **Acceptance criteria:** - [ ] A test resumes an IDIP walk whose carrier doors are already live at standup mount and asserts the identity legs start (exactly once). - [ ] A test asserts the hand-off refuses to finish an IDIP founding when one or more identity legs have not passed. - [ ] A fresh (non-resumed) IDIP founding still starts the legs exactly once (no double start) and finishes normally when all legs pass. - [ ] `identityApex` resolves to the community gateway host on the rented own-domain path after a resume. - [ ] App unit suite, `vue-tsc`, eslint clean. **Out of scope:** - The non-IDIP (plain) founding finish path — only IDIP foundings gain the identity-legs precondition. - The KERIA/witness provisioning itself (the legs' server-side behavior) — this ticket is about the legs being *invoked* and the hand-off *gating* on them. - The **live drive** proving a real resumed IDIP founding signs in afterward — owed as drive proof after the fix lands (reaches a founder only through a rebuilt app at a feed-named revision, #1769); tracked by the standing drive issue. --- **Ruled by agent under ADR 0174 — veto anytime.** Ruling: `ready-for-agent`. Two-way door: making the watcher fire on an already-true initial value and adding a hand-off precondition are additive, revertible per commit, and proven by the unit tests named above. Not on the one-way-door list: the hand-off gate *tightens* safety (it refuses to finish without the founder's identity), it does not accept any member-facing trust or widen security posture; no data destruction, no spend, no personal credentials. The unconfirmed-root-cause risk is bounded — the hand-off guard is independently shippable and testable regardless of which resume path dropped the legs.

swarm-claim host=bens-mac-04 run=63570
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=63570 (automated multi-host claim — lowest live claim id works this ticket)

⏩ independent reviewer for #2190 — verdict unauthenticated

review JSON
{
  "verdict": "unauthenticated",
  "findings": []
}
:fast_forward: **independent reviewer** for #2190 — verdict `unauthenticated` <details><summary>review JSON</summary> ```json { "verdict": "unauthenticated", "findings": [] } ``` </details>

close-report for #2190 — status success

✅ close-report gates passed — every claim verified against the pushed worker branch sandcastle/worker/20261111-073754-944c44 (pre-land — the host promotes it to main only after its post-run verify, #193/#283); issue closed.

envelope
{
  "issue": 2190,
  "status": "success",
  "commits": [
    "0b047165fb65f298707afd441d60cb1f9ace61ba"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/components/founding/FoundingStandup.vue",
    "app/src/lib/founding.ts",
    "app/tests/unit/foundingHandOffIdip.test.ts",
    "app/tests/unit/foundingIdentityGate.test.ts",
    "app/tests/unit/support/identityKeriMock.ts"
  ],
  "tests": [
    {
      "command": "cd app && node_modules/.bin/vitest run tests/unit/foundingIdentityGate.test.ts tests/unit/foundingHandOffIdip.test.ts tests/unit/foundingHandOff.test.ts tests/unit/foundingIdentityRows.test.ts tests/unit/identityLegs.test.ts tests/unit/founding.test.ts tests/unit/foundingStandupChapters.test.ts tests/unit/foundingOwnVPSCarrier.test.ts tests/unit/foundingStandupPrivate.test.ts tests/unit/foundingStandupRented.test.ts",
      "exit_code": 0
    },
    {
      "command": "cd app && node_modules/.bin/vue-tsc -p tsconfig.json",
      "exit_code": 0
    },
    {
      "command": "node_modules/.bin/eslint app/src/components/founding/FoundingStandup.vue app/src/lib/founding.ts app/tests/unit/foundingIdentityGate.test.ts app/tests/unit/foundingHandOffIdip.test.ts app/tests/unit/support/identityKeriMock.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "A resumed IDIP walk whose carrier doors are already live at standup mount starts the identity legs exactly once": "foundingIdentityGate.test.ts 'a resume booting straight onto the open hand-off starts the legs exactly once' — asserts registerFounders length 1 and keriMockCalls.endpoints length 1; FoundingStandup.vue startIdentityLegs now latches only on a built driver + watch keys on identityApex",
    "The hand-off refuses to finish an IDIP founding when one or more identity legs have not passed": "foundingIdentityGate.test.ts 'refuses the completion when the apex never resolves' and 'refuses the completion when an identity leg faults' — complete-hand-off NOT in ops, refusal shown; FoundingStandup.vue completeIdipHandOff gates on identityLegsSettled()/allIdentityLegsPassed",
    "A fresh (non-resumed) IDIP founding starts the legs exactly once (no double start) and finishes normally when all legs pass": "foundingIdentityGate.test.ts 'drives through the carrier to the hand-off, starts the legs once (no double start), and completes' + foundingHandOffIdip.test.ts completion tests green",
    "identityApex resolves to the community gateway host on the rented own-domain path after a resume": "foundingIdentityGate.test.ts 'dials the own domain apex (keria.<own-domain>)' — asserts endpoints[0].adminUrl === https://keria.tech.tuia.co for an own-domain draft resumed at the open hand-off",
    "App unit suite, vue-tsc, eslint clean": "10 founding unit files green (121 tests), vue-tsc exit 0, eslint exit 0 on changed files; the two full-suite reds (boot.test.ts, updatesFeed.test.ts) are Go-toolchain-absent fixture builds (spawnSync go ENOENT), unrelated to this change"
  },
  "summary": "The IDIP hand-off now refuses to finish until the founder's identity legs all pass, and the legs no longer latch-drop when the own-domain apex resolves late on a resumed walk.",
  "blockers": []
}
**close-report** for #2190 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the pushed worker branch `sandcastle/worker/20261111-073754-944c44` (pre-land — the host promotes it to `main` only after its post-run verify, #193/#283); issue closed. <details><summary>envelope</summary> ```json { "issue": 2190, "status": "success", "commits": [ "0b047165fb65f298707afd441d60cb1f9ace61ba" ], "changed_files": [ "STATUS.md", "app/src/components/founding/FoundingStandup.vue", "app/src/lib/founding.ts", "app/tests/unit/foundingHandOffIdip.test.ts", "app/tests/unit/foundingIdentityGate.test.ts", "app/tests/unit/support/identityKeriMock.ts" ], "tests": [ { "command": "cd app && node_modules/.bin/vitest run tests/unit/foundingIdentityGate.test.ts tests/unit/foundingHandOffIdip.test.ts tests/unit/foundingHandOff.test.ts tests/unit/foundingIdentityRows.test.ts tests/unit/identityLegs.test.ts tests/unit/founding.test.ts tests/unit/foundingStandupChapters.test.ts tests/unit/foundingOwnVPSCarrier.test.ts tests/unit/foundingStandupPrivate.test.ts tests/unit/foundingStandupRented.test.ts", "exit_code": 0 }, { "command": "cd app && node_modules/.bin/vue-tsc -p tsconfig.json", "exit_code": 0 }, { "command": "node_modules/.bin/eslint app/src/components/founding/FoundingStandup.vue app/src/lib/founding.ts app/tests/unit/foundingIdentityGate.test.ts app/tests/unit/foundingHandOffIdip.test.ts app/tests/unit/support/identityKeriMock.ts", "exit_code": 0 } ], "criteria": { "A resumed IDIP walk whose carrier doors are already live at standup mount starts the identity legs exactly once": "foundingIdentityGate.test.ts 'a resume booting straight onto the open hand-off starts the legs exactly once' — asserts registerFounders length 1 and keriMockCalls.endpoints length 1; FoundingStandup.vue startIdentityLegs now latches only on a built driver + watch keys on identityApex", "The hand-off refuses to finish an IDIP founding when one or more identity legs have not passed": "foundingIdentityGate.test.ts 'refuses the completion when the apex never resolves' and 'refuses the completion when an identity leg faults' — complete-hand-off NOT in ops, refusal shown; FoundingStandup.vue completeIdipHandOff gates on identityLegsSettled()/allIdentityLegsPassed", "A fresh (non-resumed) IDIP founding starts the legs exactly once (no double start) and finishes normally when all legs pass": "foundingIdentityGate.test.ts 'drives through the carrier to the hand-off, starts the legs once (no double start), and completes' + foundingHandOffIdip.test.ts completion tests green", "identityApex resolves to the community gateway host on the rented own-domain path after a resume": "foundingIdentityGate.test.ts 'dials the own domain apex (keria.<own-domain>)' — asserts endpoints[0].adminUrl === https://keria.tech.tuia.co for an own-domain draft resumed at the open hand-off", "App unit suite, vue-tsc, eslint clean": "10 founding unit files green (121 tests), vue-tsc exit 0, eslint exit 0 on changed files; the two full-suite reds (boot.test.ts, updatesFeed.test.ts) are Go-toolchain-absent fixture builds (spawnSync go ENOENT), unrelated to this change" }, "summary": "The IDIP hand-off now refuses to finish until the founder's identity legs all pass, and the legs no longer latch-drop when the own-domain apex resolves late on a resumed walk.", "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.

Dependencies

No dependencies set.

Reference
Matou/idss#2190
No description provided.