1.9 KiB
1.9 KiB
Plugin Registry Readiness And Bootstrap Plan
Goal: Make switching from the built-in Feature Plugin registry to database publication safe and repeatable by reporting every publication gap and initializing trusted installed releases without overwriting existing operator decisions.
Task 1: Readiness Contract
- Assess every installed trusted release against its database definition and immutable version row.
- Detect missing definitions, provider conflicts, disabled definitions, missing versions, Manifest or fingerprint drift, and unpublished current releases.
- Require the latest installed release to be the current published version while accepting older executable releases in publication history.
Task 2: Idempotent Bootstrap
- Create missing definitions from the in-process trusted Registry only.
- Store canonical Manifest JSON and the installed descriptor fingerprint for missing release versions.
- Publish initialized versions only when a definition has no current publication.
- Preserve existing current publications, disabled definitions, provider ownership, and conflicting release rows.
- Return created, published, repaired, unchanged, and skipped counters.
Task 3: Publication Center Integration
- Display database readiness counts beside the active Registry resolution mode.
- Add a readiness detail view with release-level state and reason information.
- Add a confirmed bulk bootstrap action protected by a dedicated permission.
- Extend the standalone menu migration with the bootstrap permission.
Task 4: Verification
- Cover missing, ready, first-run bootstrap, and repeated-run behavior with service tests.
- Extend frontend API, workflow, and menu contract tests.
- Run the frontend production build and backend focused regressions.
- Run the full generator baseline and admin critical-path regression.