marcinmilewicz/volante-kit
About
A deterministic software factory loop for Claude Code - same steps, same queue, same gates in every repo; one dashboard across your machines.
Developer ToolsMeasured star growth
- in 24h
- Collecting history
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originalvolante-kit
A deterministic software factory loop for Claude Code.
Same steps, same queue, same gates in every repo - and one dashboard across your machines.
Website · Live demo · Architecture · Queue format · Changelog
npx volante-kit init # in your repo: the skills, generated from one core
npx volante-kit-ui --open # the dashboard over all your queues
An agent at work, live in the dashboard (sample data) - try the live demo.
How it works
A plan becomes a queue of small tasks. Each task is built by a fresh subagent, committed, and checked by your gates - red ones come back as fix tasks.
Three skills do the work:
spec-prepturns a plan, a spec or a conversation into a queue: specsNN-*.mdsplit into small tasks, plusstate.yaml- the state of the queue and the only memory between runs.spec-batchworks through a queue like a production line. Every task goes to a freshspec-runsubagent that writes code and tests, and the main session accepts each result. The gates (typecheck, lint, tests - whatever the repo has) run once at the end of the run; a red gate becomes afixtask for the task that caused it.spec-rundoes exactly one task in one context: load only that task, do it, record the state, commit, stop. It also runs by hand, or headless (spec-run-loop.sh: oneclaude -pper task, the gates at the end).
One /spec-batch run: tasks go to subagents one by one, the gates run once, a red gate becomes a fix task.
An illustration of a session, not real output.
Why a loop, not a prompt
- Deterministic - the same steps every run, the queue as the only memory, nothing left to the agent's mood.
- Every repo - one core, generated into each project;
checkcatches a hand edit. - Every machine - one dashboard follows the laptop and the homelab, over Tailscale or SSH.
Requirements
Node 22 or newer, git and Claude Code, on Linux or macOS. Windows is not supported: the headless loop is a bash script and nothing is tested there (WSL is Linux and works).
Getting started
1. Install the CLI
The generated skills are committed in each project, so using them needs nothing installed. You need the CLI only
to create or update the copies (init, sync, check, migrate). It is on npm and has no dependencies:
npx [email protected] init # nothing to install: npx fetches it once and caches it
npm install -g volante-kit # or put `volante-kit` on your PATH
volante-kit --version
Pin the version with npx ([email protected]): every machine then generates the same copies, and check does not
see a newer kit than the one in kit.lock. Update a global install with npm install -g volante-kit@latest.
2. Add the kit to a project
cd ~/dev/my-project
volante-kit init # writes .volante-kit/config.json (+ an empty addendum.md) with detected values
$EDITOR .volante-kit/config.json
volante-kit diff # what sync would create or change - writes nothing
volante-kit sync # generates the skills and kit.lock
git add .volante-kit .claude && git commit -m "chore(volante-kit): 0.8.0"
init detects:
paths.skills-.agents/skillsif the repo keeps its skills there (link it for Claude Code withln -s ../.agents/skills .claude/skills), otherwise.claude/skills.rules_file-AGENTS.md, orCLAUDE.mdwhen only that exists.verify.gatesfor the repo's stack:- Node:
typecheck/lint/testscripts in the repo's package manager,tsc --noEmit,nx affected ... --base=<base> - Python: mypy or pyright, ruff, pytest - through
uv runorpoetry run - Rust:
cargo fmt --check, clippy,cargo test - Go: gofmt,
go vet,go test - or the
lint/test/typechecktargets of a Makefile
- Node:
Check at least queue.root (where queues live, default docs/specs), commit.example (how a task commit starts)
and verify.gates.
[!TIP] Run
volante-kit checkin the project's pre-commit hook. It fails when someone edited a generated copy, or changed.volante-kit/without runningsync.
If the repo already has its own spec-* skills, sync stops. Move anything worth keeping into the kit or the
addendum, then volante-kit sync --adopt replaces them.
3. Use the skills
In Claude Code, inside the project:
| Command | What happens |
|---|---|
/spec-prep auth docs/plan-auth.md |
creates the queue docs/specs/auth/ from the document: specs and state.yaml |
/spec-prep auth "add rate limiting to login" |
adds one task to an existing queue |
/spec-batch auth 8 |
runs up to 8 tasks through subagents, accepts each one, runs the gates once, repairs red ones, ends with a report |
/spec-batch |
lists the queues with their ready and waiting tasks, and asks which to run |
/spec-run auth or /spec-run auth T01-03 |
one task in the current session |
bash .claude/skills/spec-run/spec-run-loop.sh auth 5 |
headless: one claude -p per task, then the gates and the repair rounds |
What each command looks like in a session (illustrations, not real output)
/spec-prep - a plan becomes specs, tasks and state.yaml:

