|
2 | 2 |
|
3 | 3 | ## Workflow |
4 | 4 | - PLAN -> BUILD -> APPLY |
5 | | -- Docs-first unless the active task is BUILD or APPLY |
6 | | -- One PR per purpose |
7 | | -- Smallest scoped valid change only |
| 5 | +- BUILD is the normal Codex phase |
| 6 | +- One PR purpose only |
| 7 | +- Smallest scoped valid implementation only |
8 | 8 |
|
9 | 9 | ## Repo Rules |
10 | | -- Codex writes code |
11 | | -- No engine core changes unless the task explicitly requires it |
12 | | -- Sample-level integration only unless the task explicitly requires broader scope |
13 | | -- Read target files first |
14 | | -- Avoid repo-wide scanning unless exact targets require it |
15 | | -- No speculative exploration |
| 10 | +- Follow the BUILD doc as source of truth |
| 11 | +- Read exact target files first |
| 12 | +- Avoid repo-wide scans unless exact targets require them |
16 | 13 | - Stop and report on ambiguity |
| 14 | +- Do not modify engine core unless explicitly in scope |
| 15 | +- Do not modify start_of_day folders unless explicitly requested |
17 | 16 |
|
18 | | -## Packaging |
19 | | -- Package results to <project folder>/tmp/*.zip |
20 | | -- Preserve exact repo-relative structure inside the ZIP |
21 | | -- Include only files relevant to the PR |
22 | | -- Do not include unrelated files, full-repo copies, dependencies, or build artifacts |
| 17 | +## Windows Execution |
| 18 | +- Prefer Node.js or Python for file operations, rename work, path handling, and ZIP work |
| 19 | +- Avoid PowerShell for path-heavy work unless explicitly required |
| 20 | +- If PowerShell is required, use Join-Path or [System.IO.Path]::Combine(...) |
23 | 21 |
|
24 | | -## BUILD Expectations |
25 | | -- Exact file targets only |
26 | | -- Explicit validation commands |
27 | | -- No unrelated changes |
28 | | -- No retry without a corrected spec |
| 22 | +## Packaging |
| 23 | +- Every BUILD must produce a repo-structured delta ZIP |
| 24 | +- ZIP output path: <project folder>/tmp/<TASK_NAME>_delta.zip |
| 25 | +- Do not stage ZIP files from <project folder>/tmp/ |
29 | 26 |
|
30 | | -## Architecture |
31 | | -TOOLS -> CONTRACT -> RUNTIME -> DEBUG -> VISUAL |
| 27 | +## BUILD Quality |
| 28 | +- Exact targets required |
| 29 | +- Exact validation required |
| 30 | +- No vague wording |
| 31 | +- No unrelated cleanup |
| 32 | +- Prefer testable vertical slices |
0 commit comments