Skip to content

Commit dd63de1

Browse files
committed
Generalize Sequential Codex Queue Mode governance - PR_26171_GAMMA_005-all-team-sequential-queue-governance
1 parent eaee83f commit dd63de1

7 files changed

Lines changed: 377 additions & 979 deletions

docs_build/dev/PROJECT_INSTRUCTIONS.md

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,7 @@ Required workflow:
19991999
10. Create Pull Request automatically.
20002000
11. Resolve merge conflicts if encountered.
20012001
12. Re-run validation after conflict resolution.
2002-
13. Merge PR.
2002+
13. Merge PR only after explicit owner/EOD approval.
20032003
14. Return to main.
20042004
15. Pull latest main.
20052005
16. Continue to next approved PR.
@@ -2008,8 +2008,8 @@ Rules:
20082008
- Do not ask the user if a PR should be created.
20092009
- Do not ask the user if a branch should be pushed.
20102010
- Treat PR creation as required.
2011-
- Treat branch push as required.
2012-
- Treat merge as required after validation passes.
2011+
- Treat branch push as required for scoped PR branch publishing.
2012+
- Treat merge as required only after validation passes and explicit owner/EOD approval is provided.
20132013
- If GitHub prompts `Would you like to create a Pull Request?`, answer YES automatically.
20142014
- If merge conflicts occur:
20152015
- preserve latest main
@@ -2031,9 +2031,39 @@ Stable promotion and merge approval are owner-controlled.
20312031

20322032
Rules:
20332033
- Codex may prepare scoped changes, reports, validation evidence, ZIP artifacts, branches, and PRs.
2034-
- Codex must not merge a PR or mark a workstream stable without explicit approval from the assigned Team Alpha or Team Beta owner.
2034+
- Codex must not merge a PR or mark a workstream stable without explicit approval from the assigned Team Alpha, Team Beta, or Team Gamma owner.
20352035
- Master Control may recommend sequencing or assignment, but affected workstream owners control stable and merge approval.
20362036
- This targeted section supersedes older automatic-merge wording when approval ownership is in question.
2037+
- EOD merge and EOD push actions are owner-controlled and require explicit approval.
2038+
2039+
## SEQUENTIAL CODEX QUEUE MODE
2040+
2041+
Any TEAM owner may use Sequential Codex Queue Mode for ordered, fully scoped PR queues within that team's ownership area.
2042+
2043+
Sequential Codex Queue Mode means Codex receives one queue command containing multiple ordered PR scopes.
2044+
2045+
Each queued PR must still have:
2046+
- exact PR name
2047+
- TEAM token
2048+
- branch name
2049+
- exact scope
2050+
- validation scope
2051+
- required reports
2052+
- manual validation notes
2053+
- ZIP requirement
2054+
2055+
Rules:
2056+
- A queue command is not itself a PR unless explicitly named as one.
2057+
- Each queued PR must stay within the same TEAM ownership area unless Master Control explicitly splits or assigns cross-team work.
2058+
- ALPHA queues may only contain Alpha-owned scopes.
2059+
- BETA queues may only contain Beta-owned scopes.
2060+
- GAMMA queues may only contain Gamma-owned scopes.
2061+
- Cross-team queues are prohibited unless each PR is individually assigned to the correct TEAM token.
2062+
- Missing exact scope for any queued PR is a hard stop for that PR only.
2063+
- Codex may continue to the next queued PR only if the next PR has exact scope and does not depend on the stopped PR.
2064+
- Codex must not create empty ZIPs or package partial PRs.
2065+
- EOD merge/push is owner-controlled and requires explicit approval.
2066+
- This section supersedes older wording that implies every PR must be independently prompted when Master Control provides a fully scoped sequential queue.
20372067

20382068
## CODEX INSTRUCTION ENFORCEMENT START GATE
20392069

docs_build/dev/PROJECT_MULTI_PC.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,21 @@ Governance, recovery, diagnostics, and instruction-hardening PRs:
524524
- Must document TEAM ownership compliance in the PR report.
525525
- Recovery reports must include TEAM ownership.
526526

