Repository navigation
feat(v3): implement issues #953 #964 #978 #993 #995 - #1096
Merged
AmitoVrito merged 18 commits intoNov 6, 2026
Merged
AmitoVrito merged 18 commits into
AmitoVrito merged 18 commits into
Conversation
…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]>
…pseKit#964 Co-authored-by: Dhruv Garg <[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.
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
Changes
@eval_caseintegration.effort=+ difficulty auto-routing) #995: add provider-agnostic low/medium/high effort routing and deterministic auto-classification.Testing
uv sync --locked --group dev --extra ag-uipasses.tests/ambient/test_daemon.py::test_status_reports_stopped_when_recorded_pid_is_dead). The ambient implementation and test are unchanged frommain.Documentation
CHANGELOG.mdupdated.synapsekit-docsrepository not changed in this PR.Notes for reviewer
HttpAgentcompatibility, per the previously accepted scope.effort=+ difficulty auto-routing) #995 uses the previously selected offline-only evaluation. The fixture reports a 41.67% configured-budget proxy reduction, not provider-measured generation-token savings or quality; Provider-agnostic effort router (effort=+ difficulty auto-routing) #995 is therefore referenced but not auto-closed.