agent-memory 4.39.0 — merge-scale thread layout - #24
Merged
Conversation
…yout Reconcile + the two 4.39.0 semantic steps: 10 Open Threads moved verbatim from continuity.md to memory/open-threads/thread-<id>.md, last_session dropped (derived from the newest session log), archive files union-merge, protocol re-copied (was stock). memory-lint 0 errors; refresh-metadata cleared the pre-existing stale tiers (the review itself remains due). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
agent-memory Mode B upgrade 4.38.1 → 4.39.0 — merge-scale memory: threads as files. All 10 Open Threads move verbatim out of
memory/continuity.mdinto one file each undermemory/open-threads/(thread-<id>.md; filename = the thread's fact id); continuity's## Open Threadssection becomes a pointer note; thelast_sessionfield is dropped (derived from the newest session log);memory/archive/*.mdunion-merge via.gitattributes; the updatedmemory-lint/refresh-metadata/archive-factbuilt-ins treat thread files as fact surfaces (new checks[thread-file],[duplicate-id],[duplicate-state-key]);memory/PROTOCOL.mdre-copied (it was byte-identical to the previous template). The sanctioned consumer-forkAGENTS.mdis verified converged and untouched.Why
At team scale,
continuity.mdwas a merge-conflict hotspot — parallel branches collided on Open Thread blocks and thelast_sessionbump on nearly every merge. v4.39.0 removes those conflict surfaces structurally: work on different threads touches different files (no conflict possible), while both sides editing the same thread still conflicts per-file — the MERGE.md Tier 2 human gate, preserved by design. Upstream release: https://github.com/acn-ericlaw/agent-memory/releases/tag/v4.39.0Verification:
memory-lint(both runtimes) — 0 errors, 0 warnings; the migration gates ([thread-file],[duplicate-id]) pass; renormalize staged-diff check stayed within agent-memory files.Co-Authored-By: Claude Fable 5 noreply@anthropic.com
🤖 Generated with Claude Code