Steve Yegge
f7393b6cdb
refactor: Remove in-memory swarms map, make Manager stateless
...
The swarm Manager was maintaining an in-memory map of swarms that was
never persisted and duplicated state from beads. This caused stale state
after restarts and confusion about source of truth.
Changes:
- Remove swarms map from Manager (now stateless)
- Add LoadSwarm() that queries beads for swarm state
- Refactor all methods to use LoadSwarm() instead of in-memory lookup
- Discover workers from assigned tasks in beads
- Remove obsolete unit tests that tested in-memory behavior
- Keep type/state tests that do not need beads
The E2E test (gt-kc7yj.4) now covers the beads integration.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2025-12-29 17:12:30 -08:00
..
2025-12-25 02:32:01 -08:00
2025-12-29 14:54:37 -08:00
2025-12-25 02:32:01 -08:00
2025-12-29 15:29:16 -08:00
2025-12-28 17:18:03 -08:00
2025-12-27 16:48:26 -08:00
2025-12-28 16:40:39 -08:00
2025-12-29 15:24:45 -08:00
2025-12-21 00:46:12 -08:00
2025-12-25 11:33:54 -08:00
2025-12-25 23:14:29 -08:00
2025-12-29 14:51:26 -08:00
2025-12-28 16:36:38 -08:00
2025-12-25 02:32:01 -08:00
2025-12-28 16:39:26 -08:00
2025-12-28 02:40:00 -08:00
2025-12-28 18:45:14 -08:00
2025-12-25 23:14:29 -08:00
2025-12-28 16:36:09 -08:00
2025-12-25 23:53:34 -08:00
2025-12-26 18:36:03 -08:00
2025-12-28 18:45:14 -08:00
2025-12-27 17:51:52 -08:00
2025-12-23 11:42:48 -08:00
2025-12-25 02:32:01 -08:00
2025-12-25 23:14:29 -08:00
2025-12-28 16:38:04 -08:00
2025-12-25 02:32:01 -08:00
2025-12-26 19:21:10 -08:00
2025-12-29 12:44:17 -08:00
2025-12-28 16:36:38 -08:00
2025-12-23 11:44:34 -08:00
2025-12-28 16:38:04 -08:00
2025-12-25 01:06:32 -08:00
2025-12-28 16:38:04 -08:00
2025-12-29 16:11:13 -08:00
2025-12-26 13:20:14 -08:00
2025-12-28 16:38:04 -08:00
2025-12-27 14:36:12 -08:00
2025-12-25 23:14:29 -08:00
2025-12-22 17:52:44 -08:00
2025-12-20 23:25:16 -08:00
2025-12-28 16:38:04 -08:00
2025-12-20 23:25:16 -08:00
2025-12-20 23:25:16 -08:00
2025-12-25 23:14:29 -08:00
2025-12-25 02:32:01 -08:00
2025-12-26 19:02:43 -08:00
2025-12-25 02:32:01 -08:00
2025-12-26 16:23:37 -08:00
2025-12-27 15:01:02 -08:00
2025-12-25 02:32:01 -08:00
2025-12-26 18:36:03 -08:00
2025-12-29 14:54:37 -08:00
2025-12-29 16:06:47 -08:00
2025-12-25 02:32:01 -08:00
2025-12-25 02:32:01 -08:00
2025-12-28 16:38:04 -08:00
2025-12-21 22:13:21 -08:00
2025-12-28 21:45:39 -08:00
2025-12-26 19:42:41 -08:00
2025-12-26 21:15:08 -08:00
2025-12-28 02:17:09 -08:00
2025-12-29 14:54:37 -08:00
2025-12-28 17:18:03 -08:00
2025-12-29 14:54:37 -08:00
2025-12-29 14:54:37 -08:00
2025-12-29 14:54:37 -08:00
2025-12-26 15:51:54 -08:00
2025-12-29 17:12:30 -08:00
2025-12-29 14:54:37 -08:00
2025-12-28 16:00:41 -08:00
2025-12-26 23:52:27 -08:00
2025-12-26 16:46:39 -08:00
2025-12-26 17:06:43 -08:00
2025-12-28 16:38:04 -08:00