v0.9.20
rohitg00/agentmemoryv0.9.20May 18, 2026by rohitg00
AI Summary
A hotfix reverting a change from v0.9.19 regarding the Codex Stop hook to prevent premature session end marking.
Key Highlights
- Reverts Codex Stop → session-end chain from v0.9.19.
- Codex `Stop` now only triggers summarize.
- Restores `session-end.mjs` solution as an open issue.
New Features
- Hotfix for Codex session-end logic
Full Release Notes
## [0.9.20] — 2026-05-18 Hotfix: revert the Codex Stop → session-end chain shipped in v0.9.19. ### Fixed - **Revert Codex Stop hook session-end chain** ([PR #501](https://github.com/rohitg00/agentmemory/pull/501) by [@Rex57](https://github.com/Rex57), reverts v0.9.19's [#495](https://github.com/rohitg00/agentmemory/pull/495), re-opens [#493](https://github.com/rohitg00/agentmemory/issues/493)). Post-merge field-testing surfaced the underlying issue: Codex `Stop` fires before the overall conversation is truly finished — multiple Stops bracket each assistant turn within one session. Chaining `session-end.mjs` from Stop marked sessions completed too early, with later observations still arriving against an `endedAt`-stamped record. Restored to summarize-only Stop; the SessionEnd-shaped solution stays open as [#493](https://github.com/rohitg00/agentmemory/issues/493). [0.9.20]: https://github.com/rohitg00/agentmemory/compare/v0.9.19...v0.9.20