Skip to content

Commit a9e33ad

Browse files
author
DavidQ
committed
apply: presets + advanced ux execution pack
1 parent 4258eaa commit a9e33ad

23 files changed

Lines changed: 2208 additions & 157 deletions

docs/dev/CODEX_COMMANDS.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@ MODEL: GPT-5.4-codex
22
REASONING: high
33

44
COMMAND:
5-
Create PLAN_PR_DEBUG_SURFACES_ADVANCED_UX
5+
Apply APPLY_PR_DEBUG_SURFACES_PRESETS and APPLY_PR_DEBUG_SURFACES_ADVANCED_UX
66

77
Requirements:
8-
- Follow PLAN_PR -> BUILD_PR -> APPLY_PR
9-
- Docs-first only
10-
- One PR per purpose
11-
- Plan a reusable advanced UX layer for promoted debug surfaces
12-
- Define panel group infrastructure, quick toggles, macro registry/executor, optional shortcut helpers, command surfaces, naming conventions, and target structure
13-
- Keep the first version small and opt-in
14-
- Ensure macros compose only public APIs and approved commands/actions
15-
- Exclude layout editors, docking systems, 3D-specific, network-specific, and project-specific workflow implementations from the shared layer
16-
- Write outputs under docs/pr and docs/dev/reports
17-
- Put codex command and commit comment under docs/dev
18-
- Package to <project folder>/tmp/PLAN_PR_DEBUG_SURFACES_ADVANCED_UX_delta.zip
8+
- Execute both APPLY PRs in sequence
9+
- Do not introduce new features
10+
- Preserve behavior parity
11+
- Use existing public APIs only
12+
- Validate after both APPLY steps
13+
- Do not refactor unrelated systems
14+
- Keep project-specific logic outside engine-debug
15+
- Ensure preset system and advanced UX integrate cleanly
16+
- Maintain persistence compatibility

docs/dev/COMMIT_COMMENT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
docs: plan advanced UX layer for debug surfaces with public-API-only macro composition and opt-in groups/toggles/shortcuts
1+
apply: presets + advanced ux execution pack

docs/dev/NEXT_COMMAND.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Next:
2-
BUILD_PR_DEBUG_SURFACES_ADVANCED_UX
2+
PLAN_PR_DEBUG_SURFACES_3D_SUPPORT
Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,5 @@
1-
PLAN_PR_DEBUG_SURFACES_ADVANCED_UX change summary
2-
3-
Summary
4-
- Refined docs-only plan bundle for advanced debug surfaces UX.
5-
- Kept one PR purpose: advanced UX planning only.
6-
- Kept v1 small and opt-in.
7-
8-
Plan now defines
9-
- panel group infrastructure
10-
- quick toggles
11-
- macro registry/executor with hard public-API composition rules
12-
- optional shortcut helpers
13-
- command surfaces
14-
- naming conventions
15-
- target structure
16-
17-
Scope controls preserved
18-
- excludes layout editors, docking systems, 3D-specific, network-specific, and project-specific shared workflow implementations
19-
20-
Outputs
21-
- docs/pr/PLAN_PR_DEBUG_SURFACES_ADVANCED_UX.md
22-
- docs/dev/codex_commands.md
23-
- docs/dev/commit_comment.txt
24-
- docs/dev/reports/change_summary.txt
25-
- docs/dev/reports/validation_checklist.txt
26-
- docs/dev/reports/file_tree.txt
27-
28-
Next recommended command
29-
- BUILD_PR_DEBUG_SURFACES_ADVANCED_UX
1+
Execution pack v2:
2+
- Includes APPLY presets + advanced UX
3+
- Includes codex_commands.md (required)
4+
- Provides execution steps and validation
5+
- Ready for Codex execution

