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 memory provides three subcommands for managing FlowState’s persistent memory store. On each pipeline run, research findings, strategy assessments, interview decisions, and failure logs are automatically written to memory.db — a SQLite database using FTS5 full-text search with porter stemming. Subsequent runs automatically inject relevant prior knowledge into bridge prompts so research compounds over time.
Subcommands
flowstate memory search— query stored memories by keywordflowstate memory stats— view entry counts by kindflowstate memory clear— delete all stored memories
memory search
Searches the memory store using SQLite FTS5 full-text search with BM25 ranking. Results are returned by relevance, highest first.
Synopsis
Arguments
The search string. Uses porter stemming, so
"streaming" matches entries containing "streams" and "streamed". Passed directly to the FTS5 MATCH expression.Options
Filter results to a single memory kind. One of:
research, strategy, decision, tool_run, insight.Maximum number of results to return.
Project root directory. Reads
memory.db from this path.Output
Results are displayed as a Rich table with the following columns:| Column | Description |
|---|---|
| ID | 12-character hex identifier for the memory entry |
| Kind | Memory kind: research, strategy, decision, tool_run, or insight |
| Summary | Short summary of the memory entry |
| Score | BM25 relevance score (higher = more relevant) |
| Source | Source label (e.g., research_adapter, interview) or --- |
No memories matching '<query>'.
Examples
Search all memories for Kafka-related content:memory stats
Shows a count of stored memories broken down by kind, with a total row at the bottom.
Synopsis
Options
Project root directory. Reads
memory.db from this path.Output
Example
memory clear
Deletes all entries from the memory store. Asks for confirmation unless --yes is passed.
Synopsis
Options
Skip the confirmation prompt and delete immediately.
Project root directory. Modifies
memory.db in this path.Output
On success:Examples
Clear with interactive confirmation:Memory kinds
| Kind | When stored |
|---|---|
research | After a Research adapter step completes; artifact split by ## headings |
strategy | After a Strategy adapter step completes; artifact split by ## headings |
decision | Interview answers (core_problem, ten_x_vision, architecture_pattern, research_focus) |
tool_run | When any pipeline step fails; stores the error for future reference |
insight | Reserved for future use |