Skip to content

feat(runtime): add retained provider runs - #784

Merged
drewstone merged 2 commits into
mainfrom
feat/retained-run-client-release
Aug 11, 2026
Merged

feat(runtime): add retained provider runs#784
drewstone merged 2 commits into
mainfrom
feat/retained-run-client-release

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

What changed

This replaces #783 so review binds to the required 0.132.0 version commit.

  • Add startRetainedRun and reconnectRetainedRun.
  • Bind provider, environment, session, execution, run, and request digest into one exact control reference.
  • Add replay cursors, terminal result reads, native continuation, and idempotent cancellation.
  • Extract transport event parsing from sandbox event projection.

Why

Applications such as Braid need provider-owned jobs to survive detached readers and process restarts.
The runtime now provides that lifecycle without adding another agent loop.

Proof

  • pnpm lint: 574 files passed
  • pnpm typecheck: package and examples passed
  • pnpm test: 2,471 passed, 6 skipped, 0 failed across 206 files
  • pnpm verify:package: exports, package boundaries, fixtures, publint, and type packaging passed
  • Fresh packed runtime used by Braid through CLI Bridge, Pi, and GLM-5.2; restart restored the exact run.

@tangletools tangletools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved drewstone PR — 08b309e2

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-08-11T12:03:16Z

@drewstone
drewstone merged commit a57e7a7 into main Aug 11, 2026
8 checks passed
drewstone added a commit that referenced this pull request Aug 11, 2026
* feat(improvement): expose verified candidate populations

* docs(improvement): align GEPA bridge version

* chore(release): 0.131.8

* fix(improvement): bind winner to verified population

* ci(cohort): verify Eval 0.144.11

* ci(cohort): verify Knowledge 7.2.1

* feat(runtime): add retained provider runs (#784)

* feat(runtime): add retained provider runs

* chore(release): 0.132.0

* feat(improvement): expose verified candidate populations

* docs(improvement): align GEPA bridge version

* fix(improvement): bind winner to verified population

* ci(cohort): verify Eval 0.144.11

* ci(cohort): verify Knowledge 7.2.1

* fix(improvement): tighten candidate population evidence handling

* chore(release): 0.132.1

* chore(cohort): align agent-eval 0.144.12

* ci(release): pin Eval 0.144.12 cohort

* fix(cohort): admit compatible peer patches

* fix(cohort): verify selected peer at install
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.

2 participants