1.6 KiB
1.6 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 09-backend-composition | Backend provider composition | completed | 3 |
|
plan.md | ../../specs/ui/requirements/entity-reference-composer.md |
Task 09: Backend Provider Composition
Acceptance
- Backend registers built-in adapters through the same descriptor-driven registrar a future plugin bridge can use, without giving adapters control of registry identity, then mounts the workspace search route.
- Request workspace is validated before any provider call; nil/disconnected providers degrade safely.
- Handler-to-provider integration test proves mixed success/failure, deterministic caps, cancellation, and workspace isolation.
Verification
cd apps/backend && go test ./internal/backendapp/... ./internal/mentions/...
Files likely touched
apps/backend/internal/backendapp/types.goapps/backend/internal/backendapp/services.goapps/backend/internal/backendapp/helpers.goapps/backend/internal/backendapp/mentions.goapps/backend/internal/backendapp/mentions_test.go
Dependencies
Tasks 02-08.
Inputs
All provider constructors; existing integration service construction/route registration patterns; spec API order/status/plugin-compatibility contract; ADR 0043.
Output contract
Report registry order and workspace validation, files changed, exact tests, blockers, risks, and mark task/plan done.