Skip to content

Commit b5f0692

Browse files
committed
Add Owner PR stack realignment plan
1 parent a4e671e commit b5f0692

7 files changed

Lines changed: 266 additions & 1 deletion
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# PR_26179_OWNER_009 Branch Validation
2+
3+
| Check | Result | Evidence |
4+
| --- | --- | --- |
5+
| Start branch was `main` | PASS | `git branch --show-current` returned `main` before branch creation. |
6+
| Worktree was clean before branch creation | PASS | `git status --short --branch` showed clean `main`. |
7+
| Local main was synced with origin/main | PASS | `git rev-list --left-right --count main...origin/main` returned `0 0`. |
8+
| PR branch created | PASS | Created `PR_26179_OWNER_009-pr-stack-realignment`. |
9+
| Scope is governance/report only | PASS | Planned changes are limited to `dev/reports/` and ZIP output. |
10+
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# PR_26179_OWNER_009 Manual Validation Notes
2+
3+
## Manual Review
4+
5+
Reviewed the focused open PR set and produced recommendations without changing PR state.
6+
7+
## Decisions
8+
9+
- Charlie Sprites implementation PRs should be rebuilt from current `main` rather than rebased.
10+
- Tool Display PRs should be rebuilt or closed depending on whether the feature remains desired.
11+
- Legal governance leftover PR #176 should be closed unless Owner still needs the content, in which case it should be recreated from current `main`.
12+
- Stale report-only Charlie PR #219 should be closed after confirming no unique content must be preserved.
13+
14+
## Non-Impact
15+
16+
- No runtime files changed.
17+
- No production pages changed.
18+
- No API files changed.
19+
- No database files changed.
20+
- No GitHub PRs were merged or closed.
21+
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
# PR_26179_OWNER_009-pr-stack-realignment
2+
3+
## Purpose
4+
5+
Produce a no-code Owner governance plan for the remaining open PRs that require rebase, rebuild, close, or preservation decisions.
6+
7+
This PR does not modify runtime code, production pages, branches, or open PR state.
8+
9+
## Review Scope
10+
11+
Focused PRs:
12+
13+
- #228 `PR_26177_CHARLIE_018-sprites-testable-mvp-completion`
14+
- #227 `PR_26177_CHARLIE_017-sprites-toolbox-entry-active`
15+
- #226 `PR_26177_CHARLIE_016-sprites-playwright-final-polish`
16+
- #225 `PR_26177_CHARLIE_015-sprites-reference-protection`
17+
- #224 `PR_26177_CHARLIE_014-sprites-tags-categories-search`
18+
- #223 `PR_26177_CHARLIE_013-sprites-import-preview-metadata-palette`
19+
- #222 `PR_26177_CHARLIE_012-sprites-library-crud`
20+
- #221 `PR_26177_CHARLIE_011-sprites-tool-shell`
21+
- #220 `PR_26177_CHARLIE_010-sprites-api-db-foundation`
22+
- #219 `PR_26177_CHARLIE_009-sprites-legacy-audit-plan`
23+
- #198 `PR_26176_006 Alfa Tool Display validation closeout`
24+
- #196 `PR_26176_005 Tool Display Mode single-line layout`
25+
- #176 `PR_26175_OWNER_055: retain legal governance leftovers`
26+
27+
Non-focus open PRs, including #250 `PR_26171_ALFA_009-team-aware-bootstrap`, were not modified by this plan.
28+
29+
## Method
30+
31+
Read-only GitHub inspection was performed with `gh pr view`, `gh pr list`, GitHub compare data against `main`, and review-thread checks.
32+
33+
Evidence captured:
34+
35+
- base branch
36+
- head branch
37+
- draft status
38+
- merge state
39+
- mergeability
40+
- CI/check rollup
41+
- unresolved review conversations
42+
- ahead/behind counts relative to `main`
43+
- changed-file roots
44+
45+
## Executive Recommendation
46+
47+
Do not merge any focused PR in its current state.
48+
49+
The Charlie Sprites stack and the Tool Display pair were created before the current repository structure and are substantially behind `main`. Many still reference obsolete `docs_build/` paths and several are based on other PR branches instead of `main`.
50+
51+
Recommended governance action:
52+
53+
1. Close stale report/audit-only PRs.
54+
2. Rebuild implementation PRs from current `main` using canonical paths.
55+
3. Preserve useful intent and test evidence in recreated PRs.
56+
4. Do not rebase old branches unless the PR has no obsolete path references and no scope overlap.
57+
58+
## PR-by-PR Realignment Plan
59+
60+
| PR | Current State | Evidence | Recommendation | Owner Action |
61+
| ---: | --- | --- | --- | --- |
62+
| #228 | Draft, conflicting, 115 behind `main`, 3 commits ahead | Touches `assets/`, `src/`, `tests/`, `toolbox/`, and obsolete `docs_build/` reports | Rebuild | Recreate from current `main` after lower Sprites dependencies are rebuilt and merged. Preserve the Creator-testable completion intent, but do not rebase this branch. |
63+
| #227 | Draft, conflicting, 115 behind `main`, 2 commits ahead | Touches local API/tool metadata/tests and obsolete `docs_build/` reports | Rebuild | Recreate from current `main` after the Sprites tool shell and metadata path are current. Preserve route/toolbox-entry intent only. |
64+
| #226 | Draft, clean against PR base, 117 behind `main`, target is #225 branch | Targets a PR branch, not `main`; includes obsolete `docs_build/` reports | Rebuild | Close/recreate after #225 replacement lands. Do not merge as stacked branch targeting another open PR. |
65+
| #225 | Draft, clean against PR base, 117 behind `main`, target is #224 branch | Targets a PR branch, not `main`; touches Sprites UI/test files plus obsolete reports | Rebuild | Recreate from current `main` after #224 replacement lands. Preserve reference-protection behavior and tests. |
66+
| #224 | Draft, clean against PR base, 117 behind `main`, target is #223 branch | Targets a PR branch, not `main`; touches Sprites UI/test files plus obsolete reports | Rebuild | Recreate from current `main` after #223 replacement lands. Preserve tags/categories/search intent only. |
67+
| #223 | Draft, clean against PR base, 117 behind `main`, target is #222 branch | Targets a PR branch, not `main`; touches Sprites UI/test files plus obsolete reports | Rebuild | Recreate from current `main` after #222 replacement lands. Preserve import/preview/metadata/palette intent only. |
68+
| #222 | Draft, clean against PR base, 117 behind `main`, target is #221 branch | Targets a PR branch, not `main`; touches Sprites UI/test files plus obsolete reports | Rebuild | Recreate from current `main` after #221 replacement lands. Preserve library CRUD intent and tests. |
69+
| #221 | Draft, conflicting, 117 behind `main`, no current checks | Base `main`, but conflicts and obsolete reports remain | Rebuild | Recreate from current `main` after #220 replacement lands. Do not rebase because no checks and path drift are present. |
70+
| #220 | Draft, conflicting, 117 behind `main`, 1 commit ahead | Touches DB/API/test files and obsolete `docs_build/database` / `docs_build/dev` paths | Rebuild first | Recreate from current `main` using canonical `dev/build/database/`, `dev/tests/`, and `dev/reports/` paths. This is the first active Sprites implementation dependency. |
71+
| #219 | Draft, conflicting, 117 behind `main`, report-only audit plan | Only obsolete `docs_build/dev/reports` files | Close | Close as superseded by the later Sprites implementation stack. Preserve any useful audit findings only if a future current-path report is needed. |
72+
| #198 | Draft, clean against PR base, 200 behind `main`, target is #196 branch | Report-only validation closeout based on stale Tool Display branch | Close or rebuild after #196 | Close if #196 is abandoned. If Tool Display is rebuilt, create a new validation closeout from current `main` only after the rebuilt implementation PR exists. |
73+
| #196 | Draft, conflicting, 200 behind `main`, no current checks | Touches theme CSS/JS/tests and obsolete `docs_build` reports | Rebuild | Recreate from current `main` if the single-line Tool Display change is still desired. Do not rebase the stale branch. |
74+
| #176 | Open, conflicting, 200 behind `main`, 5 unresolved threads | Retains legal governance leftovers in obsolete `docs_build/` paths | Close or recreate | Close unless Owner still needs the legal governance content. If needed, recreate from current `main` under canonical `dev/build/` or production `docs/` ownership after resolving review feedback. |
75+
76+
## Recommended Dependency Order
77+
78+
### Charlie Sprites
79+
80+
Recommended rebuild order:
81+
82+
1. #220 replacement: Sprites API/database foundation
83+
2. #221 replacement: Sprites tool shell
84+
3. #222 replacement: Sprites library CRUD
85+
4. #223 replacement: import, preview, metadata, palette
86+
5. #224 replacement: tags, categories, search
87+
6. #225 replacement: reference protection
88+
7. #226 replacement: Playwright final polish
89+
8. #227 replacement: toolbox entry active
90+
9. #228 replacement: testable MVP completion
91+
92+
Current #219 should be closed before this rebuild sequence begins.
93+
94+
### Tool Display
95+
96+
Recommended sequence:
97+
98+
1. Decide whether the Tool Display single-line layout remains desired.
99+
2. If yes, rebuild #196 from current `main`.
100+
3. Recreate #198 only if a separate validation closeout is still useful after the #196 replacement.
101+
102+
### Legal Governance Leftovers
103+
104+
Recommended sequence:
105+
106+
1. Resolve whether the content in #176 is still needed.
107+
2. If not needed, close #176.
108+
3. If needed, recreate from current `main` with canonical paths and resolved review feedback.
109+
110+
## Duplicate Or Overlapping Implementations
111+
112+
- #220 through #228 overlap as a single Sprites implementation chain and should be managed as one ordered rebuild.
113+
- #227 and #228 overlap with earlier Sprites tool metadata, route, and UI work; they should not be rebuilt until lower dependencies land.
114+
- #196 and #198 are a stale Tool Display implementation/validation pair.
115+
- #176 overlaps with already-completed repository restructuring because it uses obsolete `docs_build/` locations.
116+
117+
## Branch And Target Issues
118+
119+
PRs targeting a non-main branch:
120+
121+
- #222 targets `PR_26177_CHARLIE_011-sprites-tool-shell`
122+
- #223 targets `PR_26177_CHARLIE_012-sprites-library-crud`
123+
- #224 targets `PR_26177_CHARLIE_013-sprites-import-preview-metadata-palette`
124+
- #225 targets `PR_26177_CHARLIE_014-sprites-tags-categories-search`
125+
- #226 targets `PR_26177_CHARLIE_015-sprites-reference-protection`
126+
- #198 targets `PR_26176_005-tool-display-mode-single-line-layout`
127+
128+
These should not be merged as-is under current governance.
129+
130+
## Merge Risk
131+
132+
High-risk PRs:
133+
134+
- #228, #227, #221, #220, #196, and #176 because they are conflicting.
135+
- #176 because it also has unresolved review conversations.
136+
- #220 because it touches database/API paths and must be rebuilt using current Postgres/API governance.
137+
138+
Medium-risk PRs:
139+
140+
- #222 through #226 because they are clean only against stale PR branches and are far behind current `main`.
141+
- #198 because it is report-only but depends on stale #196.
142+
143+
Low-risk closure:
144+
145+
- #219, because it is report-only and superseded by later Sprites work.
146+
147+
## Owner Action Queue
148+
149+
1. Close #219 after confirming no unique audit content needs preservation.
150+
2. Decide whether #176 content is still needed; close or recreate.
151+
3. Decide whether #196 Tool Display work is still desired.
152+
4. Rebuild #220 from current `main` before any other Sprites implementation PR.
153+
5. Rebuild each remaining Sprites PR one at a time from current `main`.
154+
6. Keep #250 out of this cleanup plan because it is not part of the requested focus set.
155+
156+
## No-Code Confirmation
157+
158+
This PR is documentation/governance only.
159+
160+
No runtime code, production page, API, database, branch, or GitHub PR state changes are included in this PR.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# PR_26179_OWNER_009 Requirement Checklist
2+
3+
| Requirement | Status | Notes |
4+
| --- | --- | --- |
5+
| Review remaining open PRs in requested focus set | PASS | Reviewed #228, #227, #226, #225, #224, #223, #222, #221, #220, #219, #198, #196, and #176. |
6+
| Produce no-code Owner plan | PASS | Plan added in `dev/reports/PR_26179_OWNER_009-pr-stack-realignment_report.md`. |
7+
| Recommend rebase, rebuild, close, or preserve for each PR | PASS | Each PR has an explicit recommendation and Owner action. |
8+
| Do not modify code | PASS | Only governance/report files are changed. |
9+
| Do not merge PRs | PASS | No PRs were merged. |
10+
| Do not close PRs unless explicitly instructed | PASS | No PRs were closed by this PR. |
11+
| Produce recommendation report only | PASS | Report-only governance deliverable. |
12+
| Use canonical report location | PASS | Reports are under `dev/reports/`. |
13+
| Produce outcome ZIP | PASS | ZIP to be generated under `dev/workspace/zips/`. |
14+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# PR_26179_OWNER_009 Validation Report
2+
3+
## Validation Scope
4+
5+
This is a no-code governance/report PR.
6+
7+
Runtime, product UI, API, database, and branch state changes are intentionally out of scope.
8+
9+
## Commands
10+
11+
Required validation:
12+
13+
```text
14+
git diff --check
15+
```
16+
17+
Additional repository-structure validation:
18+
19+
```text
20+
npm run validate:canonical-structure
21+
```
22+
23+
## Results
24+
25+
| Command | Result | Notes |
26+
| --- | --- | --- |
27+
| `git diff --check` | PASS | No whitespace errors. |
28+
| `npm run validate:canonical-structure` | PASS | Canonical repository structure guardrail passed with 0 blocking violations. |
29+
30+
Playwright and platform runtime validation were not run because this PR is documentation/governance only and does not modify runtime, UI, API, database, or production page files.
31+
32+
## GitHub Review Evidence
33+
34+
Read-only GitHub inspection was used to verify:
35+
36+
- PR status
37+
- base branch
38+
- mergeability
39+
- CI/check rollups
40+
- review-thread state
41+
- ahead/behind counts relative to `main`
42+
- changed-file roots
43+
44+
## No-Code Validation
45+
46+
Expected changed paths are limited to:
47+
48+
- `dev/reports/PR_26179_OWNER_009-pr-stack-realignment_report.md`
49+
- `dev/reports/PR_26179_OWNER_009-pr-stack-realignment_requirement-checklist.md`
50+
- `dev/reports/PR_26179_OWNER_009-pr-stack-realignment_validation-report.md`
51+
- `dev/reports/PR_26179_OWNER_009-pr-stack-realignment_branch-validation.md`
52+
- `dev/reports/PR_26179_OWNER_009-pr-stack-realignment_manual-validation-notes.md`
53+
- `dev/reports/codex_changed_files.txt`
54+
- `dev/reports/codex_review.diff`
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
dev/build/ProjectInstructions/PROJECT_INSTRUCTIONS.md
1+
dev/reports/PR_26179_OWNER_009-pr-stack-realignment_branch-validation.md
2+
dev/reports/PR_26179_OWNER_009-pr-stack-realignment_manual-validation-notes.md
3+
dev/reports/PR_26179_OWNER_009-pr-stack-realignment_report.md
4+
dev/reports/PR_26179_OWNER_009-pr-stack-realignment_requirement-checklist.md
5+
dev/reports/PR_26179_OWNER_009-pr-stack-realignment_validation-report.md
6+
dev/reports/codex_changed_files.txt
7+
dev/reports/codex_review.diff

dev/reports/codex_review.diff

28.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)