Expand description
Core team daemon: poll loop, lifecycle coordination, and routing.
TeamDaemon owns the long-running control loop for a Batty team session.
It starts and resumes member agents, polls tmux-backed watchers, routes
messages across panes, inboxes, and external channels, persists runtime
state, and runs periodic automation such as standups and board rotation.
Focused subsystems that were extracted from this file stay close to the daemon boundary:
mergehandles engineer completion, test gating, and merge/escalation flow once a task is reported done.interventionshandles idle nudges and manager/architect intervention automation without changing the daemon’s main control flow.
This module remains the integration layer that sequences those subsystems inside each poll iteration.
Structs§
- Daemon
Config - Daemon configuration derived from TeamConfig.
- Team
Daemon - The running team daemon.