|
1 | 1 | # CODEX COMMANDS |
2 | 2 |
|
3 | 3 | Model: GPT-5.3-codex |
4 | | -Reasoning: low |
| 4 | +Reasoning: medium |
5 | 5 |
|
6 | 6 | ## PR |
7 | | -BUILD_PR_LEVEL_11_104_SCHEMA_FILENAME_CANONICALIZATION_AND_ARRAY_RULE_RESTORE |
| 7 | +BUILD_PR_LEVEL_11_105_REMOVE_BROKEN_SAMPLE_TOOL_BINDINGS |
8 | 8 |
|
9 | 9 | ## Execute |
10 | 10 |
|
11 | | -1. Rename schema files: |
12 | | - - tools/schemas/tools/3d-json-payload.schema.json -> tools/schemas/tools/3d-json-payload.schema.json |
13 | | - - tools/schemas/tools/asset-pipeline.schema.json -> tools/schemas/tools/asset-pipeline.schema.json |
14 | | - |
15 | | -2. Update every repo reference to the renamed schema files: |
16 | | - - `$ref` |
17 | | - - schema ids |
18 | | - - validation scripts |
19 | | - - docs |
20 | | - - tool/sample/game JSON |
21 | | - |
22 | | -3. Validate all JSON against strict schemas. |
23 | | - |
24 | | -4. Fix JSON/schema mismatches only: |
25 | | - - stale schema references |
26 | | - - stale tool ids |
27 | | - - invalid/unknown properties |
28 | | - - missing required fields |
29 | | - - wrong canonical names |
30 | | - |
31 | | -5. Restore the Project Instructions compact primitive-array formatting rule if it is missing or changed: |
32 | | - - simple primitive arrays must use compact grouped form: |
33 | | - [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] |
34 | | - - do not apply to arrays of objects, nested arrays, or complex structures |
35 | | - |
36 | | -6. Normalize repo JSON primitive arrays to match the rule. |
37 | | - |
38 | | -7. Confirm no old names remain: |
39 | | - - 3d-json-payload.schema.json |
40 | | - - asset-pipeline.schema.json |
41 | | - - palette |
42 | | - - palette-browser |
43 | | - |
44 | | -8. Write reports: |
45 | | - - docs/dev/reports/schema_filename_canonicalization_11_104.txt |
46 | | - - docs/dev/reports/json_schema_alignment_11_104.txt |
47 | | - - docs/dev/reports/array_formatting_rule_11_104.txt |
48 | | - |
49 | | -9. Roadmap: |
50 | | - - only update status markers if execution-backed |
51 | | - - do not rewrite roadmap text |
52 | | - - do not delete roadmap text |
53 | | - |
54 | | -## Constraints |
55 | | - |
56 | | -- Do not loosen schemas. |
57 | | -- Do not add aliases. |
58 | | -- Do not add fallback/default asset data. |
59 | | -- Do not write implementation code unless required only to update validation/reference paths. |
60 | | -- Do not run full samples smoke test unless validation proves shared sample loader/framework was changed. |
| 11 | +1. Treat this as runtime-alignment cleanup before schema lock. |
| 12 | + |
| 13 | +2. Apply canonical naming: |
| 14 | + - Replace user-facing/reference-facing `3D JSON Payload Normalizer` with `3D JSON Payload`. |
| 15 | + - Replace ids/refs `3d-json-payload-normalizer` with `3d-json-payload`. |
| 16 | + - Replace `Asset Pipeline Tool` with `Asset Pipeline`. |
| 17 | + - Replace ids/refs `asset-pipeline-tool` with `asset-pipeline`. |
| 18 | + - Do not leave aliases or duplicate names. |
| 19 | + |
| 20 | +3. Remove broken sample/tool references unless a valid aligned input file exists and loads: |
| 21 | + - 3D Camera Path Editor: remove references with no valid Path input. |
| 22 | + - 3D JSON Payload: remove references with no valid payload input. |
| 23 | + - Asset Browser / Import Hub: remove references where `active-project-manifest.tools.asset-browser.assets` is missing/empty/invalid. |
| 24 | + - Asset Pipeline: remove references with no valid Pipeline Input. |
| 25 | + - Parallax Scene Studio: remove affected references that render bars instead of valid parallax content. |
| 26 | + - Performance Profiler: remove default-only references, including Sample 0512 if no real performance JSON exists. |
| 27 | + - Physics Sandbox: remove default-only references, including Sample 0210 if no real physics JSON exists. |
| 28 | + - Primitive Skin Editor: remove references from samples 0226 and 0227 unless real skin input plus schema/source metadata exists. |
| 29 | + - Replay Visualizer: remove references with no valid replay input. |
| 30 | + - State Inspector: remove references with no valid inspection snapshot JSON input. |
| 31 | + - SVG Asset Studio: remove from samples 0901, 1204, 1208; keep 1215, 1216, 0127 only if they still load and validate. |
| 32 | + - Vector Map Editor: remove from samples 0901, 1204, 1205 unless valid vector map input exists and loads. |
| 33 | + |
| 34 | +4. Do not create placeholder JSON to preserve a broken reference. |
| 35 | +5. Do not introduce silent fallback/default values. |
| 36 | +6. Do not loosen schemas. |
| 37 | +7. Do not modify unrelated files. |
| 38 | +8. Preserve compact primitive-array formatting rule and formatting. |
| 39 | + |
| 40 | +9. Validate: |
| 41 | + - changed JSON parses |
| 42 | + - changed manifests validate |
| 43 | + - no old names remain: |
| 44 | + - Normalizer |
| 45 | + - Asset Pipeline Tool |
| 46 | + - no sample lists a removed broken tool reference |
| 47 | + |
| 48 | +10. Write reports: |
| 49 | + - docs/dev/reports/broken_sample_tool_bindings_11_105.txt |
| 50 | + - docs/dev/reports/tool_reference_cleanup_11_105.txt |
| 51 | + - docs/dev/reports/canonical_tool_names_11_105.txt |
| 52 | + |
| 53 | +11. Roadmap: |
| 54 | + - status-only update if execution-backed. |
| 55 | + - do not rewrite roadmap text. |
| 56 | + - do not delete roadmap text. |
| 57 | + |
| 58 | +12. Package Codex output ZIP at: |
| 59 | + tmp/PR_11_105_REMOVE_BROKEN_SAMPLE_TOOL_BINDINGS.zip |
0 commit comments