Skip to content

Commit af2489f

Browse files
committed
Refine Codex reports governance wording
1 parent cebf815 commit af2489f

9 files changed

Lines changed: 31 additions & 32 deletions

dev/build/ProjectInstructions/addendums/codex_artifact_and_reporting_standard.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,15 @@ Optional:
9797

9898
Generated non-report artifacts must live under `dev/workspace/`.
9999

100-
## Tracked Report Governance
100+
## Codex Reports
101101

102-
`dev/reports/` is an authoritative repository report location and is tracked by Git.
103-
104-
Rules:
105-
106-
- Any changes to `dev/reports/` generated during a PR are expected to be included in that PR.
107-
- A clean `main` means the latest report files have been committed and merged.
108-
- Do not delete report files only to make the worktree clean.
102+
- `dev/reports/` contains the authoritative Codex reports for the repository.
103+
- Reports committed to `main` are the official record.
104+
- Reports generated during a PR are expected to be committed as part of that PR.
105+
- Once merged into `main`, those report versions become the canonical repository history.
106+
- Do not delete report files solely to obtain a clean worktree.
109107
- Do not add `dev/reports/` to `.gitignore`.
110-
- Do not move reports outside the repository.
111-
- Continue using `dev/reports/` for reports and `dev/workspace/zips/` for ZIPs.
112-
- Generated post-merge closeout reports should either be committed in a follow-up governance/report PR or avoided on `main` when no commit is intended.
108+
- Continue storing ZIPs under `dev/workspace/zips/`.
113109

114110
## Completion Reporting
115111

dev/build/ProjectInstructions/addendums/pr_workflow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Closed gates:
105105
- PR merged and changes pushed.
106106
- Current branch is `main`.
107107
- `main` includes the merge commit or recorded final commit.
108-
- Worktree clean, including tracked `dev/reports/` updates committed and merged.
108+
- Worktree clean, including intended `dev/reports/` updates committed and merged.
109109
- Local/origin sync is `0/0`.
110110
- No untracked files.
111111
- Branch disposition is recorded as `retained`.
@@ -132,7 +132,7 @@ Closed gates:
132132
- If OWNER decision is required, stop and report.
133133
- Every PR lifecycle state must satisfy the Codex Completion Contract when Codex executes work for that state.
134134
- ZIP artifacts belong under `dev/workspace/zips/` and must not replace required reports under `dev/reports/`.
135-
- Generated reports under `dev/reports/` are tracked source for the PR. Do not delete report files only to make the worktree clean, do not ignore `dev/reports/`, and do not move reports outside the repository.
135+
- Reports generated during a PR are expected to be committed as part of that PR. Do not delete report files solely to obtain a clean worktree, and do not add `dev/reports/` to `.gitignore`.
136136
- Stacked PR chains produce one final outcome ZIP per attempted PR and stop before later PRs after failure or hard stop.
137137

138138
## Batch Governance Mode

dev/build/ProjectInstructions/repository/canonical_repository_structure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Dev workspace ownership:
6262
- dev/archive/ owns historical reference material only.
6363
- dev/build/ owns active Project Instructions, architecture, database DDL/DML/seed docs, standards, backlog, PR planning, and governance.
6464
- dev/config/ owns development-only runner and tooling configuration.
65-
- dev/reports/ owns active and historical generated reports. Report files under `dev/reports/` are authoritative tracked repository source and must not be deleted only to make the worktree clean.
65+
- dev/reports/ owns authoritative Codex reports for the repository. Reports committed to `main` are the official record.
6666
- dev/scripts/ owns development-only scripts and runners.
6767
- dev/templates/ owns reusable development templates.
6868
- dev/tests/ owns non-deployable test suites.
@@ -110,7 +110,7 @@ These legacy transition buckets may remain until explicit migration PRs move the
110110
- New development follows the canonical structure.
111111
- New deployable `src/` work follows `src/web/`, `src/api-runtime/`, or `src/runtime/`.
112112
- New non-deployable work belongs under `dev/`.
113-
- Required reports belong under flat tracked `dev/reports/`.
113+
- Required reports belong under flat `dev/reports/`.
114114
- Required ZIPs belong under `dev/workspace/zips/`; generated temporary artifacts belong under `dev/workspace/tmp/`.
115115

116116
## Creator Data Boundary

dev/reports/PR_26179_OWNER_036-reports-are-tracked-source_manual-validation-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Review the governance wording in:
88
- `dev/build/ProjectInstructions/repository/canonical_repository_structure.md`
99
- `dev/build/ProjectInstructions/addendums/pr_workflow.md`
1010

