[loop-fix] Idle detection + exponential backoff — stop burning empty cycles #430

Closed
opened 2026-03-19 14:23:53 +00:00 by Timmy · 0 comments
Owner

Problem

The dev loop had a 3-second cooldown with NO idle detection. Empty queue = spawn hermes anyway, log failure, sleep 3s, repeat. Burned 92 empty cycles out of 153, showing 0.0% success rate when 50 PRs were actually merged.

Fix

  1. Idle detection before spawning hermes (check queue.json)
  2. Exponential backoff: 60s, 120s, 240s, 600s max
  3. No retro logging on idle — empty cycles are not cycles
  4. Purged 92 empty entries from cycles.jsonl, regenerated summary.json

After cleanup: 50 PRs merged, 18120 lines added, real data restored.

## Problem The dev loop had a 3-second cooldown with NO idle detection. Empty queue = spawn hermes anyway, log failure, sleep 3s, repeat. Burned 92 empty cycles out of 153, showing 0.0% success rate when 50 PRs were actually merged. ## Fix 1. Idle detection before spawning hermes (check queue.json) 2. Exponential backoff: 60s, 120s, 240s, 600s max 3. No retro logging on idle — empty cycles are not cycles 4. Purged 92 empty entries from cycles.jsonl, regenerated summary.json After cleanup: 50 PRs merged, 18120 lines added, real data restored.
Timmy closed this issue 2026-03-19 14:36:40 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#430