Files
kandev/docs/plans/entity-reference-composer/task-01-core-and-task-search.md
T
2026-08-24 11:09:03 +00:00

1.7 KiB

id, title, status, wave, depends_on, plan, spec
id title status wave depends_on plan spec
01-core-and-task-search Core external mention search completed 1
plan.md ../../specs/ui/requirements/entity-reference-composer.md

Task 01: Core External Mention Search

Acceptance

  • Normalized provider service validates plain queries, runs bounded providers concurrently, and returns deterministic partial groups with safe statuses.
  • Registry uses provider descriptors, owns provider identity/canonical ref construction, and accepts an arbitrary namespaced fake provider without native-provider switches, proving a future plugin bridge can use the same seam.
  • Registry binds a unique (provider, kind) reference authorizer so search destinations and later submissions use the same provider-owned scope checks.
  • HTTP handler implements the spec contract without central route registration yet.
  • Kandev tasks are not registered in this provider registry because existing task discovery remains owned by @.

Verification

cd apps/backend && go test ./internal/mentions/...

Files likely touched

  • apps/backend/pkg/api/v1/mentions.go
  • apps/backend/internal/mentions/types.go
  • apps/backend/internal/mentions/service.go
  • apps/backend/internal/mentions/handler.go
  • apps/backend/internal/mentions/service_test.go
  • apps/backend/internal/mentions/handler_test.go

Dependencies

None.

Inputs

Spec API/failure/plugin-compatibility sections; ADR provider boundary; ADR 0043 stable DTO rules and RPC direction.

Output contract

Report contract/type choices, ranking/cap/timeout behavior, files changed, exact test result, blockers, risks, and set this task plus plan checkbox to done.