|
1 | | -# Codex Commands — BUILD_PR_LEVEL_20_19_FORCE_WORKSPACE_TOOL_PAGER_ABOVE_EDITORS |
| 1 | +# Codex Commands — BUILD_PR_LEVEL_20_20_ROLLBACK_WORKSPACE_HEADER_AND_ADD_TOOL_PAGER |
2 | 2 |
|
3 | 3 | ## Model |
4 | 4 | GPT-5.4 or GPT-5.3-codex |
|
10 | 10 |
|
11 | 11 | ```text |
12 | 12 | Read docs/dev/codex_rules.md first. |
13 | | -Read docs/dev/reports/workspace_manager_auto_mount_tool_selection_validation.md if present. |
14 | | -Read docs/dev/specs/TOOL_LAUNCH_SSOT.md if present. |
15 | 13 |
|
16 | | -Execute BUILD_PR_LEVEL_20_19_FORCE_WORKSPACE_TOOL_PAGER_ABOVE_EDITORS. |
| 14 | +Execute BUILD_PR_LEVEL_20_20_ROLLBACK_WORKSPACE_HEADER_AND_ADD_TOOL_PAGER. |
17 | 15 |
|
18 | | -User UAT correction: |
19 | | -- Do not use a new HEADER at all. |
20 | | -- Delete/remove what was created as the top Workspace Manager header/banner/control area. |
21 | | -- Force this UI centered above Editors: |
22 | | - [PREV] <toolname> [NEXT] |
23 | | -- On page load, default <toolname> to the first tool in the available list. |
24 | | -- No more attempts to keep the header. |
25 | | -- No dropdown + Select Tool + Mount initial workflow. |
| 16 | +User UAT failure: |
| 17 | +- Current Workspace Manager page still has the unwanted header/banner/control area. |
| 18 | +- Only the site image is showing below it. |
| 19 | +- User wants this rolled back to the way Workspace Manager loaded before the failed header attempts. |
| 20 | +- Then add only [PREV] <toolname> [NEXT] above the tools/editors section. |
26 | 21 |
|
27 | | -Goal: |
28 | | -Replace the current top header/banner/dropdown workflow with a centered tool pager directly above Editors. |
| 22 | +Rollback anchor: |
| 23 | +Find the commit with commit comment: |
| 24 | +Remove Workspace Manager default and query fallbacks |
29 | 25 |
|
30 | | -Required behavior: |
31 | | -- URL tools/Workspace Manager/index.html?gameId=Bouncing-ball&mount=game renders existing Workspace Manager page shell. |
32 | | -- Remove newly created top banner/header/control content. |
33 | | -- Directly above Editors, centered, render: |
34 | | - [PREV] <selected tool name> [NEXT] |
35 | | -- On page load, select the first available tool for the explicit gameId context. |
36 | | -- Activate/mount selected tool on page load. |
37 | | -- Prev/Next changes the selected tool and active/mounted tool. |
38 | | -- Do not require dropdown. |
39 | | -- Do not require Select Tool button. |
40 | | -- Do not require Mount button. |
41 | | -- Keep game context loaded from explicit gameId. |
42 | | -- Keep samples untouched. |
| 26 | +This is the state after BUILD_PR_LEVEL_20_13_REMOVE_WORKSPACE_MANAGER_DEFAULT_AND_QUERY_FALLBACKS and before the failed 20_14 through 20_19 header/banner attempts. |
43 | 27 |
|
44 | | -User-approved exception: |
45 | | -- First available tool selected on page load is REQUIRED for this PR. |
46 | | -- This is not considered fallback/default anti-pattern for this PR. |
| 28 | +Required steps: |
| 29 | +1. Inspect git history for Workspace Manager files. |
| 30 | +2. Restore only Workspace Manager files affected by 20_14 through 20_19 to the rollback anchor state. |
| 31 | + Likely files: |
| 32 | + - tools/Workspace Manager/main.js |
| 33 | + - tools/Workspace Manager/index.html |
| 34 | + - any Workspace Manager CSS touched by those PRs |
| 35 | +3. Do not rollback unrelated files. |
| 36 | +4. After restore, add exactly one centered pager directly above the existing tools/editors section: |
| 37 | + [PREV] <toolname> [NEXT] |
| 38 | +5. On page load, select the first available tool for the explicit gameId context. |
| 39 | +6. Mount/activate that selected tool. |
| 40 | +7. Prev/Next changes selected and mounted tool. |
| 41 | +8. Do not use dropdown + Select Tool + Mount workflow. |
| 42 | +9. Do not create or keep any new header/banner. |
47 | 43 |
|
48 | 44 | Still forbidden: |
49 | | -- restoring gameId || game |
| 45 | +- restore gameId || game |
50 | 46 | - legacy game query fallback |
51 | 47 | - hidden fallback routing |
52 | 48 | - stale memory reuse |
53 | | -- new header/banner |
| 49 | +- changing samples |
54 | 50 | - broad Workspace Manager refactor |
55 | | -- second SSoT |
56 | 51 | - start_of_day changes |
57 | 52 |
|
58 | | -Likely files: |
59 | | -- tools/Workspace Manager/main.js |
60 | | -- tools/Workspace Manager/index.html |
61 | | -- Workspace Manager CSS only if needed |
62 | | -
|
63 | 53 | Validation: |
64 | | -Create docs/dev/reports/workspace_manager_tool_pager_above_editors_validation.md with: |
| 54 | +Create docs/dev/reports/workspace_manager_rollback_header_and_tool_pager_validation.md with: |
| 55 | +- rollback anchor commit hash and comment |
65 | 56 | - changed files |
66 | | -- proof newly created header/banner/control area removed |
67 | | -- proof centered [PREV] <toolname> [NEXT] appears above Editors |
68 | | -- proof first available tool selected on page load |
69 | | -- proof selected tool active/mounted on page load |
| 57 | +- proof failed header/banner/control area removed |
| 58 | +- proof normal Workspace Manager content loads below site chrome |
| 59 | +- proof only [PREV] <toolname> [NEXT] was added |
| 60 | +- proof pager appears above existing tools/editors section |
| 61 | +- proof first available tool selected/mounted on load |
70 | 62 | - proof Prev/Next changes selected/mounted tool |
71 | | -- proof dropdown + Select Tool + Mount initial workflow removed |
72 | 63 | - proof gameId || game fallback not restored |
73 | | -- proof game context still loads from explicit gameId |
74 | | -- proof sample Open <tool> remains untouched |
| 64 | +- proof samples remain untouched |
75 | 65 | - anti-pattern self-check |
76 | 66 |
|
77 | 67 | Return ZIP at: |
78 | | -tmp/BUILD_PR_LEVEL_20_19_FORCE_WORKSPACE_TOOL_PAGER_ABOVE_EDITORS.zip |
| 68 | +tmp/BUILD_PR_LEVEL_20_20_ROLLBACK_WORKSPACE_HEADER_AND_ADD_TOOL_PAGER.zip |
79 | 69 | ``` |
0 commit comments