|
1 | | -# Codex command for BUILD_PR_SAMPLES_INDEX_PERFORMANCE_AND_PERSONALIZATION |
| 1 | +# Codex command for APPLY_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 | | -Execute BUILD_PR_SAMPLES_INDEX_PERFORMANCE_AND_PERSONALIZATION exactly as written. |
| 7 | +Execute APPLY_PR_SAMPLES_BROWSE_VISUALS_AND_NAVIGATION exactly as written. |
8 | 8 |
|
9 | 9 | EXECUTION ENVIRONMENT (MANDATORY): |
10 | 10 | - Target platform: Windows |
11 | | -- Prefer Node.js or vanilla JS for any scripting or generation support |
| 11 | +- Prefer Node.js or vanilla JS where scripting support is needed |
12 | 12 | - DO NOT run `npm install` |
13 | 13 | - DO NOT create `package.json` |
14 | 14 | - DO NOT create `package-lock.json` |
15 | 15 | - DO NOT create or populate `node_modules/` |
16 | | -- DO NOT use PowerShell for path construction, rename-heavy work, or ZIP path generation |
| 16 | +- DO NOT use PowerShell for path construction or ZIP path generation |
17 | 17 |
|
18 | | -POWERSHELL PROHIBITION (CRITICAL): |
19 | | -The following patterns are NOT allowed: |
20 | | -- "$var/path" |
21 | | -- "${var}/path" |
22 | | -- "$base\$child" |
23 | | -- "$($var)/path" |
| 18 | +APPLY RULES: |
| 19 | +- Apply only the approved BUILD delta for browse visuals and navigation |
| 20 | +- Do not broaden scope |
| 21 | +- Do not modify gameplay code |
| 22 | +- Do not modify engine core |
| 23 | +- Do not change canonical sample paths |
| 24 | +- Keep changed-file count minimal |
24 | 25 |
|
25 | | -If any of these appear: |
26 | | -- STOP |
27 | | -- report the violation |
28 | | -- do not silently retry |
29 | | - |
30 | | -PR PURPOSE: |
31 | | -Improve samples index responsiveness and add lightweight favorites / pinning in one narrow, testable wave. |
32 | | - |
33 | | -EXPECTED TARGETS: |
34 | | -- `samples/index.html` |
35 | | -- minimal JS/CSS directly supporting index rendering, filtering, and favorites behavior |
36 | | -- metadata-driven files directly needed for persistence keys or rendering |
37 | | -- reporting docs under `docs/` |
38 | | - |
39 | | -DO NOT: |
40 | | -- modify gameplay code |
41 | | -- modify engine core |
42 | | -- change canonical paths |
43 | | -- broaden scope beyond index performance and lightweight personalization |
44 | | -- modify `docs/dev/start_of_day/chatGPT/` |
45 | | -- modify `docs/dev/start_of_day/codex/` |
46 | | - |
47 | | -REQUIRED IMPLEMENTATION SHAPE: |
48 | | -1. Improve index responsiveness without broad architectural rewrites |
49 | | -2. Keep filter/search correctness intact |
50 | | -3. Add dependency-free favorites / pinning using lightweight client-side persistence |
51 | | -4. Preserve canonical links and metadata-driven readable UI |
52 | | -5. Keep changed-file count minimal |
53 | | - |
54 | | -VALIDATION (REQUIRED): |
| 26 | +REQUIRED VALIDATION: |
55 | 27 | - load `samples/index.html` |
56 | | -- verify filter/search still works correctly |
57 | | -- verify repeated interactions remain responsive |
58 | | -- add favorites / pins and confirm they render correctly |
59 | | -- reload and confirm favorites / pins persist locally |
60 | | -- remove a favorite / pin and confirm removal persists |
| 28 | +- verify thumbnails render when available |
| 29 | +- verify missing previews fall back cleanly |
| 30 | +- verify hover preview does not break layout |
| 31 | +- verify next / previous / related navigation remains correct |
61 | 32 | - confirm Phase 13 samples 1316, 1317, 1318 still load |
62 | 33 | - confirm console is clean for tested pages |
63 | 34 | - report exact files changed |
64 | 35 | - report exact validation performed |
65 | 36 |
|
66 | 37 | ZIP OUTPUT REQUIREMENT (HARD RULE): |
67 | 38 | - MUST produce ZIP: |
68 | | - <project folder>/tmp/BUILD_PR_SAMPLES_INDEX_PERFORMANCE_AND_PERSONALIZATION.zip |
69 | | -- ZIP must contain only repo-relevant delta output for this PR |
| 39 | + <project folder>/tmp/APPLY_PR_SAMPLES_BROWSE_VISUALS_AND_NAVIGATION.zip |
| 40 | +- ZIP must contain only repo-relevant delta output for this APPLY |
70 | 41 | - Do not stage ZIP files from `<project folder>/tmp/` |
71 | 42 | - Task is NOT complete until the ZIP exists at the exact requested path |
72 | 43 |
|
73 | 44 | FAIL FAST: |
74 | | -- vague target files |
75 | | -- performance work requires broad rendering rewrite |
76 | | -- favorites requires server-side persistence |
77 | | -- persistence becomes coupled to unrelated systems |
78 | | -- PowerShell parse issue before execution |
| 45 | +- BUILD delta exceeds approved browse visuals/navigation scope |
| 46 | +- apply requires unrelated conflict resolution |
| 47 | +- canonical paths would change |
79 | 48 | - missing ZIP output at exact path |
0 commit comments