|
1 | | -# BUILD_PR: Codex Execution Notes |
| 1 | +# Codex Commands |
2 | 2 |
|
3 | | -## Model |
4 | | - |
5 | | -GPT-5.4 or GPT-5.3-codex |
6 | | - |
7 | | -## Reasoning |
8 | | - |
9 | | -High |
10 | | - |
11 | | -## Codex Command |
12 | | - |
13 | | -```bash |
14 | | -codex |
15 | | -``` |
16 | | - |
17 | | -## Task |
18 | | - |
19 | | -Implement the PLAN_PR in `docs/dev/plan_pr_tool_workspace_schema_manifest_boundaries.md`. |
20 | | - |
21 | | -## Constraints |
22 | | - |
23 | | -- Smallest valid change. |
24 | | -- One PR purpose only. |
25 | | -- Docs-first schema/manifest boundary cleanup. |
26 | | -- Do not modify `start_of_day`. |
27 | | -- Do not delete preserved legacy folders. |
28 | | -- Do not write broad custom validation code where `*.schema` files can define the contract. |
29 | | -- Preserve existing sample behavior. |
30 | | -- Samples must use named palettes only and remain locked. |
31 | | -- Workspaces must use duplicated palettes and enforce used-palette replacement restrictions. |
32 | | -- Workspace assets must live in `workspace.manifest`; only rendered/exportable artifacts such as PNG files may be saved separately. |
33 | | - |
34 | | -## Suggested Implementation Order |
35 | | - |
36 | | -1. Inventory only the specific files referencing: |
37 | | - - `buildDefaultPayload` |
38 | | - - 3D camera path editor payload setup |
39 | | - - 3D JSON payload normalizer |
40 | | - - viewer asset save/export paths |
41 | | - - workspace/sample manifest loading |
42 | | - - palette mutation rules |
43 | | -2. Add schema files near the owning tool or manifest contract. |
44 | | -3. Wire sample tool payloads to validate/load through the same tool schema. |
45 | | -4. Wire workspace manifest validation through `workspace.manifest` schema. |
46 | | -5. Centralize button/action enablement by loaded context: |
47 | | - - tool context |
48 | | - - workspace context |
49 | | -6. Add/update minimal tests or fixtures proving: |
50 | | - - sample palette lock |
51 | | - - workspace palette duplication |
52 | | - - used swatch replacement protection |
53 | | - - workspace-owned assets persisted in manifest |
54 | | - - PNG export still works |
55 | | -7. Update roadmap/status markers only if the repo has an active roadmap file for this phase. |
56 | | - |
57 | | -## Test Commands |
58 | | - |
59 | | -Use the repo’s existing test commands. If none exist, run the smallest available smoke checks: |
| 3 | +Model: GPT-5.4-mini |
| 4 | +Reasoning: medium |
60 | 5 |
|
61 | 6 | ```bash |
62 | | -npm test |
63 | | -npm run build |
| 7 | +codex exec "Apply BUILD_PR docs/dev/BUILD_PR.md. Keep the change docs-first and schema-location only. Do not add root-level schema files. Place all schema contracts under tools/schemas, with tool-specific schemas under tools/schemas/tools. Do not modify locked samples or start_of_day folders." |
64 | 8 | ``` |
65 | | - |
66 | | -If the repo does not use npm for this area, document the actual commands run in the PR notes. |
67 | | - |
68 | | -## Required Output From Codex |
69 | | - |
70 | | -- List changed files. |
71 | | -- List tests run. |
72 | | -- Note any compatibility shims left in place. |
73 | | -- Note any old references that were intentionally preserved. |
0 commit comments