Documentation Index
Fetch the complete documentation index at: https://mintlify.com/8BitTacoSupreme/flowstate/llms.txt
Use this file to discover all available pages before exploring further.
flowstate context reads the current flowstate.json and regenerates all five context files from your saved interview answers without re-running research, strategy, or any other pipeline step. It is the fastest way to apply manual edits to your project state — edit flowstate.json directly, then run flowstate context to propagate your changes.
Synopsis
Options
Project root directory. Context files are written relative to this path.
Context files generated
flowstate context always writes all five files, creating parent directories if they do not exist:
| File | Consumer | Content |
|---|---|---|
.planning/PROJECT.md | GSD | Project name, problem statement, 10x vision, architecture pattern, test coverage target, milestones |
.planning/ROADMAP.md | GSD | Phase-by-phase breakdown generated from the milestones list, each with goal, deliverables, and acceptance criteria fields |
.planning/config.json | GSD | Workflow preferences: mode, granularity, auto_commit, verification |
.claude/CLAUDE.md | All tools | Project context summary: problem, vision, architecture, active tools, and a pointer to the roadmap |
research/brief.md | Research adapter | Structured research questions split by topic from research_focus, with architecture context |
When to use
- After editing
flowstate.jsonmanually — changecore_problem,milestones,architecture_pattern, or any other interview field and regenerate without a full re-run. - After changing project preferences — update the project name or model preferences in state, then refresh context files.
- To reset context for a new phase — if you have updated milestones or pivoted scope, regenerate to reflect the new direction before running
flowstate launch gsd. - To repair missing files — if a context file was accidentally deleted,
flowstate contextrecreates it from state without any LLM calls.
Example output
Example
Regenerate from the default project root:Notes
- Context generation is deterministic and runs in under one second. No
claudeCLI calls are made. flowstate contextis equivalent to step 1/5 offlowstate initrun in isolation.- The
research/brief.mdfile is consumed by the Research adapter on the nextflowstate initrun; regenerating it here means the next research run will reflect any changes toresearch_focusorarchitecture_pattern.