Skip to content

Commit 381a9a4

Browse files
author
DavidQ
committed
commit
1 parent 86f2611 commit 381a9a4

3 files changed

Lines changed: 65 additions & 2 deletions

File tree

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# BUILD_PR_LEVEL_11_126_STRICT_SCHEMA_BOUNDARY_FIX_EXECUTION
2+
3+
## Purpose
4+
Apply STRICT SCOPE execution to perform the previously failing schema boundary fix with enforced file-level control.
5+
6+
## Scope
7+
- testable PR
8+
- STRICT SCOPE enforced
9+
- no drift
10+
- no extra changes
11+
- only schema boundary correction
12+
13+
## STRICT SCOPE
14+
15+
### ALLOWED FILES
16+
17+
- tools/schemas/workspace.manifest.schema.json
18+
- tools/schemas/tools/palette-browser.schema.json
19+
20+
### ALLOWED CHANGES
21+
22+
#### workspace.manifest.schema.json
23+
- REMOVE any palette payload structure (swatches, palette fields)
24+
- KEEP ONLY $ref to palette-browser.schema.json
25+
26+
#### palette-browser.schema.json
27+
- REMOVE:
28+
- oneOf
29+
- $defs.toolPayload
30+
- wrapper payload
31+
- tool field
32+
- KEEP ONLY direct palette payload structure
33+
34+
## FORBIDDEN
35+
36+
- no other file changes
37+
- no refactors
38+
- no formatting changes outside these files
39+
- no new files
40+
- no cleanup outside scope
41+
42+
## VALIDATION
43+
44+
Codex MUST:
45+
46+
1. Modify ONLY allowed files
47+
2. Run:
48+
git diff --name-only
49+
3. Confirm ONLY allowed files changed
50+
4. If any other file appears → revert it
51+
52+
## REQUIRED OUTPUT
53+
54+
- list of changed files
55+
- confirmation scope respected
56+
- diff summary
57+
58+
## FAILURE CONDITIONS
59+
60+
FAIL if:
61+
- no file changes
62+
- files outside scope changed
63+
- schema still contains palette payload in workspace

tools/schemas/tools/palette-browser.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@
6767
}
6868
}
6969
},
70-
"description": "Direct Palette Browser payload schema; accepts palette JSON only and does not accept tool, workspace, game, or sample wrappers."
70+
"description": "Payload-only Palette Browser schema for direct palette JSON; rejects tool, workspace, game, and sample wrappers."
7171
}

tools/schemas/workspace.manifest.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"type": "object",
3535
"required": ["palette-browser"],
3636
"additionalProperties": false,
37-
"description": "Workspace-owned tool entries keyed by canonical registry ids; payload structure stays in referenced child tool schemas only.",
37+
"description": "Workspace-owned tool entry map keyed by canonical registry ids; payload schemas are referenced, never inlined here.",
3838
"properties": {
3939
"palette-browser": {
4040
"$ref": "./tools/palette-browser.schema.json"

0 commit comments

Comments
 (0)