IDIP: the founder's agent boot has no way through the invite-gated /boot door #977
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.
Dependencies
No dependencies set.
Reference
Matou/idss#977
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?
Failure
The
identity-rowsleg of the20260829T065250ZIDIP drive red onyour-identity. The page named the reason plainly (artifacts/journey.idip-IDIP-journey--133f0-ey-on-the-rehearsal-droplet/error-context.md, the fault panel in the page snapshot):The drive reported this as a blank reason; that presentation half is fixed in
d7694b22. This issue is the fault itself, which is unfixed.Evidence
The founder's agent boot is refused because the founder carries no boot token, and nothing in the founding path ever mints or attaches one.
app/src/lib/keri/client.ts:110-122—initializeis connect-or-boot: it catchesagent does not exist, callsconn.boot(), thenconn.connect()again. The error that reached the row is that secondconnect(), outside thetry— soconn.boot()did not create an agent.app/src/components/founding/FoundingStandup.vue:820— the founder's client is built asnew KERIClient({ endpoints: keriDoorEndpoints(props.identityApex), store }). No boot-token fetch wrapper, no header, nothing.app/src/keriweb/main.ts:68-80— the member browser bundle is the only caller that gets through: it wrapswindow.fetchwithwithBootToken(...)(app/src/keriweb/doors.ts:46-61) for exactly the duration ofclient.initialize(bran). There is no founder-side twin.internal/clan/keri.go:150-159—keria-boot.<apex>is the one gated door,forward_auth'd to the control plane's/authz/idip-bootwithcopy_headers X-Idss-Boot-Token.internal/controlapi/authgate.go:188-197—bootGateVerifyreadsHeaderBootTokenand denies viaCheckBootToken;internal/keria/invite.go:144-147denies an empty token outright withErrBootDenied.logs/droplet-journal.txt:1760—idip adapter wired: boot door gated on invites, join page mounted, roster surface mounted (ADR 0212)at 07:01:51, i.e. the checker was live and denying by the time the legs ran.docs/adr/0212-*.md:50-52) scopes the boot-token mechanism to "the member-browser bundle" only. The founder was never given a path.One caveat on certainty:
client.ts:117discardsconn.boot()'s return value, and signify-ts'sboot()resolves with theResponserather than throwing on a non-2xx. So a 403 from the forward-auth is swallowed and re-surfaces as the misleadingagent does not existfrom the retry. The evidence cannot distinguish a 403 from another boot failure because the response is thrown away — that swallowing is worth fixing alongside, so the next occurrence names its own status.Suspected layer
Renderer founding path + the IDIP boot gate's authorisation model. The founder is the one agent that must boot before any invite exists to gate it with — the gate has no founding-window concept.
Second defect in the same evidence: the community witness never came up, and the row said it had
logs/droplet-units.txt(ss -tlnp) — nothing listens on:5642. KERIA's 3901/3902/3903 are up; the witness is not.logs/droplet-journal.txt:1884-1997—keri-health-waitretried127.0.0.1:5642once a second from 07:02:10 and was still failing at 07:02:43, past the drive's ownendedAtof 07:02:24 (artifacts/verdict.json).identity-servicerow rendered ✓ done with the evidence lineKERIA + witness + sign-in door live (door probe passed)(error-context.mdpage snapshot). That string is hardcoded atapp/src/lib/identityLegs.ts:218-225, where the driver constructsidentity-serviceas alreadydoneon the precondition that the carrier door probe passed.So the door probe that gates the driver does not actually probe the witness, and the row claims a service is live that is down — an honesty defect of exactly the kind ADR 0088 forbids. This did not cause the red (agent boot precedes any witnessing), but it would have red the
community-identity/your-membershiplegs immediately after, and it makes the ✓ untrustworthy.What plugging it needs
A human ruling on the first defect before code — how does the founder authorise its own
/boot? At least three shapes, with different security postures:withBootTokenpath (smallest change, reuses the whole mechanism).identityLegs.ts:19-27forbid.Once ruled, the work is: wire the chosen path in
FoundingStandup.vue:817-835, stop discarding the boot response inclient.ts:113-122so a refusal names its own status instead of masquerading asagent does not exist, and extend the boot-gate seam tests (internal/controlapi/boot_gate_test.go) to cover the founding case.The second defect needs no ruling: make the door probe that gates the driver actually reach the witness, and stop
identity-serviceassertingwitness … liveon a precondition that never checked it.drive
20260829T065250Zred atidentity-rows:identity row your-identity failed:evidence:
/home/dev/swarm/Matou/idss/test-results/drive-idip/20260829T065250Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedDuplicate of #968 (same rung: the founder's first KERIA boot hits the invite-gated
/bootdoor;boot()'s 403 swallowed,connect()surfacesagent does not exist). Ben ruled A on #968 at 05:30Z — founding self-mints one single-use founder boot invite threaded to the app viawithBootToken, honest-403 half in the same slice — and it isready-for-agent. #788 now blocks on #968 instead. This drive (065250Z, 12/13 green) is the live evidence that #954/#966 hold and that 12a is the next wall.