refactor(move): share daemon registration and shutdown report modules
Merged
TH
2mo ago+21+21+01234567890123456789-18-18-01234567890123456789
Summary
Moves daemon registration ownership and shutdown reports to src/, above both daemon and client. The client can share these operations without importing daemon internals.
Updates imports and moves the two test files with their subjects. This is a preparatory move for #3116; retirement and lock-bound report mutations follow in dependent PRs.
15 files touched. git diff -M90% --stat fix/daemon-session-ownership...HEAD shows 21 additions / 18 deletions and four source/test renames, with no behavior changes.
Validation
Tested commit: 667a2d8e6d1c09e93edf647fca47284f501b99b0, based on lock PR #3122 at fb23259ac68db7b8f5231e75d687d45877e0714e.
pnpm check:affected --base fix/daemon-session-ownership --run: passed; 276 files / 1,820 tests, format, lint, types, layering and Fallow.- Focused registration/report and consumer suites: 69 tests passed before the rebase; the exact-head gate includes these suites.
- Atomic-publisher inventory follows the moved report path. CI pending.