scrum4me-mcp/src
Madhura68 dc43351831 fix: idea-jobs never claimed — JOIN tasks → LEFT JOIN (v0.6.1)
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>
2026-05-05 12:45:18 +02:00
..
git feat(routing): cross-repo task routing + orphan-branch cleanup (#17) 2026-05-02 18:07:57 +02:00
lib feat: M12 idea-job support — version 0.6.0 2026-05-04 22:12:36 +02:00
presence fix(presence): heartbeat self-heals when worker record disappears (#14) 2026-05-01 20:17:07 +02:00
prompts feat: M12 idea-job support — version 0.6.0 2026-05-04 22:12:36 +02:00
tools fix: idea-jobs never claimed — JOIN tasks → LEFT JOIN (v0.6.1) 2026-05-05 12:45:18 +02:00
verify feat: branch-per-story + worktree-defer + verify EMPTY edge-cases (#12) 2026-05-01 17:04:54 +02:00
access.ts feat: M12 idea-job support — version 0.6.0 2026-05-04 22:12:36 +02:00
auth.ts feat: add wait_for_job and update_job_status tools (M13 agent worker mode) 2026-04-29 20:05:09 +02:00
errors.ts fix: wrap non-object values in toolJson, add e2e smoke test 2026-04-26 23:38:39 +02:00
index.ts feat: M12 idea-job support — version 0.6.0 2026-05-04 22:12:36 +02:00
prisma.ts feat(ST-705): read tools — health, list_products, get_claude_context 2026-04-26 23:04:51 +02:00
status.ts feat(ST-704): status mappers and shared error helpers 2026-04-26 23:02:05 +02:00