refactor(move): complete replay port package extraction
Merged
TH
2mo ago+121+121+012345678901234567890123456789-110-110-012345678901234567890123456789
Summary
- Move the final 15 connected replay production modules unchanged into
@agent-device/replay-port, route daemon callers through package exports, and removesrc/daemon/replay/**. - Update package ownership and source references. The original replay subtree held 108 files / 24,089 LOC and now has no tracked files. This layer touches 52 files; all 15 source moves are exact renames (
git diff -M90%). - Daemon coordinator, repair transaction, device selection, and handler adapters remain as specified by the issue’s retention scope.
- Closes #2663 after the preceding stack layers merge.
Validation
- Head
a4badbb72: freshpnpm install --frozen-lockfile && pnpm build && pnpm format && pnpm check:affected --runpassed, including related tests, package checks, Maestro conformance, and wire compatibility. - Layering and depgraph: R4 0 value cycles, R5 0 back-edges, R6 3 type inversions, R11 zero root back-imports. Fallow and 753 eager-closure budget tests passed.
- Live iPhone 18 Pro simulator on
a4badbb72: recorded.adreplay passed 2/2 steps, 0 heals; Maestro checkout form passed 17/17 steps, 0 heals. Baseline3c1f51382had the same 2/2 and 17/17 results. Both final sessions closed; session list and device claims are empty. - Review fixes cover package-relative dynamic imports in the ownership test and move the native-command complexity baseline to its package path. GitHub CI is pending on this PR head.