Repository navigation
feat: uuid_seed_preserve keeps reserved node uuids when seeding (0.32.1.post4) - #41
Merged
Merged
Conversation
add_episode(uuid_seed_preserve=...) and reseed_extraction(preserve=...): an extracted node whose uuid is in the set keeps it instead of a seeded uuid. Its position is still used up, so every other seeded uuid is the same as without the set, and edge endpoints and the episode index map keep pointing at it. Menhir's self-binding extraction hook puts the namespace's reserved self uuid on a node; the reseed used to overwrite it, so Menhir ran those calls unseeded and their replay capture was incomplete (getzep#469). uuid_seed_preserve without uuid_seed raises ValueError; concurrent ingestion already rejects uuid_seed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JbSZGLujukBKSFKCFwoC3z
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JbSZGLujukBKSFKCFwoC3z
3 of 4 tasks
ctharvey
added a commit
to Archolith/menhir
that referenced
this pull request
Dec 1, 2026
* fix: self-bound episodes are seeded and replayable (#469) Under replay capture, a receipt with a self-subject or inferred endpoint now passes the namespace's canonical and inferred self uuids to the fork's uuid_seed_preserve, so the reseed keeps the bound node's uuid and the pre-resolution hook still finds it. On a fork without the parameter the call stays unseeded and its capture incomplete, as before. Production (capture off) is unchanged. The twin now records ingest_graphiti_candidate_incomplete_reasons (sorted reason slugs, null unless incomplete); the erasure tombstone removes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JbSZGLujukBKSFKCFwoC3z * chore: pin archolith-graphiti-core 0.32.1.post4 (#469) Fork tag v0.32.1.post4 at 50986e77 (Archolith/graphiti#41) adds uuid_seed_preserve. Wheel sha256 ae3bfc87...5192. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JbSZGLujukBKSFKCFwoC3z * docs: name the fork PR, not its version, in the seeding note (#469) The bump tool's file table counts every file carrying the fork version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JbSZGLujukBKSFKCFwoC3z --------- Co-authored-by: Charles H <contact@archolith.dev> Co-authored-by: Claude Opus 5.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.
Summary
add_episode(uuid_seed_preserve=...)andreseed_extraction(preserve=...): an extracted node whose uuid is in the set keeps it instead of getting a seeded uuid. Its index is still used up, so all other seeded uuids are unchanged, and edge endpoints plus the episode index map keep pointing at the kept uuid.uuid_seed_preservewithoutuuid_seedraisesValueError. Concurrent ingestion already rejectsuuid_seed.0.32.1.post4.Why
Menhir's self-binding extraction hook assigns the namespace's reserved self uuid to the proven node. The reseed then overwrote it, so Menhir had to run those calls unseeded and mark their replay capture incomplete (Archolith/menhir#469). With the preserve set, those calls are seeded and replay deterministically. Behavior is unchanged when the parameter is not passed.
Test plan
tests/test_replay_capture.py: 31 passed (3 new: add_episode keeps the reserved uuid and the other seeded uuids, needs-a-seed guard, reseed unit test)🤖 Generated with Claude Code
https://claude.ai/code/session_01JbSZGLujukBKSFKCFwoC3z