Skip to content

Commit e0584f8

Browse files
author
DavidQ
committed
Enforce compact primitive array formatting across repo - PR 11.100
1 parent 6e66e14 commit e0584f8

93 files changed

Lines changed: 2267 additions & 30754 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/dev/PROJECT_INSTRUCTIONS.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,4 +286,13 @@ These rules are mandatory for every Codex BUILD execution:
286286
## Current Recovery Lane
287287

288288
The active UAT lane is opening Workspace Manager from a `games/index.html` game tile.
289-
Treat this as a recovery/stabilization PR only. Do not expand into a broader games hub, tool registry, template, or roadmap rewrite.
289+
Treat this as a recovery/stabilization PR only. Do not expand into a broader games hub, tool registry, template, or roadmap rewrite.
290+
291+
---
292+
293+
## ARRAY FORMATTING RULE
294+
295+
- Primitive-only arrays in JSON must use compact single-line formatting.
296+
- Primitive values are: string, number, boolean, and null.
297+
- Complex arrays (arrays containing objects or nested arrays) must not be compacted.
298+
- Do not change JSON contracts or semantics while applying array formatting.

docs/dev/codex_commands.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# Codex Commands - PR 11.99
1+
# CODEX COMMANDS
22

3-
Model: GPT-5.4
4-
Reasoning: high
3+
Model: GPT-5.3-codex
4+
Reasoning: low
55

6-
```powershell
7-
codex exec --model gpt-5.4 --reasoning high "Apply docs/pr/PR_11_99_SCHEMA_FAILURE_CLEANUP_AND_SAMPLE_CONTRACT_ALIGNMENT/BUILD.md exactly. Keep scope to strict schema failure cleanup. Do not loosen schemas. Do not create fallback assets or media buckets. Produce required reports and final repo-structured ZIP at tmp/PR_11_99_SCHEMA_FAILURE_CLEANUP_AND_SAMPLE_CONTRACT_ALIGNMENT.zip."
8-
```
6+
Apply formatting rule:
7+
8+
1. Update PROJECT_INSTRUCTIONS.md with ARRAY FORMATTING RULE
9+
2. Scan repo JSON files
10+
3. Convert primitive arrays to compact format
11+
4. Do NOT modify complex arrays
12+
5. Validate JSON syntax

docs/dev/commit_comment.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Normalize strict sample contracts without weakening schemas - PR 11.99
1+
Enforce compact primitive array formatting across repo - PR 11.100
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# PROJECT INSTRUCTIONS (UPDATE)
2+
3+
## 🔧 ARRAY FORMATTING RULE (MANDATORY)
4+
5+
All arrays MUST be formatted in single-line compact form when values are simple primitives.
6+
7+
### ❌ Invalid
8+
[
9+
1,
10+
1,
11+
1,
12+
1,
13+
1,
14+
1,
15+
1,
16+
1,
17+
1,
18+
1,
19+
1,
20+
1
21+
],
22+
23+
### ✅ Valid
24+
[
25+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
26+
],
27+
28+
## Rules
29+
30+
- Apply to:
31+
- numbers
32+
- strings
33+
- booleans
34+
35+
- Do NOT apply to:
36+
- objects
37+
- nested arrays
38+
- complex structures
39+
40+
- Max line length rule:
41+
- If array exceeds reasonable readability (~120 chars), allow wrap but prefer compact grouping
42+
43+
## Enforcement
44+
45+
- Schema validation MUST NOT allow multi-line primitive arrays
46+
- Codex must normalize arrays during BUILD
47+
- All samples/tools/games must comply
48+

docs/dev/reports/PR_11_21_workspace_tool_presence_evidence.json

