task-d.7.9

This commit is contained in:
phaichayon
2026-07-03 11:39:37 +07:00
parent 503f34e22f
commit 9c8d6a0d6d
21 changed files with 1809 additions and 42 deletions

View File

@@ -0,0 +1,20 @@
# Installation Profiles
Installation profiles select setup plugins, wizard steps, required templates, verification checks, reset scopes, and reseed targets.
Current profiles:
- `crm_starter`: foundation plus CRM structure.
- `crm_demo`: foundation plus CRM golden/demo dataset.
- `production`: foundation plus CRM production setup, with destructive maintenance disabled by default.
- `restore_backup`: minimal readiness and verification for restored environments.
- `custom`: operator-selected setup modules and templates.
Profiles are resolved by `src/features/setup/plugins/plugin-registry.ts` and exposed by:
- `GET /api/setup/profiles`
- `GET /api/setup/templates?profile=<profileId>`
- `GET /api/setup/readiness?profile=<profileId>`
- `POST /api/setup/verify` with optional `profileId`
The setup wizard uses the selected profile to render profile-aware plugin metadata and wizard steps.