|
| 1 | +# PR_26180_OWNER_015 Root Empty Folder and src Transition Audit |
| 2 | + |
| 3 | +## Executive Summary |
| 4 | + |
| 5 | +PR_26180_OWNER_015 completes a no-runtime-change audit of named root leftovers after the `www/`, `api/`, and `dev/` migration. No tracked placeholder folders were removed because Git has no tracked content in the named root leftovers except `src/`. |
| 6 | + |
| 7 | +`src/` remains active and tracked. It should not move in this PR because it contains deployable engine/runtime/shared modules and browser API clients still referenced by `www/`, `api/`, `dev/tests/`, and `dev/tools/`. |
| 8 | + |
| 9 | +## Root Folder Audit |
| 10 | + |
| 11 | +| Folder | Exists Locally | Tracked Content | Local/Generated Status | Decision | |
| 12 | +|---|---:|---:|---|---| |
| 13 | +| `assets/` | Yes | 0 tracked files | Contains ignored local `assets/DemoGame-26168-001.gfsp`; remaining entries are local directory shells. | Do not delete in PR. User/local cleanup only unless Owner explicitly approves moving/removing the ignored file. | |
| 14 | +| `games/` | Yes | 0 tracked files | Empty local directory shell. | Do not delete in PR because it is untracked/local-only; safe local cleanup may remove it outside a commit. | |
| 15 | +| `learn/` | Yes | 0 tracked files | Empty local directory shell. | Do not delete in PR because it is untracked/local-only; safe local cleanup may remove it outside a commit. | |
| 16 | +| `src/` | Yes | 596 tracked files | Active transition namespace. | Keep. Requires explicit follow-up migration PRs. | |
| 17 | +| `test-results/` | No | 0 tracked files | Absent. | No action. | |
| 18 | +| `tmp/` | Yes | 0 tracked files | Empty local directory shell. | Do not use for Codex output; canonical ZIPs remain under `dev/workspace/zips/`. | |
| 19 | +| `toolbox/` | Yes | 0 tracked files | Empty local directory shell. | Do not delete in PR because it is untracked/local-only; safe local cleanup may remove it outside a commit. | |
| 20 | + |
| 21 | +## Required Confirmations |
| 22 | + |
| 23 | +- `.env` remains root/local-only and ignored by `.gitignore`. |
| 24 | +- `.env.example` remains tracked as the repository template. |
| 25 | +- `www/favicon.svg` remains the browser-served favicon. |
| 26 | +- No runtime behavior changes were made. |
| 27 | +- No product feature changes were made. |
| 28 | + |
| 29 | +## src Transition Plan |
| 30 | + |
| 31 | +| Current Area | Tracked Files | Why It Remains | Destination | Proposed Follow-Up | |
| 32 | +|---|---:|---|---|---| |
| 33 | +| `src/advanced/` | 10 | Advanced state and promotion logic remains actively tested/referenced. | `src/runtime/advanced/` or another Owner-approved runtime bucket. | Runtime transition PR for advanced state modules. | |
| 34 | +| `src/api/` | 20 | Browser API clients and browser admin/client helpers remain used by `www/` and tests. Browser clients must stay outside top-level `api/`. | `src/web/api-clients/` or `src/runtime/api-clients/`, depending on final source-layer naming. | Browser API client source-layer migration PR. | |
| 35 | +| `src/dev-runtime/admin/` | 4 | Legacy Admin Notes browser-viewer compatibility path is documented in Project Instructions. | `www/admin/` if browser-served, or retire after replacement. | Scoped Admin Notes compatibility retirement PR. | |
| 36 | +| `src/engine/` | 327 | Core game/runtime engine remains heavily referenced by tests and dev tooling. | `src/runtime/engine/`. | Engine source-layer migration PR. | |
| 37 | +| `src/shared/` | 233 | Shared contracts, utilities, random/hash/noise/geometry/color/text/time helpers, and toolbox pipeline logic remain actively referenced. | Split by usage: `src/runtime/shared/`, `src/web/shared/`, and/or `src/api-runtime/shared/`. | Shared source-layer classification and migration PR. | |
| 38 | +| `src/tools/` | 2 | Tool helper modules remain referenced by current tooling/tests. | `src/web/tools/` or `src/runtime/tools/` after ownership review. | Tool helper source-layer migration PR. | |
| 39 | + |
| 40 | +## Follow-Up Recommendation |
| 41 | + |
| 42 | +Do not move `src/` wholesale. Create focused source-layer migration PRs after the layout stack is merged: |
| 43 | + |
| 44 | +1. Browser API clients and browser helper modules. |
| 45 | +2. Engine/runtime modules. |
| 46 | +3. Shared contracts/utilities classification. |
| 47 | +4. Legacy Admin Notes compatibility retirement. |
| 48 | +5. Tool helper modules. |
| 49 | + |
| 50 | +## Scope Boundary |
| 51 | + |
| 52 | +This PR is audit/governance/reporting only. It does not move `src/`, delete local-only root folders, change runtime behavior, change product features, or alter API/database behavior. |
0 commit comments