11-
Confirm the policy says tracked report files are expected PR source, and that post-merge closeout reports should be committed in a follow-up governance/report PR or avoided on `main` when no commit is intended.
11+
Confirm the policy says `dev/reports/` contains authoritative Codex reports, reports committed to `main` are the official record, and PR-generated reports are expected to be committed as part of that PR.

dev/reports/PR_26179_OWNER_036-reports-are-tracked-source_report.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
## Summary
44

5-
This governance PR clarifies that `dev/reports/` is authoritative tracked repository source. Codex-generated reports are expected to be committed with the PR that generated them, and generated post-merge closeout reports should be committed through a follow-up governance/report PR or avoided on `main` when no commit is intended.
5+
This governance PR clarifies that `dev/reports/` contains the authoritative Codex reports for the repository and that reports committed to `main` are the official record. Reports generated during a PR are expected to be committed as part of that PR, while repository authority remains the report state committed to `main`.
66

77
## Scope
88

99
- Updated Codex artifact/reporting governance.
1010
- Updated canonical repository structure wording for `dev/reports/`.
11-
- Updated PR workflow clean-main guidance for tracked reports.
11+
- Updated PR workflow clean-main guidance for intended report updates.
1212
- Preserved the existing PR277 post-merge closeout report artifacts instead of deleting them.
1313
- No runtime code changes.
1414
- No auth changes.
@@ -17,15 +17,17 @@ This governance PR clarifies that `dev/reports/` is authoritative tracked reposi
1717

1818
## Policy Added
1919

20-
- `dev/reports/` is authoritative and tracked by Git.
21-
- Any changes to `dev/reports/` generated during a PR are expected to be included in that PR.
22-
- A clean `main` means the latest report files have been committed and merged.
23-
- Do not delete report files only to make the worktree clean.
20+
- `dev/reports/` contains the authoritative Codex reports for the repository.
21+
- Reports committed to `main` are the official record.
22+
- Reports generated during a PR are expected to be committed as part of that PR.
23+
- Once merged into `main`, those report versions become the canonical repository history.
24+
- Do not delete report files solely to obtain a clean worktree.
2425
- Do not add `dev/reports/` to `.gitignore`.
25-
- Do not move reports outside the repository.
26-
- Continue using `dev/reports/` for reports and `dev/workspace/zips/` for ZIPs.
27-
- Generated post-merge closeout reports should either be committed in a follow-up governance/report PR or avoided on `main` if no commit is intended.
26+
- Continue storing ZIPs under `dev/workspace/zips/`.
2827

2928
## Validation
3029

31-
Pending at report creation; final results are recorded in the validation report.
30+
PASS:
31+
32+
- `git diff --check`
33+
- `npm run validate:canonical-structure`

dev/reports/PR_26179_OWNER_036-reports-are-tracked-source_requirement-checklist.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
Status: PASS
44

55
- Update Project Instructions/governance docs only: PASS
6-
- Declare `dev/reports/` authoritative and tracked by Git: PASS
7-
- Require PR-generated `dev/reports/` changes to be included in the PR: PASS
8-
- Define clean `main` as latest report files committed and merged: PASS
9-
- Warn not to delete report files only to clean worktree: PASS
6+
- Declare `dev/reports/` contains authoritative Codex reports: PASS
7+
- Declare reports committed to `main` are the official record: PASS
8+
- Require PR-generated reports to be committed as part of the PR: PASS
9+
- Clarify repository authority is the report state committed to `main`: PASS
10+
- Warn not to delete report files solely to clean worktree: PASS
1011
- Warn not to add `dev/reports/` to `.gitignore`: PASS
11-
- Warn not to move reports outside the repo: PASS
1212
- Preserve `dev/reports/` and `dev/workspace/zips/` as canonical paths: PASS
13-
- Document post-merge closeout report handling: PASS
1413
- No runtime code changes: PASS
1514
- No auth changes: PASS
1615
- No Local API changes: PASS

dev/reports/PR_26179_OWNER_036-reports-are-tracked-source_validation-report.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ Canonical repository structure guardrail: PASS
2323
Blocking violations: 0
2424
Approved legacy exceptions: 500
2525
```
26+
27+
No runtime, auth, Local API, seed, or `.gitignore` changes were made.
1.14 KB
Binary file not shown.

dev/reports/codex_review.diff

39.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)