Skip to content

feat(runtime): private local product runtime + openvang agent factory - #2372

Merged
matedev01 merged 2 commits into
testfrom
pr/openvang-runtime
Aug 7, 2026
Merged

feat(runtime): private local product runtime + openvang agent factory#2372
matedev01 merged 2 commits into
testfrom
pr/openvang-runtime

Conversation

@matedev01

Copy link
Copy Markdown
Member

First slice of a large local branch — the private product runtime. Additive and self-contained: depends only on modules already on test (benchmark.sealed_*, agent.review.review_pr, agent.llm), touches no scored agent/ or benchmark/ code, and adds no third-party runtime dependency (stdlib only).

What's here

  • vanguarstew_runtime/cli, config (env-only secrets), state (durable SQLite work queue), github (read-only client), service (signed webhook intake + loopback /healthz//readyz).
  • openvang/ — agent factory, scheduler, subnet, isolated execution, memory.
  • deploy/ + Dockerfile + docker-compose.yml — Compose/systemd templates.
  • Ignore files exclude private runtime state (.env, data/, *.sqlite3, private-review-results/) from git + build contexts.
  • pyproject: vanguarstew console entry point + the two new packages.

In this phase it never mutates GitHub — accepts work, stores private results locally, exposes only loopback health checks. Security/publication contract in docs/product-runtime-plan.md.

Verification

45 runtime/openvang tests, ruff clean, verified passing in isolation off test (no dependency on the memory/review changes still in the local branch).

Scope notes (deliberate boundaries)

  • No rebrand here. The pyproject change is runtime-only (entry point + packages); the gittensor-vanguard → openvang identity update (matching the org transfer) is held for its own change.
  • .dockerignore only appends the runtime ignore entries and preserves the attested eval image's existing allowlist. The full rewrite (which trades that TCB allowlist away) is held for the attestation review where that tradeoff belongs.
  • This is the one cleanly-separable slice; the remaining persistent-memory + review-policy changes are woven through core files and will come as a further PR.

Refs #2371.

The first product-runtime deliverable: a private control plane that turns
vanguarstew from an operator-run dev tool into a self-hostable maintainer-assist
service. In this phase it NEVER mutates GitHub -- it accepts work, stores private
results locally, and exposes only loopback health checks.

Additive and self-contained: depends only on modules already on test
(benchmark.sealed_*, agent.review.review_pr, agent.llm), touches no scored agent/
or benchmark/ code, and adds no third-party runtime dependency (stdlib only).

- vanguarstew_runtime/: cli, config (env-only secrets), state (durable SQLite
  queue), github (read-only client), service (signed webhook intake + loopback
  /healthz /readyz).
- openvang/: agent factory, scheduler, subnet, isolated execution, memory.
- deploy/ + Dockerfile + docker-compose.yml: Compose/systemd templates.
- ignore files exclude private runtime state (.env, data/, *.sqlite3,
  private-review-results/) from git and build contexts.
- pyproject: 'vanguarstew' console entry point + the two new packages.

45 runtime/openvang tests, ruff clean.

Scope note: first of several PRs splitting a large local branch. The
.dockerignore change here only APPENDS the runtime ignore entries and preserves
the attested eval image's existing allowlist; the full rewrite is held for the
attestation review where that TCB tradeoff belongs.
@github-actions github-actions Bot added documentation Improvements or additions to documentation enhancement New feature or request tests Test suite labels Aug 7, 2026
openvang/memory.py requires the optional 'cryptography' package. The CI test job
installs only pytest/pytest-cov, so the openvang memory tests errored on a clean
runner (ModuleNotFoundError) even though they pass where the dep is present.

Install cryptography in the test job, and declare it as a pyproject extra
(dev + private-memory) so real installs get it. Runtime code stays stdlib-only;
this is a test-time dependency of the openvang memory feature.
@github-actions github-actions Bot added the ci CI / tooling / workflows label Aug 7, 2026
@matedev01
matedev01 merged commit 2a5add2 into test Aug 7, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI / tooling / workflows documentation Improvements or additions to documentation enhancement New feature or request tests Test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant