Scrum4Me/docs
Madhura68 e5819ee079 docs(ST-1108): document M11 question-channel — API + architecture + pattern
docs/API.md — twee nieuwe secties:
- 'Notifications' met /api/realtime/notifications SSE-endpoint (event-shapes,
  filter-rules, voorbeeld)
- 'Cron — Expire questions' met /api/cron/expire-questions (Bearer-auth,
  schedule, response-shape, manual curl)

docs/scrum4me-architecture.md — nieuw hoofdstuk 'Vraag-antwoord-kanaal Claude
↔ user' tussen QR-pairing-flow en Projectstructuur:
- Mermaid sequence-diagram (Claude → DB → trigger → SSE → user → answer →
  trigger → Claude polls)
- Threat-model-tabel (race, demo-misbruik, cross-product leak, cron-misbruik,
  growth, log-leakage)
- Subsectie 'Waarom hergebruik scrum4me_changes-kanaal' met trade-off vs M10's
  eigen-kanaal-aanpak

docs/patterns/claude-question-channel.md — herbruikbaar pattern 'Bidirectionele
async-comms tussen MCP-agent en interactieve user' met de vier eindpunten,
vier security-uitgangspunten, channel-strategie-tabel, TTL-richtlijn, en
sjabloon-bestanden per laag (DB / server / client / MCP-tools).

CLAUDE.md — extra rij in Implementatiepatronen-tabel die naar het nieuwe
pattern-doc verwijst.

Acceptatie 6 scenario's:
1. Sync happy path (MCP wait_seconds + UI submit) — handmatig getest tijdens
   ST-1105 acceptance-loop met de q-test injection
2. Async happy path — gedekt door get_question_answer-tool in ST-1102 +
   list_open_questions
3. Demo-block — actions/questions.test.ts (case 2: demo-user) + AnswerModal
   tooltip (visueel)
4. Access-isolation — notifications-stream.test.ts (case 'access-isolation')
5. Expiry — cron-expire-questions.test.ts (case '200 met juiste secret')
6. Race — actions/questions.test.ts (case 'al-answered' via atomic updateMany)

Quality gates: lint 0 errors, tsc clean, vitest 151/151 (19 files), npm run
build groen.

M11 is hiermee feature-compleet. feat/M11-claude-questions heeft 12 commits
lokaal, klaar voor user-acceptatie en PR.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 01:56:03 +02:00
..
patterns docs(ST-1108): document M11 question-channel — API + architecture + pattern 2026-04-28 01:56:03 +02:00
plans docs(ST-1101..1108): add M11 — Claude question-channel milestone to backlog 2026-04-28 00:33:38 +02:00
agent-instruction-audit.md docs(workflow): align CLAUDE.md with M7 and post-PR-#2 contract (#4) 2026-04-27 00:28:58 +02:00
API.md docs(ST-1108): document M11 question-channel — API + architecture + pattern 2026-04-28 01:56:03 +02:00
erd.svg Todo description, entity codes, REST API extensions and Claude Code hardening (ST-509/511/512/513) (#2) 2026-04-26 23:40:54 +02:00
icons.html chore: documentatie naar docs/, iconen bijgewerkt, theme.css verplaatst 2026-04-24 22:51:42 +02:00
MD3_Color_Scheme_Documentation.md chore: documentatie naar docs/, iconen bijgewerkt, theme.css verplaatst 2026-04-24 22:51:42 +02:00
scrum4me-architecture.md docs(ST-1108): document M11 question-channel — API + architecture + pattern 2026-04-28 01:56:03 +02:00
scrum4me-backlog.md docs(ST-1101..1108): add M11 — Claude question-channel milestone to backlog 2026-04-28 00:33:38 +02:00
scrum4me-functional-spec.md docs(ST-1108): add F-11b — Claude question-channel to functional spec 2026-04-28 00:33:59 +02:00
scrum4me-personas.md M10: Password-loze inlog via QR-pairing — backlog + implementatie-plan (#11) 2026-04-27 21:49:56 +02:00
scrum4me-product-backlog.md chore: SQLite verwijderd — alleen PostgreSQL via Neon 2026-04-25 12:15:19 +02:00
scrum4me-styling.md chore: documentatie naar docs/, iconen bijgewerkt, theme.css verplaatst 2026-04-24 22:51:42 +02:00
scrum4me-test-plan.md docs(tests): add scrum4me-test-plan.md with full API test plan and planning 2026-04-25 18:47:20 +02:00
solo-paneel-spec.md docs(ST-355): add Solo Paneel implementation spec 2026-04-26 20:49:29 +02:00