|
| 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. |
0 commit comments