Lines changed: 4 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,7 @@
11
{
22
"sourcePath": "samples/phase-19/1902/sample.1902.workspace-all-tools.json",
33
"schemaPath": "tools/schemas/workspace.manifest.schema.json",
4-
"rawLoadedToolKeys": [
5-
"vector-map-editor",
6-
"vector-asset-studio",
7-
"tile-map-editor",
8-
"parallax-editor",
9-
"sprite-editor",
10-
"skin-editor",
11-
"asset-browser",
12-
"palette-browser",
13-
"state-inspector",
14-
"replay-visualizer",
15-
"performance-profiler",
16-
"physics-sandbox",
17-
"asset-pipeline-tool",
18-
"tile-model-converter",
19-
"3d-json-payload-normalizer",
20-
"3d-asset-viewer",
21-
"3d-camera-path-editor",
22-
"palette"
23-
],
4+
"rawLoadedToolKeys": ["vector-map-editor", "vector-asset-studio", "tile-map-editor", "parallax-editor", "sprite-editor", "skin-editor", "asset-browser", "palette-browser", "state-inspector", "replay-visualizer", "performance-profiler", "physics-sandbox", "asset-pipeline-tool", "tile-model-converter", "3d-json-payload-normalizer", "3d-asset-viewer", "3d-camera-path-editor", "palette"],
245
"normalizedKeys": [
256
{
267
"rawKey": "vector-map-editor",
@@ -203,43 +184,7 @@
203184
"reasons": []
204185
}
205186
],
206-
"validPresentKeys": [
207-
"vector-map-editor",
208-
"vector-asset-studio",
209-
"tile-map-editor",
210-
"parallax-editor",
211-
"sprite-editor",
212-
"skin-editor",
213-
"asset-browser",
214-
"palette-browser",
215-
"state-inspector",
216-
"replay-visualizer",
217-
"performance-profiler",
218-
"physics-sandbox",
219-
"asset-pipeline-tool",
220-
"tile-model-converter",
221-
"3d-json-payload-normalizer",
222-
"3d-asset-viewer",
223-
"3d-camera-path-editor"
224-
],
187+
"validPresentKeys": ["vector-map-editor", "vector-asset-studio", "tile-map-editor", "parallax-editor", "sprite-editor", "skin-editor", "asset-browser", "palette-browser", "state-inspector", "replay-visualizer", "performance-profiler", "physics-sandbox", "asset-pipeline-tool", "tile-model-converter", "3d-json-payload-normalizer", "3d-asset-viewer", "3d-camera-path-editor"],
225188
"invalidKeys": [],
226-
"visibleWorkspaceManagerTools": [
227-
"vector-map-editor",
228-
"vector-asset-studio",
229-
"tile-map-editor",
230-
"parallax-editor",
231-
"sprite-editor",
232-
"skin-editor",
233-
"asset-browser",
234-
"palette-browser",
235-
"state-inspector",
236-
"replay-visualizer",
237-
"performance-profiler",
238-
"physics-sandbox",
239-
"asset-pipeline-tool",
240-
"tile-model-converter",
241-
"3d-json-payload-normalizer",
242-
"3d-asset-viewer",
243-
"3d-camera-path-editor"
244-
]
245-
}
189+
"visibleWorkspaceManagerTools": ["vector-map-editor", "vector-asset-studio", "tile-map-editor", "parallax-editor", "sprite-editor", "skin-editor", "asset-browser", "palette-browser", "state-inspector", "replay-visualizer", "performance-profiler", "physics-sandbox", "asset-pipeline-tool", "tile-model-converter", "3d-json-payload-normalizer", "3d-asset-viewer", "3d-camera-path-editor"]
190+
}

docs/dev/reports/PR_11_22_workspace_embedded_payload_asset_status_evidence.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
11
{
22
"sourcePath": "samples/phase-19/1902/sample.1902.workspace-all-tools.json",
3-
"requiredPayloadDocumentMappingKeys": [
4-
"vectorMapDocument",
5-
"vectorAssetDocument",
6-
"tileMapDocument",
7-
"parallaxDocument",
8-
"spriteProject",
9-
"skin",
10-
"assetCatalog",
11-
"palette",
12-
"snapshot",
13-
"events",
14-
"profileSettings",
15-
"physicsBody",
16-
"pipelinePayload",
17-
"candidate",
18-
"mapPayload",
19-
"asset3d",
20-
"cameraPath"
21-
],
3+
"requiredPayloadDocumentMappingKeys": ["vectorMapDocument", "vectorAssetDocument", "tileMapDocument", "parallaxDocument", "spriteProject", "skin", "assetCatalog", "palette", "snapshot", "events", "profileSettings", "physicsBody", "pipelinePayload", "candidate", "mapPayload", "asset3d", "cameraPath"],
224
"byRawManifestToolKey": [
235
{
246
"rawKey": "vector-map-editor",
@@ -339,4 +321,4 @@
339321
}
340322
],
341323
"payloadBackedMissing": []
342-
}
324+
}

docs/dev/reports/PR_11_57_cleanup_actions.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
{
2-
"deletedFiles": [
3-
"samples/phase-02/0205/sample.0205.state-inspector.json",
4-
"samples/phase-02/0208/sample.0208.state-inspector.json",
5-
"samples/phase-02/0217/sample.0217.state-inspector.json",
6-
"samples/phase-07/0708/sample.0708.replay-visualizer.json",
7-
"samples/phase-13/1315/sample.1315.replay-visualizer.json",
8-
"samples/phase-13/1319/sample.1319.performance-profiler.json",
9-
"samples/phase-14/1406/sample.1406.replay-visualizer.json",
10-
"samples/phase-14/1407/sample.1407.performance-profiler.json"
11-
],
2+
"deletedFiles": ["samples/phase-02/0205/sample.0205.state-inspector.json", "samples/phase-02/0208/sample.0208.state-inspector.json", "samples/phase-02/0217/sample.0217.state-inspector.json", "samples/phase-07/0708/sample.0708.replay-visualizer.json", "samples/phase-13/1315/sample.1315.replay-visualizer.json", "samples/phase-13/1319/sample.1319.performance-profiler.json", "samples/phase-14/1406/sample.1406.replay-visualizer.json", "samples/phase-14/1407/sample.1407.performance-profiler.json"],
123
"deletedCount": 8,
134
"removedMetadataReferences": [
145
{

docs/dev/reports/PR_11_59_cleanup_actions.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
11
{
22
"deletedCount": 12,
33
"removedMetadataReferenceCount": 12,
4-
"deletedFiles": [
5-
"samples/phase-03/0305/sample.0305.3d-json-payload-normalizer.json",
6-
"samples/phase-03/0306/sample.0306.parallax-editor.json",
7-
"samples/phase-09/0901/sample.0901.svg-asset-studio.json",
8-
"samples/phase-09/0901/sample.0901.vector-map-editor.json",
9-
"samples/phase-12/1204/sample.1204.parallax-editor.json",
10-
"samples/phase-12/1204/sample.1204.svg-asset-studio.json",
11-
"samples/phase-12/1204/sample.1204.vector-map-editor.json",
12-
"samples/phase-12/1205/sample.1205.parallax-editor.json",
13-
"samples/phase-12/1205/sample.1205.vector-map-editor.json",
14-
"samples/phase-12/1208/sample.1208.3d-asset-viewer.json",
15-
"samples/phase-14/1417/sample.1417.asset-pipeline-tool.json",
16-
"samples/phase-16/1606/sample.1606.physics-sandbox.json"
17-
],
4+
"deletedFiles": ["samples/phase-03/0305/sample.0305.3d-json-payload-normalizer.json", "samples/phase-03/0306/sample.0306.parallax-editor.json", "samples/phase-09/0901/sample.0901.svg-asset-studio.json", "samples/phase-09/0901/sample.0901.vector-map-editor.json", "samples/phase-12/1204/sample.1204.parallax-editor.json", "samples/phase-12/1204/sample.1204.svg-asset-studio.json", "samples/phase-12/1204/sample.1204.vector-map-editor.json", "samples/phase-12/1205/sample.1205.parallax-editor.json", "samples/phase-12/1205/sample.1205.vector-map-editor.json", "samples/phase-12/1208/sample.1208.3d-asset-viewer.json", "samples/phase-14/1417/sample.1417.asset-pipeline-tool.json", "samples/phase-16/1606/sample.1606.physics-sandbox.json"],
185
"removedMetadataReferences": [
196
{
207
"sampleId": "0305",
Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
1-
[
2-
"samples/phase-02/0221/sample.0221.tile-model-converter.json",
3-
"samples/phase-03/0305/sample.0305.3d-json-payload-normalizer.json",
4-
"samples/phase-03/0305/sample.0305.tile-model-converter.json",
5-
"samples/phase-03/0306/sample.0306.parallax-editor.json",
6-
"samples/phase-09/0901/sample.0901.svg-asset-studio.json",
7-
"samples/phase-09/0901/sample.0901.vector-map-editor.json",
8-
"samples/phase-12/1204/sample.1204.parallax-editor.json",
9-
"samples/phase-12/1204/sample.1204.svg-asset-studio.json",
10-
"samples/phase-12/1204/sample.1204.vector-map-editor.json",
11-
"samples/phase-12/1205/sample.1205.parallax-editor.json",
12-
"samples/phase-12/1205/sample.1205.vector-map-editor.json",
13-
"samples/phase-12/1208/sample.1208.3d-asset-viewer.json",
14-
"samples/phase-12/1209/sample.1209.tile-model-converter.json",
15-
"samples/phase-14/1417/sample.1417.asset-pipeline-tool.json",
16-
"samples/phase-16/1606/sample.1606.physics-sandbox.json"
17-
]
1+
["samples/phase-02/0221/sample.0221.tile-model-converter.json", "samples/phase-03/0305/sample.0305.3d-json-payload-normalizer.json", "samples/phase-03/0305/sample.0305.tile-model-converter.json", "samples/phase-03/0306/sample.0306.parallax-editor.json", "samples/phase-09/0901/sample.0901.svg-asset-studio.json", "samples/phase-09/0901/sample.0901.vector-map-editor.json", "samples/phase-12/1204/sample.1204.parallax-editor.json", "samples/phase-12/1204/sample.1204.svg-asset-studio.json", "samples/phase-12/1204/sample.1204.vector-map-editor.json", "samples/phase-12/1205/sample.1205.parallax-editor.json", "samples/phase-12/1205/sample.1205.vector-map-editor.json", "samples/phase-12/1208/sample.1208.3d-asset-viewer.json", "samples/phase-12/1209/sample.1209.tile-model-converter.json", "samples/phase-14/1417/sample.1417.asset-pipeline-tool.json", "samples/phase-16/1606/sample.1606.physics-sandbox.json"]

docs/dev/reports/PR_11_61_cleanup_actions.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@
33
"deletedFiles": [],
44
"removedMetadataReferenceCount": 0,
55
"removedMetadataReferences": [],
6-
"skipReasons": [
7-
"Only two non-protected NO candidates remain and each is coupled to a protected tile-map-editor-document.json entry; deleting would convert protected YES entries into NO and violate count-proof objective."
8-
]
6+
"skipReasons": ["Only two non-protected NO candidates remain and each is coupled to a protected tile-map-editor-document.json entry; deleting would convert protected YES entries into NO and violate count-proof objective."]
97
}

0 commit comments

Comments
 (0)