|
1 | | -# MODEL |
2 | | -GPT-5.4 |
3 | 1 |
|
4 | | -# REASONING |
5 | | -high |
6 | | - |
7 | | -# COMMAND |
8 | | -Create BUILD_PR_LEVEL_09_18_CODEX_PLAN_SWITCH_AND_API_KEY_SCRIPTING as a docs-first, surgical PR for `HTML-JavaScript-Gaming`. |
9 | | - |
10 | | -## Mission |
11 | | -Add a small PowerShell-based repo automation slice that: |
12 | | -- switches between Pay-as-you-go and Codex plan modes |
13 | | -- inputs/updates API key configuration |
14 | | -- validates the configured API key state safely |
15 | | - |
16 | | -## Required scope |
17 | | -- add PowerShell scripts for plan switching |
18 | | -- add PowerShell scripts for API key input/update |
19 | | -- add PowerShell scripts for API key validation |
20 | | -- keep the scripts local-repo/operator focused |
21 | | -- document usage and guardrails |
22 | | -- add focused validation or smoke checks where practical |
23 | | - |
24 | | -## Preferred implementation style |
25 | | -- PowerShell first |
26 | | -- obvious operator-facing script names |
27 | | -- outputs/helper artifacts routed to the project folder when applicable |
28 | | -- keep scripts lightweight, deterministic, and easy to inspect |
29 | | - |
30 | | -## Hard rules |
31 | | -- do not change engine code |
32 | | -- do not add gameplay/runtime features |
33 | | -- do not redesign tools |
34 | | -- do not expand into broad deployment automation in this PR |
35 | | -- do not implement the website prep/update/delete scripts in this PR |
36 | | -- do not implement the game-template asset conversion scripts in this PR |
37 | | -- keep this PR surgical and purpose-specific |
38 | | - |
39 | | -## Roadmap instruction |
40 | | -Update roadmap status where this PR clearly advances tracked work. |
41 | | - |
42 | | -Also add these new roadmap items as explicitly requested: |
43 | | -1. Existing games asset folders should be updated so existing images / vectors / related runtime assets can be transformed into tool-editable `data/` objects, with corresponding project JSON updates. |
44 | | -2. Add the ability for a PowerShell script to create a new game from template, including a project scaffold for the tools. |
45 | | -3. Add scripts to prep / update / delete the repo so it can be placed on a website. |
46 | | -4. Add scripts to switch between Pay-as-you-go and Codex plan modes, and scripts to input API key material and validate it. |
47 | | - |
48 | | -These roadmap additions are allowed text additions for this PR. |
49 | | - |
50 | | -## Deliverables |
51 | | -Return a single repo-structured ZIP at: |
52 | | -`<project folder>/tmp/BUILD_PR_LEVEL_09_18_CODEX_PLAN_SWITCH_AND_API_KEY_SCRIPTING.zip` |
53 | | - |
54 | | -Include: |
55 | | -- docs/pr/BUILD_PR_LEVEL_09_18_CODEX_PLAN_SWITCH_AND_API_KEY_SCRIPTING.md |
56 | | -- docs/dev/codex_commands.md |
57 | | -- docs/dev/commit_comment.txt |
58 | | -- docs/dev/next_command.txt |
59 | | -- docs/dev/reports/change_summary.txt |
60 | | -- docs/dev/reports/validation_checklist.txt |
61 | | - |
62 | | -## Validation |
63 | | -Run focused checks only: |
64 | | -- PowerShell parse/readiness checks on touched scripts |
65 | | -- focused smoke checks for plan switching logic |
66 | | -- focused smoke checks for API key input/update path |
67 | | -- focused smoke checks for API key validation path |
68 | | - |
69 | | -## Success definition |
70 | | -- repo has clear scripts for plan switching |
71 | | -- repo has clear scripts for API key input/update |
72 | | -- repo has clear scripts for API key validation |
73 | | -- roadmap includes the requested new items |
74 | | -- final output is one ZIP in `<project folder>/tmp/` |
| 2 | +MODEL: GPT-5.4 |
| 3 | +REASONING: high |
| 4 | + |
| 5 | +COMMAND: |
| 6 | +- use scripts/PS/codex/ as the base path for all codex scripts |
| 7 | +- implement template game creation script |
| 8 | +- include tool project scaffolding |
| 9 | +- enforce asset/data folder structure |
| 10 | +- reverse commit comment format: |
| 11 | + description first |
| 12 | + PR name last |
| 13 | +- update roadmap status only (no text changes except previously approved additions) |
0 commit comments