@@ -4,124 +4,50 @@ Model: GPT-5.3-codex
44Reasoning: medium
55
66## PR
7- BUILD_PR_LEVEL_11_113_CODEX_REPAIR_OR_REPORT_ENFORCEMENT
7+ BUILD_PR_LEVEL_11_114_ENFORCE_JSON_FIX_ON_FAILURE
88
99## Execute
1010
11- This PR exists because the previous run applied no changes and left reports empty.
12-
13- ### Mandatory Rule
14-
15- Do not finish with empty reports.
16-
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.
21-
22- ### Repair Loop
23-
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.
31-
32- ### Revisit all active cleanup requests
33-
34- 1 . Direct JSON only:
35- - no presets
36- - no normalizers
37- - no transformers
38- - no converters
39- - no default/demo/fallback data
40-
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
45-
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:
65- - palette-browser
66- - 3d-json-payload
67- - asset-pipeline
68-
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
11+ 1 . Continue from PR 11.113
12+
13+ 2 . For each validation failure:
14+ classify:
15+ - FIXABLE
16+ - NON-FIXABLE
17+
18+ 3 . FIXABLE:
19+ - apply fix directly in JSON
20+ - revalidate
21+ - confirm schema passes
22+
23+ 4 . NON-FIXABLE:
24+ - record blocker with:
25+ file
26+ field
27+ reason
28+ required action
29+
30+ 5 . Auto-fix:
31+ - schema mismatches
32+ - invalid keys
33+ - naming issues
34+ - extra fields
35+ - array formatting
36+ - canonical names
37+
38+ 6 . DO NOT:
39+ - invent missing data
40+ - use defaults
41+ - use presets
42+ - normalize at runtime
43+
44+ 7 . Validate:
45+ - JSON parses
46+ - schema passes after fix
47+
48+ 8 . Reports:
49+ docs/dev/reports/fixes_applied_11_114.txt
50+ docs/dev/reports/fix_blockers_11_114.txt
51+
52+ 9 . Output ZIP:
53+ tmp/PR_11_114_ENFORCE_JSON_FIX_ON_FAILURE.zip
0 commit comments