docs/dev/reports/file_tree.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
HTML-JavaScript-Gaming/
2-
|-- docs/
3-
| |-- pr/
4-
| | `-- PLAN_PR_DEBUG_SURFACES_ADVANCED_UX.md
5-
| `-- dev/
6-
| |-- codex_commands.md
7-
| |-- commit_comment.txt
8-
| `-- reports/
9-
| |-- change_summary.txt
10-
| |-- validation_checklist.txt
11-
| `-- file_tree.txt
12-
`-- tmp/
13-
`-- PLAN_PR_DEBUG_SURFACES_ADVANCED_UX_delta.zip
1+
APPLY_PR_DEBUG_SURFACES_EXECUTION_PACK_v2/
2+
└── docs/
3+
├── dev/
4+
│ ├── codex_commands.md
5+
│ ├── commit_comment.txt
6+
├── next_command.txt
7+
└── reports/
8+
├── change_summary.txt
9+
├── validation_checklist.txt
10+
└── file_tree.txt
11+
└── pr/
12+
├── APPLY_PR_DEBUG_SURFACES_PRESETS.md
13+
└── APPLY_PR_DEBUG_SURFACES_ADVANCED_UX.md
Lines changed: 9 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,9 @@
1-
PLAN_PR_DEBUG_SURFACES_ADVANCED_UX validation checklist
2-
3-
Workflow
4-
- [done] PLAN_PR -> BUILD_PR -> APPLY_PR structure referenced
5-
- [done] Docs-first only
6-
- [done] One PR per purpose
7-
8-
Plan Content
9-
- [done] Panel group infrastructure defined
10-
- [done] Quick toggles defined
11-
- [done] Macro registry/executor defined
12-
- [done] Optional shortcut helpers defined
13-
- [done] Command surfaces defined
14-
- [done] Naming conventions defined
15-
- [done] Target structure defined
16-
- [done] Macros constrained to public APIs and approved commands/actions
17-
18-
Scope Controls
19-
- [done] v1 remains small and opt-in
20-
- [done] layout editor scope excluded
21-
- [done] docking system scope excluded
22-
- [done] 3D-specific scope excluded
23-
- [done] network-specific scope excluded
24-
- [done] project-specific shared workflow implementations excluded
25-
26-
Outputs
27-
- [done] Plan doc under docs/pr
28-
- [done] Codex command under docs/dev
29-
- [done] Commit comment under docs/dev
30-
- [done] Reports under docs/dev/reports
31-
- [done] Delta zip generated at <project folder>/tmp/PLAN_PR_DEBUG_SURFACES_ADVANCED_UX_delta.zip
1+
Validation Checklist
2+
3+
[ ] Presets apply correctly
4+
[ ] Overlay responds to preset changes
5+
[ ] Persistence remains stable
6+
[ ] Panel groups work
7+
[ ] Macros execute correctly
8+
[ ] Toggles behave correctly
9+
[ ] No regression in console or overlay
Lines changed: 16 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,18 @@
11
# APPLY_PR_DEBUG_SURFACES_ADVANCED_UX
22

3-
## Purpose
4-
5-
Apply the approved advanced UX plan by creating the first reusable panel groups, quick toggles, macros, and optional shortcut helpers for the promoted debug surfaces platform.
6-
7-
## Apply Scope
8-
9-
### Create Shared Group Infrastructure
10-
- panel group registry
11-
- shared panel group registrations
12-
- group commands
13-
14-
### Create Shared Macro Infrastructure
15-
- macro registry
16-
- macro executor
17-
- shared macro registrations
18-
- macro commands
19-
20-
### Create Shared Toggle Helpers
21-
- quick toggle commands
22-
23-
### Create Optional Shortcut Helpers
24-
- optional debug shortcut registration
25-
26-
### Keep Local
27-
- project-specific macros
28-
- project-specific shortcuts
29-
- scene-specific workflow helpers
30-
- tool-specific workflow helpers
31-
32-
## Apply Rules
33-
34-
- keep adoption opt-in
35-
- preserve public API boundaries
36-
- macros compose approved public commands/actions only
37-
- shortcut registration remains optional and debug-only
38-
- validate through sample and tool integrations
3+
## Execution Steps
4+
1. Create DebugPanelGroupRegistry
5+
2. Create DebugMacroRegistry and DebugMacroExecutor
6+
3. Implement group commands (group.*)
7+
4. Implement macro commands (macro.*)
8+
5. Implement quick toggle commands (toggle.*)
9+
6. Optional: shortcut bindings
10+
7. Validate:
11+
- groups toggle correctly
12+
- macros execute via public commands
13+
- toggles behave consistently
14+
15+
## Rules
16+
- Macros compose public APIs only
17+
- No direct runtime mutation
18+
- Keep shortcuts optional
Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
11
# APPLY_PR_DEBUG_SURFACES_PRESETS
22

3-
## Objective
4-
Apply the approved presets build as a focused implementation PR with no expansion beyond the v1 preset scope.
3+
## Execution Steps
4+
1. Create DebugPresetRegistry and DebugPresetApplier
5+
2. Implement preset commands (preset.*)
6+
3. Add shared presets:
7+
- gameplay
8+
- rendering
9+
- systems
10+
- minimal
11+
- qa
12+
4. Register via registerStandardDebugPresets()
13+
5. Validate:
14+
- overlay updates correctly
15+
- preset switching works
16+
- persistence behavior is correct
517

6-
## Apply Scope
7-
- implement `DebugPresetRegistry`
8-
- implement `DebugPresetApplier`
9-
- implement `registerStandardDebugPresets()` with v1 shared inventory
10-
- implement `registerPresetCommands()` with v1 command set
11-
12-
## Guardrails
13-
- keep v1 to visibility + optional ordering
14-
- use public APIs only
15-
- keep project-specific presets outside shared layer
16-
- preserve precedence with persistence exactly as defined
17-
- no excluded scope features
18-
19-
## Apply Validation
20-
- preset registry/applier functions pass deterministic behavior checks
21-
- shared preset inventory loads and applies
22-
- preset command set works with safe failures
23-
- precedence with persistence is correct
24-
- no project-specific preset implementation leaks into shared layer
25-
26-
## Expected Outcome
27-
A small, opt-in presets system for promoted debug surfaces is ready with clear extension boundaries.
18+
## Rules
19+
- Presets = configuration only (no runtime logic)
20+
- Use public APIs only
21+
- No feature expansion

0 commit comments

Comments
 (0)