|
| 1 | +# BUILD_PR_LEVEL_12_15_SAMPLE_1319_RUNTIME_RETURN_TO_SERVER |
| 2 | + |
| 3 | +## Purpose |
| 4 | +Return sample 1319 runtime entry points to the correct sample-local server home: |
| 5 | +- `samples/phase-13/1319/server/` |
| 6 | + |
| 7 | +## One PR Purpose Only |
| 8 | +Path correction for sample 1319 runtime files only. |
| 9 | + |
| 10 | +## Problem |
| 11 | +The prior rename moved executable runtime files to: |
| 12 | +- `samples/phase-13/1319/server/` |
| 13 | + |
| 14 | +That is the wrong location for this sample. |
| 15 | +Sample 1319 should remain self-contained, with its runtime entry points under: |
| 16 | +- `samples/phase-13/1319/server/` |
| 17 | + |
| 18 | +## Required Fix |
| 19 | + |
| 20 | +### Move Files |
| 21 | +From: |
| 22 | +- `samples/phase-13/1319/server/realNetworkServer.mjs` |
| 23 | +- `samples/phase-13/1319/server/realNetworkDashboard.mjs` |
| 24 | + |
| 25 | +To: |
| 26 | +- `samples/phase-13/1319/server/realNetworkServer.mjs` |
| 27 | +- `samples/phase-13/1319/server/realNetworkDashboard.mjs` |
| 28 | + |
| 29 | +### Remove Wrong Location |
| 30 | +After validating the new paths, remove: |
| 31 | +- `samples/phase-13/1319/server/` |
| 32 | + |
| 33 | +if it is empty and no longer needed. |
| 34 | + |
| 35 | +## Update References |
| 36 | +Update all references to the corrected server-local paths, including: |
| 37 | +- `samples/phase-13/1319/server/README.md` |
| 38 | +- `samples/phase-13/1319/server/docker-compose.yml` |
| 39 | +- `samples/phase-13/1319/index.html` |
| 40 | +- `tmp/validate_1319.mjs` |
| 41 | +- `docs/pr/NETWORK_SAMPLE_1319_POWERSHELL_RUNBOOK.md` |
| 42 | +- any current docs/dev command files or related PR docs that mention `samples/phase-13/1319/server/` |
| 43 | + |
| 44 | +## New Canonical Runtime Commands |
| 45 | +From repo root: |
| 46 | +- `node samples/phase-13/1319/server/realNetworkServer.mjs` |
| 47 | + |
| 48 | +Dashboard runtime path: |
| 49 | +- `samples/phase-13/1319/server/realNetworkDashboard.mjs` |
| 50 | + |
| 51 | +## Rules |
| 52 | +- no logic changes |
| 53 | +- no behavior changes |
| 54 | +- path correction only |
| 55 | +- keep sample 1319 self-contained |
| 56 | +- keep this PR testable, not commit-only |
| 57 | + |
| 58 | +## Validation |
| 59 | + |
| 60 | +### Path Validation |
| 61 | +- no remaining references to `samples/phase-13/1319/server/` |
| 62 | +- server-local runtime paths resolve correctly |
| 63 | + |
| 64 | +### Runtime Validation |
| 65 | +- `node samples/phase-13/1319/server/realNetworkServer.mjs` starts successfully |
| 66 | +- dashboard endpoint still loads |
| 67 | +- sample 1319 still connects correctly |
| 68 | +- second client can still join |
| 69 | +- validate_1319 still passes |
| 70 | + |
| 71 | +### Launcher Validation |
| 72 | +- `samples/index.html` still launches sample 1319 |
| 73 | +- `samples/phase-13/1319/index.html` still loads correctly |
| 74 | + |
| 75 | +### Regression |
| 76 | +- no breakage to other sample launcher entries |
| 77 | +- no breakage to focused phase-13 networking samples |
| 78 | + |
| 79 | +## Roadmap Rule |
| 80 | +Update: |
| 81 | +`docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md` |
| 82 | + |
| 83 | +Allowed: |
| 84 | +- status markers only: `[ ]` `[.]` `[x]` |
| 85 | + |
| 86 | +Forbidden: |
| 87 | +- wording edits |
| 88 | +- structure edits |
| 89 | +- additions |
| 90 | +- deletions |
| 91 | + |
| 92 | +## Acceptance Criteria |
| 93 | +- runtime `.mjs` files live under `samples/phase-13/1319/server/` |
| 94 | +- all references updated |
| 95 | +- `samples/phase-13/1319/server/` removed if no longer needed |
| 96 | +- runtime and dashboard still function |
| 97 | +- sample 1319 still launches from `samples/index.html` |
0 commit comments