- Agent hook adapters (Codex / Antigravity / Claude Code) now deduplicate writes across hook processes. Each `memoria adapter <name>` invocation is a separate short-lived process, so the previous in-memory throttle state reset every time and a duplicate `Stop` (double-fire / re-run) re-wrote the same turn. Throttle/dedupe state now persists per conversation — under `MEMORIA_ADAPTER_STATE_DIR`, else `$MEMORIA_HOME/.memory/adapter-state`, else the system temp dir — keyed by a turn content hash: identical repeats are skipped while distinct turns always write (no turn is dropped). The previously-dead `dedupeWindowSec` config now bounds this dedupe window (0 = always skip an identical repeat).
0 commit comments