feat: IDEA_CHAT claim, cutoff-persist, coalescing en kanaal-writes (M17 idea-chat-channel, fase 1) #60

Merged
janpeter merged 6 commits from feat/idea-chat-mcp into main 2026-07-03 17:37:59 +02:00
Owner

Fase 1 van het idea-chat-channel (PBI-123, sprint S-2026-07-03-idea-chat). Vereist gemergde scrum4me-shared PR #23 (submodule gepind op a26a03d).

  • IDEA_CHAT claimbaar in de wait_for_job-claim-query
  • Context-cutoff (chat_cutoff_message_id/chat_cutoff_at) gepersisteerd in de claim-transactie
  • IDEA_CHAT-payload: idee-context + laatste 50 kanaal-berichten hard begrensd op de cutoff + prompt src/prompts/idea-chat/chat.md
  • update_job_status done/failed: status-flip + ASSISTANT-bericht (done) / IdeaLog JOB_EVENT zonder status-mutatie (failed) + coalescing-check, atomair onder SELECT … FOR UPDATE op ideas; vervolg-job + enqueued-notify
  • update_idea → SYSTEM/DOC_UPDATE-kanaalbericht (best-effort); update_idea_grill_md → ASSISTANT/GRILL_RESULT met volledige markdown i.p.v. IdeaLog

Tests: 871/871 groen (incl. 4 nieuwe update-job-status-tests, payload-cutoff-test, PLAN_CHAT-backcompat). Spec rev4 + plan rev3 (codex-akkoord).

Na merge: ~/Development/scrum4me-mcp-stable: git pull --ff-only && npm ci.

🤖 Generated with Claude Code

Fase 1 van het idea-chat-channel (PBI-123, sprint S-2026-07-03-idea-chat). Vereist gemergde scrum4me-shared PR #23 (submodule gepind op a26a03d). - `IDEA_CHAT` claimbaar in de wait_for_job-claim-query - Context-cutoff (`chat_cutoff_message_id`/`chat_cutoff_at`) gepersisteerd in de claim-transactie - IDEA_CHAT-payload: idee-context + laatste 50 kanaal-berichten hard begrensd op de cutoff + prompt `src/prompts/idea-chat/chat.md` - `update_job_status` done/failed: status-flip + ASSISTANT-bericht (done) / IdeaLog JOB_EVENT zonder status-mutatie (failed) + coalescing-check, atomair onder `SELECT … FOR UPDATE` op ideas; vervolg-job + enqueued-notify - `update_idea` → SYSTEM/DOC_UPDATE-kanaalbericht (best-effort); `update_idea_grill_md` → ASSISTANT/GRILL_RESULT met volledige markdown i.p.v. IdeaLog Tests: 871/871 groen (incl. 4 nieuwe update-job-status-tests, payload-cutoff-test, PLAN_CHAT-backcompat). Spec rev4 + plan rev3 (codex-akkoord). **Na merge:** `~/Development/scrum4me-mcp-stable`: `git pull --ff-only && npm ci`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- update_idea schrijft best-effort een SYSTEM/DOC_UPDATE-kanaalbericht
- update_idea_grill_md schrijft ASSISTANT/GRILL_RESULT met volledige markdown
  i.p.v. IdeaLog GRILL_RESULT (dubbel-render-preventie, spec §3)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
janpeter/scrum4me-mcp!60
No description provided.