5.9 KiB
Next Session: Power Through [EPIC] Global BeadBoard Installer + Runtime Launch (beadboard-05a)
Mission
Complete beadboard-05a end-to-end with strict TDD and evidence-first closeout.
This epic implements a single cross-platform BeadBoard installer system (Windows/Linux/macOS wrappers over one shared contract), global bb/beadboard command availability, runtime launcher behavior, and driver-skill detection-only remediation messaging.
Non-Negotiable Context
- BeadBoard global install is for humans/operators.
- Driver skill does not install BeadBoard; it only checks install/discovery and proceeds.
- Bead hierarchy in this epic must stay
beadboard-05a.x(.x)style. - Use
bdas source of truth; no direct JSONL writes. - Evidence before completion claims.
First 10 Minutes (Start From Scratch)
Run exactly:
cd /mnt/c/Users/Zenchant/codex/beadboard
# 1) Read hard memory / contract memory
bd show beadboard-116 beadboard-60a beadboard-zas beadboard-6fv beadboard-at4
# 2) Load recent context
bd query "status=closed" --sort closed --reverse --limit 20
bd ready -n 25
# 3) Inspect epic + task tree
bd show beadboard-c70 beadboard-05a
bd dep tree beadboard-05a
# 4) Create your session agent bead and claim work
bd create --title="Agent: <role-name>" --description="Own beadboard-05a execution" --type=task --priority=0 --label="gt:agent,role:orchestrator"
bd update beadboard-05a --status in_progress --assignee <your-agent-bead-id>
Required Skills To Use
Use these skills explicitly during implementation:
using-superpowersbeadboard-drivertest-driven-developmentverification-before-completionlinus-beads-disciplinewriting-plans(if you need to re-slice tasks before coding)
Latest Closed Beads (Most Relevant)
Recent close context that matters here:
beadboard-x1y- Hide Closed regression fix (epic visibility bug)beadboard-om4- [MEMORY] Stale UI parity triage orderbeadboard-cyk- [MEMORY] HideClosed invariantsbeadboard-btt- Driver install check contract + remediation messagingbeadboard-i0q- Global skill project-context contract
Current open execution epic:
beadboard-05a-[EPIC] Global BeadBoard Installer + Runtime Launch
Exact Task IDs For Execution
Work this exact tree:
beadboard-05a.1Installer Contract: canonical manifest + shared semanticsbeadboard-05a.1.1Installer Contract ADRbeadboard-05a.1.2Manifest Schema + Validation
beadboard-05a.2Windows installer wrapperbeadboard-05a.2.1Windows one-liner + PATH contract
beadboard-05a.3beadboard launcher (start/open/status)beadboard-05a.4Linux/mac installer wrapperbeadboard-05a.5Driver detection alignmentbeadboard-05a.6Installer CI + smoke testsbeadboard-05a.7Installer docs + operator quickstart
Execution order is dependency-driven; do not bypass.
Important Files To Read First
Read these before coding:
/mnt/c/Users/Zenchant/codex/beadboard/AGENTS.md/mnt/c/Users/Zenchant/codex/beadboard/skills/beadboard-driver/SKILL.md/mnt/c/Users/Zenchant/codex/beadboard/skills/beadboard-driver/scripts/session-preflight.mjs/mnt/c/Users/Zenchant/codex/beadboard/skills/beadboard-driver/scripts/diagnose-env.mjs/mnt/c/Users/Zenchant/codex/beadboard/skills/beadboard-driver/scripts/resolve-bb.mjs/mnt/c/Users/Zenchant/codex/beadboard/skills/beadboard-driver/scripts/lib/driver-lib.mjs/mnt/c/Users/Zenchant/codex/beadboard/tools/bb.ts/mnt/c/Users/Zenchant/codex/beadboard/scripts/bb-init.mjs/mnt/c/Users/Zenchant/codex/beadboard/package.json/mnt/c/Users/Zenchant/codex/beadboard/docs/adr/2026-02-14-beadboard-driver-skill-and-bb-resolution.md
Also note current state:
install/directory does not yet exist; this epic will introduce it.
Strict TDD Execution Flow (Per Task)
For every beadboard-05a.x task:
bd update <task-id> --status in_progress --assignee <your-agent-bead-id>- Write failing test(s) first.
- Run focused test and confirm red for correct reason.
- Implement minimum code to pass.
- Re-run focused tests (green).
- Run broader relevant suite.
- Record evidence in notes:
- commands run
- pass/fail output summary
- Close only after evidence is recorded.
Do not claim complete without fresh command output.
Verification Gates
Before closing each code-changing bead and before epic close:
npm run typecheck
npm run lint
npm run test
If non-epic unrelated failures appear, cite exact failing file/test in bead notes and proceed transparently.
Implementation Guardrails
- Keep installer architecture unified: one canonical manifest contract + thin OS wrappers.
- Keep skill boundary strict: detection/remediation only, no install side effects.
- Preserve Windows support as mandatory while implementing Linux/mac parity.
- Keep user-facing install/docs copy simple and explicit.
- Do not resurrect deferred legacy tasks (
beadboard-ydu,beadboard-27u, etc.); usebeadboard-05a.xtree only.
Expected Deliverables At Epic Close
- New installer contract + manifest definition.
install.ps1andinstall.shwrappers aligned to the same manifest semantics.- Global
bb+beadboardcommand behavior implemented. beadboardlauncher behavior: start/open/status contract.- Driver detection messaging updated for platform install remediation.
- CI/smoke tests for install/reinstall/failure modes.
- Operator docs with one-liners and runtime command behavior.
bdnotes/close reasons with full verification evidence.
Session Landing Checklist
Before handing off:
bd readyand confirm unblocked next steps are accurate.- Update
NEXT_SESSION_PROMPT.mdwith what changed, verified commands, risks, and exact next task. - Memory review:
- if reusable new rule: create/supersede canonical memory bead
- else add note: "Memory review: no new reusable memory."
- Close your session agent bead.