You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workflow discovery now uses only .atomic default roots, and discovered modules use @bastani/atomic/workflows with typebox. Removed deprecated workflow API stubs, separate reasoning authoring fields, old stage-target and X10 mouse input formats, and replay without current topology, replay keys, or child exit tags. Use model strings such as provider/model:high for reasoning effort. Workflow results, inspection details and status summaries always include their tool collections. Queued stage delivery requires persisted admission order.
Workflow heartbeat records require their original launch cadence instead of inheriting the current definition when cadence is missing. Configuration load results always include their global and project source fields, using null for absent or invalid sources.
Workflow run snapshots require toolNodes, and inline forms require injected keybindings without obsolete submit-choice state. Removed the ignored workflow text-truncation preserveAnsi argument; ANSI-aware rendering is unchanged.
Workflow runs now persist only in the local SQLite journal. Journal initialization failures throw StorageUnavailableError instead of continuing without durable storage. Postgres connection settings (workflows.durability.systemDatabaseUrl and workflows.durability.poolSize) and DBOS_SYSTEM_DATABASE_URL, ATOMIC_POSTGRES_*, and PG* environment variables no longer configure workflow storage.
Removed automatic session-format migrations and the migrateSessionEntries export. Reading session files no longer appends missing newlines.
Removed the workflow durability option, WorkflowDurability, and WorkflowDurabilityRequiredError. Use RunOpts.journal to select storage or isolate runs, and handle typed journal errors when storage is unavailable.
Removed InMemoryDurableBackend and createInMemoryTestBackend. Use JournalDurableBackend over MemoryRunJournal for an explicitly in-memory backend. Removed the legacyRecovery workflow-tool argument and remaining workflows.durability settings.
Removed the @bastani/workflows import alias; import workflow APIs from @bastani/atomic/workflows.
Custom RunJournal implementations must provide atomic deleteOwnedRun(lease), and invocation records require invocationFingerprint.
SessionManager.create, open, continueRecent, forkFrom, and mutations now return promises. Await session writes, branch changes, labels, names, and model/thinking changes before reading their results or continuing dependent work. Extension pi.appendEntry, pi.setSessionName, pi.setLabel, and pi.setThinkingLevel must also be awaited. Persistent session creation writes its header immediately, and setup entries commit without waiting for the first message. A failed write rejects that call with its typed storage error without publishing the failed entry; there is no flush API. Explicit in-memory sessions remain available synchronously through SessionManager.inMemory().
Session headers use the format-4 fields createdAt and parentSessionId, including the header returned by SessionManager.getHeader(). The timestamp and parentSession header fields are removed.
Extension provider registration and removal now return promises too: await pi.registerProvider, pi.registerProviderAlias, and pi.unregisterProvider before dependent model or session work.
Workflow SQLite journals now use SqlRunJournal with async initialization and wf_ table names. Use await openSqlRunJournal(pathOrDatabase?) or await SqlRunJournal.open(database, { prefix }), and await resolveRunJournal. Earlier unreleased bare tables are not read or migrated. Workflow StorageUnavailableError now provides adapter, location, and cause instead of path.
Session selection now uses IDs instead of file paths: --session and --fork accept exact IDs or unique eight-hex UUID prefixes; use --import <file> for format-4 JSONL exports. Extension switchSession takes an ID, lifecycle events use previousSessionId and targetSessionId, and RPC switch_session takes sessionId. RPC state reports sessionLocation for optional display instead of sessionFile. Shell tools no longer expose ATOMIC_SESSION_FILE or PI_SESSION_FILE; use ATOMIC_SESSION_ID or PI_SESSION_ID.
RunOpts.journal.database now takes an async SqliteDatabase facade, not a raw node:sqlite connection; use wrapNodeSqliteDatabase for an existing connection. Journal configuration failures now use StorageConfigError with source, field, and reason instead of JournalConfigurationError.
Workflow stage forks now take forkFromSessionId, and stage resume, retained chat, and subagent forks resolve IDs within the selected session store. File paths are not session identities. Embedded chat hosts must use await host.loadSession(store, sessionId) instead of loadSessionFile(path).
Sessions now default to the local SQLite database shared with workflow runs, rather than JSONL files. JSONL must be selected explicitly. Removed the sessionDir setting without an alias; use sessions.storage.dir instead.
Removed AssistantMessageFrame, AssistantMessageFrameEncoder, and reduceAssistantMessageFrames(). Use AssistantMessageEventStream events for streaming progress and result() for the final message instead.
Forked context now uses the parent's session ID and selected session store, including stored empty IDs. Embedded runners pass a sessionManager instead of a sessionFile input. Token readers take a store and session ID and return a promise; filesystem paths no longer select a transcript.
Workflow discovery now reads only .atomic default roots. Discovered workflow modules use @bastani/atomic/workflows and typebox imports. Removed deprecated imperative API stubs, separate thinkingLevel and fallbackThinkingLevels authoring fields, old stage-target syntax, and replay without current topology, replay keys, or child exit tags. Put reasoning effort in each model string, such as provider/model:high.
Execution results always include toolNodes, inspection details and status summaries always include tools, and custom UI adapters must implement every UI method. Queued stage delivery requires persisted admission order.
Heartbeat records require their original launch cadence; incomplete records no longer inherit the current workflow definition. Configuration load results always include globalConfig and projectConfig, using null when a source is absent or invalid.
Public run snapshots require toolNodes. Inline forms require injected keybindings and no longer include unused submit-choice state. Removed the ignored preserveAnsi truncation argument; text truncation remains ANSI-aware.
Workflow runs now persist only in the local SQLite journal. Journal initialization failures throw StorageUnavailableError instead of continuing without durable storage. Postgres connection settings (workflows.durability.systemDatabaseUrl and workflows.durability.poolSize) and DBOS_SYSTEM_DATABASE_URL, ATOMIC_POSTGRES_*, and PG* environment variables no longer configure workflow storage.
Removed the SDK durability option, WorkflowDurability, and WorkflowDurabilityRequiredError. Use RunOpts.journal to select storage or isolate runs, and handle typed journal errors when storage is unavailable.
Removed InMemoryDurableBackend and createInMemoryTestBackend. Use JournalDurableBackend over MemoryRunJournal for an explicitly in-memory backend. Removed the legacyRecovery workflow-tool argument and remaining workflows.durability settings.
Removed the @bastani/workflows import alias; use @bastani/atomic/workflows.
Custom RunJournal implementations must provide getRun, takeoverExpired, leaseState, lazy paged read, and deleteOwnedRun(lease) for atomic lease-fenced deletion. Synchronous fast paths are internal.
Invocation records require invocationFingerprint.
SDK workflow stages now use persistent session storage by default, including stages without sessionDir. Ephemeral stages must explicitly supply an in-memory session manager through an adapter. Storage failures do not fall back to memory.
Replaced SqliteRunJournal with async SqlRunJournal.open(database, { prefix }) and openSqlRunJournal(pathOrDatabase?); await resolveRunJournal. Journal tables now use the wf_ namespace with no migration of earlier unreleased tables. Journal storage errors use the shared StorageUnavailableError fields adapter, location, and cause instead of path.
Custom journals must return LeaseState.ageMs, a non-negative safe-integer renewal age measured by the journal clock in the same read as the lease state. Ownership probes use this age rather than the process clock.
Construct JournalDurableBackend with asynchronous open(); direct construction and internal synchronous journal methods have been removed.
RunOpts.journal.database requires the async SQLite facade; wrap an existing native connection with wrapNodeSqliteDatabase. Journal selection errors now use StorageConfigError and its source, field, and reason fields instead of JournalConfigurationError.
Replaced forkFromSessionFile with forkFromSessionId. Use the prior task's sessionId in the selected session store. recordStageSession now accepts { sessionId } only. Retained chat validation and completed inspection are asynchronous, and transcript paths are display metadata, not resume or fork identities.
Durable backend registration, status, reset, and checkpoint writes now use awaited commit* methods. Replace registerWorkflow with commitWorkflowRegistration, setWorkflowStatus with commitWorkflowStatus, transitionWorkflowStatus with commitWorkflowStatusTransition, adjustPendingPrompts with commitPendingPromptAdjustment, and reset with commitReset. Use commitCheckpoint instead of either checkpoint writer and commitAdditiveCheckpointBestEffort for additive writes. Cached ctx.stage() declarations remain synchronous; their replay metadata is committed before the next async execution boundary.
Added
Added a guide to running local models on NVIDIA RTX GPUs with llama.cpp, including recipe prerequisites, router preset conversion, and connecting Atomic.
Changing the thinking level mid-session on OpenAI GPT-6 models with an API key now preserves the prompt cache (#10853).
Added formatReadLineRange to the SDK exports so extensions can render read line-range labels the same way Atomic does.
Added the async SQLite facade and node adapter through @bastani/atomic/storage, with typed storage errors, prefix and schema-version helpers, and an adapter conformance suite in @bastani/atomic/storage/testing. String bindings containing NUL are rejected with StorageInvalidTextError; zero bytes remain supported in binary values.
Added the workflows.journal.path and workflows.journal.memory settings, plus SDK RunOpts.journal for a file, caller-owned SQLite connection, explicit memory journal, or supplied journal. TUI, CLI, background, and SDK runs use the selected journal. Relative settings paths resolve against the Atomic home directory.
Added ctx.sessionSignal so extension commands can close long-running resources when reload or shutdown begins, before admitted work is drained. Custom UI is now dismissed automatically at that boundary while preserving caller-signal cancellation.
Added wrapNodeSqliteDatabase(connection) for caller-owned connections and facade-backed workflow journals that can share a database with the session store or use a user-supplied SQLite-compatible driver.
Added user-installed journal adapter modules, environment/file secret references, shared storage defaults, and StorageProvider for explicit session/journal opens with shared database lifetime. RunOpts.journal.database accepts an async SQLite facade; invalid selections raise StorageConfigError without falling back to memory.
Added sessions.storage and SDK sessionStore to select SQLite, explicit JSONL or memory, a caller-owned database, or a user-installed adapter. Shared storage settings now configure sessions too; SDK, CLI and environment overrides take precedence without merging selections. Store-open failures raise typed errors rather than falling back to memory.
Added --session-store <path> and --session-prefix <prefix> to select a SQLite session database from the CLI. SQLite resume hints and Herdr commands always include --session-store and include --session-prefix when non-default.
Added a Models Configuration reference generated from the models.json schema, listing provider, model, model override, and compatibility fields (#10790).
Added cache-preserving thinking-level changes for GPT-6 models on openai and openai-api with API-key authentication, controlled by compat.supportsMidConvoEffort (#10853).
Added MemoryRunJournal, public SQLite journal and error exports, and registerRunJournalConformance for shared journal contract checks.
Added RunOpts.journal and resolveRunJournal for explicit journals, caller-owned SQLite connections, memory journals, and configurable files. TUI, CLI, background, and SDK runs use the selected journal. Resolution prioritizes the explicit option, a non-empty ATOMIC_WORKFLOW_JOURNAL_PATH, then journal settings and the default path. Relative settings paths resolve against the Atomic home directory.
Extended shared journal conformance checks to cover detached values, closed-journal rejection, failure atomicity, and deletion tombstones.
Added stale-only async journal takeover and read-only ownership inspection. Keyed append retries return the original entry before checking sequence expectations. Shared journal conformance covers stale-only takeover and early read termination.
Added journal adapter module selection with environment/file secret references and shared storage settings. SDK options override environment, journal settings, shared storage, and persistent defaults; nearer settings replace complete selections. Caller-owned database selections accept the async SQLite facade and remain open after journal close.
Changed
The storage adapter conformance suite now checks call-time binary binding inside transactions.
Node SQLite facade transactions opened on the same file now queue asynchronously within a process, including when paths use symlinks, instead of stalling the event loop and failing with a locked database.
Changed the default NVIDIA model to nvidia/nemotron-3.5-super-vl-120b-a12b (#10910 by @cv).
Subagent parallel task limits can now be raised above 50 with parallel.maxTasks. Configure parallel.concurrency and the new parallel.runningCapacity together to run more than four child turns per parent; defaults remain 50 tasks, concurrency 3, and running capacity 4.
Changed kimi-coding to OpenAI Chat Completions at https://api.kimi.com/coding/v1, matching the official Kimi Code client. K3, K3-256K, and Kimi For Coding support tools added mid-conversation without invalidating the prompt cache. Custom models.json base URLs for this provider must include /v1 (#10720).
Subagent parallel task limits can now be raised above 50 with parallel.maxTasks. Configure parallel.concurrency and the new parallel.runningCapacity together to run more than four child turns per parent; defaults remain 50 tasks, concurrency 3, and running capacity 4.
Fixed
Fixed resumed sessions dropping built-in tools activated during the session or reactivating tools that had been disabled. Default tool selections now restore the recorded loadout, with --tools +name/-name modifiers applied. Explicit tool selections and exclusions remain authoritative (#10785).
Fixed read line-range labels for numeric-string or null offset/limit arguments, such as those in sessions recorded with offset-based read tools, in the session tree, HTML exports, and the subagent example (#9887).
Fixed prompt templates dropping empty quoted arguments ("" or ''), which shifted later positional arguments and prevented positional defaults from applying (#10867).
Fixed --model choosing a provider by catalog order when several providers offer the match; Atomic now prefers the provider with credentials and otherwise reports the ambiguity. --models and enabledModels add a model for each provider that offers it and warn about the ambiguity. --api-key no longer lets stored credentials pick the provider, so a bare model ID offered by several providers needs provider/model alongside it, and a bare ID in modelRouting.allowedModels or excludedModels now covers every provider that offers it (#10160).
Fixed forked workflow stages and subagents losing their own tools when inheriting conversation history, and deferred startup reactivating extension tools disabled in a resumed session. Completing project-trust startup preserves the recorded selection and deliberate tool changes made by session_start handlers (#3624).
Fixed malformed tool-call arguments being executed or losing their original parse error in npm installations. Invalid calls now fail before argument preparation and schema validation, including tools whose arguments are all optional (#3624).
Fixed turns failing after about 14 seconds of Cloudflare 520-524 responses or connection resets. Agent-level retries now wait as long as the server asks through Retry-After headers or a Cloudflare retry_after body field, capped by retry.provider.maxRetryDelayMs (60s), and still stop after retry.maxRetries. Without a hint the 2s/4s/8s backoff is unchanged. Switching to a configured fallback model can therefore take up to about retry.maxRetries × 60s (#3623)
Fixed running sessions retaining stale auth.json credentials and login status after another window signs in, logs out, or refreshes a token, including extension OAuth providers. Chat requests rejected for invalid credentials reread the store and retry once when newer credentials are available (#3620).
Fixed the OSC 7501 terminal program status showing working instead of blocked while the main chat waits on an ask_user_question prompt. It now reports blocked (kind=question) while the questionnaire is open and returns to working after you answer, matching workflow-stage prompts (#3616).
Fixed workflow approval gates (a run-level ctx.ui.confirm) reporting OSC 7501 blocked with kind=question. They now report kind=permission, so terminals can tell an approval apart from a typed question (#3618).
Fixed paused and cancelled workflow runs reporting OSC 7501 done. A paused or cancelled run now reports idle, and done is reserved for a successful completion (#3617).
Fixed the OSC 7501 status disappearing mid-run in terminals that drop it when transcript rendering emits a prompt mark. The reporter now re-sends its current status after the workflow graph and stage-chat overlay render, restoring the status during a run (#3615).
Fixed Xiaomi MiMo and all regional Token Plan providers defaulting to a deprecated model omitted from the generated catalog. They now select MiMo V2.6 Pro (mimo-v2.6-pro) by default.
Fixed failed prompts sent after compaction dropping messages queued while the prompt was pending. Later steering, follow-up, and compaction messages now survive recovery without duplicating the original batch (#3654).
Fixed compaction file lists omitting hashline edits, including multi-file edits and nested tool calls. Edited files now appear under modified files rather than read-only files (#3656).
Fixed reordering filtered scoped models crashing or selecting a different model instead of saving the new order (#3657).
Fixed overlapping prompts duplicating deferred shell results in session history, and retries replaying results that were already saved.
Fixed new and branched sessions becoming unwritable when a resumed session uses a different destination session directory.
Fixed tree label edits appearing saved before persistence completed. Failed saves now display the error and keep the editor open for retry.
Fixed failed custom-message writes dropping accepted pending and next-turn messages. Retries now retain the uncommitted messages in order, and overlapping drains do not duplicate saved messages.
Fixed overlapping model, thinking-level and session-name changes losing later choices. Model and thinking cycles now advance once per request, and saved defaults retain the last choice.
Fixed history refresh failures after a turn escaping error handling. The interactive engine now displays the failure without an unhandled rejection, and label edits await their saved history before reporting success.
Renaming the active session in the selector writes through its active manager, so later session writes retain the correct sequence.
Session pickers keep selection and rename bound to the selected project's store when IDs repeat across projects. Imported empty session IDs remain persistent across resume and restart instead of starting a new conversation.
Fixed Alt+Y restoring stale text and moving the cursor before the start of the scoped-model search after clearing it with Ctrl+C (#3668).
Fixed MCP tools with colliding generated names overwriting another tool's owner. Generated names now avoid names already in use or reserved by other tools (#3667).
Fixed extension input dialogs ignoring the supplied placeholder. The hint now appears while the input is empty without becoming submitted text (#3672).
Session shutdown and replacement now wait for already-admitted extension session entries to finish saving before releasing their resources.
Storage providers now preserve domain-adapter prefixes, make returned stores safe to close repeatedly, and retain typed opening errors when cleanup also fails.
Fixed sessions written before format 4 disappearing from /resume and failing to open with --continue, --session, or --fork. Older supported sessions now upgrade automatically when opened; listing leaves their files unchanged.
Fixed session stores closing during conversation replacement or remaining open after CLI shutdown and failed startup. Project storage settings now take effect on first trust approval, JSONL resume commands retain their directory, and SQLite sessions keep full URL-read artifacts.
Fixed stopping a codemode script or reaching its deadline waiting for a non-interruptible built-in to return in the standalone binary (#10748).
Fixed repeated codemode timeouts or aborts accumulating surviving workers. At most two codemode workers may be alive across all sessions, and a cancelled worker counts against that limit until it actually exits (#10748).
Fixed sessions in symlinked project directories, including macOS temporary directories, being omitted from session lookup or mistaken for sessions from another project.
Fixed compaction fallback and branch summaries failing with "generation hit the token cap" when reasoning used most of a fixed output budget. The provider now sizes summary output, and compaction.reserveTokens only controls when automatic compaction starts (#9512, #9075).
Fixed models.schema.json missing descriptions for provider and model fields, so editors now show hints for them (#10790).
Fixed sessions saved before the SQLite default disappearing from /resume and failing to open with --continue, --session, or --fork. With the default store, sessions in ~/.atomic/agent/sessions, including workflow stage sessions and early 0.9.38 alpha sessions that use a timestamp header, are listed alongside newer ones and copied into the database only when you open one, so startup does no extra work. Original files are left untouched, deleted sessions stay deleted, and explicitly selected stores do not show them.
Fixed slow interactive startup on machines with many sessions saved before the SQLite default, a follow-up to #3721. Opening a session by its exact ID, which the interactive engine does at launch, now looks up only that session instead of scanning ~/.atomic/agent/sessions. /resume, --resume, and --continue list unconverted sessions larger than 32 KiB from their first message and most recent entries rather than parsing every file, so their message count is a lower bound and /resume search sees only that text until you open one, which still converts it in full.
Fixed /resume and --resume filling up with "(no messages)" sessions. The picker now hides sessions that have no messages, name, or summary, including ones already saved by earlier versions. Opening such a session by ID still works.
Fixed MCP Streamable HTTP servers that keep closing their GET event stream without sending event IDs causing endless reconnects. Only a new event ID or a stream that stays open resets the reconnect budget, so reconnect.maxRetries now bounds these reconnects (#3729).
Fixed queued steering and follow-up messages being reordered when an extension's async input hook takes longer for an earlier message than a later one. Each queue now keeps submission order. Extension commands, extension-sent messages, and messages sent from inside an input hook are still delivered immediately (#3590).
Fixed messages queued during compaction coming back out of order when the first one fails to send. The failed message stays at the front of the queue, followed by the rest of its batch and then anything you typed afterwards, both for ALT+Up retrieval and when they are sent again. This also applies to workflow stage chats (#3664).
Fixed OpenCode Go Gemini models failing with a 404, and builds failing when the OpenCode Go catalog lists Gemini models, by moving OpenCode Zen and OpenCode Go to the opencode.ai/inference endpoints and registering the Google Generative AI API on the opencode-go provider, matching OpenCode Zen.
Fixed OpenCode Go MiniMax M2.7 failing with "Model does not support this protocol" by using the Anthropic Messages API.
Fixed tool-call argument parsing dropping fields when a string contains an invalid \u escape such as \usepackage (#10868).
Fixed Anthropic requests failing with a 400 when an error tool result contains images; images are now replaced with a text note (#10794).
Fixed automatic retry not triggering for gateway Unable to forward upstream stream errors (#10920).
Fixed OpenAI-compatible responses showing thinking after the answer when a proxy such as LiteLLM sends reasoning and content in the same stream chunk (#10926).
Fixed Gemini 4 Argon requests on Google Vertex failing with "Thinking budget is not supported", and its thinking level being ignored on the Gemini API, by sending thinkingLevel for Gemini 4 and later models (#10890).
Fixed Xiaomi MiMo models failing with a 400 at the minimal thinking level by sending only the documented thinking on/off toggle and exposing only the off and high levels (#10818).
Fixed tool calls with malformed final JSON arguments silently running with only a parsed prefix. These calls now fail validation with the original arguments so the model can correct them (#10897).
Fixed retryAssistantCall() ignoring server retry hints. A failed response's Retry-After-Ms, Retry-After (seconds or HTTP date) or Cloudflare body retry_after is reported as AssistantMessage.retryAfterMs by the OpenAI Responses, OpenAI Completions and ChatGPT (Codex) providers, and replaces the exponential backoff for that retry, capped by the new RetryPolicy.maxRetryDelayMs (60 seconds by default). Cloudflare 521-523 responses and connection resets are now retryable (#3623)
Fixed streaming tool arguments losing __proto__ fields and changing object prototypes when JSON is incomplete, including nested objects and arrays (#3679).
Fixed closeOpenAICodexWebSocketSessions("") closing other sessions' cached sockets. Empty keys now do nothing; omitting the key still closes all cached sockets.
Fixed the root AssistantMessageEventStream export being visible only as a type to TypeScript consumers. It can now be imported and constructed as a value, matching the runtime API.
Fixed automatic retry not triggering for The service is temporarily unavailable errors, which also made compaction fail on the first attempt (#10965).
Fixed Claude Haiku 5.5 and Claude Opus 5 not offering the off thinking level on Anthropic. off now sends thinking: {type: "disabled"} without effort settings (#10753).
Fixed images in error tool results being replaced with a note on Anthropic, and Claude on Amazon Bedrock rejecting error tool results that contain images. The images are now sent after the tool results of the turn, so the model still sees them (#10794).
Fixed model switching exposing another model's thinking as visible reply text. Foreign thinking blocks are now dropped; Anthropic models that adjudicate thinking-block model binding still receive compatible blocks from the same provider (#10995).
Fixed automatic retry not triggering for node-fetch request failures during Google Vertex authentication token refresh (#10996).
Fixed whitespace-only tool output (for example a bare \r\n from bash) causing OpenAI Completions, OpenAI Responses, and Google providers to reject requests. It now uses the same placeholder as empty output (#8720).
Fixed automatic retry not triggering for gateway upstream failures such as upstream_error: Upstream request failed, upstream_stream_read_error, and Upstream HTTP/2 stream failed (#10920).
Fixed queued workflow instructions being blocked by broker warm-up during model fallback. Stored instructions are admitted before connecting, including sticky messages for replacement sessions (#3628).
Intercom tools now await session records before reporting success or clearing pending replies. Failed commits reach the existing error handling, including local subagent relay diagnostics.
Session-list and compose overlays now close when reload or shutdown begins instead of keeping their commands pending.
Compose sends already in progress now finish delivery and save exactly one sent-message record even when reload or shutdown dismisses the overlay.
Fixed retries of answered Intercom asks reopening pending reply routes and allowing a second distinct reply (#3666).
Search and fetched-content results now wait for their session commits before becoming available or notifying the agent. Failed commits reach the existing error handling instead of reporting uncommitted results.
An open /websearch curator now closes when reload or shutdown begins, without blocking teardown or abandoning an already-started session save.
Fixed second and later durable SDK run() calls in the same process failing with atomicWorkflowHandle is not a registered DBOS workflow function. Each standalone run now recreates its durable backend after the previous run shuts it down (#3614).
Fixed workflow fallback leaking the original stage session when an intervening candidate fails to initialize. The original session is now disposed exactly once after it becomes idle when a successor is adopted, or during final cleanup if no successor is created (#3655).
Fixed retained stage history load failures appearing as empty archives. Missing, unreadable, malformed, empty, or deleted session files now show an actionable session-unavailable warning without creating a blank session or discarding displayed messages (#3658).
Fixed standalone SDK run() resolving string stage models, including thinking suffixes and fallback models, instead of crashing during session creation (#3629).
Fixed queued Intercom instructions preventing stage model fallback. Delivery failures now block resumably and preserve sticky instructions for resumed runs and later stages (#3628).
Fixed workflow recovery reporting a foreign run as available at the exact lease-expiry boundary before takeover is permitted (#3681).
SQL journals snapshot append payloads at invocation, including keyed retries, preserving status/event consistency during queued writes. User-supplied facades may return readonly rows. Header and append serialization failures now retain typed storage errors and their original causes without changing fencing, replay, or sequence-check precedence.
Journal run summaries and status validation now use the serialized StatusChanged payload, including transformations by toJSON, so recorded events and summaries agree. Ownership inspection now honors the journal clock even when the process clock is skewed.
Fixed workflow error cards hiding text-only failures as no result. Errors without structured details now show their text and an error indication in collapsed and expanded cards (#3669).
Fixed failed workflow resumes reporting partial progress solely because a sibling was already running. Requests with no acknowledged effect now report no change and retain their failure code (#3670).
Fixed workflow pause reporting noop after a stage pause took effect but durable capture failed, including whole-run and bulk requests. The result now reports partial, explains that the pause remains in effect, and preserves the failure code and message (#3671).
Workflow journal shutdown waits for queued writes before releasing ownership. Status claims and checkpoints on the same run remain ordered with asynchronous journals.
Completed standalone SDK runs now release their stage sessions when no caller registry owns them. Workflow forks and completed-history inspection release temporary session-store connections while preserving caller-owned stores.
Starting a workflow after a workflow's completed, failed, or blocked notice no longer fails with Workflow execution for <runId> is retired. Notices and late stage messages now reach the chat outside the finished run's execution context.
Fixed /workflow resume no longer listing or resuming runs recorded before 0.9.38-alpha.6. The default journal now lists runs from its earlier tables and converts a run only when you resume or inspect it, so opening the journal does no extra work. The earlier tables are left in place, and deleted runs stay deleted. Stage checkpoints that identified their session only by transcript path now resume by that transcript's session ID, so their conversations reopen after sessions are imported into the default store.
Fixed the Workflow discovery diagnostics warning appearing twice at startup when deferred startup, such as project trust, refreshes workflow discovery. An unchanged report is shown once; a refresh that changes it still shows the new one (#3703).
Removed
Removed DBOS, embedded Postgres, their bundled runtimes and native process ownership, and the non-durable storage fallback. Server-specific admission, recovery, outage handling, and deferred persistence queues are gone; workflow pause, resume, quit, answer, and checkpoint replay remain supported.
Removed DBOS, embedded Postgres, their bundled runtimes and native process ownership, and the non-durable storage fallback. Server-specific admission, recovery, outage handling, and deferred persistence queues are gone; workflow pause, resume, quit, answer, and checkpoint replay remain supported.