Research: what a community backend serves today (Coa tenant, matou-app boot reads, IDSS gateway doors) — the gap table #1294
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#1294
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
Map: The community wallet: matou-app holds and presents IDIP credentials, and the Coa and IDSS setups are paired (#1293)
Question
What does a community backend actually serve today, on each side, and what must an IDSS gateway serve for a Coa-built
matou-appto boot against it unchanged? Inventory, first-hand from the clones (~/Documents/1.projects/coa,matou-app,matou-infrastructure/keri, this repo):/api/client-config:keri.{admin_url,boot_url,cesr_url},schema_server_url,witnesses.{urls,aids,oobis}, theanysyncblock), the org config (/api/v1/org/configand its config-server mirror),POST /admin/tenants, the ADR 0008 write-token TOFU chain, the Caddy proxied layout that #141 fixed. Which fields are load-bearing, which are any-sync residue./api/validate-backendprobes today and what "self-hosted URL" in Coa ADR 0006 was expected to mean./boot, schema serving, witness OOBIs,dashboard/idip/keri-web.js) and which are missing; where thecredschemaSAIDs and matou-app's schema SAIDs (ECg6npd1…membership, the endorsement schema) disagree.Output:
docs/research/2026-09-07-community-backend-contract.mdwith the gap table; no decisions. Feeds the descriptor grill.Claimed 2026-09-07 (charting session). Research subagent fired inline; findings land on branch
research/community-backend-contractasdocs/research/2026-09-07-community-backend-contract.md(laptop checkout, unpushed until reviewed).Resolution (research, 2026-09-07)
Findings:
docs/research/2026-09-07-community-backend-contract.mdon branchresearch/community-backend-contract(commit8bf9d6d4, laptop checkout, unpushed). Every claim cites file:line; unverified items flagged. Sources read atforgejo/mainof matou-infrastructure (8b70975, the PR #18 merge) and matou-apporigin/main(f45c773).What a Coa build bakes vs reads. The only backend pointer baked into a branded build is the config-server URL (
config_url→VITE_PROD_CONFIG_URL, alsoMATOU_CONFIG_SERVER_URL/MATOU_SMTP_RELAY_URLfor the Go backend). Every other door is read at boot fromGET /api/client-config. So "a tenant points at a backend" is already one URL, read at runtime (proven by #141: no rebuild after the proxied layout landed).Load-bearing descriptor fields today:
keri.{admin,boot,cesr}_url;witnesses.aidswith a hard floor of two (assignWitnesses()throws below two);witnesses.urls; and theanysyncblock (the Go backend refuses to start in prod without it). Not read by the app at all:schema_server_url,config_server_url,witnesses.oobis. The app hard-codeshttp://schema-server:7723/oobi/<SAID>in five files and has KERIA resolve it; it learns witness OOBIs from KERIA's own/configiurls, not the descriptor.The org-config document (
GET /api/config: org AID/OOBI, admins, registry) is what flips a fresh install from "set up" to "join". On coa-shared the route exists but every tenant's document is empty — the ADR 0008 bootstrap-token/TOFU chain is ruled but not landed in any clone.Coa's probe is broken against real backends:
/api/validate-backendprobes${url}/config, but the real config server serves/api/client-config, so "Test my backend" 404s on the first probe (code reading, not run live); it also requires and TCP-probes any-sync. ADR 0006's "self-hosted URL" means "a matou-infrastructure config-server URL".The gateway (IDIP path) already serves the five doors as public https names —
keria.<apex>,keria-cesr.<apex>(=KERIA_CURLS, better than coa-shared's docker-internalhttp://keria:3902/),keria-boot.<apex>,witness.<apex>,schema.<apex>— but publishes no descriptor document; its own app derives doors from the apex by convention./bootis invite-gated (X-Idss-Boot-Tokenforward_auth, CORS origin pinned to the apex); signify'sclient.boot()sends no token → 403.Schema disagreement: matou
ECg6…(Blake3,communityNamestillconst "MATOU"at both matou-app and matou-infrastructure HEAD, ten-role enum) vs IDSSICyW…(SHA2-256, parameterised name,operator|member). The gateway serves onlyICyW…/IOfw…; matou-app's Go backend also hard-pinsECg6…for the space-join gate.Version drift: coa-shared = KERIA 0.2.0-rc1 + Mātou monkey-patches, signify-ts 0.3.0-rc2; gateway = stock KERIA 0.4.0 / signify-ts 0.4.0 (DDR 0207) — wire compatibility unverified.
Gap table rows that decide the descriptor grill (#1295): #1 no descriptor on the gateway; #3 gated
/bootvs a tokenlessboot(); #7–#8schema-serverhostname +ECg6…schema unresolvable from the gateway's KERIA; #10 the two-witness floor vs the gateway's single witness by design; #15 the any-sync block the gateway can never serve; #17 the org-config document (empty on coa-shared too); #23 the KERIA version crossing; #24 coa's own probe-path bug. Row #22 is where the gateway is ahead (a public agent OOBI).