# Salesforce CRM frontend source

This directory is the provisional source home for the Salesforce-compatible CRM
frontend owned by the `salesforce-crm-standard` L1 pack.

Phase 2B is moving CRM-owned frontend source here in dependency order. The
platform repo still owns transitional runtime binding and host service
injection until the matching NexusCRM consumption slices remove the local CRM
adapters:

1. shared CRM frontend types and contracts
2. CRM feature stacks
3. CRM pages and routes
4. CRM data and API clients
5. CRM adapter registration glue

`source-manifest.json` is the source-supply contract consumed by the platform
CI dry check. It records that generated frontend artifacts remain platform
owned and are provisioned from the platform revision during a distribution
build. Do not copy `generated-api.ts`, `generated-schema.ts`, or
`generated-error-codes.ts` into this repository.

CRM frontend source may import platform-owned code only through the public
surface declared by `frontend/app-source-public-import-surface.json` in the
platform repository, such as `@nexuscrm/host-sdk`. CRM styled UI lives in this
pack under `platform/components/ui`, not through a host-owned UI module. Deep
imports into platform `core`, `components`, `infrastructure`, `types`, or
generated files are intentionally blocked.

The metadata record renderer remains CRM-L1 during this relocation. It should
move with the CRM frontend stack unless a future non-CRM consumer proves an
app-blind renderer contract.
