Domain Profiles
Status
- document type: target direction with current-state caveat
- current code reality: dedicated domain profiles are not yet implemented as clear runtime zones
Current State
Today the repo does not yet contain a mature domain-profile runtime architecture for:generichealthcareconstruction
Target Direction
Onelink should support multiple domain profiles on top of one shared platform. The starting profiles are:generichealthcareconstruction
Domain Strategy
What Belongs To A Domain
- specialized fields
- validations
- workflow rules
- reports
- UI sections and screen composition
- integrations specific to the vertical
What Does Not Belong To A Domain
- account scoping
- shared permissions framework
- base inbox/contact/conversation lifecycle
- shared CRM entities
- shared UI shell
Decision Rule
Current Implementation Guidance
Until dedicated domain zones exist in code, prefer this implementation order:- reuse shared native entities
- use settings, labels, notes, custom attributes, automations, and Captain configuration
- add isolated domain services or UI composition where needed
- only then introduce a true domain-scoped runtime layer