Roles with boundaries
flywheel/stage_contracts.yaml defines checklists, exit gates, lanes,
and forbidden actions for each stage.
Free · Local-first · Built from Flywheel
Base Protocol gives Flywheel a public front door: configured lanes, stage contracts, role files, local commands, and durable records for teams that want AI work to stay inspectable.
Not another app. Not another subscription. Flywheel is a repo-shaped operating model: markdown for humans, YAML and JSON for tools, and shell commands for state you can inspect.
The Point
Chat is good for momentum. Repositories are good for memory. Flywheel puts the
repeatable parts of delivery in files: flywheel.yaml, stage prompts, role
contracts, process docs, backlog lanes, planning notes, approvals, observer reports,
and experience indexes.
The result is not a synthetic company or a productivity cult. It is a small local harness that makes stage ownership, evidence, forbidden actions, and next-state recommendations visible.
The Model
flywheel/stage_contracts.yaml defines checklists, exit gates, lanes,
and forbidden actions for each stage.
Engineering and architecture items move through intake,
ready, active, qa, done,
blocked, and archive.
Plans, handoffs, observer notes, approvals, release records, and experience summaries land as markdown, YAML, and JSON.
The human-facing ./fw router wraps stable shell tools while JSON output
gives agents a clean integration surface.
Inside The Harness
flywheel.yaml.Use the default self-contained layout or remap backlog and artifact paths into an existing repository.
stage_contracts.yaml records stage prompts, input and output lanes,
checklists, exit gates, and forbidden actions.
./fw lanes reads configured domains and lane counts without mutating
state. ./fw move synchronizes file location, metadata, and history.
Observer closure produces a human markdown report and a structured JSON sidecar for experience indexing.
Approval, hook, plugin, validation, and doctor commands make local enforcement visible before the next move.
Export planning shows how Flywheel context would map into Codex, Claude, Cursor, or every configured target.
The Workflow
Each stage launches from its own contract, reads explicit input lanes, and writes artifacts plus a next-state recommendation back to disk.
// start with intent
The system captures goals, constraints, risks, and readiness signals before work enters a delivery lane.
./fw launch planning
Staff Directory
The names are lightweight handles over files in flywheel/roles. They
improve routing and handoff quality without overriding the stage contracts, process
docs, or local tools.
// principles
Local files first. Services are optional.
State movement should use local tools when practical, so lane placement and metadata stay synchronized.
Every handoff should carry evidence, risks, and a next-state recommendation.
Each completed cycle should leave observer records and experience data the next cycle can use.
The Artifact
The repo contains prompts, role files, process docs, templates, lane validators, state movement tools, approval records, hook and plugin surfaces, observer traces, and export planning.