Getting started
sh
cargo install --git https://github.com/9aia/sturn sturn
cd your-repo
sturn initinit writes a sturn.toml and confirms the ref namespaces. From here, workspaces are the unit of parallel work:
sh
sturn ws new agent-7 # refs/sturn/ws/agent-7 → HEAD. No checkout.
sturn ws lsAppend ops to the workspace's log:
sh
echo 'fn helper() { 42 }' | sturn write src/lib.rs --ws agent-7 --intent "add helper"
sturn claim "src/**" --ws agent-7
sturn log --ws agent-7 # JSONL replay of the WALLand the work as an ordinary commit:
sh
sturn snap agent-7 -m "add helper" # ops → real commit on main
sturn push # heads + refs/sturn/* → originRun the coordination daemon so other actors see ops live:
sh
sturn daemon # WAL → repo.<id>.{ops,claims,review,presence}
sturn deploy service # systemd user unitNext: your first swarm.