|
| 1 | +Toolbox Aid |
| 2 | +David Quesenberry |
| 3 | +04/05/2026 |
| 4 | +BUILD_PR_OVERLAY_BOUNDARY.md |
| 5 | + |
| 6 | +# BUILD_PR_OVERLAY_BOUNDARY |
| 7 | + |
| 8 | +## Objective |
| 9 | +Build a docs-only PR bundle that operationalizes the approved Dev Console vs Debug Overlay boundary with explicit rules and acceptance targets. |
| 10 | + |
| 11 | +## Workflow |
| 12 | +PLAN_PR -> BUILD_PR -> APPLY_PR |
| 13 | + |
| 14 | +## Deliverables In This Bundle |
| 15 | +- `docs/pr/PLAN_PR_OVERLAY_BOUNDARY.md` |
| 16 | +- `docs/pr/BUILD_PR_OVERLAY_BOUNDARY.md` |
| 17 | +- `docs/pr/APPLY_PR_OVERLAY_BOUNDARY.md` |
| 18 | +- `docs/dev/codex_commands.md` |
| 19 | +- `docs/dev/commit_comment.txt` |
| 20 | +- `docs/dev/next_command.txt` |
| 21 | +- `docs/dev/reports/change_summary.txt` |
| 22 | +- `docs/dev/reports/validation_checklist.txt` |
| 23 | +- `docs/dev/reports/file_tree.txt` |
| 24 | + |
| 25 | +## Integration Boundary (Sample-Level) |
| 26 | +Reference sample only: |
| 27 | +- `samples/Phase 12 - Demo Games/Demo 1205 - Multi-System Demo/MultiSystemDemoScene.js` |
| 28 | + |
| 29 | +No engine core changes are part of this BUILD bundle. |
| 30 | + |
| 31 | +## Required Boundary Contract |
| 32 | +1. Dev Console is the only command/input surface. |
| 33 | +2. Debug Overlay is the only passive telemetry/HUD surface. |
| 34 | +3. Any shared data must flow through public selectors/events/adapters. |
| 35 | +4. Private internal state from either surface is not a contract. |
| 36 | + |
| 37 | +## Allowed Interaction Contract |
| 38 | +- Console command execution may update runtime state. |
| 39 | +- Overlay telemetry may read runtime/debug snapshots. |
| 40 | +- Overlay may show command outcomes only if present in shared public snapshot/state. |
| 41 | + |
| 42 | +## Prohibited Coupling Contract |
| 43 | +- Overlay parsing/executing commands. |
| 44 | +- Console controlling overlay layout internals. |
| 45 | +- Hidden two-way dependency on private implementation details. |
| 46 | +- Engine-level coupling added only for console-overlay wiring. |
| 47 | + |
| 48 | +## Ownership Matrix |
| 49 | +| Area | Owner | Notes | |
| 50 | +|---|---|---| |
| 51 | +| Command input, caret, history, autocomplete | Dev Console | Overlay cannot depend on this | |
| 52 | +| Command registry execution | Dev Console | Through public command gateway | |
| 53 | +| Visual diagnostics panels | Debug Overlay | Console cannot own panel layout | |
| 54 | +| HUD drawing and ordering | Debug Overlay | Overlay rendered as passive telemetry | |
| 55 | +| Shared snapshot access | Shared public adapter | Read-only, stable contract | |
| 56 | + |
| 57 | +## Validation Goals |
| 58 | +- Distinction is explicit in docs and actionable. |
| 59 | +- Console-only behavior remains in console path. |
| 60 | +- Overlay-only behavior remains in overlay path. |
| 61 | +- Sample-level reference is documented and sufficient. |
| 62 | +- Bundle contains docs only. |
| 63 | + |
| 64 | +## Acceptance Criteria |
| 65 | +- Required sections are present: allowed interactions, prohibited coupling, public contracts, ownership matrix, validation goals, rollout notes. |
| 66 | +- Docs define one PR purpose only. |
| 67 | +- No implementation files are included. |
| 68 | + |
| 69 | +## Rollout Notes |
| 70 | +- This BUILD bundle is docs-first and non-destructive. |
| 71 | +- APPLY phase should only enforce boundary usage at sample-level integration points. |
| 72 | +- If an engine-level need appears, stop and open a separate PR purpose. |
0 commit comments