2026-03-03 19:26:43 -08:00
# Next Session: v5 Skill Validation + Full Critique
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
## Objective
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
Do **not** implement new features first. Use this session to pressure-test the finished `beadboard-driver` v5 skill end-to-end, critique it hard, and produce a prioritized fix list.
2026-03-03 18:41:47 -08:00
---
2026-03-03 19:26:43 -08:00
## Scope
Validate and critique all of:
- `skills/beadboard-driver/SKILL.md`
- `skills/beadboard-driver/project.template.md`
- `skills/beadboard-driver/references/*.md`
- `skills/beadboard-driver/scripts/*.mjs`
- `skills/beadboard-driver/scripts/lib/driver-lib.mjs`
- `skills/beadboard-driver/tests/*.contract.test.mjs`
- `tests/skills/beadboard-driver/*.test.ts`
2026-03-03 18:41:47 -08:00
---
2026-03-03 19:26:43 -08:00
## Ground Rules
1. Treat this as an adversarial review, not a celebration.
2. Evidence before assertions: every finding must cite command output or file evidence.
3. Prefer identifying regressions, ambiguities, missing guarantees, and operator confusion risks.
4. For every critique finding, include a concrete fix proposal.
---
2026-03-03 19:26:20 -08:00
2026-03-03 19:26:43 -08:00
## Session Steps
### Step 1: Context Recovery
```bash
cd /mnt/c/Users/Zenchant/codex/beadboard
git log --oneline -12
bd show beadboard-maf
bd ready
```
### Step 2: Run Full Gates (Baseline)
2026-03-03 18:41:47 -08:00
```bash
2026-03-03 19:26:20 -08:00
npm run typecheck
npm run lint
npm run test
2026-03-03 18:41:47 -08:00
```
2026-03-03 19:26:43 -08:00
Capture exact pass/fail state and any warnings.
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
### Step 3: Run Skill-Local Contract Suite Explicitly
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
```bash
node skills/beadboard-driver/tests/run-tests.mjs
```
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
### Step 4: Manual Runbook Dry-Run Against SKILL.md
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
Walk through SKILL.md steps exactly as written and verify each command exists/is actionable.
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
Required checks:
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
- Preflight commands run cleanly (or fail with useful remediation)
- Mail delegate validation behaves as documented
- Runbook commands use real flags (`--assignee` , slot hook flow, etc.)
- No deprecated command surfaces remain
- `project.md` lifecycle guidance is clear for first vs later agents
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
### Step 5: Documentation Quality Critique
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
Critique every major doc on:
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
- Cold-start clarity (can a new agent execute without guessing?)
- Command accuracy (flags/surfaces real and current)
- Consistency across docs (no contradictions)
- Operational safety (state, mail, evidence, closeout)
- Cognitive load (too verbose vs too vague)
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
### Step 6: Test Coverage Critique
Identify missing coverage, especially:
- Global install assumptions (`bd` , `bb/beadboard` )
- Linux/WSL path discovery edge cases
- Mail delegate misconfiguration and mismatch paths
- `bb-mail-shim` lifecycle and invalid message ID behavior
- `project.template.md` contract assumptions not exercised by tests
### Step 7: Produce Findings Artifact
Create a single markdown report under:
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
- `docs/reviews/YYYY-MM-DD-beadboard-driver-v5-audit.md`
2026-03-03 18:41:47 -08:00
2026-03-03 19:26:43 -08:00
Required report structure:
1. Executive verdict (ship-ready / conditionally-ready / not-ready)
2. Findings by severity (Critical, High, Medium, Low)
3. Evidence per finding (commands + file refs)
4. Proposed fixes per finding
5. Suggested bead breakdown for remediation
### Step 8: Create Remediation Beads
From findings, create actionable beads using:
- `beadboard-<new-epic>.x.x` naming format
- explicit `Scope` , `Out of Scope` , `Success Criteria`
- correct dependency order
### Step 9: Session Closeout
- Update bead notes with evidence summary
- If reusable lesson emerged, create canonical memory bead; otherwise note no new memory
- Update this file (`NEXT_SESSION_PROMPT.md` ) with next concrete action
2026-03-03 18:41:47 -08:00
---
2026-03-03 19:26:43 -08:00
## Deliverable Definition of Done
This session is done only when all are true:
1. Gates executed with captured output.
2. Full skill critique written to `docs/reviews/...` .
3. Remediation bead set created with dependency graph.
4. Clear go/no-go verdict stated with evidence.
2026-03-03 18:41:47 -08:00