phase-9 drive: a leg signs the operator into a NON-Nextcloud service (document-archive) through the community door only and asserts the admin surface — #1509 acceptance clause 3; repair + prove Grist on the Whakatōhea demo #1546
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.
Depends on
Reference
Matou/idss#1546
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?
Spec
#1535 — Ben's ruling (2026-09-16): adding a member in the control panel grants them access to every member service the control panel deployed; adding a member as an operator gives them admin access to all services. One community sign-in, every door, no second login, no hidden per-app credential.
Why session
Needs the rented rail on matou-workstation and the demo box's rent-operator key (live doors, host creds) —
ready-for-session, not swarm.Build
app/tests/e2e/fixtures/nextcloudTail.ts-style tail for Paperless: from the operator's community session (thesign-inleg's cookie), openhttps://document-archive.<apex>/, assert no app login form, assert/admin/reachable (superuser) — the legpaperless-ssoafterhand-off-card; DEMO-profile only until the standing drive's service list carries document-archive.whakatohea-demo.idss.nzper the Grist ticket's close-out one-liner and eyeball it with Ben (owner on the org).Acceptance
paperless-sso; GREEN run dir named on the ticket; screenshots eyeballed (a GREEN can be false).Note: the FULL proof (both roles, every door, through the panel, with a redeploy) is #1547; this ticket stays the early one-service leg.
Ruled by agent under ADR 0174 — veto anytime.
What landed (the two-way part — the
paperless-ssoleg)The e2e leg that proves #1509 acceptance clause 3 is built, TDD (red→green), on
mainate2fc7596:app/tests/e2e/fixtures/paperlessTail.ts(nextcloudTail.ts-style):assertPaperlessSso(dash, apex, runDir, operatorPassword)drives the operator's WARM community session — thesign-inleg's ceremony page (dash), i.e. the sign-in cookie, not a fresh browser — tohttps://document-archive.<apex>/. It reuses roleDoors' provenwalkDoorAs(asserts no second login form — reds if Paperless' allauth form ever returns) then the now-exportedassertAdminReached(navigates/admin/, asserts superuser — reds unless Django's#user-toolsrenders for real). So the operator surface is judged single-source with #1547'sdocument-archivedoor row (both ride #1538's OIDC client + superuser reconciler).paperless-sso(acceptance clause 1):demoProfile.tsdemoLegs(services)lands the leg after the whole Nextcloud tail (…→branded-chrome) and beforekept, only when the demo placesdocument-archive— DEMO-profile only until the standingRENTED_SERVICES_LEGSitself carries it. The standing drive stays byte-identical (demoLegs()with no services unchanged).journey.rented-services.spec.ts's demo branch, gated onprofile.services.includes('document-archive').roleDoors.ts:assertAdminReachedexported (no behaviour change) so the paperless leg and #1547'soperator-document-archiveleg share one superuser judgement.Proof (offline):
paperlessTail.test.ts(3) +demoProfile.test.ts(7) +rentedServices.test.ts+rolesProof.test.ts+nextcloudTail.test.tsgreen; the wholetests/e2e/fixturesunit suite 468/468;tscclean on the changed files; the pre-pusheslint .hook passed. Commite2fc7596— "session: #1546 — phase-9 paperless-sso leg …". STATUS.md updated in the same commit.Why human
The rest of the acceptance is one-way-door residue that a session must not self-authorize — relabelling
ready-for-human:kept, no release) — an ongoing-spend box people are invited to, with member-facing brand/name/greeting. No staged demo kit or fire recipe exists on matou-workstation (no~/swarm/proof-1546/, noIDSS_DEMO_*recipe), so founding a second kept community is a member-facing-trust + spend action for Ben to authorize, not a session.whakatohea-demo.idss.nz… eyeball it with Ben (owner on the org)." Requires Ben on the live org.Ready to fire when Ben authorizes: the leg is now in code, and the Whakatōhea kit is already the fixtures' known kit (name "Whakatōhea Demo", operator ben@matou.nz, greeting "Nau mai ki Te Tāwharau o Te Whakatōhea" —
demoProfile.test.ts). A DEMO fire withIDSS_DEMO_SERVICESincludingdocument-archivewill run thepaperless-ssoleg; name the GREEN run dir here and eyeballartifacts/roles/paperless-sso-*.png+artifacts/paperless/admin.png.Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.