Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#968
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The #788 IDIP drive
20260828T214054Zredded at leg 11 (activation) on thekanidm credential-enrolment mint — fixed in #966 (ADR 0215). With that gate in
place the drive advances to leg 12a (
identity-rows) and re-fires into asecond, distinct fault the same activation screenshot already showed: the
founder-AID identity row fails independently of the token fault.
The fault
artifacts/legs/activation.png+ page snapshot (ref=f1e55-f1e70):The row above it is green (
✓ Identity service — KERIA + witness + sign-in door live (door probe passed)), and the box agrees: KERIA started clean at 21:46:57(
logs/droplet-journal.txt:595,728), boot/admin/agent ports 3901/3902/3903 alllistening (
logs/droplet-units.txt). So the stack is up — the renderer'ssignify-ts client never completed KERIA's
bootfor that controller: it askedfor an agent that was never created, or booted against a different KERIA/passcode
than the one it then connected with.
Layer
Task #779 (
idip:founding-identity-legs, now CLOSED) — the signify-ts identitylegs in the Electron renderer (
FoundingStandup.vue/identityLegs.ts/matou-app
client.tsreuse). This is a regression against closed work,surfaced live for the first time now that the seed leg (#778) and activation gate
(#966) let the drive reach the identity rows. Leg 12a (
journey.idip.spec.ts:483,identityRowsDone) is exactly the check that catches it — a leg the drive hadnever reached before.
Evidence:
test-results/drive-idip/20260828T214054Zon matou-workstation.Filed as follow-up from #966 per ADR 0174 rule 1 (work only the one ticket).
Agent Brief
Category: bug
Summary: On the IDIP founding path the founder-AID identity leg fails with "agent does not exist for controller" — the signify-ts KERIA agent is never booted (created) for the controller before the client connects/mints.
Current behavior:
When the #788 IDIP drive reaches leg 12a (identity-rows), the "Your identity — created from your recovery phrase" (founder AID) row fails with
agent does not exist for controller <AID>, even though the row above it ("Identity service — KERIA + witness + sign-in door live") is green: KERIA is up and its boot/admin/agent ports are listening. The renderer's signify-ts client asked KERIA for an agent that was never created — it either skipped/failed KERIA'sbootfor that controller, or booted against a different KERIA instance/passcode than the one it then connected with. This is a regression against closed task #779, surfaced live for the first time now that the seed leg (#778) and the activation gate (#966/ADR 0215) let the drive reach the identity rows.Desired behavior:
The founder-AID identity leg completes on the IDIP path: the KERIA agent for the founder controller is booted (created) against the S6a-derived passcode, against the same KERIA the client subsequently connects to, and the witnessed founder AID mints — turning the identity-rows leg green. Boot-then-connect, never connect-against-an-unbooted-agent.
Key interfaces:
initialize(bran)step (the sole place the passcode goes) must guarantee KERIA's agentbootfor the controller has completed before any connect or mint runs.Acceptance criteria:
identityRowsDone) passes — all four IDIP identity rows go green on a driven run.agent does not exist for controller.Out of scope:
This is a code-only regression fix — revertible by a later commit and proved by the existing leg-12a check (
journey.idip.spec.ts→identityRowsDone). No design contract is missing and there is no human residue, so it moves straight toready-for-agent(no ADR 0174 ruling required). Reproduction confirmed against the referenced code: the boot lives in theinitialize/passcode path of the renderer's identity-legs adapter, and leg 12a is the check that catches it. Evidence:test-results/drive-idip/20260828T214054Zon matou-workstation.Blocked — the founder's first KERIA boot has no authorization path (a design decision on a security gate)
This is not the app-only fix the triage brief assumed. Full root cause, traced against the code:
The founder-AID row fails at leg 12a because the founder's identity legs boot through the invite-gated
/bootdoor (keria-boot.<apex>→internal/controlapi.WithKeriBootGate/internal/keria.BootInvites, wired incontrol-plane/cmd/control-plane/main.go:892viaproductionIdip). That door is fail-closed and requires a live single-use boot invite token (internal/clan/keri.go:146-165,internal/keria/invite.go). The founder path (FoundingStandup.vue:820→identityLegs.ts:289→KERIClient.initialize,app/src/lib/keri/client.ts:110) callsboot()with no token, so:signifyboot()POSTs to the gated door → 403;boot()returns aResponseand does not throw on non-2xx, soinitializesilently ignores the 403;connect()GETs/agent/{caid}→ 404 → throws the misleadingagent does not exist for controller …— masking the real cause.Members boot fine because the member-browser bundle attaches the steward-minted single-use invite (
app/src/keriweb/main.ts:68,withBootToken). The founder — the first person, before any steward exists to mint an invite — has no authorization path for their bootstrap boot.Why it's a gap, not a bug in one file
a22c1c4) and the founder legs (#7791d78411) landed an hour apart; #779's slice (docs/slices/idip.yaml) targets "the public doors" and does not depend on keria-adapter-core, so neither side resolved the founder's first boot.grepacrossinternal/,control-plane/,app/src/— none).identityApexis the local draft host, not a server fact).The decision needed (posted to Mattermost, no reply in 20 min)
How should the founder authorize their first KERIA boot?
withBootToken— same single-use/expiring posture, minted by the bootstrap rather than a steward.:3903during founding (ungated at the Caddy layer); remote members keep the public gated door.A regardless-of-choice honest-error half is also worth landing:
initializeshould checkboot()'s Response and throw the real 403 body instead of letting the doomedconnect()surfaceagent does not exist— but that turns the row red with the true reason, it does not make it green, so it can't close this ticket alone.Why human
The founder-boot authorization is a security-posture bootstrap decision on the invite-gated
/bootdoor — irreversible in spirit (it defines how the very first agent is admitted) and not provable green from this sandbox (needs the live #788 drive). It is not a two-way door I should rule alone, and the mechanism/channel choice (A/B/C) has real security implications. A human/session must pick the bootstrap before an implementable slice exists.Ben ruled A (2026-08-29): founding self-mints ONE single-use founder boot invite.
Build:
keria.BootInvitesposture (single-use, expiring, attributed to the founder — never a steward), and threads its token to the operator app over the founding's existing server→app channel (add one if none exists; it is a server-minted secret, so it rides the founding transport, never a URL).withBootTokenthe member bundle uses; the gated/bootdoor stays exactly as is (no ungated window, no loopback bypass).initializechecksboot()'s Response and throws the real 403 body — no moreagent does not existmasking.withBootTokenfor the founder legs. Live proof = IDIP drive #788 leg 12a.Re-armed
ready-for-agent(ADR 0174: the posture is unchanged, the mint is bootstrap-attributed).swarm-claim host=elitebook-distributed-server-03 run=13650
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #968 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope