Skip to content

Commit 044ad32

Browse files
committed
Consolidate PROJECT_INSTRUCTIONS governance rules and normalize workflow, validation, and stabilization terminology - PR_26146_012-project-instructions-governance-closeout
1 parent a389af3 commit 044ad32

1 file changed

Lines changed: 34 additions & 18 deletions

File tree

docs/dev/PROJECT_INSTRUCTIONS.md

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ Rules:
3232

3333
ChatGPT no longer creates PLAN_PR, BUILD_PR, APPLY_PR docs, ZIP bundles, or implementation code.
3434

35-
ChatGPT produces only:
36-
1. Codex command
37-
2. Commit comment
38-
3. What Playwright is testing
39-
4. What the user should test manually
35+
ChatGPT repo workflow response formatting is governed by `OUTPUT RULES` and the newest explicit ChatGPT workflow sections below.
4036

4137
ChatGPT must not:
4238
- create ZIP files
@@ -85,6 +81,30 @@ Newer appended sections override earlier overlapping rules.
8581

8682
When rules overlap, use the most specific current section as authoritative.
8783

84+
Conflicting workflow instructions must resolve to the newest explicit section.
85+
86+
Future governance additions should extend existing sections instead of duplicating overlapping guidance.
87+
88+
## GOVERNANCE CLOSEOUT
89+
90+
Docs-only PRs should prefer bundling with related docs/workflow cleanup when safe.
91+
92+
Stabilization/recovery lane rules supersede older generalized workflow assumptions.
93+
94+
Engine/tool/integration boundaries are authoritative for validation routing.
95+
96+
Hidden validation expansion is prohibited.
97+
98+
Workflow and testing language must not assume implicit persisted workspace, toolState, `localStorage`, `sessionStorage`, sample, or runtime state.
99+
100+
Required validation lane names are:
101+
- contract
102+
- runtime
103+
- integration
104+
- engine
105+
- samples
106+
- recovery/UAT
107+
88108
## FILE SCOPE GUARD
89109

90110
Allowed change scope is PR-specific.
@@ -160,9 +180,7 @@ ChatGPT must not add ZIP delivery language to standard repo workflow replies.
160180

161181
Repo workflow replies must remain concise and operational.
162182

163-
Future workflow rule additions should extend existing sections rather than duplicate them.
164-
165-
Conflicting workflow instructions must resolve to the newest explicit section.
183+
ChatGPT workflow governance follows `RULE PRECEDENCE` and `GOVERNANCE CLOSEOUT`.
166184

167185
Repo workflow output formatting is part of the enforced workflow contract.
168186

@@ -280,11 +298,7 @@ or:
280298

281299
Then ChatGPT must:
282300

283-
1. Determine the next PR.
284-
2. Provide a compact Codex command.
285-
3. Provide commit comment.
286-
4. Provide what Playwright is testing.
287-
5. Provide what the user should test manually.
301+
Determine the next PR and follow `OUTPUT RULES`, `ChatGPT Repo Response Format Standard`, and `ChatGPT Workflow Governance Consistency`.
288302

289303
Do not ask for confirmation unless ambiguity exists.
290304

@@ -366,13 +380,15 @@ If ZIP delivery fails more than once:
366380

367381
- Roadmap lives at: `docs\dev\roadmaps\MASTER_ROADMAP_ENGINE.md`
368382
- Only one roadmap.
369-
- PRs must include something testable and improve the roadmap.
383+
- PRs must remain testable through validation appropriate to their scope.
370384
- Roadmap updates must be status-only unless explicitly requested.
371385
- Valid roadmap status transitions:
372386
- `[ ]``[.]`
373387
- `[.]``[x]`
374388

375-
If a PR is doc-only, bundle it with the next smallest executable/testable change when appropriate.
389+
Docs-only PR bundling follows `GOVERNANCE CLOSEOUT`.
390+
391+
Do not add unrelated runtime, sample, or roadmap changes just to make a docs-only PR executable.
376392

377393
## PRODUCTIZATION RULES
378394

@@ -458,7 +474,7 @@ Engine test matrix expectations:
458474
- name the fixture, manifest, or runtime input source
459475
- include one valid path and one failure path when applicable
460476
- state PASS/FAIL/WARN/SKIP criteria
461-
- identify dependent tool, integration, or sample lanes that are in scope
477+
- identify dependent runtime, integration, or samples lanes that are in scope
462478

463479
Engine validation expands lane scope when a shared runtime API, shared parser, timing model, asset path rule, input contract, rendering contract, audio contract, or physics/runtime timing behavior changes.
464480

@@ -607,14 +623,14 @@ Lane ownership:
607623
- runtime: tool-specific runtime behavior and user-facing tool interactions
608624
- integration: explicit cross-tool or workspace handoff behavior
609625
- engine: engine/shared runtime behavior and dependent runtime surfaces
610-
- samples: affected sample validation when sample scope is active
626+
- samples: validation for affected samples when samples scope is active
611627
- recovery/UAT: explicitly requested recovery or user-acceptance validation lanes
612628

613629
Blocker classification rules:
614630
- targeted tool failures block the targeted lane only
615631
- engine failures block dependent lanes
616632
- integration failures block the integration lane only
617-
- sample failures block only when sample scope is active
633+
- failures in the samples lane block only when samples scope is active
618634
- flaky failures cannot automatically escalate to global blockers
619635

620636
Shared-runtime blocker escalation requires identifying the root shared dependency, affected dependent lanes, and the reason the shared dependency blocks those lanes.

0 commit comments

Comments
 (0)