Repository navigation
Releases
v0.25.0
v0.25 improves typed tools, host-resource ownership, approval recovery, and model-call observation for applications embedding agents.
Upgrade notes
- Durable invocation and model-call ledger writers now use v2. Released v0.24.0 readers reject v2. Upgrade readers before enabling v2 writers; rollback after v2 writes requires a verified dual reader or a coordinated pre-upgrade backup. Follow the v0.25 migration guide.
- Pydantic-annotated tool inputs arrive as validated model instances. Update dictionary-style access to attributes where applicable. Top-level model results use JSON-mode serialization.
Highlights
- Activation-owned host resources with typed bindings, operation-level authority checks, fresh restore factories, and explicit child/fork propagation.
- Independent termination outcome, accepted stop requester, and provider read-end facts. Usage evidence preserves explicit zero and missing-counter coverage through receipts and recovery; numeric usage remains the accounting input.
- Read-only termination budgets for model-call waits and stream-exit progress.
- Authority checks before streamed output reaches consumers, including buffered Unicode suffixes.
- Installed integration recipes for typed tools, request-owned streaming, passive observation, and approval recovery in a new process.
- Final repairs preserve observed terminal/EOF completion through cleanup interruption and classify OpenAI pre-dispatch guards as local failures.
Install and documentation
python -m pip install monoid-agent-kernel==0.25.0See the changelog, developer guides, and candidate qualification.
Release verification
Release integration PR #177 promotes source 3c01b7ae4f8559e91fabbc4fa9cf187d3e211864, with qualified tree 8df132fc546d3f8d551b74515a71778adf0f79bf. Independent review, required PR CI and all 14 main CI jobs passed. PyPI 0.25.0 is published. The owner approved the protected environment and the release workflow completed successfully.
The published files have the same SHA-256 values reported by PyPI and verified for the workflow build:
| File | SHA-256 |
|---|---|
monoid_agent_kernel-0.25.0-py3-none-any.whl |
018b3abdfdd98f0690522dbab99a0b99a503b6b28a8f1a585e9c5649318662f5 |
monoid_agent_kernel-0.25.0.tar.gz |
4b3a0088167143cefedd1384cf8a3644b01e4f0d1fafdd3812155dbf38d63f25 |
Workflow artifacts passed canonical-source content checks, package audit, Twine and current/minimum installed-consumer checks. All 29 version-pinned documentation and image links resolved successfully. PR #177 records the delivery evidence.
v0.24.0
Added — stopped-stream drain
- Added
ModelCallRunner.abort_drain_sandcurrent_abort_drain_s(keyword-only) and
AgentLoop.async_model_abort_drain_s(keyword-only, read live). With a positive budget, a
streamed call's cooperative stop —should_abort/interrupt_turn, or the run token's
user_cancel— keeps reading the same provider stream, undelivered, until it ends or
min(stop + budget, deadline)passes, then closes it within the cancel grace. The stop still
raisesModelCallAbortedorRunCancelled(user_cancel), now stamped with the drained
TurnCompleteusage, which reaches the failed receipt, the attempt log and the run's totals and
token budget.graceful_drain,deadline,host_shutdownand lease loss still end the call at
once, unless auser_cancelalready turned the stop into a drain (the token keeps its first
cause); then, of these, only lease loss cuts it short, and the run deadline still closes its
window. A deadline that closes the window never reclassifies the stop as a timeout. The default
of0keeps closing the stream at the stop. No receipt, ledger, codec, schema or fixture changes. - With the drain on,
AgentLoop.astream's early-exit wait before it hard-cancels the drive grows
from 8 s to8 s + async_model_abort_drain_s + async_model_cancel_grace_s, so a drain started by
leaving the block early is not cut. Both knobs are read when that wait starts, not when
astream()is called, and the drain term is never less than the budget the in-flight streamed
call opened with: a knob raised inside theasync withbefore the first call, or lowered after
the call opened, still leaves the wait covering the drain the runner actually runs.
RunStreamtakes an optionalcurrent_extra_grace_scallable for this. Unchanged with the drain
off. - Known limit: the drain applies to the loop's own model calls. Subagent child and fork loops keep
their defaultasync_model_abort_drain_sof0, so a tokencancel()during a child's
streamed call still cuts it at once and reports no usage for that call.interrupt_turn()never
reaches a child, which streams its call to completion and bills it in full, as before.
Fixed
- A streamed call stopped by
should_abortafter the provider's terminal chunk had already been
delivered now carries that chunk's usage onModelCallAbortedand its receipt; it was discarded.
This applies with the drain off too — the one deliberate change to the default path in this
release.
Changed — CI service pin
- Re-pinned the actual-service MinIO image to
docker.io/bitnamilegacy/minio:2025.7.23-debian-12-r5
(the same upstream commit asRELEASE.2025-07-23T15-54-02Z) because upstream MinIO archived its
image distribution; CI and the campaign lock only, no package change.
v0.23.0
Why v0.23.0 matters
v0.23.0 completes a generic production path for durable agent hosting. PostgreSQL owns writer authority and canonical run state, S3-compatible ObjectStore owns content-addressed private blobs, and Temporal owns durable orchestration, timers, signals, retry, and history rollover.
The release also adds durable private model streams, bounded operational surfaces, production runbooks, and an actual-service qualification campaign. These capabilities remain application-neutral and compose through optional adapters.
What users and host implementers gain
- PostgreSQL authority and canonical state. DB-clock leases, monotonic writer generations, complete fenced run sinks, ordered durable admission, transactional dispatch outbox, migrations, rolling reader/writer floors, and canonical readback after ambiguous commits.
- S3-compatible private blob storage. Immutable content-addressed single-part and multipart writes, checked reads, digest and size verification, bounded response-loss reconciliation, run associations, inventory, and fenced dry-run-first garbage collection.
- Temporal per-run orchestration. Signal-With-Start, ordered and deduplicated commands, finite activation Activities, Continue-As-New, saved-history replay, graceful drain, hard worker-loss recovery, and Workflow-owned redrive after retryable Activity exhaustion.
- Durable private streams. PostgreSQL/ObjectStore persistence for model output and reasoning with fenced generations, byte cursors, reset, reconnect, seal, terminal coordination, takeover, and garbage-collection race handling.
- Operational qualification. Aggregate-only snapshots, read-only PostgreSQL and S3 doctors, OpenTelemetry gauges, and runbooks for migration, rollout, rollback, takeover, backup/restore, corruption, and garbage collection.
Hosting and compatibility boundary
postgres, object-store-s3, and temporal are independent optional extras. durable-host composes the complete production dependency set. The default installation retains the v0.22 base dependency boundary and imports without loading platform SDKs.
v0.21 and v0.22 durable records remain readable. v0.23 adds strict versioned admission, activation, Temporal, and live-stream records with packaged compatibility fixtures. PostgreSQL remains the writer and terminal authority; Temporal carries orchestration-safe identifiers, digests, counters, policy, and public-safe taxonomy.
Retryable Temporal Activity exhaustion keeps the admitted command live in its per-run Workflow. Each redrive receives a distinct Activity ID, preserves the stable command identity, and transfers through Continue-As-New during a long infrastructure outage. Nonretryable failures retain fail-stop behavior.
Upgrade with:
pip install -U "monoid-agent-kernel==0.23.0"Install the complete durable-host composition with:
pip install -U "monoid-agent-kernel[durable-host]==0.23.0"Security and privacy
Temporal history, public outcomes, receipts, logs, traces, metrics, and operational snapshots exclude raw prompts, model responses, reasoning, replay payloads, credentials, provider exception text, and tenant content. PostgreSQL and ObjectStore retain authoritative private records behind fenced host adapters.
Explicit exclusions
- Separate
ModelCallActivity - Deterministic AgentLoop Workflow replay and mid-step program counter
- General tool-effect journal
- Multi-region active-active authority
- Redis/Kafka adapters and
LISTEN/NOTIFYcorrectness - Automatic repair and operator UI
- Product-specific integration
Validation
- The final
mainL3 matrix passed all 14 jobs on release commit888a90a38bd5e55e65fa9744aac1f10e2c905a49. - PostgreSQL 16/18, pinned MinIO, and Temporal combined actual-service qualification passed.
- Python 3.11/3.12 fast, contract, serial, and DBOS gates passed with Windows/macOS smoke, Studio build, lint, and exact-wheel minimal/all-extras audits.
- Coverage passed at 83.57% lines (
36,609 / 43,808) and 70.93% branches (9,907 / 13,968). - Qualification manifest schema/digest:
2/f75e3d624556a5b5f36ee9f1229fd7816802344f746f2df13fcb0374adadfb84. - Campaign lock digest:
44e826410d2f91e334dfddf60530e38f0e11df02b90e7413bc1dbcdc6cddd2fd. - Release review converged with no major issues and zero unresolved threads.
- The annotated release tag is fixed to
888a90a38bd5e55e65fa9744aac1f10e2c905a49.
See the full changelog, the release audit, the release PR, and component PRs #123–#141 for implementation and review details.
v0.22.0
Why v0.22.0 matters
v0.22.0 gives durable agent hosts a precise answer to three production questions: which activation may write, whether a paid model call may be retried, and why execution stopped.
A replacement worker can recover a run without trusting stale in-process state. The current writer is identified by owner and generation, every canonical durable mutation is fenced atomically, and an ambiguous provider dispatch is preserved as dispatch_unknown instead of triggering an automatic paid-call retry. Cancellation, graceful drain, deadline, host shutdown, and lease loss remain distinct portable outcomes.
What users and host implementers gain
- Safe worker replacement.
ActivationWriteAuthorityrevokes kernel-managed mutation surfaces when an activation loses writer authority. Stale workers cannot publish later checkpoints, events, projections, usage, artifacts, or terminal results. - Durable paid-call identity.
ModelCallRunnerrecords reservation, dispatch evidence, settlement, and result identity. A restoreddispatch_startedcall becomesdispatch_unknown, requiring reconciliation before another paid call. - Fenced storage contracts.
WriterToken(run_id, owner_id, generation),FencedCheckpointStore, andFencedRunSinkdefine the host boundary. The reusable conformance suite checks fencing precedence, idempotency, CAS races, writer handoff, terminal first-writer-wins, blob integrity, and complete invocation transitions. - Explicit evidence delivery.
passive,required, andoutboxpolicies separate best-effort observation, mandatory evidence commit, and atomic transactional staging. - Typed interruption and drain. User Stop, graceful worker drain, deadlines, host shutdown, and lease loss retain separate causes through checkpoint, recovery, result, and terminal projection.
- Dependency-light hosting. Production contracts live under
monoid_agent_kernel.hosting; adapter tests live undermonoid_agent_kernel.conformance. The base package gains no PostgreSQL, Redis, queue, ObjectStore, or Temporal dependency.
Hosting contract
Canonical durable writes validate WriterToken owner and generation in the same storage operation that performs the mutation. A fenced result revokes the activation-wide write authority immediately. Process-local authority prevents new kernel-managed mutations; durable storage fencing remains the final authority across processes.
The default standalone path remains in-process. Existing v0.21 positional construction for ModelCallRunner and TaskManager is preserved; new authority and lifecycle seams are keyword-only.
Compatibility and rollout
monoid.checkpoint.v1 remains the checkpoint writer identifier. v0.22 adds optional invocation and interruption fields while retaining v0.21 checkpoint readers. Legacy cancellation records without a cause restore as user_cancel; stored legacy lease_lost cancellation migrates to revoked writer authority.
Two new versioned artifacts join the compatibility ledger:
monoid.terminal-outcome.v1monoid.model-invocation.v1
Canonical writers emit the monoid.* identifiers. Accepted legacy namespace aliases remain read-only compatibility paths. Future unsupported versions fail closed.
Recommended rollout:
- Install the v0.22 reader before enabling fenced mode.
- Verify the production adapter's declared capabilities.
- Run
run_fenced_run_sink_contractagainst the real transaction boundary. - Enable durable invocation per workload.
- On rollback, drain v0.22 writers before starting v0.21 workers. A v0.21 process cannot treat the new invocation journal as paid-call recovery authority.
Upgrade with:
pip install -U "monoid-agent-kernel==0.22.0"Security and privacy
Public outcomes, evidence, events, and compatibility records exclude raw prompts, model responses, reasoning, replay payloads, provider exception text, credentials, and tenant content. Private result and replay blobs remain content-addressed behind the host adapter. Capability declarations fail closed and never replace storage enforcement.
Explicit exclusions
The following remain host or future-release work:
- Temporal orchestration
- PostgreSQL/ObjectStore reference adapters
- Direct AgentLoop ownership of canonical event and terminal sinks
- Complete activation-specific workspace or run-directory isolation
- Forced termination of already-started shell, MCP, memory, or custom Python effects
- Arbitrary Python extension sandboxing
- Multi-process promotion of LocalFS or SQLite stores into canonical backends
v0.22 guarantees that a revoked activation starts no new kernel-managed mutation, canonical durable mutation validates its writer token atomically, and already-started external effects rely on fenced or idempotent adapters.
Validation
- All 13 checks passed on the
developintegration merge and all 13 checks passed again on the finaldevelop → mainrelease PR. - Full local suite at the final source head: 5,747 passed, 90 skipped.
- Ruff, compatibility fixtures, public import boundaries, packaging checks, and the actual 0.22.0 wheel audit passed.
- Codex review on the final release gate converged with no major issues and zero unresolved threads.
- The release tag is fixed to
6b4bd9fb99be65bc8f4db8166d2961dfd5e72575.
See the full changelog, the release audit, and component PRs #114–#122 for implementation and review details.
v0.21.0
Why v0.21.0 matters
v0.21.0 makes a run's model calls reproducible, its retries visible, and everything it publishes bounded.
A run can now record a private corpus of the model calls it made and be re-driven from it, so a failure reproduces without the provider, the cost, or the nondeterminism. A retry stops being an invisible gap between two log lines: every dispatch is on the record with the wait that preceded it, the scope it belonged to, and its own trace span. And the values a run publishes carry a ceiling an operator can reason about, charged on what a subscriber actually receives rather than on an internal representation.
What users gain
- Reproducible runs.
monoid run --replay-fromre-drives a run from recorded responses instead of the provider, backed by a ledger of settled calls and a content-addressed payload store that verifies each request against its own digest. - Legible retries.
attempt_logrecords every dispatch withbackoff_ms, and each attempt gets its own OTel span — how many attempts, how long each waited, and which upstream call each one was, rather than inferred from timing. - One retry policy per call.
ModelRetryConfig.layerlets the kernel own the retry, so a single policy governs the call instead of two layers independently deciding.idempotency_keyis scoped per call and carried where the call is keyed. - Per-call generation and reasoning controls.
GenerationConfigcovers sampling without reaching around the loop;ValidatedCallRunnerruns one validated model call outside any loop; provider-native reasoning survives the gateway hop. - Bounded publication. A traversal-built preview spends one byte budget across everything it appends, so a shared graph can no longer re-expand into megabytes and per-piece caps can no longer be walked around by chunking.
- Failures that name themselves. A value no portable JSON writer can spell is refused where it enters, with a classified error, instead of clearing every gate and then killing the run at the checkpoint writer.
What changed
- Added the optional private run-dir ledger
monoid.model-calls.v1(metadata and the replay key only — never request or response content) and the replay corpusmonoid.model-payloads.v1, plusReplayModelAdapter,monoid run --replay-from, and a collector for chunk-directory crash litter. - Added
attempt_logwith per-attempt records,attempt_log[].backoff_ms, per-attempt OTel spans,idempotency_key,ModelRetryConfig.layer, and a ledger format guard. - Added
GenerationConfig,ValidatedCallRunner, and output-schema delivery on the standalone path;ReasoningConfig.from_jsonis now fail-closed. - Changed preview traversal to charge one byte budget per payload, on the widest spelling any stream writer uses; a scalar the writers cannot spell is refused or enveloped, never carried.
- Fixed container ingress: length and elements are read from the same base slot pair, a container reachable from itself is refused before the writer that cannot spell it, and one bound of 64 now serves the three sites that limit container nesting.
- Fixed
capped_backoff, which resolves an unusablemax_delay_sbefore any arm reads it — ananor-infcap previously floored every caller to no backoff at all, including the outbox's resend against an endpoint that had just refused. - Fixed the last fourteen expressions that let a class answer for its own name, enumerated by AST across 193 modules.
- Fixed every schema
patternto end at end of input rather than at$.
Compatibility and deployment
Everything added this release is additive; nothing existing was renamed, repurposed, or removed.
- Two artifacts joined the compatibility ledger (
monoid.model-calls.v1,monoid.model-payloads.v1); no existing row changed. Nineerror_codevalues were added and none removed. - Both replay artifacts are optional and private — off unless recording is enabled, written inside the run dir, and never part of the public event stream.
- Every new ingress refusal is opt-in per boundary; payloads that arrive through a JSON parse are unaffected, because the bounded decoders never admitted these values.
- The unreleased-reader window closes here. Several closed schemas took new keys during this line on the grounds that their artifact, writer, schema, and identifier all arrived inside one unreleased line, so no older reader existed. v0.21.0 is that population: from this tag on, the next key added to those schemas is an ordinary compatibility event.
Upgrade with:
pip install -U "monoid-agent-kernel==0.21.0"Known gaps carried to v0.22
The release-gate review raised two findings that are deliberately deferred rather than fixed inside the release gate. Both are verified, both are recorded on PR #113 with the reasoning, and neither requires a schema change — so each is an ordinary fix after this tag rather than a compatibility event.
- Replay serves a recorded answer without requiring a verified request record for the same digest.
PayloadReplaySource.consumeconsults the response index alone, andvalidate_run_dirdoes not report a response whose request record is missing, so a corpus can pass validation and still serve an answer no preimage was ever proved for. This matters only where replay is enabled — it is off by default — and where the corpus came from somewhere other than the run that produced it. Treat an imported corpus as untrusted input until the join gate lands. - Corpus index files are read whole rather than streamed. Three sites read the entire file into memory before parsing (
core/model_payloads.pyand two incore/schemas.py), so a very large or planted corpus can exhaust memory beforemonoid gcormonoid validatecan return a classified refusal.MAX_MODEL_PAYLOAD_BYTESbounds one reassembly, not the index.
Validation
- All 13 CI jobs passed on PR #113 before merge, across both check sets (26/26,
CLEAN). - Full suite at the last source-changing commit: 5091 passed, 25 skipped, 0 failed;
ruffclean. - The Codex review cycle on PR #110 converged to no major issues after four rounds; the three findings it raised were fixed and pinned.
- Every one of the 20 component PRs completed review and CI before entering
release/v0.21.0.
See the full changelog and component PRs #92–#111 for implementation details.
v0.20.1
Why v0.20.1 matters
v0.20.1 keeps Studio's live token-by-token output while making the durable trace useful as an operational record. Provider output and reasoning now travel through a bounded live/private content channel. Tool calls, tasks, lifecycle changes, and failures stay prominent in Trace, even during long model responses.
The practical result is a calmer Studio with stronger recovery: reloads, temporary SSE gaps, broker eviction, backend restarts, interruptions, and failed turns preserve the safe answer prefix without duplicating text or joining unrelated attempts.
What users gain
- Readable operational traces. Studio hides legacy token deltas by default and reports meaningful operation counts. Raw export preserves the complete source record; compact export keeps operations plus an explicit omission summary.
- Live answers without durable token-envelope growth. Studio still renders output and reasoning as they arrive, while its default
events.jsonlremains focused on durable lifecycle and audit events. - Reliable reload and reconnect. The retained live broker replays what it can and requests an authorized private snapshot when a cursor, generation, capacity, or byte range cannot be replayed safely.
- Accurate partial answers. Interrupted and non-retryable failed work remains visible across reloads. Automatic and manual retries supersede the exact failed attempt, so an abandoned prefix does not reappear beside its replacement.
- Fail-closed content recovery. Sidecar identity changes, malformed records, and missing segment ranges cannot fabricate or splice text. Studio retries transient terminal snapshot races and restores the final safe state once it is available.
What changed
- Added a provider-independent passive model-stream observer shared by synchronous, asynchronous, and streamed model calls.
- Added the private append-only
model-content.jsonlsidecar with bounded UTF-8 segments and terminal outcomes. - Added the root-scoped
monoid.model-stream.live.v1broker and Studio/api/model-streamplus/api/model-contentrecovery path. - Added operation-focused Trace presentation and distinct raw/compact export contracts.
- Hardened retained-ring eviction, idle subscriptions, retry correlation, failed-partial persistence, sidecar path identity, corrupt segment recovery, and terminal hydration races.
Compatibility and deployment
- Existing transcript-only run directories remain readable.
- Direct
AgentLoopintegrations can retain durable delta events withemit_output_deltas=True. MONOID_OUTPUT_DELTAS=0ormonoid studio serve --no-output-deltasdisables Studio live/private content egress while preserving provider streaming for token-boundary Stop.- Live Studio delivery requires the
[http-async]extra.
Upgrade with:
pip install -U "monoid-agent-kernel[http-async]==0.20.1"Validation
- PR #91 completed the Codex review cycle with no unresolved threads and no major issues on the release head.
- The complete 13-job main CI matrix passed on merge commit
f11aebc. - Release, compatibility, public-surface, schema, and Studio CLI checks passed locally: 50 tests.
- The 0.20.1 wheel and sdist both passed
twine check.
See the full changelog and component PRs #87–#91 for implementation details.
v0.20.0
Release outcome
v0.20.0 makes model invocation a first-class, policy-governed kernel operation. Blocking, asynchronous, and streamed calls now share one lifecycle for deadlines, cancellation, retry reporting, receipts, provenance, capture policy, and cleanup. Public observability retains useful metadata while moving model-authored settled text behind an entitled transcript reader.
The release range was partitioned into independently reviewed component PRs so this PR serves as the integration and release gate. PR #80 was an unmerged draft superseded by #81 and #82 and is not part of the release range.
Review map
| Track | Delivered | Component PRs |
|---|---|---|
| Model-call lifecycle | Run-boundary parity for synchronous adapters and tools, model-I/O primitives, and standalone ModelCallRunner |
#72–#74 |
| Content channel and public egress | Settled-text transcript records and hydration, digest/length settle events, byte-bounded previews, path-aware redaction, and explicit output-delta control | #75–#77 |
| Boundary hardening | One public background-job projection, corrupt-event-log degradation, gitignore-style path policy, and strict portable-JSON ingress/writers | #78, #79, #81 |
| AgentLoop and observability | AgentLoop receipts/provenance/capture subscriptions, parented policy-gated OpenTelemetry spans, and visible Studio plan omissions | #82–#84 |
| Release finalization | Version 0.20.0 metadata and the dated changelog | #85 |
User value
- Embedders get one model-call execution path instead of maintaining separate blocking, async, and streaming orchestration.
- Adapter and gateway authors get consistent retry, cancellation, deadline, receipt, provenance, and cleanup semantics.
- Operators can correlate calls through W3C-parented OpenTelemetry while choosing
none,digest,redacted, orfullcapture. The default remains metadata-only. - Public run artifacts expose less model-authored content by default, while Studio and entitled backend readers hydrate settled text from
transcript.jsonl. - Studio and status projections remain useful when an event log is corrupt, a plan is truncated, or a background-job artifact must be policy-projected.
Compatibility and breaking changes
- Model-authored
turn.settledandrun.finishedrecords usefinal_text_digestandfinal_text_len; rawevents.jsonlconsumers must not assumefinal_textis present. - Synchronous adapters and tools now observe cancellation and run deadlines. Their worker threads can be abandoned with late outcomes discarded, so integrations still need I/O-edge timeouts.
monoid_agent_kernel.tasks.list_job_artifactsandget_job_artifactare replaced by policy-projecting public readers. JSON job output usescommand_previewinstead of rawcommand.deny_patternsandredact_patternsnow use gitignore-style matching throughpathspec; deployments should review recursive**rules and leading!spellings.- The abandoned synchronous-call logger moved to
monoid_agent_kernel.core.sync_bridge.
The compatibility ledger retains pre-v0.20 durable path-pattern semantics where required, and the full changelog documents every migration boundary.
Known limits accepted for this release
v0.20.0 bounds individual previews and reduces content exposure; it does not claim a hard aggregate bound for the whole public stream. Non-string scalar size, deeply nested allow-path arguments, shared-object preview fan-out, and chunked sub-threshold payloads remain documented follow-up designs. Ordinary allow-path arguments and the Studio delta channel also retain their documented content behavior.
Validation
- Every merged component PR completed the repository's 13-job CI matrix before entering
develop. - Release metadata head
eacda5cd045ef9041651ce958be0940f3dc07063passed all 13 PR checks before #85 merged. - Release packaging and compatibility tests: 12 passed; Ruff and
compileallpassed across source, tests, and examples. - Clean detached Python 3.12 qualification built an sdist and then rebuilt the wheel from that sdist; both passed
twine check. - Archive audit: 224 wheel entries and 449 sdist entries, with compiled Studio assets present and workspace/authoring/cache payloads excluded.
- Clean minimal wheel installation reported version 0.20.0, passed
pip check, verified v2 conformance evidence, and passed Studio acceptance 13/13. - Clean all-extras wheel installation passed
pip checkand DBOS/OpenAI/HTTPX/OTel/MCP imports. - Informational local hashes: wheel
6D00514A11186D6686544A633B39BFE60EB52304A05222220D0DFA257AE21A47; sdistF9587BC508382B1A29A4A53878A2597C885F0EB728665EDBDDBC3833A3B7A10E. origin/maindiffers from the merge base only by prior release merge topology. Conflict simulation has zero markers and yields the exactdeveloptree.
Release control
This PR leaves the v0.20.0 tag, GitHub Release publication, and PyPI publication as separate controls. Publishing the GitHub Release triggers the protected Trusted Publishing workflow after tag/version validation.
v0.19.2
Highlights
v0.19.2 focuses on reliability, auditability, and predictable runtime ownership.
- Long-running event feeds do less repeated I/O near the tail.
- Conformance results can be tied to exact evidence and verified offline.
- Experimental DBOS control and run workflows can share one managed runtime lifecycle.
Changes by layer
- Core — Unified committed-record handling, repaired incomplete crash tails before append, and tightened sequence and corruption checks while keeping cursor and subscription shapes stable.
- Conformance — Added opt-in v2 evidence bundles with exact-byte digests, provenance, and offline verification. Existing and default v1 reports remain supported.
- Reference — Added bounded sparse offset indexing for warm event reads, authoritative cold fallback and rebuild, and capped source retention.
- Backend & runtime — Shared one event index across root, descendant, and diagnostics projections. Added a single-owner host for experimental DBOS control and run participants, including coordinated admission, drain, and shutdown.
- CLI —
monoid watchnow follows committed offsets in bounded batches and detects replacement, truncation, and corruption. Evidence-capable conformance runs can publish v2 output with--evidence-dir. - Studio — Chat catch-up consumes only committed event records, keeping incomplete tail data out of the UI.
- Operations & docs — Clarified append-only run-directory ownership, DBOS qualification scope, and production security checks.
Result
Lower I/O on long histories, safer recovery after interrupted writes, independently checkable conformance evidence, and fewer runtime lifecycle ownership races.
Compatibility
Core event APIs, Studio protocols, and default v1 conformance output remain stable. The DBOS profile remains experimental and Reference-private.
v0.19.1
Highlights
- Standardized Studio frontend development and CI on Node.js 24.18.0 and npm 11.16.0.
- Added a checked-in .nvmrc, fail-fast developer engine checks, and nvm/nvm-windows setup guidance.
- Added release metadata consistency coverage for the project, fallback version, and changelog.
Packaging
- Python package metadata is version 0.19.1.
- Wheels and source distributions continue to include the compiled Studio UI and require no Node.js runtime.
v0.19.0
Highlights
- Rebuilt Agent Studio as a responsive Svelte 5, TypeScript, Vite, and Tailwind CSS application.
- Added Agent Profile Builder with capability controls and an exact, backend-resolved
ModelRequestpreview. - Added explicit pause, resume, failed-turn retry, human approval, file-by-file change review, and portable package export flows.
- Refreshed onboarding, error, narrow-screen, accessibility contrast, and README scenario coverage.
Packaging
- Released wheels and source distributions include the compiled Studio UI and require no Node.js runtime.
- Frontend authoring dependencies remain isolated in
studio-ui/, with deterministic CI checks for committed package assets.
Reliability
- Restored paused recovery boundaries across process restarts.
- Kept the composer locked while stop or pause is pending.
- Split backend unified diffs correctly for per-file review.
- Recovered parked sessions before reissuing failed-turn retries.