T-H2CD-extract-a-shared-plugin-registry-ts-readpluginregistry
State: closed/done · Impact: low · Complexity: small
From the Phase-4 audit’s recommended task list
(docs/planning/notes/N-OCUK-2026-09-24-sdlc-1-0-audit.md, on origin/sdlc/p4-audit): Extract a
shared plugin/registry.ts (readPluginRegistry/loadJson) for info-report.ts’s and resolve.ts’s
duplicated logic.
| Area | Note |
|---|---|
lib/services/plugin/ | info-report.ts, resolve.ts |
Acceptance criteria
Section titled “Acceptance criteria”- AC-1: A plugin/registry.ts exports readPluginRegistry and loadJson.
- AC-2: Both info-report.ts and resolve.ts call it instead of duplicating the logic.
Out of scope
Section titled “Out of scope”- none
Dependencies
Section titled “Dependencies”- none