FlowGrid is not meant to replace Codex, Claude, OpenClaw, Hermes, or any other AI agent work product.
It gives those hosts a local project-state context layer for rationale-heavy, non-coding business projects.
The intended model is:
- natural language is the user interface
- the AI host decides when to call
flg - FlowGrid writes durable project state with explicit status and evidence
- FlowGrid generates bounded startup context for later agents
- FlowGrid preserves judgment status and evidence references
The user should feel:
- my project state is being kept in sync
- I can come back later without re-explaining everything
- important judgments are captured with reasons and status
- rejected directions do not keep coming back without new evidence
- a later agent can continue from the project state instead of reconstructing history
The user should not feel:
- I am learning a new command-line tool
- I must manually maintain a project accounting system
- every session starts from scratch
FlowGrid currently fits best as a host-integrated workflow in:
- Codex
- Claude / Claude Code
- OpenClaw
- Hermes
- any AI agent work product that can read files and run shell commands
It is not optimized around the assumption that end users will operate the CLI directly all day.
An AI host integrating FlowGrid should do six things well.
FlowGrid closeout should ingest:
- raw meeting notes
- raw transcripts
- raw discussion logs
.flg/sessions/files
Preserve speaker labels when the source has them (for example User: and
Assistant:). Background review uses these labels to distinguish a user or
client commitment from an agent-authored proposal.
The host should not feed interpreted ledger files back into closeout by default:
PROGRESS.mdSNAPSHOT.mdDECISIONS.mdREADME.md
Those files already represent interpreted project state.
The host may discuss broadly with the user, but should call flg when it is time to:
- initialize
- frame
- close out
- review
- merge
- generate context
- retrieve evidence
- resume
The host must not turn routine ledger maintenance into a user-facing approval ceremony. It should silently adopt clear, well-supported judgments only when their source explicitly identifies a user or client commitment. It must keep agent-authored, unattributed, ambiguous, or shell candidates pending with their evidence.
Expected sequence:
raw session -> closeout -> background review -> background merge -> context
The host should distinguish:
- confirmed decisions
- pending judgments
- assumptions
- rejected alternatives
- superseded judgments
- needs-recheck items
The host should not treat pending judgments as confirmed decisions.
The host should not revive rejected alternatives unless new evidence exists.
When resuming a project, the host should prefer Context Pack over raw session replay.
Target command:
flg context --mode resume --budget 4000Target output:
.flg/context/startup.md
The Context Pack should tell the receiving agent:
- what the project is trying to prove
- what has been confirmed
- what is pending
- what assumptions are active
- what has been rejected
- what has been superseded
- what should happen next
- where evidence can be retrieved
When the user asks why a judgment was made, the host should retrieve evidence instead of inventing rationale.
Future commands:
flg evidence <decision-id>
flg trace <decision-id>User says:
- “Start a new campaign project with FLG.”
- “Create a FlowGrid project for this client proposal.”
- “Set up FLG for this mechanism design project.”
Host should call:
flg init "Project Name" --template proposalUser says:
- “Before we write the proposal, help me clarify the framing.”
- “Check what this project is still missing.”
- “What exactly does this plan need to prove?”
Host should call:
flg frameThe host should pay special attention to:
- review object
- proof object
- current deliverable
- constraints
- open questions
User says:
- “Close out this session.”
- “Turn this meeting into a patch, don’t overwrite the ledger yet.”
- “Extract what changed from this discussion.”
Host should call closeout on the raw transcript:
flg closeout --transcript path/to/raw-session.mdExternal raw transcripts are automatically copied under .flg/sessions/. Use
flg session save first only when a stable custom archive filename is needed.
For a remote provider, the host must obtain explicit user authorization and
then pass both --llm <provider> and --allow-remote-llm. Configured API keys
do not opt a project in automatically.
Host should:
- save raw session notes or transcript under
.flg/sessions/ - call:
flg closeout --transcript .flg/sessions/<session-file>.mdThe host normally performs this without interrupting the user. It first runs an internal, non-writing quality gate:
flg review --patch <patch-file> --report-onlyThen it processes eligible candidates in the background:
flg review --patch <patch-file> --autonomousOnly rich candidates with explicit user/client attribution are adopted into the ledger with their source evidence. Agent-authored, unattributed, shell, or ambiguous candidates remain pending and must not drive an irreversible external action. Candidate risks and next actions remain in the patch until a separate confirmation path exists.
The host then completes routine ledger maintenance without a prompt:
flg merge --patch <patch-file> --yesUser says:
- “I’m back, help me pick this project up again.”
- “Recover the current project state before we continue.”
- “Give the next agent the right context.”
Host should call:
flg context --mode resume --budget 4000Then the host should read:
.flg/context/startup.md
If flg context is not available yet, the host should fall back to:
flg status
flg handoffand read:
SNAPSHOT.mdFRAMING.mdDECISIONS.mdGOAL_EVOLUTION.mdANCHORS.md- active pending patches
User says:
- “Why did we decide this?”
- “Where did D-002 come from?”
- “Show me the source behind that judgment.”
Host should call, when available:
flg evidence D-002
flg trace D-002If evidence commands are not available yet, the host should inspect:
DECISIONS.md- source patch in
.flg/patches/ - source session in
.flg/sessions/ - merge logs when available
For a real first-time user inside Codex / Claude / OpenClaw / Hermes:
- Choose a real fuzzy business project.
- Initialize with a task-mode template.
- Clarify review object and proof object.
- Work naturally in chat.
- Save the session to
.flg/sessions/. - Run
closeout. - Review candidate judgments.
- Merge accepted project state.
- Generate Context Pack.
- Return later and resume from Context Pack.
- Retrieve evidence for at least one decision.
If that flow works, the user has experienced FlowGrid as intended.
Hosts should avoid these failures:
The host reads an entire transcript and starts summarizing instead of using reviewed project state.
The host treats candidate judgments from patches as formal decisions.
The host re-suggests a direction that was already rejected without new evidence.
The host relies on an old judgment that a later decision replaced.
The host explains a decision with plausible reasoning that is not supported by project evidence.
FlowGrid should be described as:
a local project-state context engine for rationale-heavy, non-coding business projects
The CLI is the execution surface.
The deeper product is the agent-state contract that different AI hosts can call into.