T-505 added the kind-discriminator to wait_for_job's response payload but missed the claim-SQL: tryClaimJob does INNER JOIN tasks ON cj.task_id, which matches NO rows for IDEA_*-jobs (task_id IS NULL by design — M12 schema). Result: idea-jobs sit forever in QUEUED, never picked up. Reproduced live: IDEA-002 (cmoshh2ne...) had a IDEA_GRILL job queued at 10:26 that 2 active workers ignored for 14+ minutes. Fix: LEFT JOIN tasks. plan_snapshot stays empty for idea-jobs (no verify-flow needed for grill/make-plan). Bump to 0.6.1 since 0.6.0 production deploy has the broken claim-SQL. Tests: 153/153 still green. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| git | ||
| lib | ||
| presence | ||
| prompts | ||
| tools | ||
| verify | ||
| access.ts | ||
| auth.ts | ||
| errors.ts | ||
| index.ts | ||
| prisma.ts | ||
| status.ts | ||