feat(session-projection): identity-gated change feed

The feed previously fired on every changed state reference of a client-visible unit; it now also compares the raw view output against the last delivered one and

Feature

The feed previously fired on every changed state reference of a client-visible unit; it now also compares the raw view output against the last delivered one and stays quiet when Object.is-identical, so a unit can buffer working fields in state behind an identity-stable projection. Units whose views build fresh objects per call are unaffected.

Date
2026-08-30
Version
master@ceadd90
commit
ceadd90

View commit on GitHub

The feed previously fired on every changed state reference of a client-visible unit; it now also compares the raw view output against the last delivered one and stays quiet when Object.is-identical, so a unit can buffer working fields in state behind an identity-stable projection. Units whose views build fresh objects per call are unaffected.