The community backend descriptor — the well-known document both setups serve and probe #1295

Closed
opened 2026-09-07 19:41:08 +00:00 by ben · 2 comments
Owner

Parent

Map: The community wallet: matou-app holds and presents IDIP credentials, and the Coa and IDSS setups are paired (#1293)

Question

Define the community backend descriptor — the one well-known document every community backend publishes so a Coa tenant, a branded wallet, and an IDSS founding can find and adopt each other (charting ruling 5). Decide: its fields (agent doors, witness OOBIs, schema OOBIs, the community identity's OOBI, the doorkeeper's OOBI once it exists, the roster/steward API root, a display name, a version); its URL on the gateway and on coa-shared per tenant; who signs or vouches for it (plain TLS document vs a SAD signed by the community identity); how a Coa tenant points at a backend instead of being one; versioning and the failure copy when a probe finds an incompatible version. Output: an ADR (this repo) naming the descriptor as a contract that coa and matou-app consume, with the per-repo obligations listed.

## Parent Map: [The community wallet: matou-app holds and presents IDIP credentials, and the Coa and IDSS setups are paired](https://git.matou.nz/Matou/idss/issues/1293) (#1293) ## Question Define the **community backend descriptor** — the one well-known document every community backend publishes so a Coa tenant, a branded wallet, and an IDSS founding can find and adopt each other (charting ruling 5). Decide: its fields (agent doors, witness OOBIs, schema OOBIs, the community identity's OOBI, the doorkeeper's OOBI once it exists, the roster/steward API root, a display name, a version); its URL on the gateway and on coa-shared per tenant; who signs or vouches for it (plain TLS document vs a SAD signed by the community identity); how a Coa tenant *points at* a backend instead of *being* one; versioning and the failure copy when a probe finds an incompatible version. Output: an ADR (this repo) naming the descriptor as a contract that `coa` and `matou-app` consume, with the per-repo obligations listed.
ben self-assigned this 2026-09-08 01:38:23 +00:00

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Ruling: apply no-triage. This is a /wayfinder-pipeline ticket (a child of map #1293), not work for the triage state machine. It moves through the wayfinder fan-out (grill-ux-with-docs → wireframe → to-spec) one ticket per session under /wayfinder; the triage state roles (ready-for-agent / needs-design / etc.) do not apply until this feature reaches to-tickets. no-triage tells triage automation to skip it so it is not repeatedly re-surfaced as untriaged.

Why a two-way door: a single additive label, reverted by removing it. It widens no security posture, destroys no data, spends nothing, and touches no credential or member-facing trust surface.

What proves it: the established precedent — the existing wayfinder map #262 carries exactly this pairing (no-triage + wayfinder:map). These tickets are owned by the wayfinder pipeline in docs/agents/issue-tracker.md (Wayfinding operations), not by triage.

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** **Ruling:** apply `no-triage`. This is a `/wayfinder`-pipeline ticket (a child of map #1293), not work for the triage state machine. It moves through the wayfinder fan-out (`grill-ux-with-docs` → `wireframe` → `to-spec`) one ticket per session under `/wayfinder`; the triage state roles (`ready-for-agent` / `needs-design` / etc.) do not apply until this feature reaches `to-tickets`. `no-triage` tells triage automation to skip it so it is not repeatedly re-surfaced as untriaged. **Why a two-way door:** a single additive label, reverted by removing it. It widens no security posture, destroys no data, spends nothing, and touches no credential or member-facing trust surface. **What proves it:** the established precedent — the existing wayfinder map #262 carries exactly this pairing (`no-triage` + `wayfinder:map`). These tickets are owned by the wayfinder pipeline in docs/agents/issue-tracker.md (Wayfinding operations), not by triage.
Author
Owner

Resolution (grilled with Ben, 2026-09-08) — ADR 0226

docs/adr/0226-community-backend-descriptor-config-server-on-the-gateway.md (main, laptop checkout).

  1. The descriptor IS matou-app's client-config, extended — not a new well-known document.
  2. Mātou's config server is installed on the gateway as an IDIP-stack unit; the gateway simply is a matou-infrastructure backend. One implementation (matou-infrastructure), no control-plane twin.
  3. The control plane is its only writer (org-config at founding + steward change, loopback, admin token). The app never founds on an IDSS backend — it can only join.
  4. The baked URL is the apex: front-door path routes for /api/config + /api/client-config; everything else on the apex stays the control plane's.
  5. Additive version: "1.1", every new block optional: community{name,slug,aid,oobi}, doorkeeper{aid,oobi} (absent until it exists), api_url, schemas{kind:{said,oobi}}, boot{gated,join_url}, backend_kind + stack (mismatch = warning, never refusal; only an unknown major refuses), app{downloads_url,name} (reverse pointer, operator-written in v1), anysync optional. No policy, nothing secret.
  6. Public, unsigned, TLS — the baked URL is already the trust root; signed descriptor = fog for cross-community.
  7. Founding "Coa now" submits the Coa form prefilled (config URL + brand kit) and finishes — Coa's relationship-first trigger builds later; founding never waits on Mātou.
  8. Install conditions: config server ALWAYS on the IDIP path; any-sync WHEN Coa is chosen (founding or later from the catalogue) — reverses #725's "any-sync out" for the Coa case. New research ticket #1314 (any-sync + config server on the gateway) filed, blocks the IDSS-first pairing grill.

Per-repo obligations (idss / matou-infrastructure / matou-app / coa) are in the ADR. Fog added to the map: signed descriptor; Coa→gateway write-back of the app URL.

## Resolution (grilled with Ben, 2026-09-08) — ADR 0226 `docs/adr/0226-community-backend-descriptor-config-server-on-the-gateway.md` (main, laptop checkout). 1. **The descriptor IS matou-app's `client-config`, extended** — not a new well-known document. 2. **Mātou's config server is installed on the gateway** as an IDIP-stack unit; the gateway simply *is* a matou-infrastructure backend. One implementation (matou-infrastructure), no control-plane twin. 3. **The control plane is its only writer** (org-config at founding + steward change, loopback, admin token). The app never founds on an IDSS backend — it can only join. 4. **The baked URL is the apex**: front-door path routes for `/api/config` + `/api/client-config`; everything else on the apex stays the control plane's. 5. **Additive `version: "1.1"`**, every new block optional: `community{name,slug,aid,oobi}`, `doorkeeper{aid,oobi}` (absent until it exists), `api_url`, `schemas{kind:{said,oobi}}`, `boot{gated,join_url}`, `backend_kind` + `stack` (mismatch = warning, never refusal; only an unknown major refuses), `app{downloads_url,name}` (reverse pointer, operator-written in v1), `anysync` optional. No policy, nothing secret. 6. **Public, unsigned, TLS** — the baked URL is already the trust root; signed descriptor = fog for cross-community. 7. **Founding "Coa now" submits the Coa form** prefilled (config URL + brand kit) and finishes — Coa's relationship-first trigger builds later; founding never waits on Mātou. 8. **Install conditions**: config server ALWAYS on the IDIP path; **any-sync WHEN Coa is chosen** (founding or later from the catalogue) — reverses #725's "any-sync out" for the Coa case. New research ticket #1314 (any-sync + config server on the gateway) filed, blocks the IDSS-first pairing grill. Per-repo obligations (idss / matou-infrastructure / matou-app / coa) are in the ADR. Fog added to the map: signed descriptor; Coa→gateway write-back of the app URL.
ben closed this issue 2026-09-08 05:13:01 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1295
No description provided.