mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-11 05:00:07 +00:00
- Extract watchdog loop logic from run_team_cycle into _run_watchdog_loop helper - Extract resource cleanup into _cleanup_stale_artifacts helper - Extract prompt file preparation into _prepare_prompt_file helper - Extract cycle completion handling into _handle_cycle_completion helper - Extract claude process killing into _kill_claude_process helper (macOS bash 3.x compatible) - In gcore/lib/common.sh: Extract resource gathering into _gather_instance_resources - In gcore/lib/common.sh: Extract instance ID extraction into _extract_instance_id - All refactoring maintains 100% test coverage (80/80 tests pass) Agent: complexity-hunter Co-authored-by: Spawn Refactor Service <refactor@spawn.service> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||