Graphiti: bind raw source manifests across TypeScript and Python - #73
Draft
Odenknight wants to merge 28 commits into
Draft
Odenknight wants to merge 28 commits into
Odenknight wants to merge 28 commits into
Conversation
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.
The managed ledger must consume manifests from the TypeScript product host without changing source-byte or episode identity. This adds a private producer using Python-compatible canonicalization, pre-await input capture, explicit raw-source hashing, and ordered manifest hashing.
A source note can emit both a JSON episode and relationship episodes. Producer and ledger now accept distinct episode digests for the same consistent source digest, while rejecting duplicate episodes and mixed source versions. Publication/query mapping preserves their distinct projection episode IDs.
Validation: full build and TypeScript check pass; four manifest tests pass; five cross-language Unicode/control/line-ending vectors match actual Python ledger functions; all 42 managed Python tests pass, including worker-to-ledger-to-query citation readback for two same-source episodes. Runtime inventory validation passes.
This stacked draft does not activate product semantic search. Authenticated route integration, complete dependency-scope authority, native client acceptance and full final-candidate qualification remain open.