Repository navigation
Batch: marketplace, UMP, digital twin, time-travel, edge CVE (#751 #742 #745 #746 #736) - #865
Merged
Merged
Conversation
…evolution analysis (#746)
The llamacpp extra was deliberately emptied because llama-cpp-python pulls an unpatched diskcache, but the edge extra re-added the same dependency, silently reintroducing it via `pip install synapsekit[edge]`. Point users at a direct `pip install llama-cpp-python` instead. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Adds the one unmet acceptance criterion from issue #736: a seeded 200-task suite (extraction/classification/JSON/date-format, each programmatically graded) run through a local GGUF model and Claude directly, reporting per-category accuracy/latency/cost so CostQualityRouter has real data on where local is good enough. CI only runs the harness-correctness checks against stub LLMs, since it has neither a GGUF file nor an API key -- real numbers require a manual run and are left as a documented follow-up in docs/edge.md. Co-Authored-By: Claude Sonnet 5 <[email protected]>
…file IO Public file-IO methods were sync `def` and blocked the event loop. Offload read_text/write_text/mkdir via asyncio.to_thread; add inspect.iscoroutinefunction assertions and malformed-input negative tests. Co-authored-by: Dhruv Garg <[email protected]>
- Offload StyleProfile file IO via asyncio.to_thread (was blocking the loop) - Add enforced send gate: never_send_auto raises, draft_with_approval requires explicit approval; add iscoroutinefunction + gate + degenerate tests - Guard empty-draft VoiceMatcher score to 0.0 Co-authored-by: Dhruv Garg <[email protected]>
… fix earliest-commit fallback - Public async query/timeline/detect_drift now run the blocking git pipeline via asyncio.to_thread instead of subprocess.run on the loop - find_commit_at pre-history fallback returned HEAD (git applied -1 before --reverse); now returns the true root commit - Add iscoroutinefunction asserts, a pre-history regression test, and empty-repo/invalid-ref negatives Co-authored-by: Dhruv Garg <[email protected]>
…#751 #742 #745 #746 #736) Co-authored-by: Dhruv Garg <[email protected]> Co-authored-by: Abhay <[email protected]>
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.
Integration branch batching five reviewed contributor PRs, with async-first fixes layered on three of them.
Included
never_send_autogatefind_commit_atearliest-commit fixFixes layered during integration
The three feature PRs did blocking file/subprocess IO inside
async def(none assertedinspect.iscoroutinefunction, so CI missed it). Fixed to offload viaasyncio.to_thread, added the missing coroutine assertions, negative/degenerate tests, fixed afind_commit_atlogic bug (returned HEAD instead of the earliest commit), and made the twin'snever_send_autodelegation gate actually block sending. Contributors credited as co-authors on each fix commit.Verification
ruff check src/ tests/clean ·mypyclean · CHANGELOG[Unreleased]updated