Grill: the apex cutover — the Portal takes the apex root, the panel goes to admin.<apex> only, with an exact redirect; the app and the harness retarget #1341
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.
Depends on
Reference
Matou/idss#1341
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
The Portal map (#1336)
Question
Ruling 7 is a one-way door; rule its exact shape from the cutover inventory: (a) the redirect rule — which old apex paths redirect to
admin.<apex>(the panel's tab list) and which are the Portal's own (/,/mail,/join,/authz/*,/get,/brand/*); (b) the served bundle — one bundle with aportalentry chosen by host/path, or two builds; how the brand doorway and the same-origin API hold for both hosts; (c) the private path — whatadmin.<apex>means there (DDR 0172's CA-pinned app window) and whether the private apex serves the Portal or keeps the plain forward; (d) the app's "Open your dashboard" (S12), Operator home, and deep links retarget tohostnames.Dashboard; (e) the harness — the drive legs that open the panel at the apex retarget, and the drive that proves the cutover (a member at the apex sees the Portal, an operator's old bookmark lands on the panel); (f) rollout — whether the cutover ships before or with the Portal home (a Portal-less apex that redirects is a valid first step?). Output: rulings on the map; the one-way door is stated as such in the eventual DDR.Sharpened by the cutover research (#1338)
admin.<apex>are one host-blind origin; the operator API (/api/v1/members,/fleet,/provision/*…) has no in-handler auth and is OPEN at the ungated apex today. Item (a) must also rule the apex API posture: an allow-list of member/agent/Portal routes proxied at the apex (/api/v1/enroll/*,/api/v1/fleet/report,/api/mail,/authz/*,/get,/brand/*, the Portal's own reads) with everything else answered only onadmin.<apex>behind the gate — vs wholesale proxy as today.308toadmin.<apex>{uri}rendered without the host-side forward port is unreachable on the private path — carry the port (DDR 0165's reachable shape) or skip the redirect on the private render./is Overview's path too: a root bookmark lands on the Portal by construction, so the operator's control-panel door on the home is load-bearing, not a nicety.internal/member/invite.go) and would resolve underadmin.<apex>once the roster lives there — mint it absolute onhostnames.Portal.Ruled by agent under ADR 0174 — veto anytime.
Ruling: Applying
no-triage. This is a/wayfinderworkflow 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-triageto 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, andtriage-labels.mddefinesno-triageas "triage automation must skip this issue."Resolution — 2026-09-09 (apex API posture + IDIP scope confirmed by Ben; the rest agent defaults in auto mode at Ben's instruction, ADR 0174 — veto anytime)
/overview /fleet /services /members /backups /settings(+/*under each) →308 https://admin.<apex>{uri}, rendered as one@panelmatcher insiderenderPortalRouteBEFORE the proxy, byte-pinned by the render tests. Nothing else redirects:/is the Portal (an operator's root bookmark lands on the Portal by construction — the Control panel door is load-bearing); unknown apex paths are the Portal's own 404, never a catch-all redirect. (Agent default under ADR 0174 — veto anytime.)/api/v1/enroll/{redeem,pair,requests/*}+/api/v1/fleet/report(device faces, browserless),/api/v1/join/*+/haere-mai/*+/idip/join/*(join),/api/v1/mail/*(member mail),/api/v1/me+/api/v1/me/doors(the Portal's reads),/api/v1/healthz,/authz/*,/brand/*,/get,/mesh/*, and the bundle's assets; every other/api/v1/*path on the apex answers 404. The operator API is reachable only onadmin.<apex>behind the gate. Caddy-only, byte-pinned — the #512 debt closes here. The harness assumption "the portal API is not cookie-gated" (droplet journey) is retargeted toadmin.<apex>with the cookie in the same spec.main.ts: host == apex → theportalentry; else the operator SPA) — a member atadmin.<apex>/who is an operator still gets the panel. Brand doorway and same-origin API hold on both hosts. (Agent default under ADR 0174 — veto anytime.)@panelredirect (no bookmarks to honour; the host-side forward port is unknown to Caddy); the private apex serves the Portal through the same helper. Reach (the apex resolves only inside the CA-pinned app window, DDR 0165/0172 story 2 — unbuilt) is a stated limit the cutover neither fixes nor worsens. (Agent default under ADR 0174 — veto anytime.)hostnames.Dashboard(apex); the seat/hand-off carries BOTH addresses (portal =hostnames.Portal, dashboard =hostnames.Dashboard, portful on the private path). The IDIP S12 hand-off, when built, opens the dashboard door too. (Agent default under ADR 0174 — veto anytime.)panelAddressfixture replaces the ~80 portal-address-as-panel sites; a new cutover leg proves the split (a member at/sees the Portal; an operator's/fleetbookmark → 308 → the panel;/api/v1/membersat the apex → 404); payload re-warm +reseed-publish.ymlbefore the proving drive (served bits vs main). (Agent default under ADR 0174 — veto anytime.)/me+ sign-out as the first slice (a redirecting apex that serves nothing is worse than today); the home and doors follow in the DAG. The eventual DDR states the one-way door. (Agent default under ADR 0174 — veto anytime.)RefusalBrand{PortalURL: hostnames.Portal}(#1345); the kanidm invite link minted absolute onhostnames.Portal(internal/member/invite.go); the first-run subtitle's portal URL.www.<apex>/ unrouted labels → out of scope (noted on the map). (Agent default under ADR 0174 — veto anytime.)