identity-rows: anchorSaid falls back to op.name → poll of group.registry.<regk> 404s #1001
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#1001
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 failure
The drive reached
foundedgreen and died on the last leg.verdict.json:This is NOT the known own-VPS carrier frontier.
pairis green ({"leg": "pair", "status": "green", "ms": 106}) andlegs.jsoncarries"skip": 0— no leg on this drive names a skip reason, so there is no out-of-scope escape hatch covering this red. It is a new, real defect, one leg past the witness fault the previous healer commit (6ff3efe0) fixed.legs.json/journey.json, theyour-membershiprow:That operation name is malformed. KERIA names long-running ops
f"{type}.{oid}"(longrunning.py:188), so a registry op isregistry.<regk>and a group op isgroup.<ixnSaid>.group.registry.<regk>is neither — the client concatenated two op names.Not infra — the box is healthy
The live box (still up, read-only) rules out every environmental explanation:
systemctl --failed --no-legend→ empty.Main PID: 1223,Active: active (running) since Sat 2026-08-29 21:04:23 UTC, and the only lifecycle line injournalctl -u keriais the singleStarted KERIA identity agent server (IDIP, ADR 0196).at 21:04:23. The red landed ~21:07.6ff3efe0held —ss -tlnpshows0.0.0.0:5642 users:((".kli-wrapped",pid=1055)), anddroplet-keri.txthasWitness wit : BHk5tFtukDpRyJ9DXIbYEuzpLYbxC2EyzfiaX_691CqIplusKERIA_IURLS=http://127.0.0.1:5642/oobi/BHk5.../controller.Aug 29 21:07:02 gateway keria[1223]: Agent Pre: EFqig2THL2y86E4aZYm0FVd08hhQOoLnKkkvqMVHeomr, Controller: EKDAzstb-nQppayqlrjpNuLPfjwyhxfOr2gcoWE1dF-D.Suspected layer: product (app client code)
app/src/lib/keri/client.ts:712-716:createRegistry(client.ts:306-315) feeds it straight into the anchor poller:and
awaitGroupAnchorWitnessed(client.ts:535) prepends the prefix:The fallback is correct for group AID ops —
identifiers().create/rotatesubmitOpTypes.group(aiding.py:1145,:1216), soop.namereally isgroup.<ixnSaid>and stripping the prefix yields the SAID. It is wrong for registry ops, and nothing supplies the metadata that would avoid the fallback. Read off the running KERIA 0.4.0 on the box,credentialing.py:413:The metadata keys are
pre,anchor,depends— nosaid, nod, noanc. So all three reads areundefined, control falls toop.name.replace(/^group\./, ''), the regex finds nogroup.prefix to strip on a name ofregistry.EM2E3nWo…, and it returns the op name verbatim.awaitGroupAnchorWitnessedthen prependsgroup.→GET /operations/group.registry.EM2E3nWo…→ 404, thrown on the first poll iteration (the loop has no error handling), which matches the leg's short"ms": 7612.The registry itself was created fine —
waitOpon the correctly-namedregistry.<regk>op passed. Only the group-anchor confirmation poll is broken.What plugging it needs
The value the poller wants is already in the metadata KERIA returns.
credentialing.py:398-400builds the group anchor op first (op = self.identifierResource.interact(agent, name, body), i.e. thegroup.<ixnSaid>op) and embeds it asdepends. So:anchorSaidKERIA's real metadata shape — preferop.metadata.depends(its.nameis already the fully-qualifiedgroup.<ixnSaid>; its.oidis the bare ixn SAID) before falling back toop.name.op.namewhen it actually starts withgroup., otherwise throw a named error rather than fabricatinggroup.registry.….issueCredential(client.ts:371) calls the identicalanchorSaid(op)path, and KERIA's credential op metadata ismetadata=dict(ced=creder.sad, depends=op)(credentialing.py:967) — also nosaid/d/anc. Once the registry poll is fixed, the very next call in theyour-membershipleg will fail the same way withgroup.credential.<said>404. Both sites need thedependsread.app/tests/constructs an opmetadataobject at all (grep formetadataacrossapp/tests/unit/keri/,komitiCredentials.test.ts,stewardApprove.test.tsreturns nothing) — the fakes stub around the anchor gate, soanchorSaid's metadata branch is untested. Add fake ops whose metadata mirrors KERIA 0.4.0 verbatim ({pre, anchor, depends}for registry,{ced, depends}for credential,group.<said>naming for AID ops) and assert the polled op name for each.Records read
artifacts/legs.json,artifacts/verdict.json,artifacts/journey.json,artifacts/host.json,artifacts/.last-run.json,artifacts/legs/*.png, andlogs/(droplet-keri.txt,droplet-units.txt,droplet-caddy.txt,droplet-stall.txt,founding-state.log,broker-journal.txt,cert-reseed.txt,qemu.log,state-logs.log).Absent / empty, none of it load-bearing here:
logs/helper.logandlogs/reporter-claude.errare zero-byte; everyguest-*.logis a stub (the guest is a droplet, not a QEMU VM —host.jsonrecords"qemu": "exit ENOENT: spawn qemu-system-x86_64 ENOENT"andguest-journal.logis-- No entries --);logs/state-logs.logrecordsERROR: no state logs directory at …/state/logs;logs/broker-journal.txtharvested nothing (ssh: connect to host 100.98.48.68 port 22: Connection timed out) — which that file itself notes is by design off the admin mesh (ADR 0208, #681) and does not bear on the verdict.droplet-journal.txthas no KERIA-side error for this fault, consistent with the defect being client-side: KERIA correctly answered 404 to a name that does not exist.drive
20260829T205854Zred atidentity-rows:identity row your-membership failed: HTTP GET /operations/group.registry.EM2E3nWo7Tz3w6ep3h0A1crfIU_u0A40OQddiFVaiy_B - 404 - {"title": "long running operation 'group.registry.EM2E3nWo7Tz3w6ep3h0A1crfevidence:
/home/dev/swarm/Matou/idss/test-results/drive-idip/20260829T205854Zon 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=14091
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1001 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope