Repository navigation
feat(ump): Universal Memory Protocol (UMP) reference implementation (#742) - #862
Merged
Merged
Conversation
DhruvGarg111
force-pushed
the
feat/issue-742-ump
branch
from
July 22, 2026 18:01
a808488 to
f31a22f
Compare
Collaborator
|
Merged in the v2 batch, thanks Dhruv. One thing on the way in: the file read/write was sync and blocking the event loop, so I made those async and added a few malformed-YAML/adapter-fallback tests. Parser itself was clean — the maxsplit handling for |
ayushbhatt1224
pushed a commit
to ayushbhatt1224/SynapseKit
that referenced
this pull request
Aug 12, 2026
ayushbhatt1224
pushed a commit
to ayushbhatt1224/SynapseKit
that referenced
this pull request
Aug 12, 2026
AST checker that fails CI on any blocking file/subprocess/sleep/network call directly inside an async def (offload via asyncio.to_thread / run_in_executor). Skips nested sync helpers and awaited calls; supports a # allow-blocking escape hatch. Guards the async-first invariant that let blocking IO slip past review in SynapseKit#860/SynapseKit#861/SynapseKit#862.
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
Implements the reference implementation for the Universal Memory Protocol (UMP) as requested in #742.
Key Components Added:
UMPDocument/UMPFrontmatter/UMPProvenance: Core dataclasses implementing the UMP v1.0 standard with YAML frontmatter, authorship, evidence tracking, and wikilink references.UMPReader&UMPWriter: Robust parser and serializer for reading/writing UMP markdown files with automatic wikilink extraction ([[refs]]).UMPValidator: Document validator checking spec constraints (version, type/scope/visibility enums, name, provenance).ClaudeAdapter(CLAUDE.md)CursorAdapter(.cursor/rules/.cursorrules)AiderAdapter(.aider.conf.yml)ContinueAdapter(.continue/config.json)auto_detect_and_convert(): Automated directory scanner & converter.Verification:
tests/ump/test_ump.py(12 tests covering all components end-to-end).mypy) passed cleanly with zero issues across source files.ruff check/ruff format) passed cleanly.Closes #742