0fd3398cf8e6e1040485137203a904d2ed4c6f62
applyCompress reads the history, computes a summary, then replaces it. ReplaceMessages removed everything outside the replacement set, so a chat turn saved in that window was deleted without ever having been read, let alone summarised. Confirmed on both backends. It is unrecoverable loss, and it sits outside the write-then-delete guarantee because the window is in the caller, not the store. ReplaceMessages now takes the messages the caller is superseding instead of inferring them from the complement of the replacement. A caller computes a replacement from a history it read; anything that arrives afterwards is not part of that, and is now left alone. IDs in both lists are still kept, so read-modify-write callers are unaffected. The test fake's ReplaceMessages was a slice assignment, which could not observe ordering or identity at all -- it now mirrors the real stores. Refs archie-core-6e0
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.8%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%