portal: harness — one panelAddress fixture replaces the portal-address-as-panel sites (spec #1361 s39) #1367
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.
Blocks
Reference
Matou/idss#1367
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
Spec #1361 (the Portal); program map #1336; design contract DDR 0232 / ADR 0233, flow
docs/ux/flows/portal.mermaid, wireframesdocs/ux/wireframes/portal/. Sliceharness-panel-addressindocs/slices/portal.yaml.What to build
One panelAddress fixture (admin. + the community session) replaces the ~80 public-path journey sites that used S12's portal address as the panel base; the droplet journey's "portal API is not cookie-gated" assertion is retargeted to admin.. Must stay GREEN on today's bits (admin. already serves the panel) — proven by a journey run before merge.
Acceptance criteria
Blocked by
Task manifest
swarm-claim host=matou-dev-server-01 run=20958
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
Ruling: this slice retargets the two KANIDM public-path journeys —
journey.droplet.spec.tsand its twinjourney.selfhosted.spec.ts— to the newpanelAddress(apex)=https://admin.<apex>fixture + the community SSO session (establishAdminDoorSession), and retargets the droplet/api/v1/*member calls (the "portal API is not cookie-gated" block) to the gatedadmin.<apex>with an in-renderer session fetch (panelApiFetch). The IDIP-path journeys (journey.idip.spec.ts,journey.idip.debug.spec.ts, and thefixtures/idip.tspanel helpers) are deferred to a follow-up.Why a two-way door: fully revertible by a later commit; nothing here is on the one-way-door list.
Why IDIP is deferred (provable from the code, not a judgement guess):
journey.idip.debug.spec.tsnever givesdashanidss_sessionat all — the only bridge sign-in is a throwaway preflight page (oidcSignInViaBridge, L209). Its panel reads (dash.goto(portalAddress)L183,openMembersTab(dash, …)L194 ff.) rely on the panel being ungated on the apex. Pointing them at a gatedadmin.<apex>would 401 every read.journey.idip.spec.tsopens the dashboard (Leg 13, L568) beforeestablishOperatorSession(L817), on the deliberately ungated apex portal route (that leg's own point, #512/#511). Retargeting it to gatedadmin.<apex>requires establishing the session first — i.e. reworking the IDIP browser sign-in ordering/flow.out_of_scope(IDIP browser sign-in UX (#1302),IDIP identity door), and neither is provable without a live IDIP lab — the manifest's own "proven by a journey run before merge" gate.The steward-tail (post-L817) could ride the existing
idss_session(it isDomain=<apex>, spansadmin.<apex>), but it is still unverifiable here and half of the IDIP surface (the debug tail) cannot follow, so the whole IDIP retarget lands as one follow-up that owns the sign-in rework.What proves the shipped part:
pnpm vue-tsc --noEmit(typecheck of both specs + fixtures) clean;vitest run tests/e2e/fixtures/provision.test.ts32/32 (incl. the newpanelAddressderivation test); ESLint clean. The behaviour-preserving claim rests on AC3 ("admin. already serves the gated panel on both paths") — the live droplet/self-hosted journey run is the merge gate.If you want the IDIP retarget inside this ticket instead of a follow-up, veto and re-arm.
close-report for #1367 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope