|
| 1 | +# BUILD_PR_LEVEL_12_6_REMOTE_DEPLOYMENT_CANDIDATE |
| 2 | + |
| 3 | +## Purpose |
| 4 | +Implement a minimal single-node remote deployment candidate for the authoritative multiplayer server runtime. |
| 5 | + |
| 6 | +## Scope |
| 7 | +Primary target files: |
| 8 | +- `samples/phase-13/1316/server/REMOTE_DEPLOYMENT.md` |
| 9 | +- `samples/phase-13/1316/server/docker-compose.remote.yml` |
| 10 | +- `samples/phase-13/1316/server/README.md` |
| 11 | +- `docs/pr/LEVEL_12_6_REMOTE_DEPLOYMENT_CANDIDATE_CHECKLIST.md` |
| 12 | +- `docs/pr/APPLY_PR_LEVEL_12_6_REMOTE_DEPLOYMENT_CANDIDATE.md` |
| 13 | + |
| 14 | +Allowed nearby reads: |
| 15 | +- `samples/phase-13/1316/server/Dockerfile` |
| 16 | +- `samples/phase-13/1316/server/docker-compose.yml` |
| 17 | +- `samples/phase-13/1316/server/networkSampleADashboardServer.mjs` |
| 18 | +- `docs/pr/PLAN_PR_LEVEL_12_6_REMOTE_DEPLOYMENT_CANDIDATE.md` |
| 19 | + |
| 20 | +## Required implementation |
| 21 | +- Define one remote hosting target model for a single node. |
| 22 | +- Define one externally reachable endpoint contract (host/port/protocol). |
| 23 | +- Provide repeatable deployment/run steps for a remote VM/server host. |
| 24 | +- Provide a minimal validation sequence proving: |
| 25 | + - remote server is reachable |
| 26 | + - client can connect over internet path |
| 27 | + - authoritative session lifecycle is valid remotely |
| 28 | +- Keep all deployment guidance minimal and manual-friendly. |
| 29 | + |
| 30 | +## Acceptance criteria |
| 31 | +- Single remote instance can be deployed and started repeatably. |
| 32 | +- External endpoint is reachable from outside host network. |
| 33 | +- Client connection/session is validated over remote endpoint. |
| 34 | +- Steps are documented and reproducible. |
| 35 | + |
| 36 | +## Validation |
| 37 | +Run only: |
| 38 | +- `node --check samples/phase-13/1316/server/networkSampleADashboardServer.mjs` |
| 39 | +- `docker build -f samples/phase-13/1316/server/Dockerfile samples/phase-13/1316 -t authoritative-server-remote-candidate` |
| 40 | +- `docker compose -f samples/phase-13/1316/server/docker-compose.remote.yml up --build` |
| 41 | +- remote connectivity probe to published endpoint |
| 42 | +- client remote-connect session check using existing multiplayer validation path |
| 43 | + |
| 44 | +## Non-goals |
| 45 | +- no scaling/orchestration |
| 46 | +- no infrastructure automation expansion |
| 47 | +- no gameplay expansion |
| 48 | +- no 3D work |
| 49 | + |
| 50 | +## Working tree rule |
| 51 | +If the tree is already dirty, ignore unrelated files and modify only the scoped files for this PR purpose. |
0 commit comments