drives: journey.wkt-founding — rented IDIP prefix, IDIP Files tail by words, app-pending on the real Coa, coa-ready, descriptor-complete, kept (WKT-DEMO A, plan Task 6) #1834
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
Depends on
Reference
Matou/idss#1834
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?
What
New
app/tests/e2e/fixtures/wktFounding.ts(WKT_FOUNDING_LEGS,wktProfile(env, readFile)— demo profile present, identity idip, files,REHEARSAL_SLUG= folded slug,refuseFakeCoa) + newapp/tests/e2e/journey.wkt-founding.spec.ts(plan Task 6 Step 4 — the whole body is in the plan; it isjourney.rented-services.spec.tswith the kanidm parts replaced). 21 legs:pick-files place-files claim wizard-rent create image-boot point deploy activation founded app-pending services-row hand-off-card dashboard files-healthy door branded-login oidc-admin coa-ready descriptor-complete kept. The afterAll NEVER releases; the founder phrase is zeroed there and lives only in the kept bundle.descriptor-completeasserts/api/configcarriesorganization.aid==community.aidandregistry.id(#1825) andanysync.id(#1807).Interfaces
profile.identity; Task 3runRentedPrefix(..., 'confirm', { identity: 'idip' })→founderPhrase; Task 4waitForCoaReady/coaDownloadsUrl/coaStatusUrl; Task 5writeKeptBundle.Acceptance
wktFounding.test.ts(plan Task 6 Step 1) green;pnpm exec tsc --noEmitand eslint clean on the spec + fixture;pnpm exec playwright test --list tests/e2e/journey.wkt-founding.spec.tslists the one test.runRecordedLegname is inWKT_FOUNDING_LEGS(the afterAll throws otherwise).out_of_scope: firing; Drive B. needs_human_decision: none.
Plan:
docs/superpowers/plans/2026-09-24-wkt-founding-drive.md(commitb8907abc) — the task's steps, exact code, tests and commands live there; this ticket is the work order. Spec:docs/superpowers/specs/2026-09-24-wkt-demo-founding-and-app-drives-design.md. Read the plan's header (Global Constraints, Review Focus) before the task.Discipline: TDD as the plan's steps order it (failing test → red → implement → green → commit); one commit per task with the plan's subject line; STATUS.md dated entry in the same commit; no fake Coa anywhere on
wkt-*; existing targets byte-identical when the new env/markers are unset.session-claim: the coa session takes this one (Ben's ruling 2026-09-24, "start claiming tickets as well"). Assignee is the claim;
ready-for-agentdropped so the swarm skips it. Branchsession/issue-1834stacked on #1847 (Task 2, thewkt-foundingtarget); PR to follow.Ruled by agent under ADR 0174 — veto anytime
Ruling:
ready-for-session(+ existingenhancement).Why: The coa session has claimed this ticket — assignee
benplus thesession-claimcomment above — and deliberately droppedready-for-agentso the swarm skips it, working it assession/issue-1834stacked on the session'''s own in-flight PRs.ready-for-sessionis the truthful state: an interactive agent session executes it, a swarm worker must not. The swarm queue reads onlyready-for-agent(.sandcastle/list-ready-tasks.sh), so this label keeps it invisible to workers exactly as the claim intends, while recording why it is off the queue. Consistent with sibling WKT-DEMO tickets #1836 / #1844.Two-way door: a triage label is reverted by a later label change; this is not on the one-way-door list (no personal credentials, no security-posture widening, no member-facing trust accept, no data destruction, no non-routine spend). The ticket declares
needs_human_decision: none; the plan/spec contract underdocs/superpowers/exists on disk; it references no missing UX flow, wireframe, or seam, so it is notneeds-design.Proof: the
session-claimcomment andbenassignee on this issue, plus its native issue-dependencies pointing at the session'''s own (now-landed / in-flight) PR branches.Collision: triage re-ruled this
ready-for-sessionat 19:42Z and the bens-mac-04 session runner (run 2950709, unattendedclaude -p, 2 h timeout) claimed it at 19:53Z — while the interactive coa session's PR #1851 for the same task is open. The runner session pushes to main itself, so a label cannot divert it now. Whoever lands second must reconcile against the other (close the duplicate). Not killed — Ben's call. — coa session8526b98bClose report — landed (WKT-DEMO Drive A, plan Task 6)
Landed on
mainas0d332f92(LANDING=push; nolanding-prlabel, no app-report origin — a two-way, revertible, unit-provable change).Built:
app/tests/e2e/fixtures/wktFounding.ts—WKT_FOUNDING_LEGS(the 21-leg verdict universe, ending atkept, neverrelease) andwktProfile(env, readFile)(demo profile present →idipaxis →files→REHEARSAL_SLUGfolded towkt-demo→refuseFakeCoa).app/tests/e2e/journey.wkt-founding.spec.ts—journey.rented-serviceswith the kanidm tail replaced by the IDIP Files tail (words, not passwords): rented prefix viarunRentedPrefix(..., 'confirm', { identity: 'idip' })(#1831), the tail signs in with the twelve founder words, andapp-pending/coa-ready/descriptor-completeread the REAL Coastatus.json(#1832) and the descriptor from outside (/api/configorganization.aid==community.aid+registry.id#1825;anysync.id+ space ids #1807).afterAllNEVER releases, zeroes the founder phrase (kept-bundle 0600founder-wordsonly, #1833 / ADR 0195 widened), and pins every recorded leg toWKT_FOUNDING_LEGS.app/tests/e2e/fixtures/wktFounding.test.ts— the two guard tests (leg shape; profile guards).Proof (all green here):
pnpm exec vitest run tests/e2e/fixtures/wktFounding.test.ts→ 2/2 pass.pnpm exec tsc --noEmit -p tsconfig.json→ no errors in the spec/fixture/test (the 3 pre-existing repo errors —AppUpdateSurfaceinsrc/bootstrap.ts+tests/unit/appShell.test.ts, andtests/unit/foundingPage.test.ts:287— are onorigin/mainuntouched by this work; filed as a follow-up).pnpm exec eslintclean on the spec + fixture + test (and the pre-pusheslint .gate passed for the whole repo).pnpm exec playwright test --list(with the demo env +OC_E2E_SPEC=journey.wkt-founding.spec.ts) lists exactly one test.runRecordedLegname is a member ofWKT_FOUNDING_LEGS(theafterAllthrows otherwise).Faithful deviations from the plan's literal Task 6 body (to hold the eslint-clean acceptance and avoid stranding the app), noted for review:
completeRecoveryCeremony(used only insiderunRentedPrefix, not directly here), the unusedbrandlocal, and the write-onlyreservedSecret(theafterAllnever releases, so it is never read) — all of which would otherwise failno-unused-vars.r.leg(the actualLegRecordfield; the plan wroter.name).afterAllharvests viaharvest(live, journeyEvidence(legRecords))(the siblingjourney.rented-servicespattern) rather than the plan'sharvest(live, testInfo), guards it, and closes the app in afinallyso a fire cannot strand the Electron process. Semantics unchanged: never releases, zeroes the phrase, pins the legs.Not fired here — the live prove-it is plan Task 8 (#1836), out of scope for this ticket.
Ruled by agent under ADR 0174 — veto anytime. Advances WKT-DEMO Drive A; this build task is done and proven offline.