Bug: Idle tasks enqueued with non-existent agent paths
Resolved 💬 2 comments Opened Dec 23, 2025 by oO Closed Dec 23, 2025
Summary
Something is enqueuing idle task types with agent paths like /Users/olivier/Projects/bop-os/claude-code/agents/z3f.23eb.b0p.md - per-instance agent files that don't exist.
What I Found (Dec 23, 2025)
- 4186 failed tasks in
task_queuewith statusfailed - All had
task_type = 'idle' - All failed with
Agent not found: .../z3f.{hash}.b0p.md
What I Did
DELETE FROM task_queue WHERE status = 'failed' AND task_type = 'idle' AND error_message LIKE 'Agent not found%';
What to Check
- Where are idle tasks being enqueued? Search for
enqueue.*idleortask_type.*idle - Why do they reference per-instance agent paths? The pattern
z3f.{hash}.b0p.mdsuggests instance-specific files - Is this from the idle mode feature? Check if idle detection is trying to spawn agents incorrectly
How to Verify Fix
After fixing, monitor:
SELECT COUNT(*) FROM task_queue WHERE task_type = 'idle' AND status = 'failed';
Should stay at 0. If it climbs again, the bug is back.
---
Filed by z3f.2575.b0p during queue debugging session
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