refactor(move): runtime assembly pair into command-runtime (#3294)
Summary
Second physical root-pass move under #3294 (part of #3276, ADR 0033). src/runtime-factory.ts and src/runtime-command-surface.ts — the in-process runtime assembly and the command-surface binding over it — now live under src/command-runtime/, the folder whose command-runtime zone #3288 already derived for them logically. topFolder derives the zone from the folder, so both per-file ROOT_MODULE_ZONES rows are deleted in the final commit; folder-derived ownership replaces them, no new registry. They move as one group since the surface file only composes the factory's result. Importers (src/runtime.ts, daemon runtime modules) re-point. Stack order: this PR is stacked on #3297 (its base branch); merge #3297 first, then retarget this to main (GitHub retargets automatically when the base merges). Refs #3294 (closes when all three root-pass moves land on main).
Validation
- Rebased head
f7c8cc2e9(onto #3297 headf6723c435):pnpm check:affected --run— all runnable checks passed;tsc -p tsconfig.jsonclean; drift test green. - Rename proof:
git diff -M90% --stat f6723c435...HEADshows both moved files assrc/{ => command-runtime}/…renames with only import-spec line hunks (6 and 2 lines); no material content change (rename-only move PR). - Planted-violation proof: with the files moved and the rows still present,
root-module-zones.test.tsfails listing both asstale; with the rows removed it passes. - The moved files had no dedicated test files; their behavior is exercised through
src/runtime.tsand the daemon runtime consumers selected by the vitest-related run. - Public export surface unchanged: neither file has a
package.json#exportsentry;src/runtime.tskeeps re-exporting the published shape. - Review: cubic P3s resolved; follow-up prose now claims only this PR's collocation; wrong-PR-number thread answered with issue-vs-PR evidence (#3294 is the tracking issue;
pull/3294would 404).