Skip to content

feat(v3): implement issues #953 #964 #978 #993 #995 - #1096

Merged
AmitoVrito merged 18 commits into
SynapseKit:mainfrom
DhruvGarg111:feat/v3-issues-953-964-978-993-995
Nov 6, 2026
Merged

AmitoVrito merged 18 commits into
SynapseKit:mainfrom
DhruvGarg111:feat/v3-issues-953-964-978-993-995

Conversation

@DhruvGarg111

@DhruvGarg111 DhruvGarg111 commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Combined implementation of SynapseKit v3 issues #953, #964, #978, #993, and #995, as requested.

Closes #953
Closes #964
Closes #978
Closes #993
Related to #995 (implementation included; measured-token acceptance remains open)

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Refactor / internal improvement
  • Dependency / tooling update

Changes

Testing

  • New tests added for new behavior.
  • No API keys or secrets added.
  • Focused cross-feature suite: 931 passed, 4 skipped.
  • LLM and production-compatibility suite: 1,012 passed, 27 skipped.
  • Ruff, formatting, mypy (689 source files), deptry, lock consistency, diff whitespace, and async-blocking gate pass.
  • uv sync --locked --group dev --extra ag-ui passes.
  • Local full-suite fail-fast: 670 passed, 30 skipped, then an unchanged Windows ambient PID-liveness test failed (tests/ambient/test_daemon.py::test_status_reports_stopped_when_recorded_pid_is_dead). The ambient implementation and test are unchanged from main.
  • GitHub Actions run #41999670513 passed all 21 checks, including tests on Python 3.11–3.14.

Documentation

  • Repository docs and CHANGELOG.md updated.
  • External synapsekit-docs repository not changed in this PR.

Notes for reviewer

DhruvGarg111 and others added 18 commits November 5, 2026 13:52
…t#964)

ToolPinStore.compare/pin perform blocking file IO (read, fsync, atomic
replace) and were called synchronously from the async _load_tools and
approve_current_tools paths, stalling the event loop on slow/networked
filesystems. The async-blocking gate misses this because the blocking
calls sit one sync frame deep inside ToolPinStore.

Offload the three call sites via asyncio.to_thread. Adds a regression
test that deadlocks (times out) on the pre-fix code and passes once the
IO is offloaded.

Co-authored-by: Dhruv Garg <[email protected]>
…ynapseKit#953)

When a single record names the same reference as both its input and its
output, the reference resolves to one entity for both roles, so the
derivation pass emitted a wasDerivedFrom edge from that entity to itself
-- a semantically invalid self-cycle in the PROV graph. Skip the edge
when generatedEntity == usedEntity.

Co-authored-by: Dhruv Garg <[email protected]>
@AmitoVrito
AmitoVrito merged commit b9a9808 into SynapseKit:main Nov 6, 2026
41 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants