refactor(move): extract the daemon-contracts zone into packages/daemon-contracts
Summary
PR 3 of the daemon-extraction plan: the ten files of the daemon-contracts zone (the nine ROOT_MODULE_ZONES['daemon-contracts'] root modules plus src/daemon-contracts/daemon-diagnostics-scope.ts, tests included) move to a new workspace package packages/daemon-contracts behind narrow per-file subpath exports — no barrel, and measured eager closure per entry is unchanged. The #2559 shared daemon⇄client placement and #3288's zone declaration become physical: R11 and the package manifest hold the boundary where the per-file rows held it. daemon-request.ts stays daemon-internal. The package derives the zone's rank-2 placement (below daemon-server 4 and daemon-client 5); the per-file ROOT_MODULE_ZONES rows and src/daemon-contracts/ are retired. Behavior unchanged. 117 files (354+/186−): one-line specifier rewrites in 81 consumer files (69 src/, 9 test/, 3 scripts/) plus the package.
Path-keyed enforcement moved with the paths: wire-compat ledger/surface/mutation keys (gate reports 8 moved, digests unchanged), R78 fixture target and guidance, vitest.config.ts mutation exclusion, ADR 0033 rows with rationale, docs links. Two package-side test fixtures were extracted so package tests do not tunnel into root test-utils; the cross-boundary daemon-registration-owner.test.ts (imports src/daemon/, src/daemon-client/) stays at root.
Depgraph summary diff: 1817→1819 files (+2 fixtures), 9721→9722 edges (+1 fixture import), R4 0, R5 0, R6 11, zone SCCs 0, daemon.ts eager closure 650 of 1819 unchanged, modularity 0.369/0.559.
Validation
Head a34f96729, serially: pnpm build, pnpm format, pnpm check:quick, pnpm check:layering, pnpm check:daemon-wire-compat (191 declarations, 0 changed/removed/added, 8 moved vs v0.21.24), pnpm check:gate-manifest, pnpm check:affected:test, pnpm build, pnpm check:affected --run — all pass (122 runnable local checks, 4300 unit tests). Moved tests verified discovered at new paths (9 files, 95 tests). Provider-integration/coverage/native lanes stay GitHub-authoritative.