You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a3d1828
Browse filesBrowse the repository at this point in the historyBrowse files
fix(signals): store backing paths record the stale reader's replay (Rule 1, backing-level form)
Step 3 of DESIGN-CONSOLIDATION move 3b. The stale-of-foreign clause has two
halves — serve committed, and record the reader for replay at the hold's
commit (A15 / A26, _gatedSubs). Core heldFromStale does both; the store's
backing-level twins (heldFromReader for a key with no node, readSource's
adoption-hold view for a reconcile inside an action) did only the first. A
render effect whose untracked read hit either stayed on the pre-action value
after the action settled.
The registration is now one exported helper, recordStaleReplay(txn, c),
called by heldFromStale and by the store's two backing sites (staleReplay:
reader in context, not children-forbidden — the same gate core applies
before it reaches heldFromStale).
Pins: posture-store-parity S4 grows to the four store shapes (fold hold ×
adoption hold × with/without a node) beside the signal; all four fail on
next, the it.fails from step 2 flips to a pass.
Gate: suite green; oracles and the 621-cell posture matrix byte-identical
to next; +31 B minified core (the helper), +123 B minified store (the fix);
three brotli caps ratcheted with notes.
Co-authored-by: Claude via Cursor <[email protected]>
A render effect's untracked read of a store key held by a foreign action — a key with no node, or a `reconcile` adoption held by the action — is now recorded for replay at the action's commit, as the signal path always was. Previously the store's backing-level selection served the committed value but skipped the registration, so the effect stayed on the pre-action value after the action settled. One registration (`recordStaleReplay`) is shared by the node path and the store's backing paths.
0 commit comments