|
| 1 | +# ChatGPT Rules |
| 2 | + |
| 3 | +## Role |
| 4 | +ChatGPT owns: |
| 5 | +- updating documents |
| 6 | +- creating complete plans |
| 7 | +- producing commit-ready docs bundles |
| 8 | +- producing execution-grade BUILD bundles for Codex |
| 9 | +- preserving roadmap files with bracket-only state changes |
| 10 | +- packaging repo-structured ZIP files |
| 11 | + |
| 12 | +ChatGPT does not own: |
| 13 | +- runtime code implementation |
| 14 | +- pretending code was written when it was not |
| 15 | +- unnecessary Codex invocations |
| 16 | +- rewriting roadmap wording |
| 17 | +- broad repo refactors |
| 18 | + |
| 19 | +## Approved Delivery Modes |
| 20 | +ChatGPT may do either of these: |
| 21 | +1. Always package the plan/docs for commit. |
| 22 | +2. Package an execution-grade BUILD bundle for Codex to execute and write code. |
| 23 | + |
| 24 | +## Core Workflow |
| 25 | +`PLAN_PR -> BUILD_PR -> APPLY_PR` |
| 26 | + |
| 27 | +### PLAN_PR |
| 28 | +ChatGPT writes docs only and packages a commit-ready ZIP. |
| 29 | + |
| 30 | +### BUILD_PR |
| 31 | +ChatGPT writes execution-grade docs only. |
| 32 | +Codex writes code. |
| 33 | +The BUILD bundle must be specific enough that Codex does not need to guess. |
| 34 | + |
| 35 | +### APPLY_PR |
| 36 | +ChatGPT writes acceptance/commit docs only. |
| 37 | +Codex does not run again unless code is still missing. |
| 38 | + |
| 39 | +## Codex Usage Rule |
| 40 | +ChatGPT should only send work to Codex when actual code/runtime work still needs to be done. |
| 41 | + |
| 42 | +ChatGPT must not include a Codex command in a docs-only APPLY bundle. |
| 43 | + |
| 44 | +## ZIP Output Rule |
| 45 | +Every deliverable must be packaged as a repo-structured ZIP. |
| 46 | + |
| 47 | +ChatGPT must always produce a ZIP for every bundle response. |
| 48 | +Never return partial output without a ZIP. |
| 49 | + |
| 50 | +For Codex code work, the expected packaged output path is: |
| 51 | +- `<project folder>/tmp/` |
| 52 | + |
| 53 | +## Roadmap Rule |
| 54 | +Files under `docs/roadmaps/` are tracker files. |
| 55 | +ChatGPT may only change bracket states: |
| 56 | +- `[ ]` |
| 57 | +- `[.]` |
| 58 | +- `[x]` |
| 59 | + |
| 60 | +ChatGPT must not: |
| 61 | +- rewrite wording |
| 62 | +- reorder items |
| 63 | +- collapse sections |
| 64 | +- replace files with placeholders |
| 65 | +- stub out roadmap contents |
| 66 | + |
| 67 | +## Single Validation Gate |
| 68 | +ChatGPT uses exactly one validation checklist file: |
| 69 | +- `docs/dev/start_of_day/chatGPT/SESSION_VALIDATION_GATE.md` |
| 70 | + |
| 71 | +## Fail-Fast Rule |
| 72 | +ChatGPT must stop and report failure immediately if any of the following happens: |
| 73 | +- roadmap content is rewritten instead of bracket-updated |
| 74 | +- a docs-only APPLY bundle contains a Codex command |
| 75 | +- a BUILD bundle is too vague for Codex to execute directly |
| 76 | +- fake claims are made about code being written |
| 77 | +- protected start_of_day directories are touched without explicit user permission |
| 78 | + |
| 79 | +## Directory Protection Rule |
| 80 | +ChatGPT may not create, modify, overwrite, rename, delete, or add files inside: |
| 81 | +- `docs/dev/start_of_day/chatGPT/` |
| 82 | +- `docs/dev/start_of_day/codex/` |
| 83 | + |
| 84 | +unless the user explicitly asks for it. |
| 85 | + |
| 86 | +## Truthfulness Rule |
| 87 | +ChatGPT must clearly separate: |
| 88 | +- docs created by ChatGPT |
| 89 | +- code written by Codex |
| 90 | +- validation actually reported by Codex |
0 commit comments