rehearsal-9 Task 3: The Nextcloud tail leaves journey.droplet into fixtures/nextcloudTail.ts — droplet legs byte-identical by leg list #1487
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#1487
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 9 (provision on founding) task 3 of 6. Spec:
docs/superpowers/specs/2026-09-15-183-phase-9-provision-on-founding-rehearsal-design.md. Plan (read the header, Global Constraints and plan-time inventory first — the Interfaces block below is how tasks learn each other's names):docs/superpowers/plans/2026-09-15-183-phase-9-provision-on-founding-rehearsal.md.Acceptance = every checkbox step below done, its verification commands green, one commit in the repo's voice. A blocked_by edge on this ticket names the task whose Interfaces it consumes.
Task 3: The Nextcloud tail leaves
journey.dropletinto a shared fixture (byte-identical legs)Files:
app/tests/e2e/fixtures/nextcloudTail.tsapp/tests/e2e/fixtures/nextcloudTail.test.tsapp/tests/e2e/journey.droplet.spec.ts:474-540, 657-735(call the shared bodies; leg keys, ceilings, assertions unchanged)Interfaces:
Produces (all in
nextcloudTail.ts):export const NEXTCLOUD_BRAND = { name: 'E2E Drive', accent: '#619793' } as const;export function nextcloudChromeBrand(): ChromeBrandExpectation→{ ...NEXTCLOUD_BRAND, background: '#f5f5f0', logo: LOGO_FIXTURE_PNG }.export async function signInOperator(live: LaunchedApp, panel: string): Promise<Page>— the dropletsign-inbody verbatim (open ceremony window onopen-your-dashboard,enrol-pending,registerPassword,credential-enrolled,loginWithPassword(... 'E2E Drive', LOGO_FIXTURE_PNG, E2E_GREETING),expect(landed).toContain('/ui/apps'),establishAdminDoorSession(page, panel, runDir)); returns the ceremony page.export async function assertFilesBrandedLogin(door: string, runDir: string): Promise<void>— fresh Chromium,assertBrandedLogin(fresh, doorPath(door,'/login'), NEXTCLOUD_BRAND,${runDir}/artifacts/nextcloud/login.png),finally fresh.close().export async function assertFilesOidcAdmin(ceremony: Page, door: string, runDir: string): Promise<void>—goto(doorPath(door,'/login')),oidcSignInAsOperator(ceremony, door, runDir, OPERATOR_PASSWORD),assertOperatorIsAdmin(ceremony, door).export async function assertFilesBrandedChrome(dash: Page, door: string, runDir: string, ssh: (remote: string) => Promise<{ code: number; stdout: string; stderr: string }>): Promise<void>— wrapssshinto theoccthunk (throws oncode !== 0with the droplet's message shape), callsassertBrandedChrome(dash, occ, door, nextcloudChromeBrand(),${runDir}/artifacts/nextcloud/branded-chrome.png).export function assertPublicFilesDoor(door: string, apex: string): void— the dropletdoorleg's host/port check (throws the DDR 0165 message).Consumes: everything from
fixtures/ceremony.ts,fixtures/provision.ts,fixtures/wizard.tsnamed above.Step 1: Failing fixture test (
nextcloudTail.test.ts) — the pure parts:Step 2: Run, expect FAIL (module missing).
Step 3: Write
nextcloudTail.ts— move the droplet bodies VERBATIM (comments included) into the functions named in Interfaces.assertPublicFilesDoor:Step 4: Run, expect PASS.
Step 5: Re-point
journey.droplet.spec.ts.sign-inbody →ceremonyPage = await signInOperator(live, panel);.doorbody →door = await readFilesDoor(dash, apex); assertPublicFilesDoor(door, apex);.branded-login→() => assertFilesBrandedLogin(door, live.runDir).oidc-admin→() => assertFilesOidcAdmin(ceremonyPage!, door, live.runDir).branded-chrome→() => assertFilesBrandedChrome(dash, door, live.runDir, (remote) => sshDroplet(ip, remote, 30_000)). Leg names,runRecordedLegwrapping, comments above each leg: unchanged. Drop now-unused imports.Step 6: Verify byte-identical legs —
grep -n "journey: " app/tests/e2e/journey.droplet.spec.tsbefore/after: the same 15 leg names in the same order;pnpm --filter app build;pnpm exec vitest run tests/e2e/fixtures/; rootpnpm lint.Step 7: Commit —
e2e: phase 9 — the droplet journey's Nextcloud tail (sign-in, branded-login, oidc-admin, branded-chrome, the DDR 0165 door check) moves into fixtures/nextcloudTail.ts; the droplet legs stay byte-identical by leg list (#851 discipline).swarm-claim host=bens-mac-04 run=24539
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1487 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope