scrum4me-mcp/src/tools
Madhura68 5c5ae20f10 PBI-8: Sprint-flow MCP-orkestratie + verifier-fix
Schema sync vanaf upstream Scrum4Me (v77617e8): FAILED toegevoegd aan
Task/Story/Pbi/SprintStatus, nieuw SprintRunStatus + PrStrategy enums,
SprintRun model, ClaudeJob.sprint_run_id, Product.pr_strategy.

T-18 — propagateStatusUpwards in src/lib/tasks-status-update.ts.
Real-time cascade Task → Story → PBI → Sprint → SprintRun bij elke
task-statuswijziging. Bij FAILED cancelt sibling-jobs in dezelfde
SprintRun. PBI-status BLOCKED blijft handmatig. Houd deze helper bit-
voor-bit synchroon met Scrum4Me/lib/tasks-status-update.ts.
updateTaskStatusWithStoryPromotion blijft als BC-wrapper.

T-19 — wait-for-job.ts claim-filter. Task-jobs worden alleen geclaimd
als hun SprintRun status QUEUED of RUNNING heeft. Idea-jobs blijven
ongefilterd. Bij eerste claim van een QUEUED SprintRun → RUNNING
binnen dezelfde tx (race-safe).

T-20 — update-job-status.ts roept propagateStatusUpwards aan na elke
task DONE/FAILED. Bestaande cancelPbiOnFailure-aanroep blijft voor
PR-cleanup; sibling-cancellation overlap is harmless (idempotent).

T-21 — classify.ts (verifier) leest nu ook "--- a/<path>" zodat
delete-only commits niet meer als EMPTY worden geclassificeerd.
Bug had eerder geleid tot ten onrechte FAILED-status op cmotto5h en
cmotto5i (06-05-2026); zou met cascade-flow een hele sprint laten
falen.

Cleanup: create-todo.ts en open_todos in get-claude-context.ts
verwijderd (Todo-model is op main gedropt). Endpoint geeft nu
open_ideas terug — ideeën die niet PLANNED zijn.

Status-mappers (src/status.ts) uitgebreid met failed.

Tests: 184/184 groen (180 → 184; vier nieuwe delete-only classify-tests
en herwerkte propagate-status tests).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-06 16:59:58 +02:00
..
ask-user-question.ts feat: M12 idea-job support — version 0.6.0 2026-05-04 22:12:36 +02:00
cancel-question.ts feat(ST-1102): add 4 question-channel MCP tools (M11) 2026-04-28 01:00:59 +02:00
check-queue-empty.ts feat: add check_queue_empty tool (v0.3.0) 2026-05-03 17:57:17 +02:00
cleanup-my-worktrees.ts feat(M13): cleanup_my_worktrees tool — scan + remove stale worktrees for terminal-status jobs 2026-05-01 13:22:47 +02:00
create-pbi.ts feat: auto-generate codes for PBI/Story/Task on create 2026-05-04 16:14:36 +02:00
create-story.ts feat: auto-generate codes for PBI/Story/Task on create 2026-05-04 16:14:36 +02:00
create-task.ts feat(create_task): optionele repo_url voor cross-repo tasks 2026-05-06 04:16:31 +02:00
get-claude-context.ts PBI-8: Sprint-flow MCP-orkestratie + verifier-fix 2026-05-06 16:59:58 +02:00
get-idea-context.ts feat: M12 idea-job support — version 0.6.0 2026-05-04 22:12:36 +02:00
get-question-answer.ts feat(ST-1102): add 4 question-channel MCP tools (M11) 2026-04-28 01:00:59 +02:00
get-worker-settings.ts feat(M13): get_worker_settings + worker_heartbeat tools (v0.7.0) 2026-05-06 04:23:31 +02:00
health.ts feat: M12 idea-job support — version 0.6.0 2026-05-04 22:12:36 +02:00
list-open-questions.ts feat(ST-1102): add 4 question-channel MCP tools (M11) 2026-04-28 01:00:59 +02:00
list-products.ts feat(ST-705): read tools — health, list_products, get_claude_context 2026-04-26 23:04:51 +02:00
log-commit.ts chore: sync schema with scrum4me@43a4294 + write metadata in log tools 2026-04-26 23:44:33 +02:00
log-idea-decision.ts feat: M12 idea-job support — version 0.6.0 2026-05-04 22:12:36 +02:00
log-implementation.ts chore: sync schema with scrum4me@43a4294 + write metadata in log tools 2026-04-26 23:44:33 +02:00
log-test-result.ts chore: sync schema with scrum4me@43a4294 + write metadata in log tools 2026-04-26 23:44:33 +02:00
mark-pbi-pr-merged.ts feat(mcp): set_pbi_pr + mark_pbi_pr_merged tools voor PBI-PR-gating (#18) 2026-05-03 16:25:53 +02:00
set-pbi-pr.ts feat(mcp): set_pbi_pr + mark_pbi_pr_merged tools voor PBI-PR-gating (#18) 2026-05-03 16:25:53 +02:00
update-idea-grill-md.ts feat: M12 idea-job support — version 0.6.0 2026-05-04 22:12:36 +02:00
update-idea-plan-md.ts feat: M12 idea-job support — version 0.6.0 2026-05-04 22:12:36 +02:00
update-job-status.ts PBI-8: Sprint-flow MCP-orkestratie + verifier-fix 2026-05-06 16:59:58 +02:00
update-task-plan.ts feat(ST-706): task write tools — update_task_status and update_task_plan 2026-04-26 23:05:49 +02:00
update-task-status.ts feat: wire story-promotion into update_task_status + filter done stories from get_claude_context 2026-04-30 18:22:47 +02:00
verify-task-against-plan.ts feat: verify_task_against_plan calls classifyDiffAgainstPlan + saves verify_result to DB 2026-05-01 12:59:17 +02:00
wait-for-job.ts PBI-8: Sprint-flow MCP-orkestratie + verifier-fix 2026-05-06 16:59:58 +02:00
worker-heartbeat.ts feat(M13): get_worker_settings + worker_heartbeat tools (v0.7.0) 2026-05-06 04:23:31 +02:00