|
| 1 | +# PR_26177_OWNER_011-codex-zip-and-next-pr-standard |
| 2 | + |
| 3 | +Date: 2026-06-27 |
| 4 | +Team: OWNER |
| 5 | +Branch: PR_26177_OWNER_011-codex-zip-and-next-pr-standard |
| 6 | + |
| 7 | +## Purpose |
| 8 | + |
| 9 | +Add governance that every Codex execution produces reports and a repo-structured ZIP, and that completed PR ZIP review automatically drives the next logical PRs. |
| 10 | + |
| 11 | +## Scope |
| 12 | + |
| 13 | +Documentation and governance only. |
| 14 | + |
| 15 | +No runtime code, UI code, API code, database code, `start_of_day` files, history snapshots, or unrelated cleanup were changed. |
| 16 | + |
| 17 | +## Changes |
| 18 | + |
| 19 | +- Strengthened the Codex artifact standard so every Codex execution produces required reports and a repo-structured ZIP. |
| 20 | +- Made the ZIP/report rule apply to success, completion, partial completion, hard stop, blocked, validation failure, new information, no-change, review, and governance results. |
| 21 | +- Removed the previous exception that allowed hard stops before outputs to skip ZIP/report delivery. |
| 22 | +- Required Codex responses to return ZIP path, reports, changed file list, validation results, and branch/worktree/sync status when relevant. |
| 23 | +- Added completed PR ZIP review governance: |
| 24 | + - review completed work |
| 25 | + - identify completed and remaining scope |
| 26 | + - update team backlog and completion percentages |
| 27 | + - determine the next logical PRs |
| 28 | + - recommend execution order |
| 29 | + - generate each recommended PR with summary, Codex command, commit comment, Playwright scope, and manual validation steps |
| 30 | +- Confirmed the backlog drives next recommended PRs automatically. |
| 31 | +- Preserved the existing SOD, active team branch, sequential workstream, EOD, Product Owner testable, and page-level Playwright workflow rules. |
| 32 | + |
| 33 | +## Validation |
| 34 | + |
| 35 | +- PASS: `git diff --cached --check -- . :(exclude)docs_build/dev/reports/codex_review.diff` |
| 36 | +- PASS: documentation/governance-only changed-file check. |
| 37 | +- PASS: ZIP-on-every-result rule exists. |
| 38 | +- PASS: hard stops require ZIP/report output. |
| 39 | +- PASS: `next logical PRs` plural wording exists. |
| 40 | +- PASS: automatic next PR planning is tied to completed PR ZIP review. |
| 41 | +- PASS: SOD starts from latest synchronized `main`. |
| 42 | +- PASS: SOD creates or uses the active team branch. |
| 43 | +- PASS: all commits go to the active team branch, not `main`. |
| 44 | +- PASS: sequential PRs stay on the active team branch/workstream during the day. |
| 45 | +- PASS: EOD returns to `main` and verifies clean sync `0 0`. |
| 46 | +- PASS: Product Owner testable completion rule remains present. |
| 47 | +- PASS: page-level Playwright completion gate remains present. |
| 48 | +- PASS: no runtime files changed. |
| 49 | + |
| 50 | +## Artifact |
| 51 | + |
| 52 | +- `tmp/PR_26177_OWNER_011-codex-zip-and-next-pr-standard_delta.zip` |
| 53 | + |
| 54 | +## Manual Validation Notes |
| 55 | + |
| 56 | +Reviewers should confirm the active governance now makes ZIP/report delivery mandatory for every Codex result and makes completed PR ZIP review produce the next logical PRs without requiring the Product Owner to ask for continuation. |
0 commit comments