Phase 3 of the asset-plugins epic. Design: labelle-toolkit/labelle-engine#725 · RFC PR labelle-toolkit/labelle-engine#726 (RFC-ASSET-PLUGINS.md rev 4)
Validate studio/*.panel.jsonc at labelle generate, alongside the Phase-1 asset validation:
- schema check (the studio POC's zod schema in
src/services/pluginPanels.ts is the reference — id/title/field-type requirements/action targets/min-max/default-domain/duplicate names);
- a
"target": "preview" command must name a handler the plugin's code declares (pairs with the engine-side handler declaration from the bridge-export ticket);
- malformed panel = generate-time error with file:line.
Acceptance: the studio never sees an invalid panel from a generated project; error cases covered by assembler tests.
Phase 3 of the asset-plugins epic. Design: labelle-toolkit/labelle-engine#725 · RFC PR labelle-toolkit/labelle-engine#726 (
RFC-ASSET-PLUGINS.mdrev 4)Validate
studio/*.panel.jsoncatlabelle generate, alongside the Phase-1 asset validation:src/services/pluginPanels.tsis the reference — id/title/field-type requirements/action targets/min-max/default-domain/duplicate names);"target": "preview"command must name a handler the plugin's code declares (pairs with the engine-side handler declaration from the bridge-export ticket);Acceptance: the studio never sees an invalid panel from a generated project; error cases covered by assembler tests.