|
| 1 | +# PLAN_PR_LEVEL_17_18_RENDER_PIPELINE_STAGES |
| 2 | + |
| 3 | +## Purpose |
| 4 | +Add the next smallest 3D debug-support capability after the camera debug panel by exposing render pipeline stage visibility in the standard 3D debug surface. |
| 5 | + |
| 6 | +## Why This PR Exists |
| 7 | +Track H in the master roadmap still lists Render pipeline stages as planned work in the 3D debug-support lane. This PR isolates that single capability so it can be implemented, tested, and validated without expanding into collision overlays or scene graph inspection. |
| 8 | + |
| 9 | +## Scope |
| 10 | +Implement a minimal, testable render-pipeline stages panel for 3D debug support. |
| 11 | + |
| 12 | +## In Scope |
| 13 | +- one new 3D render-pipeline provider for read-only stage data |
| 14 | +- one new standard 3D panel for render-pipeline stages |
| 15 | +- minimal panel registration/wiring needed for the panel to appear in the existing debug surface |
| 16 | +- test coverage for provider output and panel registration/render contract |
| 17 | +- validation checklist updates for manual smoke verification |
| 18 | + |
| 19 | +## Out of Scope |
| 20 | +- collision overlays |
| 21 | +- scene graph inspector |
| 22 | +- camera debug panel changes except integration compatibility |
| 23 | +- transform inspector expansion |
| 24 | +- render-engine behavior changes beyond read-only debug exposure |
| 25 | +- broad refactors or folder cleanup |
| 26 | + |
| 27 | +## Constraints |
| 28 | +- stay inside PLAN_PR -> BUILD_PR -> APPLY_PR workflow |
| 29 | +- one PR purpose only |
| 30 | +- smallest scoped valid change |
| 31 | +- no repo-wide scanning unless required |
| 32 | +- no start_of_day edits |
| 33 | +- no unrelated workspace cleanup |
| 34 | + |
| 35 | +## Target Shape |
| 36 | +- `src/engine/debug/standard/threeD/providers/renderPipelineStagesProvider.js` |
| 37 | +- `src/engine/debug/standard/threeD/panels/panel3dRenderPipelineStages.js` |
| 38 | +- minimal registry/wiring file updates only if required by the existing 3D debug panel system |
| 39 | +- targeted test file(s) |
| 40 | + |
| 41 | +## Acceptance Intent |
| 42 | +- panel appears in the existing 3D debug surface |
| 43 | +- panel shows a stable ordered list of pipeline stages or stage-state rows |
| 44 | +- panel remains read-only |
| 45 | +- no regression to the already-added camera debug panel |
| 46 | +- no regression to existing 3D support panels |
| 47 | + |
| 48 | +## Validation Focus |
| 49 | +- provider returns normalized stage rows |
| 50 | +- panel renders empty/fallback state safely |
| 51 | +- panel renders stage rows when provider returns data |
| 52 | +- 3D debug surface still loads without console errors |
0 commit comments