portal: the seat carries both doors — S12 'Open your dashboard', Operator home and deep links open admin.<apex> (spec #1361 s37) #1366

Closed
opened 2026-09-10 00:56:37 +00:00 by ben · 2 comments
Owner

Parent

Spec #1361 (the Portal); program map #1336; design contract DDR 0232 / ADR 0233, flow docs/ux/flows/portal.mermaid, wireframes docs/ux/wireframes/portal/. Slice seat-dashboard-door in docs/slices/portal.yaml.

What to build

The founding hand-off and the enrolment seat carry BOTH the portal address (hostnames.Portal) and the dashboard door (hostnames.Dashboard, portful on the private path); S12 "Open your dashboard", Operator home's button and every deep link open the dashboard door. Safe before the cutover — admin. is already gated on both paths. Seam: the founding hand-off + enrolment tests, the app's seat tests.

Acceptance criteria

  • Given founding completes on the public path, when the hand-off is written, then it carries the portal address (https://) AND the dashboard door (https://admin.).
  • Given the private path, when the hand-off is written, then the dashboard door carries the host-side forward port (DashboardReachable).
  • Given S12 'Open your dashboard' / Operator home's button / a deep link, when pressed, then the browser opens the dashboard door, never the apex.
  • Given the enrolment seat, when read by the app, then it exposes both addresses; the seat tests pin them.

Blocked by

  • None — can start immediately (bootstrap:skeleton is closed).

Task manifest

task: seat-dashboard-door
implements_flow: portal
implements_edge: PT-S1o→DN (the app opens the control panel, not the apex)
wireframe: ''
interface: ''
seam: founding hand-off / enrolment / app seat tests
acceptance:
- given: founding completes on the public path
  when: the hand-off is written
  then: it carries the portal address (https://<apex>) AND the dashboard door (https://admin.<apex>)
- given: the private path
  when: the hand-off is written
  then: the dashboard door carries the host-side forward port (DashboardReachable)
- given: S12 'Open your dashboard' / Operator home's button / a deep link
  when: pressed
  then: the browser opens the dashboard door, never the apex
- given: the enrolment seat
  when: read by the app
  then: it exposes both addresses; the seat tests pin them
depends_on:
- bootstrap:skeleton
out_of_scope:
- operator truth on the Portal
- operator notices / per-service public switch
- IDIP identity door
- mail on IDIP (stated limit)
- IDIP browser sign-in UX (#1302)
needs_human_decision: []
## Parent Spec **#1361** (the Portal); program map **#1336**; design contract DDR 0232 / ADR 0233, flow `docs/ux/flows/portal.mermaid`, wireframes `docs/ux/wireframes/portal/`. Slice `seat-dashboard-door` in `docs/slices/portal.yaml`. ## What to build The founding hand-off and the enrolment seat carry BOTH the portal address (hostnames.Portal) and the dashboard door (hostnames.Dashboard, portful on the private path); S12 "Open your dashboard", Operator home's button and every deep link open the dashboard door. Safe before the cutover — admin.<apex> is already gated on both paths. Seam: the founding hand-off + enrolment tests, the app's seat tests. ## Acceptance criteria - [ ] Given founding completes on the public path, when the hand-off is written, then it carries the portal address (https://<apex>) AND the dashboard door (https://admin.<apex>). - [ ] Given the private path, when the hand-off is written, then the dashboard door carries the host-side forward port (DashboardReachable). - [ ] Given S12 'Open your dashboard' / Operator home's button / a deep link, when pressed, then the browser opens the dashboard door, never the apex. - [ ] Given the enrolment seat, when read by the app, then it exposes both addresses; the seat tests pin them. ## Blocked by - None — can start immediately (bootstrap:skeleton is closed). ## Task manifest ```yaml task: seat-dashboard-door implements_flow: portal implements_edge: PT-S1o→DN (the app opens the control panel, not the apex) wireframe: '' interface: '' seam: founding hand-off / enrolment / app seat tests acceptance: - given: founding completes on the public path when: the hand-off is written then: it carries the portal address (https://<apex>) AND the dashboard door (https://admin.<apex>) - given: the private path when: the hand-off is written then: the dashboard door carries the host-side forward port (DashboardReachable) - given: S12 'Open your dashboard' / Operator home's button / a deep link when: pressed then: the browser opens the dashboard door, never the apex - given: the enrolment seat when: read by the app then: it exposes both addresses; the seat tests pin them depends_on: - bootstrap:skeleton out_of_scope: - operator truth on the Portal - operator notices / per-service public switch - IDIP identity door - mail on IDIP (stated limit) - IDIP browser sign-in UX (#1302) needs_human_decision: [] ```

swarm-claim host=elitebook-distributed-server-03 run=20971
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=20971 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1366 — status success

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

envelope
{
  "issue": 1366,
  "status": "success",
  "commits": [
    "6be8524650a36119120e2ad82283c4630a81566e"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/components/shell/OperatorHomeScreen.vue",
    "app/src/lib/founding.ts",
    "app/src/lib/seat.ts",
    "app/src/lib/seatSource.ts",
    "app/tests/unit/operatorHome.test.ts",
    "app/tests/unit/seatSource.test.ts",
    "internal/fleetwire/enrolment.go",
    "internal/founding/deploy.go",
    "internal/founding/handoff.go",
    "internal/founding/handoff_test.go",
    "internal/founding/seat.go",
    "internal/founding/seat_test.go",
    "internal/founding/testing/fakes.go",
    "internal/hostnames/hostnames.go",
    "internal/hostnames/hostnames_test.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/founding/ ./internal/hostnames/ ./internal/fleetwire/",
      "exit_code": 0
    },
    {
      "command": "go test ./control-plane/... ./internal/clan/ ./app/helper/...",
      "exit_code": 0
    },
    {
      "command": "go test ./... (main module) && (cd broker && go test ./...)",
      "exit_code": 0
    },
    {
      "command": "go build ./... && go vet ./... && go build -tags dev ./... && go vet -tags dev ./... && gofmt -l (clean)",
      "exit_code": 0
    },
    {
      "command": "vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "eslint . (full repo)",
      "exit_code": 0
    },
    {
      "command": "vitest run tests/unit (full app suite, 1080 tests)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Given founding completes on the public path, when the hand-off is written, then it carries the portal address (https://<apex>) AND the dashboard door (https://admin.<apex>)": "internal/founding/handoff.go BeginHandOff now sets both HandOffStatus.Portal.Address (portalAddress) and HandOffStatus.DashboardDoor = hostnames.Dashboard(portalApex). Pinned by TestBeginHandOff_PublicPathCarriesPortalAndDashboardDoor (handoff_test.go): Portal.Address=https://example.idss.nz, DashboardDoor=https://admin.example.idss.nz, and door != apex.",
    "Given the private path, when the hand-off is written, then the dashboard door carries the host-side forward port (DashboardReachable)": "BeginHandOff derives DashboardDoor via hostnames.DashboardReachable(privateApex, webPort) and Portal.Address via new hostnames.PortalReachable. Pinned by TestBeginHandOff_PrivatePathCarriesBothPortfulDoors: door=https://admin.<apex>:37679, portal=https://<apex>:37679, no 127.0.0.1.",
    "Given S12 'Open your dashboard' / Operator home's button / a deep link, when pressed, then the browser opens the dashboard door, never the apex": "handoff.go AwaitEnrolment now opens ho.DashboardDoor (not Portal.Address); fleetwire/enrolment.go AwaitCredential + FakeEnrolment param renamed dashboardDoor. Pinned by TestStory27_PasskeyEnrolmentOpensTheDashboard (opens DashboardDoor, asserts != apex). OperatorHomeScreen.vue dashboardUrl now falls back to community.dashboardUrl (admin door), never portalUrl; pinned by operatorHome.test.ts ('routes ... to the dashboard DOOR ... never the apex portal', and the guest fallback test).",
    "Given the enrolment seat, when read by the app, then it exposes both addresses; the seat tests pin them": "internal/founding/seat.go SeatResult gains Portal+Dashboard, derived in Orchestrator.Seat from the recorded apex (portless canonical on public; portful while private guest runs); public-path deploy records the apex (deploy.go runDeploy -> WriteCommunityApex). App seatSource.ts maps SeatResult.portal/dashboard to community.portalUrl/dashboardUrl. Pinned by TestSeatOp_PublicPathCarriesBothDoors + TestSeatOp_PrivatePathDashboardIsTheAdminDoor (Go) and seatSource.test.ts ('carries the community two doors')."
  },
  "summary": "Split the conflated portal/dashboard address so the founding hand-off and the enrolment seat carry BOTH doors and S12/Operator home/deep links open admin.<apex>, never the apex.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1366 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1366, "status": "success", "commits": [ "6be8524650a36119120e2ad82283c4630a81566e" ], "changed_files": [ "STATUS.md", "app/src/components/shell/OperatorHomeScreen.vue", "app/src/lib/founding.ts", "app/src/lib/seat.ts", "app/src/lib/seatSource.ts", "app/tests/unit/operatorHome.test.ts", "app/tests/unit/seatSource.test.ts", "internal/fleetwire/enrolment.go", "internal/founding/deploy.go", "internal/founding/handoff.go", "internal/founding/handoff_test.go", "internal/founding/seat.go", "internal/founding/seat_test.go", "internal/founding/testing/fakes.go", "internal/hostnames/hostnames.go", "internal/hostnames/hostnames_test.go" ], "tests": [ { "command": "go test ./internal/founding/ ./internal/hostnames/ ./internal/fleetwire/", "exit_code": 0 }, { "command": "go test ./control-plane/... ./internal/clan/ ./app/helper/...", "exit_code": 0 }, { "command": "go test ./... (main module) && (cd broker && go test ./...)", "exit_code": 0 }, { "command": "go build ./... && go vet ./... && go build -tags dev ./... && go vet -tags dev ./... && gofmt -l (clean)", "exit_code": 0 }, { "command": "vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "eslint . (full repo)", "exit_code": 0 }, { "command": "vitest run tests/unit (full app suite, 1080 tests)", "exit_code": 0 } ], "criteria": { "Given founding completes on the public path, when the hand-off is written, then it carries the portal address (https://<apex>) AND the dashboard door (https://admin.<apex>)": "internal/founding/handoff.go BeginHandOff now sets both HandOffStatus.Portal.Address (portalAddress) and HandOffStatus.DashboardDoor = hostnames.Dashboard(portalApex). Pinned by TestBeginHandOff_PublicPathCarriesPortalAndDashboardDoor (handoff_test.go): Portal.Address=https://example.idss.nz, DashboardDoor=https://admin.example.idss.nz, and door != apex.", "Given the private path, when the hand-off is written, then the dashboard door carries the host-side forward port (DashboardReachable)": "BeginHandOff derives DashboardDoor via hostnames.DashboardReachable(privateApex, webPort) and Portal.Address via new hostnames.PortalReachable. Pinned by TestBeginHandOff_PrivatePathCarriesBothPortfulDoors: door=https://admin.<apex>:37679, portal=https://<apex>:37679, no 127.0.0.1.", "Given S12 'Open your dashboard' / Operator home's button / a deep link, when pressed, then the browser opens the dashboard door, never the apex": "handoff.go AwaitEnrolment now opens ho.DashboardDoor (not Portal.Address); fleetwire/enrolment.go AwaitCredential + FakeEnrolment param renamed dashboardDoor. Pinned by TestStory27_PasskeyEnrolmentOpensTheDashboard (opens DashboardDoor, asserts != apex). OperatorHomeScreen.vue dashboardUrl now falls back to community.dashboardUrl (admin door), never portalUrl; pinned by operatorHome.test.ts ('routes ... to the dashboard DOOR ... never the apex portal', and the guest fallback test).", "Given the enrolment seat, when read by the app, then it exposes both addresses; the seat tests pin them": "internal/founding/seat.go SeatResult gains Portal+Dashboard, derived in Orchestrator.Seat from the recorded apex (portless canonical on public; portful while private guest runs); public-path deploy records the apex (deploy.go runDeploy -> WriteCommunityApex). App seatSource.ts maps SeatResult.portal/dashboard to community.portalUrl/dashboardUrl. Pinned by TestSeatOp_PublicPathCarriesBothDoors + TestSeatOp_PrivatePathDashboardIsTheAdminDoor (Go) and seatSource.test.ts ('carries the community two doors')." }, "summary": "Split the conflated portal/dashboard address so the founding hand-off and the enrolment seat carry BOTH doors and S12/Operator home/deep links open admin.<apex>, never the apex.", "reason": "", "blockers": [], "no_code_change": "" } ``` </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.

Reference
Matou/idss#1366
No description provided.