Files
gastown/internal/cmd
Julian Knutsen 65c5e05c43 fix(polecat): kill orphan sessions and clear stale hooks during allocation (#448)
ReconcilePool now detects and kills orphan tmux sessions (sessions without
corresponding polecat directories). This prevents allocation from being
blocked by broken state from crashed polecats.

Changes:
- Add tmux to Manager to check for orphan sessions during reconciliation
- Add ReconcilePoolWith for testable session/directory reconciliation logic
- Always clear hook_bead slot when reopening agent beads (fixes stale hooks)
- Prune stale git worktree entries during reconciliation

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 13:37:00 -08:00
..
2026-01-08 12:36:54 -05:00
2026-01-09 02:22:20 +13:00
2026-01-08 22:10:40 +13:00
2026-01-11 23:09:11 -08:00
2026-01-08 12:36:54 -05:00
2026-01-12 03:18:47 -08:00