-
Notifications
You must be signed in to change notification settings - Fork 0
PR_26180_OWNER_020-src-legacy-teardown #300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: PR_26180_OWNER_019b-move-browser-shared-schemas-to-www
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # PR_26180_OWNER_020 Branch Validation | ||
|
|
||
| | Check | Status | Notes | | ||
| |-------|--------|-------| | ||
| | Current branch | PASS | `PR_26180_OWNER_020-src-legacy-teardown` | | ||
| | Expected base | PASS | Stacked on `PR_26180_OWNER_019b-move-browser-shared-schemas-to-www` workstream branch. | | ||
| | Worktree scope | PASS | Changes limited to obsolete root `src/` deletions, Project Instructions/backlog status updates, guard baseline alignment, and PR reports. | | ||
| | Runtime/API/UI/database changes | PASS | No active runtime, API, UI, or database implementation files changed. | | ||
| | Protected dev workspace paths | PASS | No protected `dev/workspace/generated`, `dev/workspace/zips`, or `dev/workspace/tmp` files moved or deleted. | | ||
|
|
||
| ## Branch Decision | ||
|
|
||
| PASS. Branch is valid for the stacked Owner Repository Architecture Simplification workstream. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # PR_26180_OWNER_020 Manual Validation Notes | ||
|
|
||
| ## Manual Review | ||
|
|
||
| - Confirmed current branch is `PR_26180_OWNER_020-src-legacy-teardown`. | ||
| - Confirmed deleted files are limited to obsolete root `src/` placeholders, README notes, and debug helpers with no active references. | ||
| - Confirmed remaining root `src/shared/contracts/**`, `src/shared/projectDataStore/**`, and active schema files are still needed by current validation/test references and were not removed. | ||
| - Confirmed archive-only v1-v2 references to deleted debug helpers remain historical and are not active runtime blockers. | ||
| - Confirmed the shared extraction guard baseline change removes only the deleted `src/shared/debug/network.js` entry. | ||
|
|
||
| ## Manual Runtime Notes | ||
|
|
||
| No runtime/UI/API/database behavior was changed. Playwright was not required because this PR removes unreferenced legacy source files and documentation placeholders only. | ||
|
|
||
| ## ZIP Notes | ||
|
|
||
| The repo-structured ZIP for this PR is generated under: | ||
|
|
||
| `dev/workspace/zips/PR_26180_OWNER_020-src-legacy-teardown_delta.zip` |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| # PR_26180_OWNER_020-src-legacy-teardown Report | ||
|
|
||
| ## Executive Summary | ||
|
|
||
| PR_26180_OWNER_020 continues the root `src/` retirement work by removing legacy files that no longer have active runtime, API, dev script, validation, or test references. The PR preserves active root `src/shared/contracts/**`, `src/shared/projectDataStore/**`, and active schema files because they are still used by current dev validation/tests and require separate follow-up ownership moves. | ||
|
|
||
| No browser, API, database, or product behavior changes are introduced. | ||
|
|
||
| ## Source Of Truth | ||
|
|
||
| - Base branch: `PR_26180_OWNER_019b-move-browser-shared-schemas-to-www` | ||
| - Workstream: Repository Architecture Simplification | ||
| - Audit source: PR017 src destination audit and PR019a contracts/schemas obsolescence audit | ||
| - Project Instructions version updated to `2026.06.28.020` | ||
|
|
||
| ## Deleted Legacy Files | ||
|
|
||
| | File | Decision | Reason | | ||
| |------|----------|--------| | ||
| | `src/dev-runtime/admin/.gitkeep` | Deleted | Obsolete placeholder. Admin compatibility runtime now lives under `www/src/dev-runtime/admin/`. | | ||
| | `src/engine/README.md` | Deleted | Legacy empty-engine-era note, not an active architecture source. | | ||
| | `src/shared/debug/config.js` | Deleted | Old debug helper referenced only by archived v1-v2 material. No active runtime/test/script references. | | ||
| | `src/shared/debug/network.js` | Deleted | Old debug helper referenced only by archived v1-v2 material. No active runtime/test/script references. | | ||
| | `src/shared/debug/noopDevConsoleIntegration.js` | Deleted | Old debug helper referenced only by archived v1-v2 material. No active runtime/test/script references. | | ||
| | `src/shared/schemas/README.md` | Deleted | Legacy schema README superseded by active Project Instructions/governance. | | ||
| | `src/shared/schemas/tools/README.md` | Deleted | Legacy tool schema README superseded by active Project Instructions/governance. | | ||
|
|
||
| ## Preserved Root src Files | ||
|
|
||
| | Path | Decision | Reason | | ||
| |------|----------|--------| | ||
| | `src/shared/contracts/**` | Preserved | Still actively imported by `dev/tests/shared/**` contract validation. | | ||
| | `src/shared/projectDataStore/**` | Preserved | Still actively imported by current project data store validation tests. | | ||
| | `src/shared/schemas/game.manifest.schema.json` | Preserved | Still actively referenced by current validation/tests. | | ||
| | `src/shared/schemas/samples/sample.tool-payload.schema.json` | Preserved | Still actively referenced by current validation/tests. | | ||
|
|
||
| ## Legacy Pattern Audit | ||
|
|
||
| | Pattern | Result | | ||
| |---------|--------| | ||
| | `src/shared/debug/*` active references | PASS: no active references outside archive/report/workspace folders. | | ||
| | `src/engine/README` active references | PASS: no active references outside archive/report/workspace folders. | | ||
| | `src/shared/schemas/README` active references | PASS: no active references outside archive/report/workspace folders. | | ||
| | `src/dev-runtime/admin/.gitkeep` active references | PASS: no active references outside archive/report/workspace folders. | | ||
| | `www/src/tools/**` | Not present in this PR scope. | | ||
| | Protected dev workspace paths | PASS: no protected `dev/workspace/generated`, `zips`, or `tmp` files moved. | | ||
|
|
||
| Archive-only v1-v2 references to the removed debug helpers remain under `dev/archive/v1-v2/**`. They are historical reference material, not active runtime or validation dependencies. | ||
|
|
||
| ## Shared Extraction Guard | ||
|
|
||
| `dev/tools/toolbox-dev/checkSharedExtractionGuard.baseline.json` was updated by removing the single baseline entry for deleted file `src/shared/debug/network.js`. No broad baseline regeneration was committed. | ||
|
|
||
| ## Owner Recommendation | ||
|
|
||
| Proceed with this teardown PR. Remaining root `src/` files require follow-up PRs because active validation currently depends on them. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # PR_26180_OWNER_020 Requirement Checklist | ||
|
|
||
| | Requirement | Status | Evidence | | ||
| |-------------|--------|----------| | ||
| | Base from `PR_26180_OWNER_019b-move-browser-shared-schemas-to-www` | PASS | Branch `PR_26180_OWNER_020-src-legacy-teardown` was created from the PR019b stack. | | ||
| | Do not copy files again | PASS | PR deletes obsolete legacy files only; no duplicate copies were added. | | ||
| | Delete/archive obsolete root `src/` files only after replacement or proof of legacy status | PASS | Seven files removed after active-reference scan found no active runtime/script/test dependencies. | | ||
| | Preserve runtime behavior | PASS | Removed files had no active references outside archive/report/workspace paths. | | ||
| | Hard stop if active `www/api/dev` runtime or validation imports removed files | PASS | Active-reference scan found no active imports for removed files. | | ||
| | Preserve active root `src/shared/contracts/**` and schemas still needed by validation | PASS | Active contract/schema/project data store files remain in root `src/` for follow-up PRs. | | ||
| | Remove `src/dev-runtime/admin/.gitkeep` if obsolete | PASS | Obsolete placeholder removed. | | ||
| | Audit legacy debug/schema/readme patterns | PASS | Active-reference scan completed; archive-only historical references documented. | | ||
| | Do not move protected developer workspace files | PASS | No `dev/workspace/generated`, `dev/workspace/zips`, or `dev/workspace/tmp` files moved. | | ||
| | Required reports under `dev/reports/` | PASS | PR-specific report, checklist, validation report, manual notes, branch validation, diff, and changed-file report created. | | ||
| | Required ZIP under `dev/workspace/zips/` | PASS | Repo-structured ZIP generated for the PR outcome. | | ||
|
|
||
| ## Remaining Follow-Up | ||
|
|
||
| Root `src/shared/contracts/**`, `src/shared/projectDataStore/**`, and active schema files remain because they are still required by current validation/test lanes. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # PR_26180_OWNER_020 Validation Report | ||
|
|
||
| ## Validation Commands | ||
|
|
||
| | Command | Status | Notes | | ||
| |---------|--------|-------| | ||
| | `git diff --check` | PASS | No whitespace errors. | | ||
| | `npm run validate:canonical-structure` | PASS | Canonical repository structure guardrail passed with 0 blocking violations. | | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The validation table records this targeted command as PASS, but rerunning that exact command in this checkout exits 1 because Useful? React with 👍 / 👎. |
||
| | `node ./dev/scripts/run-node-test-files.mjs dev/tests/dev-runtime/AdminNotesBoundary.test.mjs dev/tests/dev-runtime/StaticWebRootCompatibility.test.mjs dev/tests/tools/ToolManifestBoundary.test.mjs` | PASS | 3/3 targeted node test files passed. | | ||
| | `node dev/tools/toolbox-dev/checkSharedExtractionGuard.mjs` | PASS | Baseline aligned after removing the deleted `src/shared/debug/network.js` entry. | | ||
| | Active legacy reference scan | PASS | No active references to deleted paths found outside archive/report/workspace folders. | | ||
|
|
||
| ## Active Legacy Reference Scan | ||
|
|
||
| Command: | ||
|
|
||
| ```powershell | ||
| rg -n "src/shared/debug/(config|network|noopDevConsoleIntegration)|src/engine/README|src/shared/schemas/README|src/shared/schemas/tools/README|src/dev-runtime/admin/.gitkeep" www api dev/scripts dev/tests dev/tools package.json .github --glob '!dev/archive/**' --glob '!dev/reports/**' --glob '!dev/workspace/**' | ||
| ``` | ||
|
|
||
| Result: no matches. | ||
|
|
||
| ## Archive References | ||
|
|
||
| Historical references remain under `dev/archive/v1-v2/**`. These are intentionally excluded from active validation blockers because `dev/archive/` is historical reference material only. | ||
|
|
||
| ## Product Impact | ||
|
|
||
| - Runtime behavior changed: No | ||
| - UI changed: No | ||
| - API changed: No | ||
| - Database changed: No | ||
| - Product feature changed: No | ||
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The repo AGENTS.md Packaging rule for this review requires the BUILD artifact at
<project folder>/tmp/<TASK_NAME>_delta.zip, but this checklist marks the required ZIP as generated underdev/workspace/zips/. Any downstream handoff or evaluator following the BUILD contract will look intmp/PR_26180_OWNER_020-src-legacy-teardown_delta.zipand miss the artifact, so the report/package path needs to be corrected to the requiredtmp/location.Useful? React with 👍 / 👎.