|
1 | | -# Codex command for BUILD_PR_SAMPLES_BROWSE_VISUALS_AND_NAVIGATION |
2 | | - |
3 | 1 | MODEL: GPT-5.4-codex |
4 | 2 | REASONING: high |
5 | 3 |
|
6 | 4 | COMMAND: |
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): |
67 | | -- MUST produce ZIP: |
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 |
| 5 | +Execute BUILD_PR_SAMPLES_DISCOVERY_DATA_AND_FINDABILITY |
| 6 | + |
| 7 | +ENVIRONMENT: |
| 8 | +- Windows |
| 9 | +- Node or vanilla JS only |
| 10 | +- NO npm |
| 11 | +- NO node_modules |
| 12 | + |
| 13 | +RULES: |
| 14 | +- Do not change canonical paths |
| 15 | +- Do not modify gameplay or engine |
| 16 | + |
| 17 | +VALIDATION: |
| 18 | +- metadata validation triggers on bad data |
| 19 | +- duplicate ids detected |
| 20 | +- tags normalized |
| 21 | +- filters/search still work |
| 22 | + |
| 23 | +ZIP: |
| 24 | +<project folder>/tmp/BUILD_PR_SAMPLES_DISCOVERY_DATA_AND_FINDABILITY.zip |
0 commit comments