|
1 | | -# Codex command for PLAN_PR_SAMPLES_BUNDLED_FINALIZATION |
| 1 | +# Codex command for BUILD_PR_SAMPLES_BROWSE_VISUALS_AND_NAVIGATION |
2 | 2 |
|
3 | 3 | MODEL: GPT-5.4-codex |
4 | 4 | REASONING: high |
5 | 5 |
|
6 | 6 | COMMAND: |
7 | | -Create PLAN_PR_SAMPLES_BUNDLED_FINALIZATION as docs-only planning. |
8 | | - |
9 | | -OBJECTIVE: |
10 | | -Bundle the remaining samples PRs into the fewest rule-safe BUILD/APPLY waves. |
11 | | - |
12 | | -CONSTRAINTS: |
13 | | -- docs only |
14 | | -- no implementation code |
15 | | -- preserve one PR purpose only |
16 | | -- preserve testability gate |
17 | | -- preserve canonical sample paths |
18 | | -- no gameplay scope |
19 | | -- no engine-core scope |
20 | | -- no start_of_day directory changes |
21 | | - |
22 | | -PLANNING REQUIREMENTS: |
23 | | -1. Cover all 7 remaining sample objectives |
24 | | -2. Minimize the number of future BUILD/APPLY waves |
25 | | -3. Do not combine incompatible purposes into one BUILD |
26 | | -4. Keep each future BUILD testable |
27 | | -5. Keep Windows-safe zero-dependency execution assumptions intact |
28 | | - |
29 | | -OUTPUT FILES: |
30 | | -- docs/pr/PLAN_PR_SAMPLES_BUNDLED_FINALIZATION.md |
31 | | -- docs/dev/codex_commands.md |
32 | | -- docs/dev/commit_comment.txt |
33 | | -- docs/dev/reports/change_summary.txt |
34 | | -- docs/dev/reports/validation_checklist.txt |
35 | | -- docs/dev/reports/file_tree_delta.txt |
36 | | - |
37 | | -ZIP OUTPUT REQUIREMENT: |
| 7 | +Execute BUILD_PR_SAMPLES_BROWSE_VISUALS_AND_NAVIGATION exactly as written. |
| 8 | + |
| 9 | +EXECUTION ENVIRONMENT (MANDATORY): |
| 10 | +- Target platform: Windows |
| 11 | +- Prefer Node.js or vanilla JS for any scripting or generation support |
| 12 | +- DO NOT run `npm install` |
| 13 | +- DO NOT create `package.json` |
| 14 | +- DO NOT create `package-lock.json` |
| 15 | +- DO NOT create or populate `node_modules/` |
| 16 | +- DO NOT use PowerShell for path construction, rename-heavy work, or ZIP path generation |
| 17 | + |
| 18 | +POWERSHELL PROHIBITION (CRITICAL): |
| 19 | +The following patterns are NOT allowed: |
| 20 | +- "$var/path" |
| 21 | +- "${var}/path" |
| 22 | +- "$base\$child" |
| 23 | +- "$($var)/path" |
| 24 | + |
| 25 | +If any of these appear: |
| 26 | +- STOP |
| 27 | +- report the violation |
| 28 | +- do not silently retry |
| 29 | + |
| 30 | +PR PURPOSE: |
| 31 | +Improve samples browse visuals and navigation in one narrow, testable wave. |
| 32 | + |
| 33 | +EXPECTED TARGETS: |
| 34 | +- `samples/index.html` |
| 35 | +- minimal JS/CSS directly supporting thumbnails and hover preview |
| 36 | +- minimal sample detail page files directly supporting navigation polish |
| 37 | +- metadata-driven files directly needed for preview and navigation rendering |
| 38 | +- reporting docs under `docs/` |
| 39 | + |
| 40 | +DO NOT: |
| 41 | +- modify gameplay code |
| 42 | +- modify engine core |
| 43 | +- change canonical paths |
| 44 | +- broaden scope beyond browse visuals and navigation |
| 45 | +- modify `docs/dev/start_of_day/chatGPT/` |
| 46 | +- modify `docs/dev/start_of_day/codex/` |
| 47 | + |
| 48 | +REQUIRED IMPLEMENTATION SHAPE: |
| 49 | +1. Add thumbnail / preview asset support with clean fallback behavior |
| 50 | +2. Keep hover preview lightweight and dependency-free |
| 51 | +3. Polish next / previous / related navigation as needed |
| 52 | +4. Preserve canonical links and metadata-driven readable UI |
| 53 | +5. Keep changed-file count minimal |
| 54 | + |
| 55 | +VALIDATION (REQUIRED): |
| 56 | +- load `samples/index.html` |
| 57 | +- verify thumbnails render when available |
| 58 | +- verify fallback behavior when previews are missing |
| 59 | +- verify hover preview does not break layout |
| 60 | +- open representative sample pages and validate navigation |
| 61 | +- confirm Phase 13 samples 1316, 1317, 1318 still load |
| 62 | +- confirm console is clean for tested pages |
| 63 | +- report exact files changed |
| 64 | +- report exact validation performed |
| 65 | + |
| 66 | +ZIP OUTPUT REQUIREMENT (HARD RULE): |
38 | 67 | - MUST produce ZIP: |
39 | | - <project folder>/tmp/PLAN_PR_SAMPLES_BUNDLED_FINALIZATION.zip |
40 | | -- Task is not complete until the ZIP exists at that exact path |
| 68 | + <project folder>/tmp/BUILD_PR_SAMPLES_BROWSE_VISUALS_AND_NAVIGATION.zip |
| 69 | +- ZIP must contain only repo-relevant delta output for this PR |
| 70 | +- Do not stage ZIP files from `<project folder>/tmp/` |
| 71 | +- Task is NOT complete until the ZIP exists at the exact requested path |
| 72 | + |
| 73 | +FAIL FAST: |
| 74 | +- vague target files |
| 75 | +- broad asset reorganization required |
| 76 | +- preview conventions too inconsistent to implement narrowly |
| 77 | +- navigation changes require unrelated page rewrites |
| 78 | +- PowerShell parse issue before execution |
| 79 | +- missing ZIP output at exact path |
0 commit comments