Settings → Community details: apex domain, DNS and community ID are BLANK on a live public community — the reader fills only name and size #1723

Closed
opened 2026-09-22 05:40:29 +00:00 by ben · 3 comments
Owner

What Ben saw (Whakatōhea Demo, 2026-09-22, release cef28743)

Settings → Community details: NAME filled, APEX DOMAIN / DNS / COMMUNITY ID empty. Screenshot in the session. This is a public, rented, IDIP community with all three facts recorded.

Cause

configRepoSettings.Community() (control-plane/cmd/control-plane/compose.go:432-449) reads the community name and the size band and returns — its comment says the address fields "stay honestly empty until an address arrangement lands in the repo" (written for the private path). The arrangement has long since landed: the same config repo carries

  • idss/apex → whakatohea-demo.idss.nz (clan.ReadCommunityApex, internal/clan/community.go:152);
  • the DNS arrangement (address.kind = subdomain — the idss.nz subdomain via the broker / acme-dns, vs own domain; in the render inputs / founding sidecar);
  • idss/org-identity.json → the community AID EGIIMacF… (IDIP) — the community ID; on the Kanidm path the equivalent stable ID (decide: the community's fleet/community UUID).
    Nothing composes them into CommunityDetails (internal/controlapi/settings.go:167-175 has the fields; the served-panel entry ALSO derives the IdP origin from details.apexDomain — so this blank has been silently disabling other things, cf. #1712's idpOrigin branch).

Fix

  • Community() fills ApexDomain from ReadCommunityApex, DNSArrangement in plain words ("idss.nz subdomain, managed for you" / "your own domain — " / "private — not reachable from the internet"), CommunityID from the org identity (AID on IDIP; the community UUID otherwise), all read from the repo like name/size. Private path stays honestly "private", never blank.
  • Seam test over a founded repo fixture (public subdomain, IDIP) asserting all four fields; the phase-9 / IDIP drives assert the Settings card is filled on a live gateway.
  • The DDR 0099 §3 wireframe for the card is unchanged.

Found on the hand re-founding of Whakatōhea Demo 2026-09-22.

## What Ben saw (Whakatōhea Demo, 2026-09-22, release `cef28743`) Settings → **Community details**: NAME filled, **APEX DOMAIN / DNS / COMMUNITY ID empty**. Screenshot in the session. This is a public, rented, IDIP community with all three facts recorded. ## Cause `configRepoSettings.Community()` (`control-plane/cmd/control-plane/compose.go:432-449`) reads the community name and the size band and returns — its comment says the address fields "stay honestly empty until an address arrangement lands in the repo" (written for the private path). The arrangement has long since landed: the same config repo carries - `idss/apex` → `whakatohea-demo.idss.nz` (`clan.ReadCommunityApex`, `internal/clan/community.go:152`); - the DNS arrangement (`address.kind = subdomain` — the idss.nz subdomain via the broker / acme-dns, vs own domain; in the render inputs / founding sidecar); - `idss/org-identity.json` → the community AID `EGIIMacF…` (IDIP) — the community ID; on the Kanidm path the equivalent stable ID (decide: the community's fleet/community UUID). Nothing composes them into `CommunityDetails` (`internal/controlapi/settings.go:167-175` has the fields; the served-panel entry ALSO derives the IdP origin from `details.apexDomain` — so this blank has been silently disabling other things, cf. #1712's `idpOrigin` branch). ## Fix - `Community()` fills `ApexDomain` from `ReadCommunityApex`, `DNSArrangement` in plain words ("idss.nz subdomain, managed for you" / "your own domain — <registrar note>" / "private — not reachable from the internet"), `CommunityID` from the org identity (AID on IDIP; the community UUID otherwise), all read from the repo like name/size. Private path stays honestly "private", never blank. - Seam test over a founded repo fixture (public subdomain, IDIP) asserting all four fields; the phase-9 / IDIP drives assert the Settings card is filled on a live gateway. - The DDR 0099 §3 wireframe for the card is unchanged. Found on the hand re-founding of Whakatōhea Demo 2026-09-22.

swarm-claim host=bens-mac-04 run=29849
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=29849 (automated multi-host claim — lowest live claim id works this ticket)

Ruled by agent under ADR 0174 — veto anytime.

Decision: the issue asks to decide the kanidm-path Community ID ("the community's fleet/community UUID"). On the kanidm path no idss/org-identity.json is recorded (it is the IDIP identity leg's doc), and there is no other stable community/fleet UUID durable in the config repo today.

Ruling: CommunityID fills from the recorded community group AID on the IDIP path; on the kanidm/no-identity path it rests honestly empty rather than fabricate a UUID (ADR 0100). The private-path DNS arrangement is still stated ("private — not reachable from the internet"), so it is never blank — only the kanidm-path ID is deferred.

Why two-way door: revertible by a later commit and provable by an existing test — when a kanidm-path community identifier lands as a config-repo doc, a later slice reads it into CommunityID and a seam test asserts it, with no data destruction, no security widening, no member-facing trust change.

The IDIP fix (the live symptom on Whakatōhea Demo) ships in full: apex, DNS arrangement and the AID are all filled and seam-proven.

Ruled by agent under ADR 0174 — veto anytime. **Decision:** the issue asks to `decide` the kanidm-path Community ID ("the community's fleet/community UUID"). On the kanidm path no `idss/org-identity.json` is recorded (it is the IDIP identity leg's doc), and there is no other stable community/fleet UUID durable in the config repo today. **Ruling:** `CommunityID` fills from the recorded community group AID on the IDIP path; on the kanidm/no-identity path it rests **honestly empty** rather than fabricate a UUID (ADR 0100). The private-path *DNS arrangement* is still stated ("private — not reachable from the internet"), so it is never blank — only the kanidm-path ID is deferred. **Why two-way door:** revertible by a later commit and provable by an existing test — when a kanidm-path community identifier lands as a config-repo doc, a later slice reads it into `CommunityID` and a seam test asserts it, with no data destruction, no security widening, no member-facing trust change. The IDIP fix (the live symptom on Whakatōhea Demo) ships in full: apex, DNS arrangement and the AID are all filled and seam-proven.

close-report for #1723 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1723,
  "status": "success",
  "commits": [
    "0ea0fc96"
  ],
  "changed_files": [
    "control-plane/cmd/control-plane/compose.go",
    "control-plane/cmd/control-plane/settings_community_details_test.go",
    "internal/clan/community.go",
    "STATUS.md"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci --command go test ./control-plane/cmd/control-plane/ -run 'TestCommunityDetails|TestCrossOrchestrator_CommunityDetails'",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go test ./internal/clan/ ./control-plane/cmd/control-plane/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go vet ./internal/clan/ ./control-plane/cmd/control-plane/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci --command go build ./...",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Community() fills ApexDomain from ReadCommunityApex": "compose.go Community() sets details.ApexDomain from clan.ReadCommunityApex; TestCommunityDetails_FillsApexDNSAndIDOnAFoundedRepo asserts whakatohea-demo.idss.nz",
    "Community() fills DNSArrangement in plain words for subdomain/own-domain/private": "communityDNSArrangement() derives via networkDeploymentShape; asserted by the founded (subdomain), private-path, and own-domain tests",
    "Community() fills CommunityID from the org identity AID (IDIP)": "clan.ReadCommunityIdentityAID reads idss/org-identity.json .aid; asserted CommunityID == the saved AID",
    "Private path stays honestly 'private', never blank": "TestCommunityDetails_PrivatePathIsStatedNeverBlank asserts DNSArrangement = 'private — not reachable from the internet' for a .idss.internal apex",
    "Seam test over a founded repo fixture (public subdomain, IDIP) asserting all four fields": "TestCommunityDetails_FillsApexDNSAndIDOnAFoundedRepo asserts Name, ApexDomain, DNSArrangement, CommunityID (and Size)",
    "DDR 0099 §3 wireframe for the card is unchanged": "no change to SettingsScreen.vue / dashboard; it already renders apex-domain/dns-arrangement/community-id data-fields"
  },
  "summary": "configRepoSettings.Community() now composes the recorded apex, DNS arrangement and community group AID onto the Settings community card, resting honestly empty where a source has not landed and stating the private path rather than leaving it blank.",
  "blockers": []
}
**close-report** for #1723 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1723, "status": "success", "commits": [ "0ea0fc96" ], "changed_files": [ "control-plane/cmd/control-plane/compose.go", "control-plane/cmd/control-plane/settings_community_details_test.go", "internal/clan/community.go", "STATUS.md" ], "tests": [ { "command": "nix develop .#go-ci --command go test ./control-plane/cmd/control-plane/ -run 'TestCommunityDetails|TestCrossOrchestrator_CommunityDetails'", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go test ./internal/clan/ ./control-plane/cmd/control-plane/", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go vet ./internal/clan/ ./control-plane/cmd/control-plane/", "exit_code": 0 }, { "command": "nix develop .#go-ci --command go build ./...", "exit_code": 0 } ], "criteria": { "Community() fills ApexDomain from ReadCommunityApex": "compose.go Community() sets details.ApexDomain from clan.ReadCommunityApex; TestCommunityDetails_FillsApexDNSAndIDOnAFoundedRepo asserts whakatohea-demo.idss.nz", "Community() fills DNSArrangement in plain words for subdomain/own-domain/private": "communityDNSArrangement() derives via networkDeploymentShape; asserted by the founded (subdomain), private-path, and own-domain tests", "Community() fills CommunityID from the org identity AID (IDIP)": "clan.ReadCommunityIdentityAID reads idss/org-identity.json .aid; asserted CommunityID == the saved AID", "Private path stays honestly 'private', never blank": "TestCommunityDetails_PrivatePathIsStatedNeverBlank asserts DNSArrangement = 'private — not reachable from the internet' for a .idss.internal apex", "Seam test over a founded repo fixture (public subdomain, IDIP) asserting all four fields": "TestCommunityDetails_FillsApexDNSAndIDOnAFoundedRepo asserts Name, ApexDomain, DNSArrangement, CommunityID (and Size)", "DDR 0099 §3 wireframe for the card is unchanged": "no change to SettingsScreen.vue / dashboard; it already renders apex-domain/dns-arrangement/community-id data-fields" }, "summary": "configRepoSettings.Community() now composes the recorded apex, DNS arrangement and community group AID onto the Settings community card, resting honestly empty where a source has not landed and stating the private path rather than leaving it blank.", "blockers": [] } ``` </details>
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.

Dependencies

No dependencies set.

Reference
Matou/idss#1723
No description provided.