What changed
The controller owns the order
kflow is a state machine that the controller owns. Language models are replaceable workers that talk to it only through files, and the controller decides the order of steps, the retries, the gates and when to stop. The model can be swapped without changing the process.
Grounding before code
Before anything is written, the controller pastes the repository’s real file list into the prompt, and every path the model names must exist. A person approves the brief, the acceptance criteria and the plan before the implementation starts.
The controller is the only writer
The model proposes each slice of the plan; the controller writes the files, reverts anything outside the slice’s allowed set, runs the slice’s verification and records the evidence. A failed check feeds a fix loop that resumes from the reason it failed, not from scratch.
Review, then a human gate
Several read-only reviewers look at the result in parallel, and a ledger records their findings by severity. Accepting a task is a person’s decision, and the tools have no path to push code anywhere.
What a change touches
Alongside the workflow, an analysis shows which parts of the code a change touches and which tests cover it, and a data model keeps facts, assumptions and approvals apart. Both tools ran on a real pilot project.
The path of a change
- Task
- Grounding What a change touches and which tests cover it
- An agent writes the code The controller is the only writer
- Review Facts, assumptions and approvals kept apart
- Human approval
Problem
When agents write the code, it is hard to see what changed, what a change affects and what has been checked before approval.
Value
You can check the agents’ work step by step before accepting it, and the language model can be swapped.
Written from this project
Role
Designed agent workflows, command-line tools, change-impact analysis and approval steps. Coding agents implemented most of the code.
- Analysis of what a code change touches and which tests cover it.
- A data model that keeps facts, assumptions and approvals apart.
- VibeOS and kflow used on a real pilot project.
Sources
- MomoOS, latest change
- kflow, latest change
- Product Lab v7 accepted
- VibeOS operator compatibility release