Skip to content

primitives

Douwe de Vries edited this page Jul 2, 2026 · 1 revision

Primitives

Active contributors: ddv1982

Flow's core primitives are the session ledger, plan and feature model, and validation and review evidence model. They are defined in src/runtime/schema.ts and enforced by src/runtime/transitions.ts.

Primitive map

Primitive page What it covers
Session, plan, and feature The durable session and feature state model.
Validation and review Completion evidence, feature reviews, and final reviews.

Why these are primitives

Session, Plan, Feature, ValidationRun, Review, and FinalReview appear across runtime API handlers, transitions, workspace persistence, tests, and skills. They are the common vocabulary between OpenCode commands, hidden workers, and the persisted .flow/session.json file.

Related pages: Schema and JSON, Flow loop, and Data models.

Clone this wiki locally