Skip to content

07 — Feature Source of Truth

Migrated from root technical docs.

Generated: 2026-04-24 Status: Active

This document defines canonical feature ownership for ongoing work.

Dashboard screen ownership is app-local.

The rule:

Dashboard pages and route-facing composition belong in apps/dashboard/src/features/*.

Canonical path for new dashboard screens:

apps/dashboard/src/features/{domain}/pages/

packages/feature-* packages are reusable logic layers, not screen owners.

Allowed in packages/feature-*:

  • query key factories and query option helpers
  • mutation helpers
  • API transport wrappers
  • feature types and schemas
  • reusable feature UI components

Not allowed in packages/feature-*:

  • dashboard page components
  • route composition files
  • route option bundles
  • dashboard-screen orchestration
PackageDecisionNotes
@legaciti/feature-activitykeepReusable activity logic and UI primitives across consumers
@legaciti/feature-peoplereduceReusable people core only; page composition remains app-local
@legaciti/feature-publicationsreduceReusable publications core only; page composition app-local

These areas are canonical as app-local features:

  • admin
  • admin-users
  • auth
  • bug-reports
  • dashboard
  • email-templates
  • integrations
  • projects
  • site-tools
  • version-sync
  • works
  • workspace-settings
  • workspace-users
If you are adding…Put it in…
New people page or screenapps/dashboard/src/features/people/pages/
New people query/mutation/API wrapperpackages/feature-people/src/
New publications page or screenapps/dashboard/src/features/publications/pages/
New publications query/mutation/API wrapperpackages/feature-publications/src/
New activity page or screenapps/dashboard/src/features/activity/pages/
New activity query/mutation/API wrapperpackages/feature-activity/src/
New workspace settings API/query or page UIapps/dashboard/src/features/workspace-settings/
New integrations page or componentapps/dashboard/src/features/integrations/
New workspace user-management logic or UIapps/dashboard/src/features/workspace-users/
New superadmin user-access logic or UIapps/dashboard/src/features/admin-users/
  • Detailed package audit: docs/architecture/17-feature-package-audit.md
  • Placement rules: docs/architecture/01-code-placement.md
  • Dependency rules: docs/architecture/03-dependency-rules.md