Grill: the two faces and the door — what the signed-out apex shows, how Sign in hands off per tier, and how the home ends (sign out, session ended) #1339

Closed
opened 2026-09-09 03:59:17 +00:00 by ben · 2 comments
Owner

Parent

The Portal map (#1336)

Question

Rule the Portal's door states so the feature grill inherits them, not reinvents them. With the session-substrate research in hand: (a) the signed-out face — brand kit name/logo/greeting + Sign in only (ruling 3); what it says on the private path or when the session substrate rests (honest resting copy, DDR 0096); whether /join links from it; (b) the Sign in hand-off per tier — kanidm's branded surface with the rd carriage today; the IDIP tier's door as #1302 defines it, stated as a consumed contract (what the Portal needs back: identity, standing, tier); (c) the home's endings — Sign out (gate clear + IdP end, land on the signed-out face = the proof, DDR 0172 pattern), session ended under a loaded home, suspension mid-session (DA-S3x honest frame, no re-sign-in); (d) the operator's control-panel door on the home and what the DA-S2 refusal's "community portal" door lands on. Output: rulings on the map, a Portal — door states CONTEXT.md noun candidate.

## Parent [The Portal map (#1336)](https://git.matou.nz/Matou/idss/issues/1336) ## Question Rule the Portal's door states so the feature grill inherits them, not reinvents them. With the session-substrate research in hand: (a) the signed-out face — brand kit name/logo/greeting + Sign in only (ruling 3); what it says on the private path or when the session substrate rests (honest resting copy, DDR 0096); whether `/join` links from it; (b) the Sign in hand-off per tier — kanidm's branded surface with the `rd` carriage today; the IDIP tier's door as #1302 defines it, stated as a consumed contract (what the Portal needs back: identity, standing, tier); (c) the home's endings — Sign out (gate clear + IdP end, land on the signed-out face = the proof, DDR 0172 pattern), session ended under a loaded home, suspension mid-session (DA-S3x honest frame, no re-sign-in); (d) the operator's control-panel door on the home and what the DA-S2 refusal's "community portal" door lands on. Output: rulings on the map, a `Portal — door states` CONTEXT.md noun candidate.

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Ruling: Applying no-triage. This is a /wayfinder workflow ticket (part of the Portal map #1336 family), not a triage-surface bug/enhancement. Triage automation must skip it so it stays owned by /wayfinder (grilling → decisions → child specs), exactly as the entire #1293 wayfinder map family already does.

Why it is a two-way door: it is a single revertible label change (remove no-triage to return it to the triage surface), touches no code, and widens no posture. It is not on the one-way-door list — no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, no non-routine spend.

What proves it: the established convention on this tracker — every open ticket of the prior wayfinder map (#1293 and children #1297–#1304) carries no-triage; this batch (#1336–#1342) was simply filed before the marker was applied. docs/agents/issue-tracker.md ("Wayfinding operations") defines these as /wayfinder-managed, and triage-labels.md defines no-triage as "triage automation must skip this issue."

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** **Ruling:** Applying `no-triage`. This is a `/wayfinder` workflow ticket (part of the Portal map #1336 family), not a triage-surface bug/enhancement. Triage automation must skip it so it stays owned by `/wayfinder` (grilling → decisions → child specs), exactly as the entire #1293 wayfinder map family already does. **Why it is a two-way door:** it is a single revertible label change (remove `no-triage` to return it to the triage surface), touches no code, and widens no posture. It is not on the one-way-door list — no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, no non-routine spend. **What proves it:** the established convention on this tracker — every open ticket of the prior wayfinder map (#1293 and children #1297–#1304) carries `no-triage`; this batch (#1336–#1342) was simply filed before the marker was applied. `docs/agents/issue-tracker.md` ("Wayfinding operations") defines these as `/wayfinder`-managed, and `triage-labels.md` defines `no-triage` as "triage automation must skip this issue."
ben self-assigned this 2026-09-09 04:30:41 +00:00
Author
Owner

Resolution — Ben's rulings (grilled 2026-09-08/09, on the session-substrate research #1337)

Portal — door states (CONTEXT.md noun candidate, landed with this ticket):

  1. The face is chosen by a new gate-backed member identity route — one apex route (working name GET /api/v1/me), resolved on idss_session, answered through the tier's REAL admit logic (GateDecision on kanidm, Standing on IDIP), never the bare cookie: identity (sub, display name, tier), live-or-not, operator-or-not, and it observes first sign-in (FirstLogin). The signed-in face renders only on live. This is the one member-facing identity read on both tiers (closes research gaps 1, 6, 8).
  2. Not live (suspended mid-session, removed) → the signed-out face, cookie cleared. No refusal copy at the apex; Sign in reaches the IdP, which refuses without a reason (DDR 0173 — suspension is enforced at the IdP; DDR 0073/0117 discipline — the reason lives operator-side). A stranger and a suspended member see the same page.
  3. Sign out = the Portal builds /authz/signout: clear idss_session, end the IdP session (kanidm end-session; the bridge's idss_idp_session on IDIP), land on the apex's signed-out face — the landing is the proof. The control panel's Sign out REUSES it with rd back to admin.<apex>'s sign-in (DDR 0172's landing). One sign-out, two landings by rd. Retires the dashboard's jump to id.<apex>.
  4. Session ended under a loaded home → an honest "session ended" frame, one action: Sign in again (rd back to place). DA-S3's pattern at the apex; no stale doors or numbers (DDR 0096). Distinct from not-live (ruling 2), which is silent.
  5. Sign in = one door, one word. /authz/signin?rd=/ — the IdP's surface explains itself (kanidm's branded page, the bridge's twelve-words page, the wallet approval when #1302 lands). The Portal never knows which door is behind the leg; ADR 0226's doorkeeper presence keys the IdP, not the Portal.
  6. Resting → brand + one honest resting line, no Sign in button. When the identity route reports the session substrate is not wired (no apex / no gate OIDC secret), the face shows the kit and "sign-in isn't available yet" — never a door that can't open. Private-path reach (the apex resolves only inside the CA-pinned app window, DDR 0165) is a STATED LIMIT, not a Portal concern.
  7. Doors: the home shows one Control panel link → hostnames.Dashboard(apex) when the identity route flags an operator (same cookie, no second sign-in). DA-S2's "Go to " door → hostnames.Portal(apex) (defect #1345's fix), landing a plain member on their home.
  8. (Agent default under ADR 0174 — veto anytime) The signed-out face carries no Join door: membership is by single-use invite (DDR 0073); the join pages stay token-addressed entries.

Unblocks the home-shape grill once my-services is ruled.

## Resolution — Ben's rulings (grilled 2026-09-08/09, on the session-substrate research #1337) **Portal — door states** (CONTEXT.md noun candidate, landed with this ticket): 1. **The face is chosen by a new gate-backed member identity route** — one apex route (working name `GET /api/v1/me`), resolved on `idss_session`, answered through the tier's REAL admit logic (`GateDecision` on kanidm, `Standing` on IDIP), never the bare cookie: identity (`sub`, display name, tier), live-or-not, operator-or-not, and it observes first sign-in (`FirstLogin`). The signed-in face renders only on *live*. This is the one member-facing identity read on both tiers (closes research gaps 1, 6, 8). 2. **Not live (suspended mid-session, removed) → the signed-out face, cookie cleared.** No refusal copy at the apex; Sign in reaches the IdP, which refuses without a reason (DDR 0173 — suspension is enforced at the IdP; DDR 0073/0117 discipline — the reason lives operator-side). A stranger and a suspended member see the same page. 3. **Sign out = the Portal builds `/authz/signout`**: clear `idss_session`, end the IdP session (kanidm end-session; the bridge's `idss_idp_session` on IDIP), land on the apex's signed-out face — the landing is the proof. The control panel's Sign out REUSES it with `rd` back to `admin.<apex>`'s sign-in (DDR 0172's landing). One sign-out, two landings by `rd`. Retires the dashboard's jump to `id.<apex>`. 4. **Session ended under a loaded home → an honest "session ended" frame, one action: Sign in again** (`rd` back to place). DA-S3's pattern at the apex; no stale doors or numbers (DDR 0096). Distinct from not-live (ruling 2), which is silent. 5. **Sign in = one door, one word.** `/authz/signin?rd=/` — the IdP's surface explains itself (kanidm's branded page, the bridge's twelve-words page, the wallet approval when #1302 lands). The Portal never knows which door is behind the leg; ADR 0226's doorkeeper presence keys the IdP, not the Portal. 6. **Resting → brand + one honest resting line, no Sign in button.** When the identity route reports the session substrate is not wired (no apex / no gate OIDC secret), the face shows the kit and "sign-in isn't available yet" — never a door that can't open. Private-path reach (the apex resolves only inside the CA-pinned app window, DDR 0165) is a STATED LIMIT, not a Portal concern. 7. **Doors**: the home shows one **Control panel** link → `hostnames.Dashboard(apex)` when the identity route flags an operator (same cookie, no second sign-in). DA-S2's "Go to <community>" door → `hostnames.Portal(apex)` (defect #1345's fix), landing a plain member on their home. 8. *(Agent default under ADR 0174 — veto anytime)* **The signed-out face carries no Join door**: membership is by single-use invite (DDR 0073); the join pages stay token-addressed entries. Unblocks the home-shape grill once my-services is ruled.
ben closed this issue 2026-09-09 14:36:49 +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#1339
No description provided.