Operating
Run and monitor the autonomous agent pipelines on a fleet of container nodes.
Quick start
Section titled “Quick start”- Install a node — bring up a container with the scheduler and supporting services
- Configure — tell the node which repositories to scan and how to behave
- Run and pause — operate the switch, enable standby, manage usage limits
- Watch — monitor the dashboard, logs, and multi-node state sharing
- Diagnose by symptom — troubleshoot when something goes wrong
- Change a node — roll images, update config, remove nodes
How the pipelines work
Section titled “How the pipelines work”The system runs three independent pipelines:
- Implementation pipeline (
agent-cycle.sh) — selects work items and launches Implementer, Reviewer, and other stages. Runs on a schedule (default every 15 minutes). - Repository-review pipeline (
review-cycle.sh) — conducts full project reviews of configured repositories, filing tech-debt and improvements. Runs once per repository per week by default. - Pipeline Monitor (
monitor-cycle.sh) — reads the other two, detects patterns, files mechanical findings, and proposes tactical decisions. Runs once daily and after pager alerts.
All three respect:
- The disable/drain switch (one switch, affects all pipelines)
- The usage-limit stand-down (shared across all nodes)
- Per-node roles (active runs unattended, standby does not)
The node
Section titled “The node”A node is one Compose project running the scheduler and supporting services. Every node:
- Runs the image (agent-ops is the image, not a checkout)
- Holds
.envandconfig.json - Has
state_dir(logs, cycle records, switch state) - Publishes its heartbeat every 5 minutes
- Optionally shares state with peer nodes (logs, blocked items, void verdicts)
Any number of nodes can be active at once. Per-item claims keep them off each other’s work.
Node roles
Section titled “Node roles”Set ROLE=active in .env to run cycles. Any number of active nodes coexist — the system uses per-item claims to avoid double-work and per-node minute offsets to avoid simultaneous cycles.
Standby nodes (ROLE=standby or omitted) do not spend; they still sync state with peers and serve the dashboard. Promoting a standby is one variable change.
The configuration
Section titled “The configuration”Configuration is in config.json and tells the node:
- Which repositories to scan (and which work sources to enable per repo)
- How often to run cycles and what to do at each cycle
- When to stand down for a GitHub rate-limit floor or a usage limit
- Which stages timeout and how long
- Whether to share state with peers via a state repository
See Configure for the essentials. For every key and option, see docs/reference/configuration.md.
Next steps
Section titled “Next steps”- New to this? Start with Install a node
- Something wrong? See Diagnose by symptom
- Want details? Read the specification for your role:
- Implementer stage:
docs/spec/implementation/README.md - Reviewer stage:
docs/spec/review/README.md - Monitor pipeline:
docs/spec/monitor.md - Dashboard:
docs/spec/dashboard/README.md
- Implementer stage:
Data handling
Section titled “Data handling”Before deploying a new node, understand what data the pipeline reads, stores, and retains. See docs/DATA-HANDLING.md.