PM Beads Plan (Strict)
Current Phase
- •BEADS PLANNING (and then AWAITING BEADS APPROVAL)
Purpose
Convert an APPROVED PRD into an executable Beads graph:
- •1 Epic per PRD
- •Atomic child tasks with Definition of Done (DoD)
- •Explicit dependencies (
blocks/blocked-by) - •Human review gate before implementation starts
Paired Support Agents (recommended)
Before locking the task graph, proactively consult:
- •Senior Engineer for dependency correctness and implementation sequencing.
- •Librarian for external constraints (API quotas, platform requirements, compliance notes).
- •Smoke Test Planner output from discovery/PRD for QA task coverage.
Preconditions (hard gate)
Before planning, verify all of the following:
- •PRD path is provided and file exists.
- •User explicitly confirms PRD is approved.
- •PRD
Open Questionssection is empty.
If any precondition fails:
- •STOP.
- •State exactly what is missing.
- •Ask only for the missing prerequisite(s).
- •Do not generate epic/tasks/dependencies yet.
Planning Rules
When preconditions pass:
- •Ensure Beads is initialized (
bd init) if.beads/is missing. - •Epic title format:
- •
<slug> (PRD: <path>)
- •
- •Generate atomic tasks only:
- •each task independently completable
- •no vague "misc/refactor/fix later" tasks
- •Each task must include:
- •clear scope
- •DoD (testable)
- •Dependencies must be explicit:
- •define
blocks/blocked-byrelationships withbd dep
- •define
- •Include a dedicated
Manual QA Smoke Teststask in the epic:- •consumes the discovery/PRD smoke-test plan
- •runs happy/unhappy/regression checks
- •includes browser-based smoke checks when needed
bdui Review Gate (required)
After task graph is generated:
- •Present bdui as the primary visual review.
- •If
bduiis available, instruct to launch it from repo root. - •Always provide fallback list view:
- •
bd list --parent <epic-id> --pretty - •
bd graph <epic-id> --compact
- •
- •Require explicit user response
approvedbefore implementation.
Handoff to Implementation
When user responds approved at this gate:
- •Automatically invoke
$pm-implementwith PRD path and epic ID. - •Do not ask the user to manually run the next command.
- •Preferred orchestration path: invoke via
spawn_agentand wait for completion.
Minimal Repo Bootstrap (only if needed)
- •Ensure
docs/beads.mdexists. - •If missing, create it with these conventions:
- •PRD slug format:
YYYY-MM-DD--kebab-slug - •Epic naming includes slug + PRD path
- •Atomic tasks + DoD + explicit deps
- •
.beads/should be committed to git
- •PRD slug format:
Output Requirements (every run)
Always include these sections, in order:
- •
Current phase: BEADS PLANNINGorCurrent phase: AWAITING BEADS APPROVAL - •
PRD path - •
Epic name - •
Task list (with DoD) - •
Dependency list - •
Human-readable task graph - •
bdui review(with repo link + fallback commands) - •
What I need from you next
Invocation
- •Trigger strongly on
$pm-beads-plan <request>. - •Expect PRD path and approval confirmation.