mirror of
https://github.com/sdwolf4103/opencode-working-memory.git
synced 2026-07-17 12:56:42 +02:00
2437a9dc71
- Update plugin.ts comments to describe 'session cache epoch' instead of misleading 'session lifetime' wording - Add regression test: same-session explicit memory does not mutate frozen system[1]; pending memory goes to ephemeral system[2+] - Add regression test: session.compacted intentionally refreshes system[1] as a new cache epoch boundary (promotes pending memories, clears frozen cache, next transform re-renders workspace memory) - Both tests use one plugin instance with mutable mock client to preserve in-memory frozen cache across turns