Skip to content

Batch: marketplace, UMP, digital twin, time-travel, edge CVE (#751 #742 #745 #746 #736) - #865

Merged
AmitoVrito merged 19 commits into
mainfrom
integrate/v2-batch-jul2026
Jul 29, 2026
Merged

AmitoVrito merged 19 commits into
mainfrom
integrate/v2-batch-jul2026

Conversation

@AmitoVrito

Copy link
Copy Markdown
Collaborator

Integration branch batching five reviewed contributor PRs, with async-first fixes layered on three of them.

Included

Fixes layered during integration

The three feature PRs did blocking file/subprocess IO inside async def (none asserted inspect.iscoroutinefunction, so CI missed it). Fixed to offload via asyncio.to_thread, added the missing coroutine assertions, negative/degenerate tests, fixed a find_commit_at logic bug (returned HEAD instead of the earliest commit), and made the twin's never_send_auto delegation gate actually block sending. Contributors credited as co-authors on each fix commit.

Verification

  • Full suite: 4806 passed, 93 skipped (backend integration, self-skip locally), 1 xfailed
  • New modules: 107 tests (90 feature + 17 edge benchmark)
  • ruff check src/ tests/ clean · mypy clean · CHANGELOG [Unreleased] updated

DhruvGarg111 and others added 19 commits July 22, 2026 13:40
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]>
# Conflicts:
#	src/synapsekit/__init__.py
# Conflicts:
#	src/synapsekit/__init__.py
@AmitoVrito
AmitoVrito merged commit e0d7e67 into main Jul 29, 2026
16 of 17 checks passed
@AmitoVrito
AmitoVrito deleted the integrate/v2-batch-jul2026 branch July 29, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants