/storm:outline
Phase 2 of the STORM pipeline. Drafts an outline from the model's parametric knowledge, then refines it using the research conversations to reflect what was actually learned.
CRITICAL: Prerequisites
- Load
storm-enginevia the Skill tool. research/sources.jsonMUST exist (phase 1 complete). If absent, stop and instruct the user to run/storm:researchfirst. Do not proceed with a parametric-only outline as the final artifact.
Completion Contract
This phase is complete iff outline.md exists and has ≥2 sections. If --force is not set and it exists, skip and exit early.
Procedure
- Resolve output dir.
- Read
research/conversations.jsonlandresearch/sources.json. Concatenate the conversation histories as the refinement input. - Draft — generate
outline-draft.mdfrom parametric knowledge alone. This is the model's prior structure for the topic. Use markdown## Sectionheadings. - Refine — reorganize the draft using the conversation history: merge redundant sections, add sections for material the research surfaced that the draft missed, drop sections the research did not support. Write the result to
outline.md. - Mark "Introduction", "Conclusion", "Summary" sections as placeholders if present — they are filled in the
polishphase, not here. - Verify
outline.mdhas ≥2 sections. Updaterun-config.json:phases.outline = "completed", section count.
Output
Report: number of draft sections, number of refined sections, sections added/removed during refinement, and the path to outline.md.