Child spec: provisioning progress, doors, and IdP-direct sign-in (DDRs 0156–0158) #411

Closed
opened 2026-08-10 18:46:33 +00:00 by ben · 5 comments
Owner

Parent

Wayfinder map #7 (OurCloud v1 program scope) — feature: provisioning (P4). Sibling of the provisioning slices already landed; this child spec carries Ben's four drive-17 walkthrough rulings (2026-08-10, drive 20260810T144654Z) through the accepted design tier: DDR 0156 (the deploy wears the founding bar), DDR 0157 (active announces the doors), DDR 0158 (the files door lands on the IdP). Ruling 4 is ticketed separately (#408 needs-design, #409 theming push).

Design contract: docs/ux/flows/p4-provisioning.mermaid + the ✎-amended wireframes docs/ux/wireframes/p4-provisioning/p4-s4-deploy-and-health-checks.html, p4-s5-active.html (two frames), p4-s5x-active-service-failed.html — confirmed by Ben 2026-08-10.

⚠ Blocked on the bridge-worktree merge (same condition as #409): the provisioning truth this spec builds on (drive-17 campaign) is unpushed on worktree-bridge-cse_01PLKLFxEnGVFCawokpodMEo. Labelled no-triage; flip to ready-for-agent once Ben merges and pushes.

Problem Statement

The operator confirms a deploy and then watches a nearly empty screen for the whole run — 27 minutes in drive 17 — with no wait estimate, no steps, no feedback, because the deploy request is synchronous and the checklist only paints when it settles. When the deploy finishes, the Active screen is a terse status row: it never celebrates, and never says where the new service lives, though the member portal already derives every service's URL. And when the operator does reach the files address, they are walked through two needless doors — Nextcloud's own login form and the IdP's consent screen — before the community's sign-in.

Solution

While a deploy runs healthy, P4-S4 shows the founding stand-up's trusted shape (DDR 0144): one weighted progress bar, a patience line carrying a calibrated expected wait, and a live line naming the running step — fed over the wire by a started deploy-run the dashboard polls for DeployRun snapshots, and re-attaches to after a close. When every health check passes, P4-S5 opens with a success message and lists each hostname-carrying service's door as a full clickable URL. That door lands directly on the community's branded kanidm sign-in — or straight into the service when the IdP session is live — with no Nextcloud login form and no consent screen (first-party client).

User Stories

  1. As an operator, I want the deploy screen to tell me how long the deploy usually takes, so that I can decide to walk away instead of worrying.
    • Given a deploy starts on a machine with a recorded previous successful deploy, when S4 renders, then the patience line (data-field="deploy-patience") states the calibrated expected wait from that record.
    • Given a first-ever deploy on this machine, when S4 renders, then the patience line states the honest seeded range ("typically 10–30 minutes"), never a number it cannot back.
  2. As an operator, I want one progress bar that moves during the deploy, so that I can see at a glance how far along it is.
    • Given the deploy is running healthy, when S4 renders, then it shows one weighted bar (data-field="deploy-bar", data-percent) derived from the DeployRun steps with fixed per-step weights, and no checklist rows.
    • Given consecutive polled frames, when a frame is empty or missed, then the bar holds its last value and never moves backwards short of a genuine re-drive (DDR 0144 monotonicity).
    • Given a running step with no estimate, when the bar renders, then the uncommitted remainder shows an indeterminate shimmer, not an invented percent.
  3. As an operator, I want a live line naming what the deploy is doing right now, so that a long wait never looks like a hang.
    • Given the deploy is on any step, when S4 renders, then data-field="deploy-current" carries the running step's label and activity detail, and the wrapper carries data-state / data-current with the step id.
    • Given the health-checks step is running, when S4 renders, then the live line surfaces the per-service checks as they run.
  4. As an operator, I want the deploy to keep running if I navigate away or close the dashboard, so that a 27-minute run doesn't depend on my browser tab.
    • Given a running deploy, when the operator closes the dashboard, then the run continues on the control plane unaffected.
    • Given a running deploy, when the operator reopens the dashboard, then the surface re-attaches: it finds the running deploy on the snapshot read and lands back on S4 mid-run with the bar at the current position.
  5. As an operator, I want deploy failures to stay as loud and recoverable as they are today, so that the new progress surface never trades honesty for polish.
    • Given the deploy itself fails, when the polled frame carries the failure, then the fault panel re-materializes prefixed with the failed step's label (data-field="fault-step"), with plain error + logs and the mode-matched recovery (S4 → S2 start-over, or resume a stopped takeover), exactly as the flow's failure edge states.
    • Given any deploy, when S4 renders, then the LOGGED chip and per-run drill-in remain (ADR 0027) — the drill-in is the one place the full step list breathes.
  6. As an operator, I want the finished deploy to say plainly that it worked, so that the moment the community gained a service feels like an outcome, not a status change.
    • Given every health check passed, when S4 routes to S5, then the screen opens with a success line (data-field="success-line") naming the device and what it now does.
  7. As an operator, I want the URL(s) of the newly deployed service(s) shown on the Active screen, so that I can open the service and share its address with members.
    • Given a hostname-carrying service passed its check, when S5 renders, then a SERVICE ADDRESSES block (data-field="service-doors") shows the full URL (data-field="service-url", e.g. https://files.<apex>, portful on the private path) as a clickable link, carried from the member-portal publisher's own hostname-authority derivation (ADR 0113) — never a second derivation.
    • Given a device whose services carry no hostname (replicas, backup targets), when S5 renders, then no doors section renders (the flow's tōtara storage-helper case).
    • Given a healthy service whose portal link failed to publish (PortalFault), when S5 renders, then its door still shows, with the standing fault note unchanged (ADR 0100/0113).
  8. As an operator, I want doors only for services that actually passed, so that I am never handed a link to a service that failed its health check.
    • Given a failed service on S5x, when the screen renders, then no service-url renders for it, S5x carries no success line, and the failure row / no-coverage claim / retry-remove affordances stand exactly as the flow states.
  9. As a member or operator, I want the files URL to land on my community's sign-in, so that I never see Nextcloud's own login form.
    • Given the files service is provisioned with its sole IdP provider, when anyone opens https://files.<apex> unauthenticated, then the login page immediately redirects to kanidm's branded sign-in (single-provider auto-redirect: allow_multiple_user_backends=0).
  10. As a member or operator with a live IdP session, I want the files URL to go straight in, so that signing in once is enough.
    • Given a live kanidm session, when the files URL is opened, then the browser lands signed-in in Nextcloud with no login stop and no consent screen (disable-consent-prompt on the first-party files client — DDR 0158 records why consent-skip is sound for first-party clients, re-checked the day a client is not).
  11. As an operator locked out of the IdP, I want a recorded rescue door into Nextcloud, so that auto-redirect never becomes a lockout.
    • Given the IdP is down, when the operator opens /login?direct=1 on the files host, then the local login form renders — and this address is recorded in the rescue documentation (P8), not rediscovered from source.
  12. As the maintainer of the live proof, I want the e2e drive to assert the new surfaces, so that the rulings stay proven, not just designed.
    • Given the next live drive, when the deploy leg runs, then the drive reads the bar's structural attributes (ids and data-attributes, never label copy) instead of waiting on a settled checklist; when S5 renders, it reads the door and drives the browser through it; when sign-in runs, the provider-button and consent clicks are gone and the strict signed-in assertions (header chrome + admin-status read) remain (drive-15 false-green lesson).
  13. As an operator, I want the Document editing row to tell me it needs Files & documents, so that I never deploy an editor with nothing to edit. (Ben's S2 amendment, comment 5685 — folded in 2026-08-10.)
    • Given Files & documents is neither ticked nor already placed, when S2 renders, then the Document editing row takes the gated-row-with-reason treatment (ADR 0015, the backup-copies pattern; wireframe data-status="gated-needs-files") with the reason "Document editing needs Files & documents — it edits their documents".
    • Given the operator ticks Files & documents (or files is already placed), when the row re-evaluates, then the dependency gate clears and only the ordinary headroom gating (DDR 0146) applies.
    • The clan layer's refusal of the coupling-less render (AttachDocsEditing, ADR 0100) is unchanged — this row is its operator-facing half (#413).

Implementation Decisions

  • The deploy-run wire (DDR 0156). The deploy endpoint stops holding the connection: starting a deploy returns immediately with the run's handle; a new device-scoped snapshot read returns the latest DeployRun frame (one deploy runs per device). The provision orchestrator's existing in-process progress callback feeds the stored latest frame. The synchronous deploy response is retired from the OpenAPI contract (the contract-first ADR 0037 pattern; the spec is regenerated for the TS client). No SSE/WebSocket — the frames are coarse and the monotonic bar absorbs poll gaps by design.
  • Bar derivation. Fixed per-step weights as constants in the screen (deploy-services dominates); within the running step, calibrated percent. Calibration follows the founding journey's precedent: per-machine totals from the last successful run, seeded fallback, stored alongside the existing journey calibration.
  • Presentation. The deploy screen renders the founding bar trio — shared presentation with the founding stand-up bar component (or a sibling of it), carrying the wireframes' vocabulary: deploy-progress wrapper with data-state/data-current, deploy-patience, deploy-bar + data-percent, deploy-current, fault fault-step. Checklist rows render only in the log drill-in.
  • Doors on the outcome (DDR 0157). ServiceHealth grows an optional url, populated from the same portal-publisher derivation (hostname authority, ADR 0113) at outcome assembly; empty for hostname-less services. The Active screen renders success-line + service-doors; doors render only on healthy rows; S5x renders no success line.
  • IdP-direct sign-in (DDR 0158). The files port's OIDC oneshot grows two idempotent legs: the user_oidc app config allow_multiple_user_backends=0, and disable-consent-prompt on the files OAuth2 client. Both verified available on the live drive-17 guest (user_oidc 8.10.1, kanidm 1.10.3). The break-glass address (/login?direct=1) is recorded in the DDR and belongs in the P8 rescue docs.
  • Vocabulary. All operator-facing copy uses the glossary: deploy, health check, active, service, door/address, community.

Testing Decisions

Good tests here assert external behaviour at the seam: what the HTTP surface returns, what the rendered NixOS text contains, what the DOM shows for given seam data — never orchestrator internals or component state.

  • Provision HTTP projection (highest seam, prior art: the existing provision integration tests): start-returns-immediately, snapshot serves the latest frame, frames advance monotonically across polls, failure and outcome arrive on the snapshot, re-attach finds a running deploy, url rides the outcome's service rows and is absent for hostname-less services.
  • Clan render seam (prior art: the files-port rendered-config assertions and oneshot get-or-create guard tests): the rendered OIDC oneshot contains both new legs; idempotency preserved.
  • Dashboard component tests (prior art: the existing provisioning surface vitest suite): bar/patience/live-line render from a DeployRun frame per the wireframe contract's data-fields; monotonic hold on a stale frame; fault panel names its step; success line + doors render per outcome, doors only on healthy hostname-carrying rows.
  • Live e2e drive (the proof tail, prior art: the provision fixtures): assertions per user story 12. Structural attributes over copy; status/DOM over URL reachability (drive-15 false-green lesson).

Out of Scope

  • #396 — the dashboard's silent render-crash decay (adjacent to re-attach, deliberately separate).
  • #408 — a background image in the brand kit at founding (needs-design, Ben gate).
  • #409 — the Nextcloud logo-bytes + background-colour theming push (its own ticket).
  • Mail readiness routing (MAIL-S1/S1x), S5x retry/remove flows, and the S4 failure recovery semantics — all unchanged; this spec only changes how their data arrives and how success is presented.
  • Streaming transports (SSE/WebSocket) for deploy progress — decided against in DDR 0156.
  • Any change to kanidm consent behaviour for non-first-party clients.

Further Notes

  • The rulings and the investigation trail (including why consent can be skipped entirely rather than scoped to first grant) live in DDRs 0156–0158; the wireframes are the DOM contract.
  • Drive-17's guest remains up for probing; the OIDC flags were verified from shipped source/CLI but not flipped there — the first live proof of the IdP-direct walk is this spec's drive assertion work.
## Parent Wayfinder map #7 (OurCloud v1 program scope) — feature: **provisioning** (P4). Sibling of the provisioning slices already landed; this child spec carries Ben's four drive-17 walkthrough rulings (2026-08-10, drive `20260810T144654Z`) through the accepted design tier: **DDR 0156** (the deploy wears the founding bar), **DDR 0157** (active announces the doors), **DDR 0158** (the files door lands on the IdP). Ruling 4 is ticketed separately (#408 needs-design, #409 theming push). Design contract: `docs/ux/flows/p4-provisioning.mermaid` + the ✎-amended wireframes `docs/ux/wireframes/p4-provisioning/p4-s4-deploy-and-health-checks.html`, `p4-s5-active.html` (two frames), `p4-s5x-active-service-failed.html` — confirmed by Ben 2026-08-10. > **⚠ Blocked on the bridge-worktree merge** (same condition as #409): the provisioning truth this spec builds on (drive-17 campaign) is unpushed on `worktree-bridge-cse_01PLKLFxEnGVFCawokpodMEo`. Labelled `no-triage`; flip to `ready-for-agent` once Ben merges and pushes. ## Problem Statement The operator confirms a deploy and then watches a nearly empty screen for the whole run — 27 minutes in drive 17 — with no wait estimate, no steps, no feedback, because the deploy request is synchronous and the checklist only paints when it settles. When the deploy finishes, the Active screen is a terse status row: it never celebrates, and never says **where the new service lives**, though the member portal already derives every service's URL. And when the operator does reach the files address, they are walked through two needless doors — Nextcloud's own login form and the IdP's consent screen — before the community's sign-in. ## Solution While a deploy runs healthy, P4-S4 shows the founding stand-up's trusted shape (DDR 0144): one weighted progress bar, a patience line carrying a calibrated expected wait, and a live line naming the running step — fed over the wire by a started deploy-run the dashboard polls for `DeployRun` snapshots, and re-attaches to after a close. When every health check passes, P4-S5 opens with a success message and lists each hostname-carrying service's door as a full clickable URL. That door lands directly on the community's branded kanidm sign-in — or straight into the service when the IdP session is live — with no Nextcloud login form and no consent screen (first-party client). ## User Stories 1. As an operator, I want the deploy screen to tell me how long the deploy usually takes, so that I can decide to walk away instead of worrying. - **Given** a deploy starts on a machine with a recorded previous successful deploy, **when** S4 renders, **then** the patience line (`data-field="deploy-patience"`) states the calibrated expected wait from that record. - **Given** a first-ever deploy on this machine, **when** S4 renders, **then** the patience line states the honest seeded range ("typically 10–30 minutes"), never a number it cannot back. 2. As an operator, I want one progress bar that moves during the deploy, so that I can see at a glance how far along it is. - **Given** the deploy is running healthy, **when** S4 renders, **then** it shows one weighted bar (`data-field="deploy-bar"`, `data-percent`) derived from the `DeployRun` steps with fixed per-step weights, and no checklist rows. - **Given** consecutive polled frames, **when** a frame is empty or missed, **then** the bar holds its last value and never moves backwards short of a genuine re-drive (DDR 0144 monotonicity). - **Given** a running step with no estimate, **when** the bar renders, **then** the uncommitted remainder shows an indeterminate shimmer, not an invented percent. 3. As an operator, I want a live line naming what the deploy is doing right now, so that a long wait never looks like a hang. - **Given** the deploy is on any step, **when** S4 renders, **then** `data-field="deploy-current"` carries the running step's label and activity detail, and the wrapper carries `data-state` / `data-current` with the step id. - **Given** the health-checks step is running, **when** S4 renders, **then** the live line surfaces the per-service checks as they run. 4. As an operator, I want the deploy to keep running if I navigate away or close the dashboard, so that a 27-minute run doesn't depend on my browser tab. - **Given** a running deploy, **when** the operator closes the dashboard, **then** the run continues on the control plane unaffected. - **Given** a running deploy, **when** the operator reopens the dashboard, **then** the surface re-attaches: it finds the running deploy on the snapshot read and lands back on S4 mid-run with the bar at the current position. 5. As an operator, I want deploy failures to stay as loud and recoverable as they are today, so that the new progress surface never trades honesty for polish. - **Given** the deploy itself fails, **when** the polled frame carries the failure, **then** the fault panel re-materializes prefixed with the failed step's label (`data-field="fault-step"`), with plain error + logs and the mode-matched recovery (S4 → S2 start-over, or resume a stopped takeover), exactly as the flow's failure edge states. - **Given** any deploy, **when** S4 renders, **then** the LOGGED chip and per-run drill-in remain (ADR 0027) — the drill-in is the one place the full step list breathes. 6. As an operator, I want the finished deploy to say plainly that it worked, so that the moment the community gained a service feels like an outcome, not a status change. - **Given** every health check passed, **when** S4 routes to S5, **then** the screen opens with a success line (`data-field="success-line"`) naming the device and what it now does. 7. As an operator, I want the URL(s) of the newly deployed service(s) shown on the Active screen, so that I can open the service and share its address with members. - **Given** a hostname-carrying service passed its check, **when** S5 renders, **then** a SERVICE ADDRESSES block (`data-field="service-doors"`) shows the full URL (`data-field="service-url"`, e.g. `https://files.<apex>`, portful on the private path) as a clickable link, carried from the member-portal publisher's own hostname-authority derivation (ADR 0113) — never a second derivation. - **Given** a device whose services carry no hostname (replicas, backup targets), **when** S5 renders, **then** no doors section renders (the flow's tōtara storage-helper case). - **Given** a healthy service whose portal link failed to publish (PortalFault), **when** S5 renders, **then** its door still shows, with the standing fault note unchanged (ADR 0100/0113). 8. As an operator, I want doors only for services that actually passed, so that I am never handed a link to a service that failed its health check. - **Given** a failed service on S5x, **when** the screen renders, **then** no `service-url` renders for it, S5x carries no success line, and the failure row / no-coverage claim / retry-remove affordances stand exactly as the flow states. 9. As a member or operator, I want the files URL to land on my community's sign-in, so that I never see Nextcloud's own login form. - **Given** the files service is provisioned with its sole IdP provider, **when** anyone opens `https://files.<apex>` unauthenticated, **then** the login page immediately redirects to kanidm's branded sign-in (single-provider auto-redirect: `allow_multiple_user_backends=0`). 10. As a member or operator with a live IdP session, I want the files URL to go straight in, so that signing in once is enough. - **Given** a live kanidm session, **when** the files URL is opened, **then** the browser lands signed-in in Nextcloud with no login stop and **no consent screen** (`disable-consent-prompt` on the first-party files client — DDR 0158 records why consent-skip is sound for first-party clients, re-checked the day a client is not). 11. As an operator locked out of the IdP, I want a recorded rescue door into Nextcloud, so that auto-redirect never becomes a lockout. - **Given** the IdP is down, **when** the operator opens `/login?direct=1` on the files host, **then** the local login form renders — and this address is recorded in the rescue documentation (P8), not rediscovered from source. 12. As the maintainer of the live proof, I want the e2e drive to assert the new surfaces, so that the rulings stay proven, not just designed. - **Given** the next live drive, **when** the deploy leg runs, **then** the drive reads the bar's structural attributes (ids and data-attributes, never label copy) instead of waiting on a settled checklist; **when** S5 renders, it reads the door and drives the browser through it; **when** sign-in runs, the provider-button and consent clicks are gone and the strict signed-in assertions (header chrome + admin-status read) remain (drive-15 false-green lesson). 13. As an operator, I want the Document editing row to tell me it needs Files & documents, so that I never deploy an editor with nothing to edit. *(Ben's S2 amendment, comment 5685 — folded in 2026-08-10.)* - **Given** Files & documents is neither ticked nor already placed, **when** S2 renders, **then** the Document editing row takes the gated-row-with-reason treatment (ADR 0015, the backup-copies pattern; wireframe `data-status="gated-needs-files"`) with the reason "Document editing needs Files & documents — it edits their documents". - **Given** the operator ticks Files & documents (or files is already placed), **when** the row re-evaluates, **then** the dependency gate clears and only the ordinary headroom gating (DDR 0146) applies. - The clan layer's refusal of the coupling-less render (AttachDocsEditing, ADR 0100) is unchanged — this row is its operator-facing half (#413). ## Implementation Decisions - **The deploy-run wire (DDR 0156).** The deploy endpoint stops holding the connection: starting a deploy returns immediately with the run's handle; a new device-scoped snapshot read returns the latest `DeployRun` frame (one deploy runs per device). The provision orchestrator's existing in-process progress callback feeds the stored latest frame. The synchronous deploy response is retired from the OpenAPI contract (the contract-first ADR 0037 pattern; the spec is regenerated for the TS client). No SSE/WebSocket — the frames are coarse and the monotonic bar absorbs poll gaps by design. - **Bar derivation.** Fixed per-step weights as constants in the screen (deploy-services dominates); within the running step, calibrated percent. Calibration follows the founding journey's precedent: per-machine totals from the last successful run, seeded fallback, stored alongside the existing journey calibration. - **Presentation.** The deploy screen renders the founding bar trio — shared presentation with the founding stand-up bar component (or a sibling of it), carrying the wireframes' vocabulary: `deploy-progress` wrapper with `data-state`/`data-current`, `deploy-patience`, `deploy-bar` + `data-percent`, `deploy-current`, fault `fault-step`. Checklist rows render only in the log drill-in. - **Doors on the outcome (DDR 0157).** `ServiceHealth` grows an optional `url`, populated from the same portal-publisher derivation (hostname authority, ADR 0113) at outcome assembly; empty for hostname-less services. The Active screen renders `success-line` + `service-doors`; doors render only on healthy rows; S5x renders no success line. - **IdP-direct sign-in (DDR 0158).** The files port's OIDC oneshot grows two idempotent legs: the user_oidc app config `allow_multiple_user_backends=0`, and `disable-consent-prompt` on the files OAuth2 client. Both verified available on the live drive-17 guest (user_oidc 8.10.1, kanidm 1.10.3). The break-glass address (`/login?direct=1`) is recorded in the DDR and belongs in the P8 rescue docs. - **Vocabulary.** All operator-facing copy uses the glossary: deploy, health check, active, service, door/address, community. ## Testing Decisions Good tests here assert **external behaviour at the seam**: what the HTTP surface returns, what the rendered NixOS text contains, what the DOM shows for given seam data — never orchestrator internals or component state. - **Provision HTTP projection** (highest seam, prior art: the existing provision integration tests): start-returns-immediately, snapshot serves the latest frame, frames advance monotonically across polls, failure and outcome arrive on the snapshot, re-attach finds a running deploy, `url` rides the outcome's service rows and is absent for hostname-less services. - **Clan render seam** (prior art: the files-port rendered-config assertions and oneshot get-or-create guard tests): the rendered OIDC oneshot contains both new legs; idempotency preserved. - **Dashboard component tests** (prior art: the existing provisioning surface vitest suite): bar/patience/live-line render from a `DeployRun` frame per the wireframe contract's data-fields; monotonic hold on a stale frame; fault panel names its step; success line + doors render per outcome, doors only on healthy hostname-carrying rows. - **Live e2e drive** (the proof tail, prior art: the provision fixtures): assertions per user story 12. Structural attributes over copy; status/DOM over URL reachability (drive-15 false-green lesson). ## Out of Scope - **#396** — the dashboard's silent render-crash decay (adjacent to re-attach, deliberately separate). - **#408** — a background image in the brand kit at founding (needs-design, Ben gate). - **#409** — the Nextcloud logo-bytes + background-colour theming push (its own ticket). - Mail readiness routing (MAIL-S1/S1x), S5x retry/remove flows, and the S4 failure recovery semantics — all unchanged; this spec only changes how their data arrives and how success is presented. - Streaming transports (SSE/WebSocket) for deploy progress — decided against in DDR 0156. - Any change to kanidm consent behaviour for non-first-party clients. ## Further Notes - The rulings and the investigation trail (including why consent can be skipped entirely rather than scoped to first grant) live in DDRs 0156–0158; the wireframes are the DOM contract. - Drive-17's guest remains up for probing; the OIDC flags were verified from shipped source/CLI but not flipped there — the first live proof of the IdP-direct walk is this spec's drive assertion work.
Author
Owner

Ben's amendment to this spec's S2 scope (2026-08-10, ruled in the nextcloud-drive e2e session):

On the P4-S2 select screen, the Document editing row takes the gated-row-with-reason treatment (ADR 0015: explained, never blocked — the exact pattern the backup-copies row already wears) whenever Files & documents is neither ticked nor already placed. Reason text shape: "Document editing needs Files & documents — it edits their documents." Ticking files clears the gate.

Why: Collabora is a stateless WOPI editor — docs-editing alone deploys an editor with nothing to edit. The clan layer already refuses the coupling-less render (AttachDocsEditing: "an editor that trusts no storage host edits nothing", ADR 0100); this puts the same truth in front of the operator. It is the operator-facing half of #413 (when both services are placed, the files node grows a nextcloud-richdocuments oneshot wiring wopi_url).

Handling: fold in as a delta — a ✎ frame amendment on the S2 wireframe + one acceptance criterion here — rather than reopening the confirmed pass; re-present just the delta to Ben. (Recorded here durably because the session-to-session relay of this ruling was mis-routed once; the tracker is the source of truth.)

**Ben's amendment to this spec's S2 scope (2026-08-10, ruled in the nextcloud-drive e2e session):** On the P4-S2 select screen, the **Document editing** row takes the gated-row-with-reason treatment (ADR 0015: explained, never blocked — the exact pattern the backup-copies row already wears) whenever **Files & documents is neither ticked nor already placed**. Reason text shape: *"Document editing needs Files & documents — it edits their documents."* Ticking files clears the gate. Why: Collabora is a stateless WOPI editor — docs-editing alone deploys an editor with nothing to edit. The clan layer already refuses the coupling-less render (`AttachDocsEditing`: "an editor that trusts no storage host edits nothing", ADR 0100); this puts the same truth in front of the operator. It is the operator-facing half of **#413** (when both services are placed, the files node grows a `nextcloud-richdocuments` oneshot wiring `wopi_url`). Handling: fold in as a **delta** — a ✎ frame amendment on the S2 wireframe + one acceptance criterion here — rather than reopening the confirmed pass; re-present just the delta to Ben. (Recorded here durably because the session-to-session relay of this ruling was mis-routed once; the tracker is the source of truth.)
Author
Owner

Flip condition met: the bridge worktree merged to main and pushed as 90ddba3 (2026-08-10, Ben's call) — the drive-17 provisioning truth, DDRs 0156–0158, and the ✎ wireframes are all on origin/main. no-triage → ready-for-agent.

Flip condition met: the bridge worktree merged to main and pushed as `90ddba3` (2026-08-10, Ben's call) — the drive-17 provisioning truth, DDRs 0156–0158, and the ✎ wireframes are all on origin/main. `no-triage` → `ready-for-agent`.
Author
Owner

Comment 5685's S2 amendment is folded in: story 13 + acceptance criteria added to the spec body above, and the S2 wireframe carries its ✎ frame (p4-s2-select-role-and-services.html, third frame — gated-needs-files / gate-reason vocabulary; the gateway frame's caption cross-references the gate order). Delta re-presented to Ben in-session.

Comment 5685's S2 amendment is **folded in**: story 13 + acceptance criteria added to the spec body above, and the S2 wireframe carries its ✎ frame (`p4-s2-select-role-and-services.html`, third frame — `gated-needs-files` / `gate-reason` vocabulary; the gateway frame's caption cross-references the gate order). Delta re-presented to Ben in-session.
Author
Owner

Reopened — commit d247933's message ("closes #411's comment-5685 delta") tripped Forgejo's auto-close; the spec itself is open work (ready-for-agent), only the S2 amendment delta was folded in.

Reopened — commit `d247933`'s message ("closes #411's comment-5685 delta") tripped Forgejo's auto-close; the spec itself is open work (`ready-for-agent`), only the S2 amendment delta was folded in.
Author
Owner

Landed on origin/main as bb59cbe (sandcastle: #411).

All three DDRs shipped as one slice:

  • DDR 0156 — POST /provision/deploy now STARTS the run (202 + a device handle) and a new device-scoped GET /provision/devices/{id}/deploy snapshot serves the latest DeployRun frame the dashboard polls + re-attaches to (the run detaches onto context.Background()). Synchronous DeployRun response retired from the OpenAPI contract; TS client regenerated. P4-S4 folds to the founding-bar trio (DeployProgress.vue: deploy-progress/deploy-patience/deploy-bar+data-percent/deploy-current, monotonic + indeterminate shimmer, checklist to the LOGGED drill-in, fault-step). Patience line names a CALIBRATED wait from a per-device record (deploycalibration.go); seeded range on a first-ever deploy.
  • DDR 0157 — ServiceHealth.url populated at outcome assembly from the ONE hostname authority (ADR 0113, the same portal.go publishes), healthy hostname-carrying only. ActiveScreen opens with success-line (S5 only) + service-doors (clickable service-url); none for hostname-less/failed, no success line on S5x.
  • DDR 0158 — nextcloud-oidc oneshot grows two idempotent legs: user_oidc allow_multiple_user_backends=0 (single-provider auto-redirect) + kanidm disable-consent-prompt (first-party). Break-glass at /login?direct=1.

Evidence: Go seam tests (async HTTP projection start/snapshot/settle/failure/re-attach + url; calibration; two rendered OIDC legs) + dashboard component tests (bar/patience/live/fault/doors/re-attach) all green; full dashboard suite 1020 pass; OpenAPI drift check in sync; pre-push go test ./... green. The live e2e sign-in leg drops the provider-button/consent clicks and reads the S5 door (app/tests/e2e/fixtures/provision.ts) — its first live proof is the next drive (user story 12).

Landed on origin/main as bb59cbe (sandcastle: #411). All three DDRs shipped as one slice: - **DDR 0156** — POST /provision/deploy now STARTS the run (202 + a device handle) and a new device-scoped GET /provision/devices/{id}/deploy snapshot serves the latest DeployRun frame the dashboard polls + re-attaches to (the run detaches onto context.Background()). Synchronous DeployRun response retired from the OpenAPI contract; TS client regenerated. P4-S4 folds to the founding-bar trio (DeployProgress.vue: deploy-progress/deploy-patience/deploy-bar+data-percent/deploy-current, monotonic + indeterminate shimmer, checklist to the LOGGED drill-in, fault-step). Patience line names a CALIBRATED wait from a per-device record (deploycalibration.go); seeded range on a first-ever deploy. - **DDR 0157** — ServiceHealth.url populated at outcome assembly from the ONE hostname authority (ADR 0113, the same portal.go publishes), healthy hostname-carrying only. ActiveScreen opens with success-line (S5 only) + service-doors (clickable service-url); none for hostname-less/failed, no success line on S5x. - **DDR 0158** — nextcloud-oidc oneshot grows two idempotent legs: user_oidc allow_multiple_user_backends=0 (single-provider auto-redirect) + kanidm disable-consent-prompt (first-party). Break-glass at /login?direct=1. Evidence: Go seam tests (async HTTP projection start/snapshot/settle/failure/re-attach + url; calibration; two rendered OIDC legs) + dashboard component tests (bar/patience/live/fault/doors/re-attach) all green; full dashboard suite 1020 pass; OpenAPI drift check in sync; pre-push go test ./... green. The live e2e sign-in leg drops the provider-button/consent clicks and reads the S5 door (app/tests/e2e/fixtures/provision.ts) — its first live proof is the next drive (user story 12).
ben closed this issue 2026-08-10 21:41:18 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#411
No description provided.