drives: app rig — per-identity HOME/XDG roots, AppImage launch on a CDP port, second-instance deep-link hand-off (WKT-DEMO B, plan Task 2) #1838
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.
Reference
Matou/idss#1838
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/appRig.ts(plan Task 2 Step 3, verbatim):instanceDirs,launchArgs(--appimage-extract-and-run --no-sandbox --remote-debugging-port=<port>),launchEnv(HOME / XDG_CONFIG_HOME / XDG_DATA_HOME per identity),spawnApp(underxvfb-run -awhen no DISPLAY and not HEADED; tees the app log),attachCdp(playwrightconnectOverCDP, polls),secondInstanceArgv,deliverDeepLink(spawns the SAME AppImage with the SAME dirs and thematou://…link as argv — Electron's single-instance lock forwards it to the running primary; then pollslocation.hashuntil#/signin(or#/dashboardfor an inbox link) and fails loud naming the last hash). Why argv: matou-app's generated.desktopcarries noMimeType=x-scheme-handler/matouand there is no desktop paste UI (useSigninScanis unused), so argv is the app's only real receive path on Linux.Acceptance
appRig.test.ts(plan Task 2 Step 1, verbatim — incl. the fake-CDPdeliverDeepLinkrace test) green; eslint clean.depends_on: none.
Plan:
docs/superpowers/plans/2026-09-24-wkt-app-drive.md(commitbc1d4ccc) — 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(Drive B). Read the plan header (Global Constraints, Review Focus) first. Drive A's plan/tickets:docs/superpowers/plans/2026-09-24-wkt-founding-drive.md, #1829–#1836.Discipline: TDD as the plan orders it; one commit per task with the plan's subject line; STATUS entry in the same commit; nothing here changes any other target; the founder words are read from the kept bundle into memory only — never logged, never copied.
swarm-claim host=bens-mac-04 run=32049
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1838 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope