|
| 1 | +# PR_26179_OWNER_006-move-bootstrap-scripts |
| 2 | + |
| 3 | +Generated: 2026-06-27T19:11:00.890Z |
| 4 | +Branch: PR_26179_OWNER_006-move-bootstrap-scripts |
| 5 | +Base: PR_26179_OWNER_005-move-tests-to-dev |
| 6 | +HEAD before report commit: c36a05304b3593ca2a0b6d8cbb99fefc2bb92922 |
| 7 | + |
| 8 | +## Purpose |
| 9 | + |
| 10 | +Move local/test bootstrap scripts and dev-only runner scripts/config into the dev workspace while preserving existing command surfaces. |
| 11 | + |
| 12 | +## Summary |
| 13 | + |
| 14 | +- Moved tracked root `scripts/` files to `dev/scripts/`. |
| 15 | +- Moved root Playwright configs to `dev/config/`. |
| 16 | +- Updated `package.json` scripts to call `dev/scripts/`. |
| 17 | +- Updated moved script repo-root calculations, script self-references, PowerShell helper paths, and tests that import script modules. |
| 18 | +- Kept application runtime/business logic out of `dev/`. |
| 19 | + |
| 20 | +## Scope Confirmation |
| 21 | + |
| 22 | +Documentation/dev-runner/config only. No product UI, API, database, `src/`, `docs/`, `games/`, `toolbox/`, `account/`, `admin/`, `legal/`, or asset runtime behavior was moved. |
| 23 | + |
| 24 | +## Requirement Checklist |
| 25 | + |
| 26 | +| Status | Requirement | Evidence | |
| 27 | +| --- | --- | --- | |
| 28 | +| PASS | Move local/test bootstrap scripts and dev-only runner scripts/config into dev/bootstrap/, dev/scripts/, or dev/config/. | Moved tracked root scripts/ to dev/scripts/ and Playwright configs to dev/config/. | |
| 29 | +| PASS | Keep application runtime/business logic out of dev/. | No src/, product UI, API contract, database, assets, docs/, games/, toolbox/, account/, admin/, or legal runtime files were moved into dev/. | |
| 30 | +| PASS | Ensure npm run dev:local-api still works. | package.json now points dev:local-api at dev/scripts/start-local-api-server.mjs; syntax/import validation passed without launching a long-running server. | |
| 31 | +| PASS | No Creator-writeable repo folder introduced. | This PR moves dev tooling only and adds no Creator data write path. | |
| 32 | +| PASS | No runtime/business logic scope expansion. | Changes are limited to dev scripts/config, package script paths, validation tests/docs, and generated reports. | |
| 33 | +| PASS | No broad unrelated cleanup. | No product/runtime implementation files were changed. | |
| 34 | + |
| 35 | +## Validation |
| 36 | + |
| 37 | +| Status | Lane | Evidence | |
| 38 | +| --- | --- | --- | |
| 39 | +| PASS | Current branch | PR_26179_OWNER_006-move-bootstrap-scripts | |
| 40 | +| PASS | Base branch for stack | PR_26179_OWNER_005-move-tests-to-dev | |
| 41 | +| PASS | node --check changed JS/CJS/MJS files | 32 changed JS/CJS/MJS files checked successfully. | |
| 42 | +| PASS | Local API bootstrap import | Imported dev/scripts/start-local-api-server.mjs and verified formatStartupLogLines export. | |
| 43 | +| PASS | Targeted moved-script tests | node ./dev/scripts/run-node-test-files.mjs dev/tests/dev-runtime/LocalApiStartupLogging.test.mjs dev/tests/tools/AssetOwnershipStrategyCloseout.test.mjs dev/tests/regression/CanonicalRepositoryStructureGuardrail.test.mjs | |
| 44 | +| PASS | Service API lane through moved runner | npm run test:service:api | |
| 45 | +| PASS | Playwright structure audit through moved runner | npm run test:audit:locations | |
| 46 | +| PASS | Playwright moved config discovery | npx playwright test --config=dev/config/playwright.config.cjs --list | |
| 47 | +| PASS | Canonical structure validation | npm run validate:canonical-structure | |
| 48 | +| PASS | Whitespace validation | git diff --check -- . | |
| 49 | + |
| 50 | +## Manual Validation Notes |
| 51 | + |
| 52 | +- No UI changes were made. |
| 53 | +- Full browser Playwright execution was not run; PR_006 changed runner/config placement, so validation used structure audit and `--list` discovery with the moved config. |
| 54 | +- `npm run dev:local-api` was not left running; the moved startup module was imported successfully and the package script points to the moved file. |
| 55 | + |
| 56 | +## Changed Files |
| 57 | + |
| 58 | +`dev/docs_build/dev/reports/codex_changed_files.txt` contains the full name-status list. |
0 commit comments