ad6be56850
DependencyMuxActor retained the last value of every ref ever registered, and never removed the entries. The continuous-historization recorder registers every historized ref, so on a historizing node the map grew with the historized address space and never shrank. The class remark claimed a bound that did not hold. - Retain only refs that at least one subscriber registered with ReplayRetained: true names (VT actors, the Calculation mux adapter, the scripted-alarm host). A non-opting subscriber is still delivered to but retains nothing. - When a ref's last replay-opting subscriber leaves, its value is kept for a grace (default 2 min, Props(retentionGrace)) so a restart (old adapter gone, new one not yet registered) still replays. A periodic sweep then drops it along with the entry. Entries with no subscriber and nothing retained are removed. - New SourceRemoved(DriverInstanceId) evicts the values a removed driver produced, so its last Good is never replayed. The mux records the publishing driver per retained ref. No production sender exists yet: DriverHostActor is outside this lane (follow-up). - Remark rewritten. Tests: retention bounded to replay-opting refs, release after grace (with an in-grace replay as the positive control), SourceRemoved eviction, and the restart-replay scenario still green. Refs #734 Claude-Session: https://claude.ai/code/session_01Ub9hGmYLQvn9XETzw7CMsT