You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codex must run this gate before every PR execution and before any file changes.
2015
+
2016
+
Required instruction reads:
2017
+
- Read `docs_build/dev/PROJECT_INSTRUCTIONS.md`.
2018
+
- Read `docs_build/dev/PROJECT_MULTI_PC.txt`.
2019
+
- Treat the newest applicable section in `PROJECT_INSTRUCTIONS.md` as authoritative when rules overlap.
2020
+
- Treat the current owner/parity section in `PROJECT_MULTI_PC.txt` as authoritative for PC/Laptop routing.
2021
+
2022
+
Required pre-change report:
2023
+
- Codex must report instruction compliance as `PASS` or `FAIL` before making file changes.
2024
+
- The report must include branch, clean status, PR owner, PR parity, implementation path, validation scope, required report list, and ZIP requirement.
2025
+
- Any `FAIL` is a hard stop unless the PR explicitly scopes branch audit or recovery documentation without implementation.
2026
+
2027
+
Hard stops before changes:
2028
+
- If the current branch is not `main`, HARD STOP.
2029
+
- If the repository is not clean before the PR branch is created, HARD STOP.
2030
+
- If the PR owner does not match the PC/Laptop ownership map in `PROJECT_MULTI_PC.txt`, HARD STOP.
2031
+
- If the PR number parity does not match the assigned machine in `PROJECT_MULTI_PC.txt`, HARD STOP.
2032
+
- If the PR asks for implementation and the implementation path is wrong, HARD STOP.
2033
+
- If a PR asks for functional parity and only placeholder-only work is possible, HARD STOP and report the missing source or blocker.
2034
+
- If scoped validation is skipped without a documented reason, HARD STOP.
2035
+
2036
+
Path enforcement:
2037
+
- Use the active path named by the PR and verified in the repository.
2038
+
- Do not create wrong replacement paths.
2039
+
- For Text To Speech work, the active toolbox path is `toolbox/text-to-speech/`.
2040
+
- Do not create `tools/text2speech/` for new work.
2041
+
- If a PR names archived tools, games, or samples as a functionality sample, treat the archive as a read-only reference sample, not as a reason to skip implementation.
2042
+
2043
+
Completion hard stops:
2044
+
- If the required repo ZIP is missing, HARD STOP.
2045
+
- If the required repo ZIP is empty or not under `tmp/`, HARD STOP.
2046
+
- If required reports are missing, HARD STOP.
2047
+
- If `docs_build/dev/reports/codex_review.diff` is missing, HARD STOP.
2048
+
- If `docs_build/dev/reports/codex_changed_files.txt` is missing, HARD STOP.
2049
+
- If manual validation notes are missing, HARD STOP.
2050
+
- If the PR-specific report is missing, HARD STOP.
2051
+
- If an instruction compliance checklist is required and missing, HARD STOP.
2052
+
- If requested scoped validation did not run and no explicit skip reason is recorded, HARD STOP.
2053
+
2054
+
Functional parity rule:
2055
+
- A PR that asks to restore or rebuild working functionality must produce functional parity with the approved sample or source.
2056
+
- Placeholder shells, dead controls, static mockups, and nonfunctional UI are not acceptable completion states for functional parity PRs.
2057
+
- If functional parity cannot be reached in scope, Codex must stop and report the exact blocker instead of packaging placeholder-only work.
No Playwright was run because the PR explicitly says "No Playwright" and the changed files are governance docs and reports only.
8
+
9
+
## Commands
10
+
11
+
-`git diff --check`
12
+
- PASS: no whitespace errors.
13
+
- Targeted required-text validation for `docs_build/dev/PROJECT_INSTRUCTIONS.md`, `docs_build/dev/PROJECT_MULTI_PC.txt`, and PR_26171_063 reports.
14
+
- PASS: all required hardening anchors were found.
15
+
- Note: the first targeted text check found missing exact `No Playwright` wording in manual notes; the note was corrected and the validation was rerun successfully.
16
+
17
+
## Skipped
18
+
19
+
-`npm run test:workspace-v2`
20
+
- SKIP: legacy command name for Project Workspace/Game Hub validation; no workspace or toolState behavior changed.
21
+
-`npm run test:playwright:static`
22
+
- SKIP: command name is Playwright-scoped and this PR explicitly says no Playwright.
23
+
- Runtime, tool, engine, samples, and browser validation
- Conflict resolution: merged `origin/main` at `0a364f85516aea82e38eea2f498fde5980f9adf9`; conflicts were limited to `codex_changed_files.txt` and `codex_review.diff`.
11
+
- Conflict resolution push result: pending until after merge-validation commit.
9
12
- Merge result: pending until after PR validation/merge.
10
13
- Final main sync: pending until after merge and final pull.
11
14
12
15
## Git Status
13
16
```text
14
17
M assets/theme-v2/css/tables.css
15
18
M assets/theme-v2/js/tool-display-mode.js
19
+
M docs_build/dev/reports/codex_changed_files.txt
20
+
M docs_build/dev/reports/codex_review.diff
16
21
M docs_build/dev/reports/coverage_changed_js_guardrail.txt
17
22
M docs_build/dev/reports/playwright_v8_coverage_report.txt
- PASS: `npm run test:workspace-v2` (workspace-contract lane, 5 passed).
66
71
- PASS: `git diff --check`.
72
+
- PASS: Post-conflict rerun completed after merging `origin/main` at `0a364f85516aea82e38eea2f498fde5980f9adf9`.
67
73
- PASS: Playwright V8 coverage report produced because runtime JavaScript changed.
68
74
- WARN: Coverage report marks `src/shared/toolbox/tool-metadata-inventory.js` as not collected by browser V8 coverage; advisory only per project instructions.
69
75
- SKIPPED: Full samples smoke was not run per request.
0 commit comments