@@ -4,73 +4,124 @@ Model: GPT-5.3-codex
44Reasoning: medium
55
66## PR
7- BUILD_PR_LEVEL_11_111_TEST_SCHEMA_RELOCATION_AND_INFER_PATH_REMOVAL
7+ BUILD_PR_LEVEL_11_113_CODEX_REPAIR_OR_REPORT_ENFORCEMENT
88
99## Execute
1010
11- 1 . Move test-only schema files out of runtime tool folders:
12- - tools/palette-editor/tool.schema.json -> tests/fixtures/tool-schemas/palette-editor/tool.schema.json
13- - tools/vector-asset-studio/tool.schema.json -> tests/fixtures/tool-schemas/vector-asset-studio/tool.schema.json
14- - tools/vector-map-editor/tool.schema.json -> tests/fixtures/tool-schemas/vector-map-editor/tool.schema.json
11+ This PR exists because the previous run applied no changes and left reports empty.
1512
16- 2 . Update any tests or scripts that referenced the old paths.
13+ ### Mandatory Rule
1714
18- 3 . Do not leave duplicate runtime copies at:
19- - tools/palette-editor/tool.schema.json
20- - tools/vector-asset-studio/tool.schema.json
21- - tools/vector-map-editor/tool.schema.json
15+ Do not finish with empty reports.
2216
23- 4 . Search focused tool input/loading/shared code for inference and compatibility helpers:
24- - infer*
25- - normalize*
26- - transform*
27- - convert*
28- - coerce*
29- - resolve* Legacy*
30- - fallback*
31- - default* when used as hidden input/data injection
32- - alias/remap helpers
17+ For every requested item, do one:
18+ 1 . Fix it.
19+ 2 . Prove no fix is needed with file/path evidence.
20+ 3 . Report a precise blocker with file/path/line evidence and the next required action.
3321
34- 5 . Remove the smallest safe set of shared inference/compatibility code that affects tool input/source/payload loading.
22+ ### Repair Loop
3523
36- 6 . Keep only allowed pre-schema checks:
37- - file exists
38- - JSON parse
24+ For each issue:
25+ 1 . Search.
26+ 2 . Record search scope and pattern.
27+ 3 . If found, fix if in scope.
28+ 4 . Re-run targeted validation.
29+ 5 . If not fixed, report exact blocker.
30+ 6 . Repeat until fixed or explicitly blocked.
3931
40- 7 . Ensure all other input validation is schema-only.
32+ ### Revisit all active cleanup requests
4133
42- 8 . Ensure failures render visible screen errors:
43- - missing file
44- - malformed JSON
45- - schema mismatch
34+ 1 . Direct JSON only:
35+ - no presets
36+ - no normalizers
37+ - no transformers
38+ - no converters
39+ - no default/demo/fallback data
4640
47- 9 . Preserve direct flow:
48- explicit JSON file -> schema validation -> render as-is
41+ 2 . Schema-only validation:
42+ - allowed pre-schema checks: file exists, JSON parse
43+ - all other validation belongs in schema
44+ - invalid input renders visible screen error
4945
50- 10 . Preserve canonical names:
46+ 3 . Move test-only schema files:
47+ - tools/palette-editor/tool.schema.json
48+ - tools/vector-asset-studio/tool.schema.json
49+ - tools/vector-map-editor/tool.schema.json
50+ into:
51+ - tests/fixtures/tool-schemas/<tool-id >/tool.schema.json
52+ Remove runtime duplicates.
53+
54+ 4 . Remove/report shared/tool input code:
55+ - infer*
56+ - normalize*
57+ - tryLoadPreset*
58+ - buildPreset*
59+ - input-mutation replace*
60+ - legacy remappers
61+ - alias acceptance
62+ - fallback/default data injection
63+
64+ 5 . Enforce canonical names:
5165 - palette-browser
5266 - 3d-json-payload
5367 - asset-pipeline
5468
55- 11 . Preserve compact primitive-array formatting.
56-
57- 12 . Validate targeted paths:
58- - moved fixture files exist
59- - old runtime tool.schema.json files are gone
60- - changed test/script references work
61- - changed JSON parses
62- - changed manifests validate
63- - no removed helper references remain
64-
65- 13 . Write reports:
66- - docs/dev/reports/tool_schema_fixture_relocation_11_111.txt
67- - docs/dev/reports/inference_path_removal_11_111.txt
68- - docs/dev/reports/schema_only_runtime_check_11_111.txt
69-
70- 14 . Roadmap:
71- - update status markers only if execution-backed
72- - do not rewrite roadmap text
73- - do not delete roadmap text
74-
75- 15 . Package Codex output ZIP at:
76- tmp/PR_11_111_TEST_SCHEMA_RELOCATION_AND_INFER_PATH_REMOVAL.zip
69+ 6 . Remove stale names:
70+ - palette as a tool key/name
71+ - palette-editor
72+ - 3d-json-payload-normalizer
73+ - Asset Pipeline Tool
74+ - asset-pipeline-tool
75+
76+ 7 . Enforce sample/tool truthfulness:
77+ - if sample cannot load in aligned tool, remove the tool reference
78+ - do not add fake data
79+
80+ 8 . Restore compact primitive arrays:
81+ - primitive arrays must be compact grouped
82+ - do not expand simple arrays one value per line
83+
84+ ### Validation
85+
86+ Run targeted validation and include command/result in reports:
87+ - changed JSON parses
88+ - changed manifests validate
89+ - helper references removed or justified
90+ - moved files exist
91+ - old files removed
92+ - invalid input shows visible screen error if affected path changed
93+
94+ ### Reports
95+
96+ Write populated reports:
97+ - docs/dev/reports/repair_or_report_summary_11_113.txt
98+ - docs/dev/reports/json_schema_repair_loop_11_113.txt
99+ - docs/dev/reports/shared_code_cleanup_11_113.txt
100+ - docs/dev/reports/tool_binding_truthfulness_11_113.txt
101+ - docs/dev/reports/blockers_11_113.txt
102+
103+ Each report must include:
104+ - files searched
105+ - matches found
106+ - files changed
107+ - skipped items
108+ - exact reason skipped
109+ - validation command used
110+ - validation result
111+ - remaining blockers
112+
113+ If zero matches:
114+ - report the exact search pattern
115+ - report the scope searched
116+ - state that zero matches were found
117+
118+ ### Roadmap
119+
120+ - status-only update if execution-backed
121+ - do not rewrite roadmap text
122+ - do not delete roadmap text
123+
124+ ### Output
125+
126+ Package Codex output ZIP at:
127+ tmp/PR_11_113_CODEX_REPAIR_OR_REPORT_ENFORCEMENT.zip
0 commit comments