IDIP founder AID inception never receipts — the community witness advertises no curls, so your-identity burns the 180 s ceiling #995
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
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#995
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?
Drive
20260829T190650Z(targetidip, signaturefacdb1c80cf1, commit5f8d4ee4) red atidentity-rows; 12 legs green before it,deploy-takeoverandactivationboth clean. The box was healthy throughout —logs/droplet-do-forensics.txtshows onecreateaction and nothing else, ping 0% loss, a fresh tcp/22 connect succeeding at 19:18:16Z. This is not an infra flake.Failure
artifacts/legs.json—{"leg":"identity-rows","status":"red","ms":186383,"error":"identity row your-identity failed: signal timed out"}.The two prior heals on this signature both held, and that is what let this drive reach the real wall:
app/tests/e2e/fixtures/idip.ts:91-93) — the row reds with a reason, not a blank;identity-servicerests green in the page snapshot (artifacts/journey.idip-.../error-context.md): "KERIA + witness + sign-in door live (door probe passed; witness probe passed)".So the witness answered its probe, and the founder AID mint still never completed.
Evidence
The timed-out op is
createAID's witness wait, not the boot."signal timed out"is theTimeoutErrortext fromAbortSignal.timeout— the only place it can originate isapp/src/lib/keri/client.ts:729(waitOp). No repo source emits that string (grepover*.go/*.ts/*.vuefinds nothing).app/src/lib/keri/client.ts:262waits the inception op withTIMEOUT.aid=180_000(client.ts:55).verdict.jsonendedAtis19:18:04.822Z, the leg ran186383 ms, so it started ≈19:14:58.4.logs/droplet-journal.txt:1039logs KERIA's agent boot at 19:14:58 —Agent Pre: ECdq6OaDUE5e9yaoE9rjvHv0AHoISed48pjlV3WU7Q1R. Boot + OOBI resolve, then exactly 180 s of nothing, then the abort.The boot and the OOBI resolve both succeeded — the witness pool was wired.
KERIA_IURLShad been unwired,assignWitnesseswould have thrownwitness pool is empty — KERIA carries no witness OOBI(app/src/lib/keri/witnessAssignment.ts:80-85) in under a second. It did not; the pool was non-empty andrunYourIdentitygot pastinitialize()(app/src/lib/identityLegs.ts:346-354).resolveWitnessOobis()(client.ts:153,:674-681) has a 30 s ceiling and would have red at 30 s, not 180 s. It passed.The witness process was alive and listening the whole time.
logs/droplet-units.txt:systemctl --failedis empty;ss -tlnpshows0.0.0.0:5642and0.0.0.0:5632held by.kli-wrappedpid 1066, and KERIA on 3901/3902/3903 (pid 1225).logs/droplet-stall.txt: load average 0.06, 2.7 GB free, disk 5% — nothing starved.So KERIA submitted the inception with
wits=[<witness AID>], toad=1and no receipt ever came back.Suspected cause — the witness habitat advertises no endpoint.
internal/clan/keri.go:450incepts the witness with a bare keystore:No
--config-file/--config-dir, so the habitat gets nocurlsand publishes no/loc/schemereply in its KEL. The reference stack this module was derived from does the opposite —docs/research/2026-08-24-keria-stack-on-nixos.md:65records "one<name>.jsonper witness withcurls: [\"tcp://witness-demo:5632/\", \"http://witness-demo:5642/\"]". A witness with no advertised location can be resolved (KERIA learns the AID fromhttp://127.0.0.1:5642/oobi/<AID>/controller,keri.go:502) but cannot be sent to — the inception sits unreceipted and the 180 s wait expires. That matches every observation: probe green, resolve green, mint silent.This is a hypothesis, not a confirmed cause. It is unconfirmed because the run harvests no KERIA or witness log for the inception window:
logs/droplet-journal.txtopens at 19:12:47 (after both units started ≈19:12:15–19:12:21 by theirpselapsed times) and contains exactly onekeria[1225]line and zerokli/witness lines across the whole 19:12–19:18 span.Suspected layer
internal/clan/keri.go—renderKeriWitnessUnit(the witness inception,:429-461) andrenderKeriIurlsUnit(:479-506). Not the renderer:app/src/lib/keri/client.tsandidentityLegs.tsbehaved exactly as designed, waited their declared ceiling and red honestly.What plugging it needs
keria/keri-witnessjournal. Add both units (andkeria-iurls) to the droplet log harvest, with a window that opens before the units start — the current journal begins 30 s too late to showkeria-iurlsat all.clan-labskill and mint one witnessed AID; confirm whether the icp reaches the witness. This is the step that turns the hypothesis above into a cause.curlsvia akli init --config-file/--config-dirpayload. Addingcurlsproduces/loc/scheme+/end/rolereply messages and does not enter the inception event, so the witness AID is unchanged and GOTCHAS #5 / thekeri-witness-saltrotation hazard is not triggered — worth confirming as part of the fix.keri.go:25-26and:108say :5642 is fronted atwitness.<apex>and :5632 stays loopback-private and public nowhere. A loopback-onlycurlsis enough for KERIA (same box) but is whatkeria-iurlsalready writes intoKERIA_IURLS— andwitnessBases()(app/src/lib/keri/client.ts:690-699) derives renderer-dialled origins from those sameiurls, so on the current wiring the operator app would dialhttp://127.0.0.1:5642from its own machine. That path (resolveViaWitnesses, used atclient.ts:407and:451) is not what red here, but it is downstream of the same decision and should be settled in one go rather than twice."signal timed out"names neither the op, nor the 180 s ceiling, nor the witness. Wrapping the abort inwaitOp(client.ts:728-730) with the op's name and ceiling would make the next red self-describing. Small and unit-testable — but presentation only, and deliberately not done here so this drive does not re-fire into the same wall for a cosmetic commit.Note for whoever picks this up: signature
facdb1c80cf1has now been healed twice (2bf4834f— the fault-panel selector;5f8d4ee4— witness probe ordering) and returned each time one layer deeper. The presentation layers are now correct; this is the substantive fault underneath them.drive
20260829T190650Zred atidentity-rows:identity row your-identity failed: signal timed outevidence:
/home/dev/swarm/Matou/idss/test-results/drive-idip/20260829T190650Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=elitebook-distributed-server-03 run=14016
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
Decision (issue point 4 — which URL the witness advertises in
curls): the community witness advertises its loopback HTTP door,curls:["http://127.0.0.1:5642/"]— the private TCP transport (:5632) is stripped (research §5: "do not expose; striptcp://").Why loopback, not the public
witness.<apex>: the only mandatory consumer of the witness at founding is same-box KERIA, which resolves the witness controller OOBI athttp://127.0.0.1:5642/oobi/<AID>/controller(keria-iurls, #985) and must send the founder inception there for a receipt. A loopbackcurlsmakes that path reachable with zero external dependency — no DNS, no cert, no front-door timing — which is the founding-critical robustness the mint needs. It is also consistent with the rest of the witness plane, which is already loopback:KERIA_IURLS(#985) andwitnessBases()(app/src/lib/keri/client.ts:690) both derive loopback origins. So point 4's downstreamresolveViaWitnessespath (client.ts:407/451) now dials loopback consistently with everything else — its brokenness for a genuinely off-box operator app is inherited fromKERIA_IURLSbeing loopback (#985's ruling), not introduced here, and is the single place to change (add a public curl and a public iurl together) when off-box witness reach is actually exercised. The front door already fronts :5642 atwitness.<apex>, so that follow-up is a one-line addition, not a redesign.Why this is a two-way door: the
curlsvalue is a single URL string in a rendered config; a later commit flips or extends it.curlsenters the KEL as a/loc/schemereply message, NOT the inception event — the witness AID is unchanged, so GOTCHAS #124's salt-rotation hazard is untouched. No credentials, no security widening (loopback is more private than public), no member trust-accept, no data destruction, no spend.What proves it: render-level,
TestRenderKeri_WitnessAdvertisesLoopbackCurls(internal/clan/keri_test.go) pins the config + flags; end-to-end, the next drive on sigfacdb1c80cf1either greensidentity-rows(receipt arrived) or reds one layer deeper — and now withdroplet-keri.txt(the four KERI units' full-boot journals) it can finally see why, which the prior three drives could not.Issue points not taken this iteration: point 2 (stand the stack up under
clan-laband mint a witnessed AID off the paid path) is the deeper live confirmation — the rehearsal drive re-run is itself the paid-path confirmation, and the evidence harvest (point 1) ensures a re-fire is diagnosable rather than blind. Point 5 (wrapwaitOp's abort with the op name + ceiling) is deliberately deferred — presentation-only, and the issue itself flags shipping it here would re-fire the drive for a cosmetic commit.close-report for #995 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope