Repository navigation
release: v2.0.1 — security, #732/#733 close-out, docs, UI - #918
Merged
Merged
Conversation
An OSV audit of the full resolved graph (all extras + groups, 534 pkgs) flagged 8 packages with active advisories. Floors raised to patched releases so a fresh install and the lockfile both resolve to 0 known vulnerabilities: cryptography >=50.0.0 (PYSEC-2026-3552) pillow >=12.3.0 pyasn1 >=0.6.4 aiohttp >=3.14.3 (http extra) gitpython >=3.1.57 (git extra) mcp >=1.28.1 (mcp extra) httplib2 >=0.32.0 (gdrive/gsheets/gcal-tool + all; transitive) setuptools >=83.0.0 (build-time; constraint-dependencies) httplib2 + setuptools are also pinned via [tool.uv] constraint-dependencies so CI and the Docker images can't regress. No SynapseKit public API changed. Full suite green (4887 passed).
Adds examples/self_evolving_agent.ipynb — an offline, deterministic walkthrough of the SelfImprovingAgent loop (40% -> 100% held-out accuracy over 3 cycles, decoys blocked by the eval gate, live rollback) — plus tests/examples/test_self_evolving_notebook.py, which executes every cell in-process (top-level await supported) using only nbformat, so the notebook is CI-tested without pulling a Jupyter kernel into dev deps. Closes the last open acceptance criteria on #732: the RolloutPolicy already has 100% branch coverage (24/24 branches) and docs/agents/ self-improving.md already documents the feature.
pytest.importorskip("z3") only catches ImportError, but a z3 install
whose native libz3 can't load (arch-mismatched wheel) raises
z3types.Z3Exception — so the test hard-failed instead of skipping. Guard
the import with a broad except that skips with an explicit reason;
wherever z3 loads (CI) the test still runs for real. Surfaced while
un-skipping the symbolic suite under --extra symbolic for release
validation.
Co-authored-by: Dhruv Garg <[email protected]>
…896) SelfImprovingAgent.evolve()/.rollback() were invisible in the Live "glass box" — the headline v2.0 self-improvement feature published nothing to the EventBus. Auto-instrument both: each cycle emits an `agent.evolve` event (patch status, adopted directive, held-out eval score, or a blocked decoy's reason) and each rollback an `agent.rollback`. dashboard.html gains dedicated icons and story lines for the two kinds. Async contract preserved (evolve stays a coroutine). Covered by tests/live/ test_instrument_agent.py.
httplib2>=0.32.0 is a security floor added to the google extras but it is a transitive dep of google-api-python-client, not imported directly in src/, so deptry flags it DEP002 'unused'. Same case as the existing pillow/pyasn1 security pins already in this ignore list.
Bump version 2.0.0 -> 2.0.1 (pyproject + __version__), regenerate the lock, and cut the CHANGELOG [2.0.1] section (security hardening: 8 deps patched to 0 known vulnerabilities; #732/#733 acceptance close-out; self-evolving loop now visible in the Live dashboard). No public API changed. sdist+wheel build clean; the core wheel imports with no extras.
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.
Prep + cut of v2.0.1. Autonomous release effort — this PR aggregates the fixes; README, API-docs, and UI updates land as follow-on commits before the version bump.
Fixed
[tool.uv] constraint-dependencies). No public API change.Closed acceptance criteria
examples/self_evolving_agent.ipynb(offline, deterministic; 40%→100% over 3 cycles, decoys blocked, live rollback) + an in-process CI test (nbformatonly, no Jupyter kernel). RolloutPolicy already has 100% branch coverage; docs page already exists.Testing
--extra symbolic) surfaced a test that hard-failed on a broken z3 native lib; now skips explicitly (runs for real on CI).make release-checkgreen: core-import (no extras), export-surface (592), functional smoke (40 passed).Version bump to 2.0.1 is the final commit once README/docs/UI land and CI is green.