Research-first prototype planning
prototypeworkflowsetup L2★0
siegeon/.prism ↗What it does
Mine PRISM knowledge base then source-dive gaps into a conductor task
Best for
Starting a feature phase when you need instant knowledge synthesis from brain + code to ground the plan before implementation.
Inputs
- · feature: string (required) — what to plan
- · session_id: string (optional) — driving Claude session for task_link_session emission
Outputs
- · PRISM brain/memory findings (sources, confidence)
- · coverage gaps (unanswered questions)
- · PRD-style plan (title, summary, actors, views, constraints, journeys, steps)
- · Mermaid plan diagram (sequence/class/flow)
- · Plan markdown doc (## headings, bullets)
- · conductor task created with plan + diagram
Requires
- · PRISM MCP (brain_search, brain_understand, memory_recall)
- · parallel agent fleet (coverage judge, 1 agent per gap for source dive)
- · conductor task system
Preconditions
- · PRISM brain initialized with project knowledge
- · Feature string non-empty and not a placeholder
- · Project source code accessible for gaps
- · Conductor task system available
Failure modes
- · Feature is placeholder or empty → script throws before spawning agents
- · PRISM brain unavailable → gaps remain high, source dive compensates
- · Gap source file not found → agent reports unavailable, plan proceeds
- · Plan synthesis timeout → partial plan returned with noted gaps
Trust signals
- · PRISM confidence score returned (0-1) — judge coverage quality
- · Coverage judge explicitly lists gaps needing source dive
- · One agent per gap (not batched) for detailed source findings
- · Plan includes file:line seam citations to actual source
- · Mermaid + markdown plan persisted to conductor task for visibility