Daily driver loop
The recommended local workflow for developing and operating Castellan.
Loop
castellan multiplexer ensure → castellan dashboard → castellan run → castellan evolve → ./scripts/verify.sh
- Multiplexer —
castellan multiplexer ensurestarts the in-tree PTY server (~/.config/castellan/castellan.sock). - Dashboard —
castellan dashboardopens the ratatui control tower (agents, pressure, pane tree). Writes~/.config/castellan/statusline.jsonfor MCP observability. - Run —
castellan run --goal "…" --plugin gridworld(scheduler) or--rlm(verify/act loop with mux pane topology). - Evolve —
castellan evolve --episodes 16 --workspace .castellan/episodesmutates topology from episode corpus. - Verify —
./scripts/verify.shbefore every PR (fmt, clippy, hack, tests, smoke benches, dashboard + socket e2e).
Headless CI parity
CI runs the same smoke surface without a TTY:
cargo test -p castellan-dashboard --test integration
cargo test -p castellan-multiplexer --test socket_integration
castellan run --goal "reach target" --plugin gridworld --rlm
Remote / SSH
castellan remote --goal "reach target" --plugin gridworld
castellan herd attach --session my-work