Files
eip4-platform/platform-metadata
zhengwr bac69d85a7 fix(page-schema): scope typed-recipe gate to AI drafts, not designer overlay saves
putOverlay hard-rejected (400) any overlay using components/actions outside the ~35-component AI recipe whitelist. Existing converted pages use 13 unregistered component types (search-box/dialog/mapping/tabs/each/tree-select/input-date-range/…) plus 6 onEvent action types that are structurally actionType-without-type (ACTION_WITHOUT_COMPONENT), so editing+saving virtually any existing list page in the designer returned 400.

Split path: putOverlay (designer write path) now validates-and-warns instead of blocking; the strict typed gate stays on POST /api/page/schema/validate and the AI draft pipeline. Clears the only existing-page regression blocking the ai-agent merge to main. TDD: PageSchemaControllerTest#20 rewritten RED->GREEN; 37 schema tests green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 15:49:26 +08:00
..
2026-06-18 11:18:40 +08:00