feat: scrum4me-copilot host-side integration (in-app drawer) #54
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/epic-wiles-b9e081"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Embed the
scrum4me-copilotas an in-app drawer (Chat/Docs/Ideas/Jobs), mirroring the DigiPlein integration. Host-side wiring only; authorization is enforced server-side by the central copilot service via Scrum4Me product membership. Design reviewed by codex (OORDEEL: GO, 2 rounds); implemented via subagent-driven TDD with per-task spec + code-quality review and a final whole-implementation review.--webpack,@s4m-kit/*alias,extensionAlias)/api/s4m/[...path]catch-all proxy route viacreateS4MRoutes(emptyToolRegistry,force-dynamic)copilotRequireSessioniron-session adapter (single-user identity)/api/s4mCSRF carve-out in the active rootproxy.ts+ removal of the deadsrc/proxy.ts<S4MCopilotDrawer>mounted app-wide behind the session + Tailwind v4 styling token contractS4M_COPILOT_URL/S4M_COPILOT_APP_KEY) +webjoins the externalcompose_defaultnetworkSUBMODULE_TOKEN);npm testscoped away from vendored testsTest plan
npm run buildgreen (project DoD); routeƒ /api/s4m/[...path]presentnpm test: copilot-session (2) + proxy CSRF (2) + existing unit tests pass (231). The 20 failures are pre-existing Immich/library/slideshow integration tests that require a live Postgres (Can't reach database server) — unrelated to this change; CI runsdocker buildonlynot_linkedbefore linking → chat streams + Docs/Ideas/Jobs afterOps prerequisites (before the copilot answers)
cmpecvxh70002vh7r2b5pye3m)media-organizer.env.sops+ servicecopilot.env(154 addsCOPILOT_APP_MEDIAORGANIZER_*,DISPATCH_JOBS=true)git submodule update --initbefore build;SUBMODULE_TOKENconfigured; externalcompose_defaultnetwork must existSpec:
docs/superpowers/specs/2026-06-18-media-organizer-copilot-integration-design.mdPlan:
docs/superpowers/plans/2026-06-18-copilot-host-integration.mdScrum4Me: PBI-11 / ST-015 / T-73…T-79
🤖 Generated with Claude Code