You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated `tools/schemas/tools/palette-browser.schema.json` so the canonical Palette Browser schema validates both existing direct palette JSON files and the workspace-wrapped Palette Browser tool payload.
8
+
- This is schema-only contract alignment. No sample palette data was rewritten, wrapped, normalized, or replaced.
9
+
- The direct sample palette JSON files already declared `schema: html-js-gaming.palette` and contained real `swatches`; the stale schema was the deterministic mismatch.
10
+
11
+
Relationships fixed by this schema alignment
12
+
- 0213: direct palette JSON `samples/phase-02/0213/sample.0213.palette.json` now validates against `tools/schemas/tools/palette-browser.schema.json`.
13
+
- 0219: direct palette JSON `samples/phase-02/0219/sample.0219.palette.json` now validates against `tools/schemas/tools/palette-browser.schema.json`.
14
+
- 0301: direct palette JSON `samples/phase-03/0301/sample.0301.palette.json` now validates against `tools/schemas/tools/palette-browser.schema.json`.
15
+
- 0302: direct palette JSON `samples/phase-03/0302/sample.0302.palette.json` now validates against `tools/schemas/tools/palette-browser.schema.json`.
16
+
- 0308: direct palette JSON `samples/phase-03/0308/sample.0308.palette.json` now validates against `tools/schemas/tools/palette-browser.schema.json`.
17
+
- 0313: direct palette JSON `samples/phase-03/0313/sample.0313.palette.json` now validates against `tools/schemas/tools/palette-browser.schema.json`.
18
+
- 0901: direct palette JSON `samples/phase-09/0901/sample.0901.palette.json` now validates against `tools/schemas/tools/palette-browser.schema.json`.
19
+
- 0905: direct palette JSON `samples/phase-09/0905/sample.0905.palette.json` now validates against `tools/schemas/tools/palette-browser.schema.json`.
20
+
- 1204: direct palette JSON `samples/phase-12/1204/sample.1204.palette.json` now validates against `tools/schemas/tools/palette-browser.schema.json`.
21
+
- 1208: direct palette JSON `samples/phase-12/1208/sample.1208.palette.json` now validates against `tools/schemas/tools/palette-browser.schema.json`.
22
+
- 1414: direct palette JSON `samples/phase-14/1414/sample.1414.palette.json` now validates against `tools/schemas/tools/palette-browser.schema.json`.
23
+
24
+
Validation evidence
25
+
- Before fix: palette relationships failed schema validation with missing `tool` / missing `payload` because the schema only accepted the workspace wrapper shape.
26
+
- After fix: targeted relationship harness reports 31 WORKING / 0 invalid.
0 commit comments