pairing T2b: nothing ever records the community identity on the gateway — the descriptor writer rests forever and a founded IDIP community serves the bare 1.0 document #1638
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#1638
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?
Parent
Spec #1495 (community app pairing). Program map #1293. Design contract: ADR 0226 decision 3 (the control plane is org-config's only writer). Follows #1511 (the descriptor writer) and #1512 (the 1.1 document from outside). Blocks the live proof of both wallet specs — #1522 (pairing) and #1531 (wallet sign-in) — because a wallet reads
community,api_url,schemasandsigninfrom this document.The defect — found LIVE
Debug IDIP drive
20260919T222916Z(elitebook-03,9acd1a4e) founded a real IDIP community on a droplet:deploy-takeover,activation,foundedandidentity-rowsall green. Read from outside (GET https://rehearsal-f.idss.nz/api/client-config, straight at the droplet), the descriptor is:GET /api/config→404 {"error":"not_configured"}. Nocommunity,admins,api_url,schemas,boot,signinorstack— the document is still the config server's bare 1.0, several minutes after the identity rows settled.The good half, proven by the same read: the config server is supplied and running on a live gateway (#1623), the per-door URLs and the runtime-resolved witness AID are real (matou-infrastructure #23, #1512's
WITNESS_FILE), and the apex routes reach it through the front door.Why
On the box,
journalctl -u idss-control-plane:…and then nothing: no
org-config written, nosync failed; the config server's journal shows noPUT. The writer is resting —LiveProvider.Inputsreturns not-ready becauseidentity.Load()finds noidss/org-identity.jsonin the config repo (internal/orgconfig/writer.go:57-64,Identity.Ready()), and that rest logs at Debug, so it is silent.Nothing ever writes that file.
control-plane/cmd/control-plane/main.gosays so itself:ConfigRepoIdentityStore.Savehas no caller outside tests (git grep), and no ticket of the #1495 set was ever that later slice. #1511 and #1512 closed on seam proofs with a fake identity store (GOTCHAS #92: derivable ≠ deployed).What to build
Founding records the community identity on the gateway, so the descriptor writer has something to render — by the founder-register precedent (#1018:
founding.FounderRoster→internal/fleetwire/founderroster.go→ a control-plane route over the same API forward;app/src/lib/identityLegs.tscallsregisterFounderfrom theyour-membershipleg).aid,oobi,name,slug,registry, the stewards' OOBIs — intoidss/org-identity.jsonthroughConfigRepoIdentityStore.Save, on the same trust boundaryregister-founderalready crosses. Nothing in it is secret (they are the public identifiers the descriptor exists to publish).community-identity, the registry after the credential registry is created inyour-membership. A refusal reds the leg honestly (ADR 0088), exactly asregister-founderdoes.Syncs at once on that write (its own comment already promises "called at founding's identity rows"), so the served document is 1.1 before hand-off, not a reconcile tick later.Acceptance criteria
idss/org-identity.jsonexists in the config repo withaid,oobi,name,slug,registryand the founder's steward OOBIcommunity{name,slug,aid,oobi,registry},admins[],api_url,schemas{membership,committee},boot,signin{url},stack— andGET /api/configstops answering 404ConfigRepoIdentityStoreover a temp config repo (not the fake) from the route through to the writer's PUT against a fake config serverGET https://<apex>/api/client-configfrom outside answersversion: "1.1"withcommunity.aidandsignin.url(that read isinternal/descriptorprobe's own bar)Blocked by
Nothing open.
Task manifest
swarm-claim host=bens-mac-04 run=27882
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1638 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
<api_url>/spaces) and the descriptor'sjoin_urlboth answer a browser sign-in redirect, so the first-steward fallback cannot run on a real gateway #1645anysyncblock never appears — the install materialises client-anysync.json and NOTHING reads it; the writer looks for the block in an identity record nobody updates #1681