Skip to content

release: v2.0.1 — security, #732/#733 close-out, docs, UI - #918

Merged
AmitoVrito merged 7 commits into
mainfrom
release/v2.0.1
Aug 4, 2026
Merged

AmitoVrito merged 7 commits into
mainfrom
release/v2.0.1

Conversation

@AmitoVrito

Copy link
Copy Markdown
Collaborator

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

  • Security (8 deps off known-vulnerable versions) — OSV audit of the full resolved graph (all extras + groups, 534 pkgs) flagged 8 packages; floors raised to patched releases → lockfile re-resolves to 0 known vulnerabilities. cryptography≥50, pillow≥12.3, pyasn1≥0.6.4, aiohttp≥3.14.3, gitpython≥3.1.57, mcp≥1.28.1, httplib2≥0.32.0, setuptools≥83 (last two also via [tool.uv] constraint-dependencies). No public API change.

Closed acceptance criteria

Testing

  • Full suite: 4890 passed, 0 failed. All 35 benchmark gates pass (self-evolving, neuro-symbolic, agent-swarm).
  • Un-skipping the symbolic suite (--extra symbolic) surfaced a test that hard-failed on a broken z3 native lib; now skips explicitly (runs for real on CI).
  • make release-check green: core-import (no extras), export-surface (592), functional smoke (40 passed).
  • ruff / ruff-format / async-blocking gate / mypy(502 files) all clean.

Version bump to 2.0.1 is the final commit once README/docs/UI land and CI is green.

AmitoVrito and others added 7 commits August 4, 2026 18:39
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]>
…count

Add a v2.0.1 patch note (8-dep security hardening + #732/#733 close-out),
link the runnable self_evolving_agent.ipynb from the SelfImprovingAgent
entry, and fix a stale '33 LLM providers' to 35 to match the rest of the
README.
…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.
@AmitoVrito
AmitoVrito merged commit fad8630 into main Aug 4, 2026
14 checks passed
@AmitoVrito
AmitoVrito deleted the release/v2.0.1 branch August 4, 2026 17:25
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.

1 participant