rehearsal phase 2 T3: journey.droplet.spec.ts drives the eight-leg Nextcloud tail #488
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
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
Matou/idss#488
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?
Phase 2 of the #183 rehearsal ratchet (spec
docs/superpowers/specs/2026-08-12-183-phase-2-nextcloud-rehearsal-design.md, plandocs/superpowers/plans/2026-08-12-183-phase-2-nextcloud-rehearsal.md): the droplet drive grows past founding to a complete Nextcloud deployment at the real public door. This ticket is Task 3 of the plan, carried verbatim below — the plan file at HEAD is the authoritative copy if this body and it ever diverge.Verification gate (what YOU run):
cd app && pnpm test && pnpm build. The tail's LIVE behavior is unprovable in the sandbox (#377) — do NOT attempt to run a drive; the ratchet verifies it after Ben arms phase 2.Global Constraints
data-*contract (ADR 0132); label-matching (clickAny) is sanctioned ONLY for kanidm's and Nextcloud's external screens.readFilesDoor's return +doorPath) — never a rebuilt URL.sign-in10 min,co-host5,deploy-files40,files-healthy2,door2,branded-login3,oidc-admin5,branded-chrome5).runRecordedLeg—legs.jsoncurrent on disk before any rethrow..sandcastle/(protected path, and the machinery is generic by design),scripts/rehearsal-cycle.sh, or.forgejo/workflows/.provision-nextcloud.live.spec.ts,private-path.live.spec.ts,foundingPrefix.ts) must keep compiling and keep their exact behavior — call sites pass the portful door they already read.REHEARSAL_DRIVE_ISSUEin.sandcastle/.envis NOT flipped by this plan — arming is Ben's step after his #425 hand sign-off.pnpm test+pnpm build(vue-tsc) inapp/; the ratchet is the real test.E2E Drive, accent#619793, background#f5f5f0, logoLOGO_FIXTURE_PNG, greetingE2E_GREETING(both exported byapp/tests/e2e/fixtures/wizard.ts).Task 3: journey.droplet.spec.ts — the eight-leg tail
The
provision-on-gatewaynamed skip goes live as eight recorded legs after the finish step. The tail drives the app-opened ceremony window throughout (dashbelow); the other four named skips stay.Files:
app/tests/e2e/journey.droplet.spec.tsInterfaces:
Consumes: Task 1's
openAppCeremonyWindow(app, act, timeoutMs?)/ceremonyWindowOrigin(url)/registerPasskey(c, resetUrl, runDir)/credentialCount(c)/loginWithPasskey(c, origin, username, runDir, name?, logo?, greeting?)/PasskeySession; Task 2'sreadFilesDoor(page, apex)/oidcSignInAsOperator(page, door, runDir)/assertOperatorIsAdmin(page, door)/assertBrandedChrome(page, occ, door, expect_, shot)/doorPath/doorHost; existingopenGatewayChange/selectFilesOnGateway/confirmPlainDeploy/waitForDeployActive/expectFilesHealthy;sshDroplet(ip, command, timeoutMs)from./fixtures/droplet;LOGO_FIXTURE_PNG/E2E_GREETINGfrom./fixtures/wizard.Produces: the phase-2
legs.jsonshape — phase-1 records +sign-in,co-host,deploy-files,files-healthy,door,branded-login,oidc-admin,branded-chrome.Step 1: Add the imports
(
E2E_GREETINGmerges into the existing./fixtures/wizardimport.)Insert after the
the founding COMPLETEStest.step:provision-on-gatewaynamed skipIn the
legs: JourneyLeg[]array below, DELETE theprovision-on-gatewayentry (its leg is live above). The other four entries (backup-honest-floor,invite-member,alert-email,rescue-rung) stay verbatim. Update the array's leading comment to note provision-on-gateway went live with phase 2 (spec 2026-08-12).Run:
cd app && pnpm build && pnpm testExpected: both green (the spec file has no unit tests; this catches type drift against Tasks 1–2).
Run:
cd app && OC_E2E_TARGET=droplet pnpm exec playwright test --config playwright.config.ts --listExpected: the droplet spec lists its one test without load errors (no drive runs).
close-report for #488 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope