Skip to content

Commit 7af8f96

Browse files
author
DavidQ
committed
Toolbox Aid
David Quesenberry 04/05/2026 commit_comment.txt docs: harden unified 2D render pipeline contract, validation, composition, and engine mappings for all four tools
1 parent 70d3d9a commit 7af8f96

8 files changed

Lines changed: 623 additions & 177 deletions
Binary file not shown.

docs/dev/CODEX_COMMANDS.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,44 @@ codex_commands.md
1010
- Reasoning: high
1111

1212
## Primary Command
13-
Create BUILD_PR_RENDER_PIPELINE_CONTRACT_ALL_4_TOOLS as a docs-only, repo-structured delta.
13+
Create BUILD_PR_RENDER_PIPELINE_CONTRACT_ALL_4_TOOLS as a docs-only, repo-structured delta that fixes all remaining contract gaps in one PR.
1414

1515
Requirements:
16-
- Follow PLAN_PR -> BUILD_PR -> APPLY_PR
16+
- Follow PLAN_PR -> BUILD_PR -> APPLY_PR exactly
1717
- Docs-first only
1818
- No implementation code in the bundle
19-
- One PR per purpose
19+
- One PR purpose only
2020
- Preserve exact repo-relative structure inside the ZIP
2121
- Place outputs under docs/pr and docs/dev
2222
- Use docs/dev/codex_commands.md and docs/dev/commit_comment.txt
23+
- Include docs/dev/next_command.txt
24+
- Respect the repo file-header standard on every created file
25+
- Tighten contract schemas for all 4 tools
26+
- Define the render pipeline formally
27+
- Lock engine mappings explicitly
28+
- Add a validation layer with non-silent rejection rules
29+
- Add a composition layer with a formal composition document schema
30+
- Keep all scope 2D-only and non-destructive
2331
- Output ZIP path:
2432
- HTML-JavaScript-Gaming-main/tmp/BUILD_PR_RENDER_PIPELINE_CONTRACT_ALL_4_TOOLS_delta.zip
2533

26-
Deliverables:
34+
Required deliverables:
2735
- docs/pr/BUILD_PR_RENDER_PIPELINE_CONTRACT_ALL_4_TOOLS.md
2836
- docs/dev/codex_commands.md
2937
- docs/dev/commit_comment.txt
3038
- docs/dev/change_summary.txt
3139
- docs/dev/validation_checklist.txt
3240
- docs/dev/file_tree.txt
41+
- docs/dev/next_command.txt
42+
43+
Hard acceptance targets:
44+
- All four producers have explicit schema sections
45+
- Formal pipeline stages are documented
46+
- Formal render order buckets are documented
47+
- Engine mappings are explicit and locked
48+
- Validation rules reject invalid contracts without silent repair
49+
- Composition manifest schema is documented
50+
- No implementation files are added
3351

3452
Next command:
3553
- APPLY_PR_RENDER_PIPELINE_CONTRACT_ALL_4_TOOLS

docs/dev/COMMIT_COMMENT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ David Quesenberry
33
04/05/2026
44
commit_comment.txt
55

6-
docs: define unified 2D render pipeline contract seam across tilemap parallax sprite and vector tools
6+
docs: harden unified 2D render pipeline contract, validation, composition, and engine mappings for all four tools

docs/dev/NEXT_COMMAND.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@ David Quesenberry
33
04/05/2026
44
next_command.txt
55

6-
Create BUILD_PR_RENDER_PIPELINE_CONTRACT_ALL_4_TOOLS as a docs-only, repo-structured delta ZIP aligned to the approved PLAN_PR and output it to:
7-
8-
HTML-JavaScript-Gaming-main/tmp/BUILD_PR_RENDER_PIPELINE_CONTRACT_ALL_4_TOOLS_delta.zip
6+
APPLY_PR_RENDER_PIPELINE_CONTRACT_ALL_4_TOOLS

docs/dev/change_summary.txt

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,35 @@ change_summary.txt
55

66
BUILD_PR_RENDER_PIPELINE_CONTRACT_ALL_4_TOOLS summary
77

8-
- Created docs-only BUILD PR bundle for a unified 2D render pipeline contract.
9-
- Defined canonical top-level contract shape shared by:
8+
- Tightened the BUILD PR into a production-grade docs-only contract package.
9+
- Replaced the loose shared contract description with a formal contract family:
10+
- toolbox.render.asset-document
11+
- toolbox.render.composition-document
12+
- Added a required shared envelope with fixed versioning, producer, document, metadata, and payload requirements.
13+
- Added explicit shared schemas for metadata, assets, layers, and items.
14+
- Added locked tool-specific asset-document schemas for:
1015
- Tile Map Editor
1116
- Parallax Editor
1217
- Sprite Editor
1318
- Vector Asset Studio
14-
- Documented shared metadata requirements and ID stability rules.
15-
- Documented shared asset record rules with project-relative path normalization.
16-
- Documented normalized layer model and deterministic render ordering.
17-
- Added explicit tool-specific mapping notes for tilemap/parallax/sprite/vector payloads.
18-
- Defined runtime ownership boundaries and non-silent validation responsibilities.
19-
- Added validation rules and acceptance criteria for the contract seam.
20-
- Added incremental migration guidance designed to avoid breaking unrelated engine APIs.
19+
- Defined the formal render pipeline stages:
20+
- load
21+
- validate
22+
- normalize
23+
- resolve
24+
- compose
25+
- sequence
26+
- render
27+
- Locked deterministic render order buckets and tie-break rules.
28+
- Locked engine seam ownership so runtime responsibilities and tool responsibilities are not guessed.
29+
- Added a mandatory validation layer with explicit rejection policy.
30+
- Added a formal composition document schema to assemble cross-tool scenes.
31+
- Tightened Codex execution instructions so the BUILD bundle is exact and non-drifting.
32+
- Added docs/dev/next_command.txt to make the follow-on APPLY step explicit.
2133

2234
Guardrails honored:
2335
- Docs-first only
2436
- No implementation code
25-
- No 3D scope
26-
- No unrelated sample/game/tool changes
27-
- No engine redesign beyond contract seam
37+
- One PR purpose only
38+
- No unrelated engine or tool changes
39+
- 2D-only scope preserved

docs/dev/file_tree.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ docs/dev/commit_comment.txt
1111
docs/dev/change_summary.txt
1212
docs/dev/validation_checklist.txt
1313
docs/dev/file_tree.txt
14+
docs/dev/next_command.txt

docs/dev/validation_checklist.txt

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,22 @@ BUILD_PR_RENDER_PIPELINE_CONTRACT_ALL_4_TOOLS validation checklist
88
[x] Docs-only bundle created
99
[x] No implementation code included
1010
[x] PLAN_PR -> BUILD_PR -> APPLY_PR workflow honored
11-
[x] One PR purpose only (render pipeline contract)
12-
[x] Unified top-level contract documented for all 4 tools
13-
[x] Shared metadata rules documented
14-
[x] Shared asset record rules documented
15-
[x] Normalized layer model documented
16-
[x] Deterministic render ordering documented
17-
[x] Tool-specific mapping notes included (tilemap/parallax/sprite/vector)
18-
[x] Runtime ownership boundaries documented
19-
[x] Validation rules and acceptance checklist documented
20-
[x] Incremental migration guidance documented
21-
[x] 2D-focused scope preserved
11+
[x] One PR purpose only retained
12+
[x] Shared contract envelope formalized
13+
[x] Shared metadata schema formalized
14+
[x] Shared asset schema formalized
15+
[x] Shared layer schema formalized
16+
[x] Shared item schema formalized
17+
[x] Tile Map Editor schema documented
18+
[x] Parallax Editor schema documented
19+
[x] Sprite Editor schema documented
20+
[x] Vector Asset Studio schema documented
21+
[x] Render pipeline stages formalized
22+
[x] Deterministic render bucket ordering formalized
23+
[x] Engine mappings locked explicitly
24+
[x] Validation rules documented with rejection policy
25+
[x] Allowed defaults restricted and documented
26+
[x] Composition document schema documented
27+
[x] Codex execution constraints tightened
28+
[x] 2D-only scope preserved
2229
[x] No unrelated architecture redesign introduced

0 commit comments

Comments
 (0)