feat: add scheduler agent selection script

- Implements `scripts/agent/select-agent.py` to handle daily agent rotation.
- Logic includes round-robin selection with exclusion of locked, completed, and paused agents.
- Supports input from `lock:check` JSON output.
- Robustly handles empty logs and first-run scenarios.
- Verified with unit tests covering basic selection, exclusion logic, and wrap-around.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-27 02:47:26 +00:00
1 parent dd7cc94090
commit 361a3de27a
3 files changed
+113

No files matched your search