v13.39.0
thedotmack/claude-memv13.39.0Oct 13, 2026by thedotmack
Upgrading?
AI Summary
This release fixes a bug where the memory timeline was lost in Codex subagent threads following thread compaction. It introduces new hooks and session marker handling to ensure timelines are restored correctly without duplication.
Key Highlights
- Fixes memory timeline loss in subagent threads after compaction
- New PostCompact hook marks compacted threads keyed by session_id and agent_id
- PostToolUse records observations and restores timeline via additionalContext
- SessionStart clears markers to prevent timeline duplication in root threads
- Shared session-marker file handling updated for Codex and Kimi context gates
New Features
- PostCompact hook for marking compacted threads
- PostToolUse logic to consume markers and return timeline
- Session marker clearing logic in SessionStart
- Unified shared session-marker file handling
Full Release Notes
## Codex: memory timeline returns to subagent threads after compaction When Codex compacts a thread, the memory timeline drops out of its history. The root thread already got it back through `SessionStart` (source `compact`). Codex never sends `SessionStart` to subagent threads, though, so a subagent that compacted kept working without its memory. - A new **PostCompact** hook marks the compacted thread, keyed by `session_id` plus `agent_id`. - That thread's next **PostToolUse** records the observation as usual, consumes the marker, and returns the timeline once as `additionalContext`. - **SessionStart** clears the marker, so the root thread never gets the timeline twice. - Shared session-marker file handling now backs both the Codex compaction gate and the Kimi context gate. PR: #4733
Related Repositories
openclaw/openclaw★ 392,715
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
nilbuild/developer-roadmap★ 370,095
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
morluto/rea★ 360,219
Reverse engineer anything with agents, from app behavior down to native binaries.
anomalyco/opencode★ 219,858
The open source coding agent.
n8n-io/n8n★ 208,278
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.