Fix client-storage writes during boot hydration
Boot hydration could omit is_hydrated=false when diffing against compiled defaults. A substate sent in full then persisted its storage defaults as if they were user choices. Computed vars that corrected client-storage or plain state values during the snapshot also lost those writes during cleanup.
Clean the storage reset before setting is_hydrated=false, then merge the normal resolved delta into the diffed snapshot. This retains the storage-write guard and refreshes both base vars and dependent computed vars changed by snapshot evaluation. Leave those changes dirty for the normal follow-up delta, clearing only the guard's dirty flag so browser storage receives the corrections. Server persistence continues to use _was_touched. This addresses FINDING-002 and FINDING-003 from the October 6 prerelease results.
Validation:
- Both original regressions failed before the fix. The dependent-computed-var regression also failed before switching to the normal delta path. The processor module passes all 127 tests, including 96 combinations of storage type, cached/uncached and sync/async computed vars, first boot/reconnect, on-load handlers, and in-memory/Redis persistence.
- Four Playwright browser cases pass in development and production: defaults stay absent from storage, rejected values are cleared, and the corrections survive reload.
- Full unit run under Node 22: 11,367 passed and 159 skipped, with 73.86% coverage.
- Repository Ruff checks, formatting,
pyright reflex tests, and all applicable commit hooks pass.
Related work: #7436 records hydrated uncached computed values for deduplication; this PR preserves writes made during snapshot evaluation. Both touch hydrate_and_load and may need a small merge resolution.