/spec-run - one task in one context: tests, state, commit, stop:

Headless loop - one claude -p per task, then the gates:

Your part of the loop
The agents do the tasks; some are left for you.
waitingtasks are yours. Adecision(pick an option), anaction(do something outside the repo), asession(work live with an agent) or acheck(look at something on a device or in production). Write the outcome intonoteand setstatus: done- or run/spec-prep <queue>when it creates work - and the tasks that depend on it start moving again.node .claude/skills/spec-prep/queue.mjs status docs/specs/*/shows what waits.- Verification happens once per run.
spec-batchreports green, or the red gates and the fix tasks it is working through. A gate that was already red before the run is reported and left to you. - Code review is your call.
spec-batchends with a triage verdict (revieworskip); ask for the review when you want it.
[!IMPORTANT] The headless loop cannot ask for permissions. Allow the Bash commands a run needs (git, node, your verification commands) in the project's
.claude/settings.json. Claude Code reads those rules only in a directory you trusted: openclaudein the repo once and accept the trust dialog - on every new clone or machine too - otherwise a run cannot commit and the loop stops.
What a queue looks like
A queue is a directory (the format: docs/FORMAT.md):
docs/specs/auth/
01-login.md spec: goal, map, shared rules, decisions, tasks (### T01-01 ...)
state.yaml every task (id, title, kind, spec, depends_on, status, commit, note)
+ the last gate run
format: 3
verification: { ... } # written by gates.mjs: green or red at <commit>
tasks:
- id: T01-01
title: Login form
spec: 01-login.md
depends_on: []
status: done
commit: abc123456
- id: T01-01a
kind: check
title: The form on a phone
status: waiting
done_when:
- "On an iPhone: the form fits the screen and the keyboard does not cover the button."
The dashboard
volante-kit-ui is a separate package (ui/ here): a local web dashboard over the queues of one repo or of all
your repos.
- what is done and what is next, and what waits for you (with a ready command to close it)
- whether the work passed the gates, commits and run logs
- a live log of what the agents do right now: Claude Code sessions,
spec-runsubagents, the headless loop, gate runs
It only reads the repo, except that you can mark a user task done (a commit of state.yaml) and remove a queue - a
git commit you can undo. Details: ui/README.md.
cd ~/dev/my-project
npx volante-kit-ui --open # or: npm install -g volante-kit-ui, then volante-kit-ui --open
Always on, on your tailnet, with your other machines' projects next to this one's:
npm install -g volante-kit-ui
volante-kit-ui service install --tailscale # systemd / launchd + tailscale serve; prints the address
# on the other machine: the line this one printed
volante-kit-ui remote add mac https://my-mac.tail1234.ts.net:4317
volante-kit-ui service status
Step by step for a Mac and a Linux box on one tailnet, and for SSH only: ui/README.md.
Configure a project
Everything a project can change is in .volante-kit/config.json. The full list with defaults is
config.schema.json, and examples/ has complete setups. Unknown keys are an
error - a project cannot add its own settings or steps.
All settings
| Key | Default | Meaning |
|---|---|---|
format |
(required) 2 |
queue format version |
queue.root |
(required) | directory of the queues, e.g. docs/specs, .scratch |
queue.example |
(required) | an example queue name for argument hints |
queue.unit |
queue |
what the skills call one queue: queue or feature |
queue.committed |
true |
false: the queue is local (e.g. git-ignored) and only code is committed |
queue.cross_deps |
false |
allow dependencies on other queues as <queue>/<id> |
commit.example |
(required) | pattern for the first line of a task commit |
commit.docs_scope |
docs(<area>) |
prefix of commits with queue files only |
commit.coauthor |
false |
end task commits with Co-Authored-By: <model> |
language.content |
English |
language of queue files and commit messages, e.g. Polish |
rules_file |
AGENTS.md |
the repo rules the skills refer to |
paths.skills / paths.agents |
.claude/skills / .claude/agents |
where the copies go |
branch.mode |
current |
per-queue: spec-batch switches to <branch.prefix><queue> |
verify.mode |
run |
run: tasks write tests, the gates run once at the end of the run; spec: also at every spec boundary; task: every task runs the gates |
verify.gates |
[] |
[{ "name": "test", "run": "pnpm test", "fix": "..." }] - the repo's checks; <base> in run = the commit the unverified work starts at |
verify.final |
[] |
heavier gates once at the end, after the gates are green (pre-PR, e2e, build) |
verify.parallel |
false |
run the gates at the same time |
verify.retry |
true |
run a red gate once more; green the second time = flaky, reported, no fix task |
runner.model |
opus |
model of the spec-run subagent (opus, sonnet, haiku, fable, inherit) |
runner.extra_tools |
[] |
MCP tools the subagent may use (mcp__server__tool) |
readonly_paths |
[] |
directories outside the repo that tasks may read but never change |
review.base |
origin/main |
base for the code review scope |
Repo-specific rules that no setting covers go into .volante-kit/addendum.md. It may contain only these sections,
at most 60 lines each, and their text is appended at a fixed place in the core:
# my-project - volante-kit addendum
## Hard rules
- No `npm run deploy`, no writes to the production database.
## Verification
- SQL changes: also `npm run test:db` for the changed migration at the gate run.
## Acceptance
- The task commit contains no `.env` or `out/`.
## Review
Sensitive files: `server/auth/**`, `server/billing/**`.
Keep many repos in sync
Change the kit, never a copy. Edit
core/, runnpm test, preview on real repos withvolante-kit diff <repo>, bump the version anddocs/CHANGELOG.md. Then, in every project:for repo in ~/dev/project-a ~/dev/project-b; do volante-kit sync "$repo"; doneReview
git statusin each one and commit it aschore(volante-kit): X.Y.Z.Found a better rule while working in a project? Put it into the kit (or, if it really is specific to that repo, into its addendum), then
sync. A hand edit of a generated file is caught bycheckand blockssync.Another machine needs only
git pullof the project to use the skills. Install the CLI there only if you also runsync/checkfrom it.No global config, on purpose. The copies must be reproducible from what is committed in the repo, or
checkwould fail on the next machine. A setting every repo needs becomes a default (or a rule) in the kit.
Under the hood
The kit is a zero-dependency Node CLI. It renders the skills from core/ with each repo's
.volante-kit/config.json, writes them into the repo, and records their hashes, so a hand edit of a copy is caught.
Made for Claude Code (.claude/skills, .claude/agents). The design: docs/ARCHITECTURE.md.
volante-kit/core/*.tmpl + <repo>/.volante-kit/config.json (+ addendum.md)
| volante-kit sync
v
<repo>/.claude/skills/spec-{prep,batch,run}/ generated, committed, never edited by hand
<repo>/.claude/agents/spec-run.md
<repo>/.volante-kit/kit.lock kit version + hashes of the copies
Commands
volante-kit init [repo] create .volante-kit/ with detected values
volante-kit diff [repo] [--config <file>] [--full] what sync would change (writes nothing)
volante-kit sync [repo] [--adopt] generate the skills, write kit.lock
volante-kit check [repo] [--strict] config valid, copies untouched and up to date
volante-kit lint [repo] [--config <file>] validate every queue of the repo
volante-kit migrate [repo] [--write] queues and config, format 1 or 2 -> 3
volante-kit migrate --config <file> [--write] migrate only a config file and its addendum
volante-kit render <config.json> <dir> render the files into a directory (preview)
repo defaults to the current directory. --config lets you try a config that is not in the repo yet. migrate
without --write is a dry run.
Upgrade from an older format (kit 0.1-0.3)
0.4.0 moved the queue to state.yaml (format 3): state.md rows become task entries, Decision:/User:/
Session: prefixes become kinds, the open items of checks.md become check tasks, and verify commands become
named gates. A format 1 repo (kit 0.1-0.2, Polish keywords) goes through both steps at once. Titles and notes are
not translated.
volante-kit migrate ~/dev/my-project # dry run: every file it would change
volante-kit migrate ~/dev/my-project --write # originals go to .volante-kit/migrate-backup-<time>/
volante-kit lint ~/dev/my-project
volante-kit sync ~/dev/my-project # regenerate the skills, then review and commit
The migrated config keeps the verification you had (verify.mode spec or task); set "mode": "run" to run
the gates once per spec-batch run. A table row with the wrong number of cells stops that queue - fix it and run
migrate again. Any other tool that reads queues (an importer, a dashboard) has to understand format 3 before you
migrate the repos it reads. The full mapping is in docs/FORMAT.md.
Contributing
Bug reports and focused pull requests are welcome. How to run the tests, the rules for changes, the end-to-end
run, the website and releases: CONTRIBUTING.md. Every change goes into
docs/CHANGELOG.md.
License
MIT - see LICENSE.
Explore related projects
Loading…