|
| 1 | +Toolbox Aid |
| 2 | +David Quesenberry |
| 3 | +04/06/2026 |
| 4 | +PLAN_PR_DEBUG_SURFACES_ADVANCED_INSPECTORS.md |
| 5 | + |
| 6 | +# PLAN_PR_DEBUG_SURFACES_ADVANCED_INSPECTORS |
| 7 | + |
| 8 | +## Workflow Discipline |
| 9 | +PLAN_PR -> BUILD_PR -> APPLY_PR |
| 10 | + |
| 11 | +## Purpose |
| 12 | +Define a docs-first plan for advanced shared inspector capabilities under debug surfaces while preserving strict opt-in adoption and no engine core changes. |
| 13 | + |
| 14 | +## Requirements Alignment |
| 15 | +- docs-first |
| 16 | +- no engine core changes |
| 17 | +- one PR per purpose |
| 18 | +- shared inspector capability opt-in only |
| 19 | +- no auto-injection into unrelated games/samples |
| 20 | +- no hidden 3D assumptions |
| 21 | +- roadmap updates by bracket-only edits only |
| 22 | + |
| 23 | +## In Scope |
| 24 | +- shared inspector host contract |
| 25 | +- shared inspector registry contract |
| 26 | +- inspector command bridge contract |
| 27 | +- inspector view-model boundary contract |
| 28 | +- ownership split: shared contracts vs project/sample adapters |
| 29 | +- rollout/validation strategy for opt-in adoption |
| 30 | + |
| 31 | +## Out Of Scope |
| 32 | +- engine core API changes |
| 33 | +- forced integration into all games/samples/tools |
| 34 | +- default-on behavior for inspector plugins |
| 35 | +- transport/persistence redesign |
| 36 | +- 3D-specific assumptions as required inputs |
| 37 | + |
| 38 | +## Ownership Model |
| 39 | +### Shared (`engine/debug/inspectors`) |
| 40 | +- host + registry contracts |
| 41 | +- command-surface contracts |
| 42 | +- read-only inspector view-model contracts |
| 43 | +- explicit adapter seams |
| 44 | + |
| 45 | +### Project/Sample/Tool Layer |
| 46 | +- domain-specific target resolvers |
| 47 | +- local data extractors/adapters |
| 48 | +- local labeling and projection rules |
| 49 | +- local opt-in wiring |
| 50 | + |
| 51 | +### Engine Core |
| 52 | +- no changes in this PLAN PR |
| 53 | + |
| 54 | +## Candidate Shared Structure |
| 55 | +```text |
| 56 | +engine/debug/inspectors/ |
| 57 | + bootstrap/ |
| 58 | + host/ |
| 59 | + registry/ |
| 60 | + commands/ |
| 61 | + viewModels/ |
| 62 | + adapters/ |
| 63 | +``` |
| 64 | + |
| 65 | +## Candidate Inspector Commands |
| 66 | +- inspector.help |
| 67 | +- inspector.status |
| 68 | +- inspector.open <inspectorId> |
| 69 | +- inspector.close <inspectorId> |
| 70 | +- inspector.focus <targetId> |
| 71 | +- inspector.snapshot |
| 72 | + |
| 73 | +## Validation Goals |
| 74 | +- no engine core diffs required |
| 75 | +- inspector capability remains opt-in |
| 76 | +- no hidden 3D assumptions in shared contracts |
| 77 | +- no auto-wiring to unrelated games/samples |
| 78 | +- command paths flow through host/registry APIs only |
| 79 | + |
| 80 | +## Deliverables |
| 81 | +- docs/pr/PLAN_PR_DEBUG_SURFACES_ADVANCED_INSPECTORS.md |
| 82 | +- docs/pr/BUILD_PR_DEBUG_SURFACES_ADVANCED_INSPECTORS.md |
| 83 | +- docs/pr/APPLY_PR_DEBUG_SURFACES_ADVANCED_INSPECTORS.md |
| 84 | +- docs/dev/CODEX_COMMANDS.md |
| 85 | +- docs/dev/COMMIT_COMMENT.txt |
| 86 | +- docs/dev/NEXT_COMMAND.txt |
| 87 | +- docs/dev/reports/change_summary.txt |
| 88 | +- docs/dev/reports/file_tree.txt |
| 89 | +- docs/dev/reports/validation_checklist.txt |
0 commit comments