|
| 1 | +# BUILD_PR — LEVEL 09_23 — SCRIPT STRUCTURE FINALIZATION |
| 2 | + |
| 3 | +## Objective |
| 4 | +Finalize the PowerShell script structure after the recent script relocation and renaming work so the repo has a clear, stable, long-term script layout. |
| 5 | + |
| 6 | +## Dependency Context |
| 7 | +This PR follows: |
| 8 | +- 09_18 Codex plan switch and API key scripting |
| 9 | +- 09_19 template game creation scripting |
| 10 | +- 09_20 website repo prep scripting |
| 11 | +- 09_21 script validation and safety |
| 12 | +- 09_22 deployment pipeline integration |
| 13 | + |
| 14 | +09_22 corrected script placement for the template game creation script and reinforced the intended folder roles. |
| 15 | +09_23 now finalizes the structure, references, naming expectations, and ownership rules for the script tree. |
| 16 | + |
| 17 | +## Structure Rules To Finalize |
| 18 | +- `scripts/PS/` |
| 19 | + - general repo/operator scripts |
| 20 | + - game/template creation scripts |
| 21 | + - non-Codex, non-deploy shared operator utilities |
| 22 | + |
| 23 | +- `scripts/PS/codex/` |
| 24 | + - Codex-only scripts |
| 25 | + - plan-switch / API-key / Codex workflow helpers |
| 26 | + - Codex-specific repo automation surfaces only |
| 27 | + |
| 28 | +- `scripts/PS/deploy/` |
| 29 | + - deployment scripts |
| 30 | + - Docker web-server deployment preparation/update/cleanup |
| 31 | + - website/deployment-only script surfaces |
| 32 | + |
| 33 | +## In Scope |
| 34 | +- finalize script folder ownership rules |
| 35 | +- update references after the recent move/rename work |
| 36 | +- normalize script naming patterns where touched |
| 37 | +- document the intended script tree and operator expectations |
| 38 | +- add focused validation that script locations match their responsibilities |
| 39 | +- ensure no general script remains stranded in the Codex folder |
| 40 | +- ensure deployment scripts remain under `scripts/PS/deploy/` |
| 41 | + |
| 42 | +## Out of Scope |
| 43 | +- no engine changes |
| 44 | +- no gameplay/runtime feature changes |
| 45 | +- no tool UI work |
| 46 | +- no broad deployment feature expansion |
| 47 | +- no unrelated repo cleanup |
| 48 | + |
| 49 | +## Required Checks |
| 50 | +- general template/game creation script lives in `scripts/PS/` |
| 51 | +- Codex-only scripts live in `scripts/PS/codex/` |
| 52 | +- deployment scripts live in `scripts/PS/deploy/` |
| 53 | +- references/docs/scripts point to the updated paths |
| 54 | +- naming reflects real purpose rather than old history |
| 55 | + |
| 56 | +## Roadmap Instruction |
| 57 | +Update roadmap status only where this PR clearly advances tracked work. |
| 58 | +Do not change roadmap prose except for previously approved roadmap additions already in flight. |
| 59 | + |
| 60 | +## Acceptance Criteria |
| 61 | +- script tree roles are finalized and documented |
| 62 | +- misplaced scripts are corrected where touched |
| 63 | +- script references are updated consistently |
| 64 | +- naming is purpose-driven |
| 65 | +- focused checks pass |
| 66 | +- roadmap receives status-only updates where applicable |
| 67 | + |
| 68 | +## Deliverables |
| 69 | +Return a repo-structured ZIP at: |
| 70 | +`<project folder>/tmp/BUILD_PR_LEVEL_09_23_SCRIPT_STRUCTURE_FINALIZATION.zip` |
| 71 | + |
| 72 | +Include: |
| 73 | +- docs/pr/BUILD_PR_LEVEL_09_23_SCRIPT_STRUCTURE_FINALIZATION.md |
| 74 | +- docs/dev/codex_commands.md |
| 75 | +- docs/dev/commit_comment.txt |
| 76 | +- docs/dev/next_command.txt |
| 77 | +- docs/dev/reports/change_summary.txt |
| 78 | +- docs/dev/reports/validation_checklist.txt |
0 commit comments