527+
Sequential Codex Queue Mode:
528+
- Any TEAM owner may use Sequential Codex Queue Mode for ordered, fully scoped PR queues within that team's ownership area.
529+
- Sequential Codex Queue Mode means Codex receives one queue command containing multiple ordered PR scopes.
530+
- Each queued PR must still have exact PR name, TEAM token, branch name, exact scope, validation scope, required reports, manual validation notes, and ZIP requirement.
531+
- A queue command is not itself a PR unless explicitly named as one.
532+
- Each queued PR must stay within the same TEAM ownership area unless Master Control explicitly splits or assigns cross-team work.
533+
- ALPHA queues may only contain Alpha-owned scopes.
534+
- BETA queues may only contain Beta-owned scopes.
535+
- GAMMA queues may only contain Gamma-owned scopes.
536+
- Cross-team queues are prohibited unless each PR is individually assigned to the correct TEAM token.
537+
- Missing exact scope for any queued PR is a hard stop for that PR only.
538+
- Codex may continue to the next queued PR only if the next PR has exact scope and does not depend on the stopped PR.
539+
- Codex must not create empty ZIPs or package partial PRs.
540+
- EOD merge/push is owner-controlled and requires explicit approval.
541+
527542
Stable and merge approval:
528543
- Stable promotion and merge approval are controlled by the assigned Team Alpha, Team Beta, or Team Gamma owner.
529544
- Master Control may recommend sequencing, but Codex must not merge or mark stable without explicit owner approval for the affected workstream.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# PR_26171_GAMMA_005 Instruction Compliance Checklist
2+
3+
- Read `docs_build/dev/PROJECT_INSTRUCTIONS.md`: PASS.
4+
- Read `docs_build/dev/PROJECT_MULTI_PC.txt`: PASS.
5+
- Checkout `main` before starting: PASS.
6+
- Pull latest `main`: PASS.
7+
- Verify branch is `main`: PASS.
8+
- Verify clean status before branch creation: PASS.
9+
- Verify PR name includes TEAM token: PASS.
10+
- Verify TEAM owner matches Team Gamma governance/instruction-hardening ownership: PASS.
11+
- Create requested branch `pr/26171-GAMMA-005-all-team-sequential-queue-governance`: PASS.
12+
- Keep scope limited to requested docs and reports: PASS.
13+
- Run docs/static validation only: PASS.
14+
- Run `git diff --check`: PASS.
15+
- Verify Sequential Codex Queue Mode is not Gamma-only: PASS.
16+
- Verify TEAM ownership boundaries remain enforced: PASS.
17+
- Verify automatic merge wording is constrained by owner-controlled EOD approval: PASS.
18+
- Do not run Playwright: PASS.
19+
- Do not run samples: PASS.
20+
- Create required PR-specific report: PASS.
21+
- Create manual validation notes: PASS.
22+
- Create instruction compliance checklist: PASS.
23+
- Create `codex_review.diff`: PASS.
24+
- Create `codex_changed_files.txt`: PASS.
25+
- Create repo-structured ZIP under `tmp/`: PASS.
26+
- Do not merge before explicit EOD approval: PASS.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# PR_26171_GAMMA_005 Manual Validation Notes
2+
3+
Manual validation status: PASS.
4+
5+
Manual checks performed:
6+
- Reviewed `docs_build/dev/PROJECT_INSTRUCTIONS.md` Sequential Codex Queue Mode section for all-team wording.
7+
- Reviewed `docs_build/dev/PROJECT_MULTI_PC.txt` ownership section for Alpha, Beta, and Gamma queue boundaries.
8+
- Confirmed queue mode is not Gamma-only.
9+
- Confirmed cross-team queues remain prohibited unless each PR is assigned to the correct TEAM token.
10+
- Confirmed EOD merge/push remains owner-controlled and requires explicit approval.
11+
- Confirmed Playwright and samples are skipped because this PR changes docs/workflow governance only.
12+
13+
Expected outcome:
14+
- Team Alpha, Team Beta, and Team Gamma may each use Sequential Codex Queue Mode for fully scoped queues inside their own ownership area.
15+
- Cross-team work must still be split or explicitly assigned with the correct TEAM token per PR.
16+
- Codex must not package empty ZIPs or partial PRs.
17+
18+
Out of scope:
19+
- Runtime behavior.
20+
- Tool implementation.
21+
- Admin UI implementation.
22+
- Database migration or connection behavior.
23+
- Playwright validation.
24+
- Samples validation.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# PR_26171_GAMMA_005-all-team-sequential-queue-governance
2+
3+
## Summary
4+
5+
Team ownership: GAMMA.
6+
7+
Purpose: generalize Sequential Codex Queue Mode from Gamma-only governance to all TEAM owners while preserving Alpha, Beta, and Gamma ownership boundaries and owner-controlled EOD merge approval.
8+
9+
## Scope
10+
11+
Changed files:
12+
- `docs_build/dev/PROJECT_INSTRUCTIONS.md`
13+
- `docs_build/dev/PROJECT_MULTI_PC.txt`
14+
- `docs_build/dev/reports/PR_26171_GAMMA_005-all-team-sequential-queue-governance.md`
15+
- `docs_build/dev/reports/PR_26171_GAMMA_005-all-team-sequential-queue-governance-manual-validation-notes.md`
16+
- `docs_build/dev/reports/PR_26171_GAMMA_005-all-team-sequential-queue-governance-instruction-compliance-checklist.md`
17+
- `docs_build/dev/reports/codex_review.diff`
18+
- `docs_build/dev/reports/codex_changed_files.txt`
19+
20+
## Instruction Compliance
21+
22+
Start gate: PASS.
23+
24+
- Required instruction reads: PASS. Read `docs_build/dev/PROJECT_INSTRUCTIONS.md` and `docs_build/dev/PROJECT_MULTI_PC.txt`.
25+
- Checkout `main` before starting: PASS.
26+
- Pull latest `main`: PASS.
27+
- Verify branch is `main`: PASS.
28+
- Verify clean status before PR branch: PASS.
29+
- Created branch: `pr/26171-GAMMA-005-all-team-sequential-queue-governance`.
30+
- PR TEAM owner: GAMMA.
31+
- Implementation path: docs-only governance update in `docs_build/dev/PROJECT_INSTRUCTIONS.md` and `docs_build/dev/PROJECT_MULTI_PC.txt`.
32+
- Validation scope: docs/static only.
33+
- Required reports: PASS. PR report, manual validation notes, instruction compliance checklist, `codex_review.diff`, and `codex_changed_files.txt`.
34+
- ZIP requirement: PASS. Required final ZIP path is `tmp/PR_26171_GAMMA_005-all-team-sequential-queue-governance_delta.zip`.
35+
36+
## Requirement Checklist
37+
38+
- Generalize Sequential Codex Queue Mode from Gamma-only to all TEAM owners: PASS.
39+
- Replace Gamma-only permission with any TEAM owner permission: PASS.
40+
- Preserve Alpha ownership boundaries: PASS.
41+
- Preserve Beta ownership boundaries: PASS.
42+
- Preserve Gamma ownership boundaries: PASS.
43+
- Prohibit cross-team queues unless each PR is individually assigned to the correct TEAM token: PASS.
44+
- Keep exact PR name, TEAM token, branch name, exact scope, validation scope, required reports, manual notes, and ZIP requirement per queued PR: PASS.
45+
- Keep missing exact scope as a hard stop for that PR only: PASS.
46+
- Keep EOD merge/push owner-controlled: PASS.
47+
48+
## Validation
49+
50+
Lanes executed:
51+
- docs/static - governance docs only.
52+
53+
Commands run:
54+
- `git diff --check` - PASS.
55+
- `rg -n "Any TEAM owner may use Sequential Codex Queue Mode|Team Gamma may use Sequential Codex Queue Mode|ALPHA queues may only contain|BETA queues may only contain|GAMMA queues may only contain|Cross-team queues are prohibited" docs_build/dev/PROJECT_INSTRUCTIONS.md docs_build/dev/PROJECT_MULTI_PC.txt` - PASS. Found all-team language and ownership-boundary rules; no Gamma-only permission remained.
56+
- `rg -n "Team Gamma may use Sequential Codex Queue Mode" docs_build/dev/PROJECT_INSTRUCTIONS.md docs_build/dev/PROJECT_MULTI_PC.txt` - PASS. No matches.
57+
- `rg -n "Merge PR only after explicit owner/EOD approval|Treat merge as required only after validation passes and explicit owner/EOD approval is provided|EOD merge/push is owner-controlled and requires explicit approval|Codex must not merge a PR or mark a workstream stable without explicit approval" docs_build/dev/PROJECT_INSTRUCTIONS.md docs_build/dev/PROJECT_MULTI_PC.txt` - PASS.
58+
59+
Skipped lanes:
60+
- Playwright: SKIP. Docs/workflow-only PR with no UI, tool runtime, toolState, or workspace behavior changes.
61+
- Samples: SKIP. Docs/workflow-only PR with no sample loader, sample JSON, or sample runtime changes.
62+
- Runtime, integration, and engine: SKIP. No runtime, handoff, shared parser, or engine behavior changed.
63+
64+
## Git Workflow
65+
66+
- Current branch: `pr/26171-GAMMA-005-all-team-sequential-queue-governance`.
67+
- Created branch: `pr/26171-GAMMA-005-all-team-sequential-queue-governance`.
68+
- Push result: pending final publish.
69+
- PR URL: pending final publish.
70+
- Merge result: not merged; EOD approval required.
71+
- Final main commit before branch: `eaee83f93`.
Lines changed: 14 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,14 @@
1-
docs_build/dev/reports/PR_26171_BETA_071-tts-profile-emotion-table-manual-validation-notes.md
2-
docs_build/dev/reports/PR_26171_BETA_071-tts-profile-emotion-table-validation.md
3-
docs_build/dev/reports/PR_26171_BETA_071-tts-profile-emotion-table.md
4-
docs_build/dev/reports/codex_changed_files.txt
5-
docs_build/dev/reports/codex_review.diff
6-
docs_build/dev/reports/coverage_changed_js_guardrail.txt
7-
docs_build/dev/reports/dependency_gating_report.md
8-
docs_build/dev/reports/dependency_hydration_reuse_report.md
9-
docs_build/dev/reports/execution_graph_reuse_report.md
10-
docs_build/dev/reports/failure_fingerprint_report.md
11-
docs_build/dev/reports/filesystem_scan_reduction_report.md
12-
docs_build/dev/reports/incremental_validation_report.md
13-
docs_build/dev/reports/lane_compilation_report.md
14-
docs_build/dev/reports/lane_deduplication_report.md
15-
docs_build/dev/reports/lane_input_validation_report.md
16-
docs_build/dev/reports/lane_runtime_optimization_report.md
17-
docs_build/dev/reports/lane_snapshot_report.md
18-
docs_build/dev/reports/lane_warm_start_report.md
19-
docs_build/dev/reports/monolith_trigger_removal_report.md
20-
docs_build/dev/reports/persistent_lane_manifest_report.md
21-
docs_build/dev/reports/playwright_discovery_ownership_report.md
22-
docs_build/dev/reports/playwright_discovery_scope_report.md
23-
docs_build/dev/reports/playwright_structure_audit.md
24-
docs_build/dev/reports/playwright_v8_coverage_report.txt
25-
docs_build/dev/reports/retry_suppression_report.md
26-
docs_build/dev/reports/slow_path_pruning_report.md
27-
docs_build/dev/reports/static_validation_report.md
28-
docs_build/dev/reports/targeted_file_manifest_report.md
29-
docs_build/dev/reports/test_cleanup_performance_report.md
30-
docs_build/dev/reports/test_cleanup_routing_report.md
31-
docs_build/dev/reports/testing_lane_execution_report.md
32-
docs_build/dev/reports/validation_cache_report.md
33-
docs_build/dev/reports/zero_browser_preflight_report.md
34-
tests/playwright/tools/TextToSpeechFunctional.spec.mjs
35-
toolbox/text-to-speech/text2speech.js
1+
M docs_build/dev/PROJECT_INSTRUCTIONS.md
2+
M docs_build/dev/PROJECT_MULTI_PC.txt
3+
A docs_build/dev/reports/PR_26171_GAMMA_005-all-team-sequential-queue-governance-instruction-compliance-checklist.md
4+
A docs_build/dev/reports/PR_26171_GAMMA_005-all-team-sequential-queue-governance-manual-validation-notes.md
5+
A docs_build/dev/reports/PR_26171_GAMMA_005-all-team-sequential-queue-governance.md
6+
M docs_build/dev/reports/codex_changed_files.txt
7+
M docs_build/dev/reports/codex_review.diff
8+
9+
docs_build/dev/PROJECT_INSTRUCTIONS.md | 38 ++++++++++--
10+
docs_build/dev/PROJECT_MULTI_PC.txt | 15 +++++
11+
...-governance-instruction-compliance-checklist.md | 26 ++++++++
12+
...ial-queue-governance-manual-validation-notes.md | 24 ++++++++
13+
...MMA_005-all-team-sequential-queue-governance.md | 71 ++++++++++++++++++++++
14+
5 files changed, 170 insertions(+), 4 deletions(-)

0 commit comments

Comments
 (0)