Commit Graph

6 Commits

Author SHA1 Message Date
173a154433 fix: require push pr and proof for kimi loop (#3) 2026-04-05 19:33:36 +00:00
Alexander Whitestone
431cddf7f2 fix: replace worktrees with fresh clones, fix watchdog issue filing
- Workers now git clone --depth=1 per issue instead of sharing base repos
  with worktrees. Eliminates all contention and branch collision errors.
- Watchdog file_issue uses temp file + sys.argv for safe JSON escaping
- Watchdog zombie detection only kills processes >5min old (was killing
  legitimate git pushes from active workers)
- Simplified cleanup to plain rm -rf (no worktree bookkeeping needed)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 21:35:56 -04:00
Alexander Whitestone
e64efd9185 perf: max speed — 2s cooldown, 10s idle poll, 90s scaler, 10+5 workers
Hit rate limits, don't play it safe. Scale down only when forced.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 19:42:47 -04:00
Alexander Whitestone
edee9b8dcc fix: agents self-assign unassigned issues for max throughput
Workers now pick ANY open issue (assigned to them OR unassigned) and
self-assign via Gitea API before starting work. No more empty queues.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 19:39:46 -04:00
Alexander Whitestone
5f8129d346 feat: parallel workers for all agents, dynamic scaling, self-healing watchdog
- claude-loop: 7 workers default, scales up to 21, 5s cooldown
- gemini-loop: rewritten as parallel worker system (3→12), multi-repo,
  auto-clone, correct CLI flags (-p/--yolo), bash 3.2 compatible
- loop-watchdog: monitors all loops every 2min, auto-restarts dead loops,
  kills zombies, files Gitea issues for unfixable problems
- ops-helpers: added ops-wake-watchdog, ops-kill-watchdog
- All scripts use file-based PID tracking (bash 3.2 safe)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 19:22:18 -04:00
Alexander Whitestone
7e5ffe5b45 chore: add gemini-loop.sh and whitelist in gitignore
Track Gemini's dispatch loop alongside the other agent loops.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 18:53:01 -04:00