Changelog¶
Unreleased¶
Workflow language¶
- A workflow whose input is
{$ref: weave.platform-event-v1}reads the event's fields without presence warnings: a field every event carries, such as/input/transaction/business_key, is present, whilecause,incident_id, and the lists understepsstill warnWV-COMP-REFERENCE_PRESENCEunless read withcoalesceorexists, and a field the event doesn't have isWV-COMP-MISSING_REFERENCE. The compiled bytes of event-triggered workflows published on 0.1.0a19 change, so publishing one again gives a new artifact; published artifacts keep running as they are, and workflows that don't reference a platform schema keep their bytes.
Runs, incidents, and workers¶
- Purging a run also removes what its platform events left for event triggers:
the stored event and the trigger start records that no longer name a kept run.
A start record of a kept run stays, with its event emptied, until that run is
purged too. A purge answers
409 WV-RUN-PURGE-BLOCKED, naming the waiting start, while a trigger start still waits to run with one of the run's events; such a start runs or expires within a day. - Workers and native connectors write log entries about the tasks they run.
In a handler,
task_log().info("Checked the order", code="ORDER.CHECKED", items=3)(fromfirefly_weave.sdk.task_log) writes an entry; the SDK redacts it, including the credential values the task leased, sends entries in batches of 50, every 2 seconds and before the task completes or fails, and never fails a task because a send failed. Native HTTP calls write oneHTTP.RESPONSEentry with the method, host, status and duration, never the path, query, headers or body. tasks.log(POST {environment}/tasks/logs, capabilitytask.log, which theworkerrole now holds) stores up to 50 entries only while the worker holds the task's current lease, and answers409 WV-LOG-LEASEotherwise. The platform takes the run, step and attempt from the lease, redacts every entry again by pattern (it never holds leased values, so workers hide those, as the SDK does), leaves out fields past 8 KiB an entry, and keeps 200 entries or 64 KiB per attempt, 2,000 entries or 1 MiB per run, andWEAVE_EXECUTION_LOG_DAILY_ENTRIES(200,000) per environment a day; a spent quota answers429 WV-LOG-QUOTA.- Triggers move to new versions of their workflow.
POST …/retargeton a webhook, Kafka trigger, app event source, email source or platform-event trigger moves it to another activation of the same workflow, with the revision it read inIf-Match; a webhook keeps its URL. The trigger then runs as the person who moved it, who needs every capability creating it needs, and the new version must take what the trigger delivers (409 WV-TRIGGER-SCHEMA-CHANGEDotherwise). Kafka triggers and app event sources get a new source binding and the old one is revoked. - Email sources can be listed and read with
email.read(GET …/email/sources), without mail, policy or mailbox positions. - Draft test activations run a whole saved draft for real as test runs:
POST …/test-activations(step.test, test calls on, the draft's side effect acknowledged), then…/runs,…/listenfor a signed test URL (trigger.manage), andDELETEto retire it. Only its creator can use it, it expires within an hour, no list finds it, and turning test calls off stops it at once. - Systems that take part in transactions can now prove they are safe to undo.
weave transactions conformance WORKFLOW --step IDsends a step's own requests, as Weave builds them, in every order Weave can deliver them (a repeat, a cancel of a step that never ran, a step that arrives after its cancel) to an SDK worker or a PostgreSQL step, and reports each check without business values. SDK workers getfirefly_weave.sdk.participants.Fence, which records each request in the worker's own PostgreSQL transaction. The built-in PostgreSQL connector now records a cancel or undo of anidempotent-commandstep, so a request for that step that arrives later failsSQL_ALREADY_UNDONEand changes nothing; the operation table keeps its shape. - Stopping a platform-event trigger (
POST …/event-triggers/{identifier}/disable) accepts an optionalIf-Match: a stop sent with an older revision answers409 WV-REVISIONand leaves the trigger running, and the answer carries the stopped trigger's revision as itsETag. A stop withoutIf-Matchworks as before.
Operations¶
runs.logsnow answers: a run's log merges the engine's entries, worded from its events (the step and an error code only), with what its workers and connectors wrote. The newexecution_logs.listreads entries across runs, newest first, with failed, timed-out and canceled runs and failed steps as engine entries, filters by time, workflow, level, code, step and message text, and leaves test runs out unless asked. Both needrun.read; an entry of a run whose details are withheld is a row without text.- Log entries are kept
WEAVE_EXECUTION_LOG_RETENTION_DAYS(7 by default, 1 to 30), go with their run when it is purged, and count toward no usage;operations_retention.readlists their period. - Container logs: a person with the new
deployment_log_readerrole anddeployment.readon a target asks for a snapshot of what its worker containers printed (deployment_log_requests.create,POST {environment}/deployment-log-requests, with anIdempotency-Key), up to 5 members, from 60 seconds to 24 hours back and 1 to 1,000 lines each, and reads it withdeployment_log_requests.read. The local owner getsdeployment_log_reader. The target's runner claims the request beside its jobs (deployment_runners.claim_logs,deployment_runners.report_logs), reads only worker containers or pods it observed itself with a fixeddocker logsorkubectl logsargument list (with--previoustoo for a pod whose container restarted; each member says how often it restarted and how many of its lines came from the previous container), and redacts and cuts each line to 2 KiB and the snapshot to 256 KiB; the platform redacts every line again. A target takes 10 requests a minute (429 WV-LOG-RATE), a runner out of touch for 90 seconds answers409 WV-RUNNER-OFFLINE, a request no runner answered within 2 minutes reads failed, and a request and its snapshot are deleted an hour after it was made. - Deployment targets and runner policies gain the capability
read_logs(Compose and Kubernetes). local-docker and connected cluster targets hold it; an existing local-docker target gains it on the nextweave platform up, and a cluster runner's Role maygetpods/login its workers namespace. A runner whose target lacksread_logsregisters without it and keeps running its jobs.
AI and connections¶
- Weave AI reads every attachment of a question as the principal of the credential that asked, so each owning service checks and audits that credential; it no longer substitutes the principal reloaded from storage, whose authorization records named no identity.
- Weave AI discards a reply when a run attachment's run becomes classified, blocked by policy or purged between the read sent to the model and the read after the reply.
- Configuring Weave AI reads the provider connection and writes the
lumi.configureaudit record as the credential that asked, so the connection's owning check and the audit name that credential. - AI agents can remember a conversation across runs. With
memory: {scope: conversation, key: <expression>}, each run loads what earlier runs with the same key remembered (the newestwindowmessages, as one data message before the prompt) and appends its prompt and final answer when the agent completes. Prompts are scrubbed of secret patterns and answers redacted by the step's output schema before they are kept. The key must read as text of 1 to 256 characters and never a secret; the platform stores only the SHA-256 of the workflow's name and the key. A conversation is keptttlSeconds(30 days by default, 1 hour to 365 days) after its last exchange, and the operations loop deletes expired ones. Test runs, and the workflows they call, neither load nor remember. The platform now advertises theai.memorylanguage feature. agent_conversations.listand.read(run.read) andagent_conversations.deleteand.purge_workflow(run.purge, audited) list, read and delete conversations by workflow and key hash; the SDK (list_agent_conversations,read_agent_conversation,delete_agent_conversation,purge_workflow_conversations) andweave agent-conversationshash a key on the client. A delete names up to 100 runs that loaded the conversation.- Runs record a
memory_loadedevent with the loaded messages; history, export and replay read it, and replay checks it against its receipt (WV-REPLAY-MEMORY,WV-REPLAY-MEMORY-PROVENANCE). The run log says a step loaded its conversation, and the agent log's memory row names the conversation's key hash, version and expiry. - The simulator answers a conversation load from the
memoryseed of the agent's saved turns, and never reads a stored conversation. - The compiler refuses an action step whose Action runs an AI model, such as
weave-agentic-generate(WV-COMP-AGENT_ACTION), as it already refused the AI agent turn: an action step has no AI profile, so activation could never check its model against the AI policy. Activation now refuses a workflow version compiled before this fix (WV-ACTIVATION-AI-RESERVED). Activations made earlier keep starting runs, and their action step runs the model without an AI step's guards until it is moved into an AI step and the workflow is activated again; the worker still refuses a model the AI policy doesn't approve (LLM_POLICY). - An AI agent turn or AI step that fails for good because of its model names
the model's own code, such as
LLM_NO_TOOL_SUPPORT,LLM_CONTEXT_LIMITorLLM_UNREACHABLE: it is the incident'sorigin_code("First reported as" in Studio) and the turn'serrorin the Agent log. The incident'scodeis unchanged.
Studio, desktop app, and CLI¶
- The Python SDK and the typed CLI send a request again when the platform
refused it before admitting it (HTTP 429
WV-OPERATION-CAPACITYorWV-REQUEST-CAPACITY): aGET, or a change that carries an idempotency key, with the same body, key, and token. Each pause lasts at leastRetry-Afterand grows from half a second to 5 seconds; the client stops after 4 sends or 15 seconds, and lets the refusal stand at once whenRetry-Afterasks for more than 5 seconds or can't be read as whole seconds. A change without a key is never sent again, and a client closed during a pause sends nothing more.WeaveClient(..., resend=None)turns this off, andWeaveError.retry_aftergives the refusal'sRetry-Afterin seconds. Theweave platform clustercommands keep their 60-second window on the same policy. - The Studio host bridge forwards webhooks, schedules, Kafka triggers, app event sources and draft test activations; every operation is still authorized by the server.
- Step details list the connections you can use in the environment Studio is connected to, test them, and keep your choice on this computer; Create connection and Edit open the API connection form in a side sheet.
- Execute in environment in step details runs one step of the saved draft for real as a test run, asking first for steps that change data; its output shows the run it came from, and Pin output keeps it as test data from that run.
- File references in step data show as files, with Download for files a real run returned.
- Every change Studio sends names the signed-in person, so a change never runs as someone else after a sign-in elsewhere.
- The Studio guide no longer says that testing an HTTP connection sends no request.
- A run's page in Operate › Runs has a Logs section after Steps: the run's log entries oldest first, each with its time, level, source, step and message, how many values the platform hid, whether a long message was shortened, and a worker's code and fields; Level and Step narrow it, and while the run is still going new entries arrive at the bottom every 5 seconds.
- Operate › Logs (needs
run.read) searches log entries across the environment's runs: the last hour from Warning up by default, filters for time (up to 7 days), level, workflow, step, code, message text (6 hours at most) and test runs, Follow every 10 seconds, and Load older entries. Every filter but the message is kept in the address; the message never leaves the page. - The activation dialog checks that the platform runs the workflow's language features, chooses each required connection from this computer's dev binding or the only one you may bind (an optional one only from a dev binding), pins each called workflow's current activation, and says what activating does to each trigger: create it, move it with the same URL, or leave an earlier version's running with Stop it. After the activation it sets the triggers up row by row and names each one it created, moved or stopped; a row that fails says why with Retry and never undoes the activation.
- Trigger step details: a webhook's name, secret and separate test secret, with its production URL after activation; a schedule's calendar with its next five times; a Kafka trigger's cluster and topic; an email trigger's input; an app event source's app and event. Listen for test event gives a webhook a test URL and a signed cURL that reads the test secret from your shell, never from its command line, and the request's payload becomes the workflow's test input.
- Execute workflow in environment runs the saved draft for real as a test run, asks first when steps change data there, and follows the run in the Runs tab. The test activation behind it is retired when the draft changes, the editor closes, or you switch account or environment.
- Publish… in the More menu is disabled with its reason when your account can't publish.
- Studio has a Call a workflow step: choose a callable version from the project's published workflows or a draft on this computer, map its input, choose whether to wait for the result and what happens if it fails, and open the called workflow. The Called by a workflow trigger says who can call a workflow, its interface, and which published workflows call it, with Allow it.
- Execute workflow runs the called workflows kept on this computer; the run log shows their steps under each call, and test output can be set for a step inside one. A step inside a called workflow that needs test data now stops there instead of failing the test with a server error.
- On the Runs tab, a call step's Output names the run it started, says how it went, and opens it.
- Studio guides connecting a local kind or k3d cluster. Operate › Clusters ›
Add target › Connect a cluster shows the
weave platform cluster createandweave platform cluster connectcommands for the provider, cluster name and namespace you choose, with Copy and what each command changes, and refuses the names the command line refuses. While the wizard stays open, Studio checks every 5 seconds and shows Cluster connected once the new target's runner is online, with Open target and New change request; it also says when the target is registered but its runner hasn't made contact, when it is already connected, or when another target has the name. It only reads targets, runners and observations. Register a cluster is no longer under Kubernetes: to register a cluster that isn't on this computer, use Add target › Other and Register target. See Connect a kind or k3d cluster on this computer. - In Settings, changing When Studio opens quickly with the arrow keys no longer loses the last choice: an earlier save's answer no longer checks the choice you just left.
- Operate › Logs has two tabs, Run logs and Container logs. Container logs chooses a target, a worker component, up to five members, Since and Last lines; Fetch logs shows each member's lines with Copy and Download (plain text), marks a restarted pod's previous lines, and says which chosen member couldn't be read; Follow asks quietly for a new snapshot every 10 seconds while the page is open.
- Studio edits loops (Loop over items): a loop draws as a frame around the steps it repeats, with its list and limits (At a time, Up to, Results, Result per item) in step details. Inside a loop, one item picker chooses the item that the Input and Output panes, previews, pins and Execute step use; Pin for every item pins one output that every item without a pin of its own uses. Execute workflow follows the items on the frame and lists each item in the run log, the failed one open on its steps and error, and a list longer than Up to fails the loop as a real run does. On the Runs tab, a recorded loop has an item chip, failed items first, and step details open on the same item. Execute workflow also stops at any step where a real run would stop on an incident.
- An AI task can be tried in step details. Generate sample keeps a sample answer as the task's saved turn, and Keep as test data on a real answer keeps that answer with the run it came from; Execute step replays the saved turn without calling a model. The keep button stays pressed while the answer shown is the kept one, and a second click removes it with Undo. The Output pane shows a text answer in full (eight lines, then Show all) and the model requests and tokens ("1 request · 812 in · 64 out tokens", or "No model call · replayed the saved answer").
- Execute in an environment runs an AI task as a step test, with its prompt, context and AI settings, on the connection chosen with its model; choosing a model now keeps that connection as the slot's binding on this computer. A local connection runs at once; any other asks first and names the cost ("This calls qwen3:4b on OpenAI (openai-prod) and may incur cost.").
- Studio's data scope lists the platform event's fields under
/input, the local host serves the event's schema atGET /studio/contracts/platform-event, and Execute and saved test data accept a sample platform event as input. A project catalog that brings its own schema under that name is still refused when the workflow compiles. - Studio's first page is smaller: the Operate pages, Settings and the record lists load through one shared page area, and another page opens at the top.
- Operate › Alerts (needs
alert.read) shows the alerts firing now, with each channel's notification status and Acknowledge, and the alerts resolved in the last 7 days; Rules shows where each rule stands, with an editor that previews a rule before saving and Suggested rules; Channels shows who each email channel reaches and who it can't. Acknowledging and changing rules and channels needalert.manage. The navigation entry counts firing alerts and turns red while one is critical. - Settings › Administration (needs
status.read) shows the platform's version and uptime, compatibility with Run check, allowed alert email domains and recorded opt-ins, approval notification channels, retention plans with Apply, telemetry export, and how long operations data is kept; each section says what access it needs when you lack it. Settings › Preferences adds My alert address.
Development and testing¶
- Studio's tests no longer fail on a busy machine: page clocks advance with
runForinstead offastForwardin the approvals, connect wizard and incidents specs, canvas tidy is bounded by the work it does instead of wall-clock time, step details and loop data wait for the state they check instead of sleeping, and browser workers answer scope questions from one Python process each. - CI has a manual job that runs the PostgreSQL integration tests against PostgreSQL 17; it moves to every pull request once the tests that depend on timing pass on a hosted runner. The tests that need Kafka, Keycloak, a built image, or the owned Docker context run in the release gate.
- Every workflow job has a timeout, and Acceptance and Desktop installers wait for a draft pull request to be marked ready.
- The fixture worker writes a log entry for each task, and a warning with a
test-only
noteinput, which the acceptance journeys andtests/e2e/test_operations_logs.pyuse to prove a planted secret never reaches log answers or stored entries. - The
aiacceptance profile runs an AI task of a saved draft for real as a step test (J4.16), with a text and a structured result, checking structure only and recording requests, tokens and times. - The
clusterandk3dacceptance profiles runtests/browser/cluster-connect-real.spec.ts: Studio copies the connect command for a namespace of the run's cluster, the command runs as copied, and Studio must show Cluster connected within 15 seconds of its end. - A Security scans workflow runs on pull requests and on
main: gitleaks over the files and the new commits, and trivy over the lockfiles (development dependencies included), Dockerfiles and Kubernetes manifests, both pinned to checksummed releases. A high or critical finding fails it; the reviewed false positives are listed in.github/gitleaks.toml, each anchored to its exact block. - Every third-party action is pinned by commit, each job gets only the token permissions it needs, and the release gate runs in its own workflow, started by hand.
- The desktop installer jobs fetch crates again when crates.io breaks off a download.
Versions and schema¶
0047_event_trigger_purgeadds indexes onevent_trigger_payloads(source_run_id)andevent_trigger_starts(event_id)and removes, once, the trigger rows left by runs purged before it; like earlier backfills it needs explicitEXECUTEonweave_tenant_ids(). See the upgrade guide for its locks and run time.0048_operations_step_fact_keysadds a partial index onstep_factsfor agent and transaction phase keys, which the agent log reads as key ranges.0043_operations_logsadds the emptyexecution_logsandexecution_log_daystables and adds the role check again with the same roles; see the upgrade guide. Upgrade CLIs and SDKs with the server:operations_retention.readgains the recordexecution_logs, which earlier clients refuse with502 WV-WIRE. A worker built with this SDK against an earlier server drops its log entries and runs its tasks as before.0044_editor_trigger_retargetaddsrevisionto webhooks, Kafka triggers, app event sources and email sources, lets a source get a new binding once its old one is revoked, and lets the test activation purge remove listen routes. Webhook, Kafka trigger and app event source answers addrevision, which earlier CLIs and SDKs refuse: upgrade them with the server.0045_ai_agent_conversationsaddsagent_conversationsandagent_memory_loads, scoped by row-level security and charged to usage. Purging a run deletes its loads and keeps the conversation; deleting an environment deletes both.0046_operations_log_requestsadds the emptydeployment_log_requestsanddeployment_log_snapshotstables with row-level security and adds the role check again withdeployment_log_reader. Upgrade the server before runners and CLIs: earlier ones refuse theread_logscapability.- Security: Studio's development tools update
@angular/cliand@angular/buildto 22.2.5, which bring the Angular CLI's MCP server to 2.3.1 (GHSA-46jr-4wx8-v453, GHSA-f897-62hf-6gxq, GHSA-jm63-cq47-j5jp, GHSA-rvq5-wwqv-78pq), zod to 4.6.6 (GHSA-mrhx-c7xc-m3w5) and the Vite development server to 8.3.5 (GHSA-587h-7wmj-h5pm, GHSA-698v-4r3x-3vcv, GHSA-9jrq-w75r-8gcw, GHSA-r825-w8mm-5pxw, GHSA-rq7h-c2jc-7f22, GHSA-vfpm-58rq-9qcg); Vitest goes to 4.1.12 (GHSA-qxg6-89mg-rqv8, GHSA-xp26-3454-mjgp) and fast-uri to 3.1.9 (GHSA-333x-w4r6-6crp, GHSA-w74x-v6f9-j3xg, GHSA-wjr9-j795-jxcr, GHSA-xhq7-xmqj-769h). None of them is in the Studio bundle. An npm override instudio/package.jsonkeeps the Angular builder's own rolldown at 1.2.8: from 1.2.9, rolldown keeps/* @__PURE__ */comments in the chunks Angular's chunk optimizer writes, which made Studio's first page 2,438 bytes larger. Vite keeps rolldown 1.2.15. The override goes once Angular's chunk optimizer passes a comments option to rolldown, or rolldown stops keeping those comments. - Security: opentelemetry-api is updated to 1.45.2 (GHSA-mf5v-w3w3-f6cg, GHSA-xcq7-p3pf-p88h) in the server and both workers. The Agentic worker also updates joserfc to 1.7.6 (GHSA-9pg5-8c7x-5hfx), fastmcp-slim to 4.1.2 (GHSA-7xgj-8392-5q4r, GHSA-vqqp-x5qm-5qp4) and logfire to 5.2.0, the first release that accepts OpenTelemetry 1.45.
- Security: the desktop app updates tokio to 1.53.3 (RUSTSEC-2026-0386).
0.1.0a19¶
Workflow language¶
- Workflows can start from platform events. Declare
eventTriggerwith the transaction events a workflow accepts and give itinputSchema: {$ref: weave.platform-event-v1}, then bind it withweave triggers events create, which needstrigger.manage,run.start, andrun.read. Each event starts each matching trigger's workflow once, as the trigger's owner; a chain of reactions stops at three deep and at 64 starts per first event, and runs started this way show the origin Platform event. Disabling a trigger stops its starts at once.weave triggers events startslists what each event started or why it started nothing,weave.event_startscounts the starts, and the platform listsflow.eventTrigger. Migration0041_language_event_triggersadds the trigger tables. - Before you upgrade, note that the schema name
weave.platform-event-v1is now the platform's: while a catalog has its own schema under that name, compiles against it fail withWV-COMP-RESERVED_SCHEMA, even for workflows that don't use it, until the schema is renamed. Run views gain the originevent, so clients that read run origins strictly need the new value.
Runs, incidents, and workers¶
- A worker keeps running when the platform's API restarts, for example after
weave platform ai enable, and claims again once the API answers. When a claim can't reach the platform (the connection is refused, drops, or times out, or the API answers 429, 502, 503, or 504), the SDK'sWorkerclaims again after a wait that doubles up to 10 seconds, each a random time in its upper half, so the first is 0.25 to 0.5 seconds (claim_retry_seconds,max_claim_retry_seconds, at most 300 seconds), andstop()ends the wait at once; 401, 403, a refused release, a server certificate it can't verify, and every other failed claim still stop it with that error. Workers that local operations deploy now start again when they stop on their own (restart: unless-stopped); one thatweave platform stopor a change request stopped stays stopped.
Operations¶
- Alerts on operations signals. People with the new
alert_managerrole create alert rules on a fixed list of signals (run failure rate, failed runs, run duration, waiting tasks, event and provider backlogs, open incidents, workers, offline runners, deployments that need reconciling, degraded platform components), preview a rule's current value, and acknowledge firing alerts. The scheduler evaluates each environment's rules every 30 seconds, or less often in an installation with many tenants or environments; a rule fires once its condition has held for its For time and resolves once it has been clear for its For time or a minute, whichever is longer. The environment summary counts firing alerts for alert readers, and only critical ones show under Needs attention, ahead of every other item. Signed webhook subscribers to the newalert.transitionevent receive each firing and resolve, without the rule's name or any recipient. Every environment gets the rule "A platform component is degraded" once. Upgrade CLIs and SDKs with the server: the environment summary gains analertssection and the attention kindalert, which earlier clients refuse with502 WV-WIRE. - Alert email. A channel sends as the person who last saved it, one message per
recipient, to project members at the address each member saved for
themselves, or to outside addresses whose domain an administrator allowed and
whose opt-in an administrator recorded; both are checked again at every send.
Mail has fixed text and no link, is budgeted (one message per rule and
channel every 15 minutes; 40 per rule, 60 per environment, and 20 per
recipient an hour), and is never sent twice. A channel takes three test
messages an hour, which never spend alert mail's budget. Change requests
awaiting approval can be mailed to approval channels, naming the target, the
change, and its expiry, never the reason. Migration
0042_operations_alertsadds the alert tables. weave platform upgives the local owneralert_managerandemail_sender, so the owner needs no other role to set up alert email; a channel still needs an email connection, which the local platform doesn't create.- The retention periods of operations records can be read
(
operations_retention.read). - The operations runner keeps claiming jobs while the API restarts, instead of
stopping and waiting for its restart policy: a claim that can't reach the API
is made again after the same doubling wait as a worker's, and 401, 403, a
redirect, a certificate it can't verify, an answer outside the API contract,
and other refusals still stop it. When it stops,
weave operations runner runreportsWV-RUNNER-STOPPEDwith the failure's kind, its code, and the type of the error it came from, never its text, and exits with 3 (the API couldn't be reached or failed) or 1, instead ofWV-CLI-USAGE: Invalid invocationwith 2. A code the platform doesn't mint is printed asWV-HTTP. scripts/restore_database.pyrestores databases whose CHECK constraints combineBETWEENwith anotherAND, as the event trigger and alert tables do. It compares CHECK constraints as PostgreSQL parses them on the restored database, so restoring these tables isn't refused because PostgreSQL prints the same constraint differently after the restore; any real difference still refuses it. The restore's role needs theTEMPprivilege on the target database, which every role has by default.
AI and connections¶
- The pinned HTTP client that connectors use raises a destination name that
doesn't resolve as
httpcore.ConnectError, and a connection that doesn't open within the client's connect timeout ashttpcore.ConnectTimeout, as it already did for a refused connection, instead ofsocket.gaierrorandTimeoutError. The HTTP connector therefore reports a name that doesn't resolve asUNAVAILABLEwith the outcomenot_started, instead ofHTTP_FAILEDwith the outcomeunknown: the lookup fails before the request is sent. A connection that never opens is unchanged for the HTTP, HTTP profile, Telegram, and WhatsApp connectors: each gives the client its whole remaining deadline, so its own deadline ends first and it still reports a timeout with the outcomeunknown. Only a client whose connect timeout is shorter than the deadline now reports it asUNAVAILABLEwithnot_started. In a cluster, the operations runner keeps claiming while the API's name doesn't resolve or its connection times out, as it does while the API restarts.
Studio, desktop app, and CLI¶
- Studio says why it has no account, and keeps it true: the Runs tab, the banner, and the top bar read the same reason (session expired, account not recognized, platform unreachable, credential store locked, or a Studio window that needs a reload or was opened at another address). When a background sign-in is declined or canceled, the banner now says so and names the account you're still signed in with, instead of disappearing.
- When a background sign-in finishes as another person, a bulk action on Workers and the resend of a change refused for capacity now wait for Studio to check the new account, so nothing more goes out for the previous person's selection with the new person's credential.
WeaveClientraises a redirect from the API asContractError, with the same code (WV-HTTP) and status (502) as before, because the API never redirects; Studio's connection check now reports it asWV-STUDIO-IDENTITY.
Development and testing¶
- The local check gate (
scripts/check.py) rebuilds the core package in each worker suite's environment, so the Agentic and Files worker suites always test against the core in the checkout, as CI's fresh environments do.
Versions and schema¶
- Bump the Python package and browser Studio bundle to
0.1.0a19and the desktop product to0.1.0-alpha.19; the native internal installer counter is0.1.19. - Pin the Agentic and Files 0.1.11 packages to core 0.1.0a19. Neither worker has another change.
- Schema revision becomes
0042_operations_alerts, with two new migrations:0041_language_event_triggersand0042_operations_alerts. One role is added,alert_manager, whichweave platform upgrants to the local owner and no existing account gains. See upgrade a platform safely for what the upgrade involves and the behavior changes to check.
Verified on macOS (Apple silicon) before the release pull request: the full local check gate (17 stages, including the unit and contract tests, the Agentic and Files worker suites, and building, installing, and checking the 0.1.0a19 core and 0.1.11 worker packages). The release gate on the merge commit (integration tests against a real PostgreSQL 17 with Kafka, the release images, the process end-to-end tests, and the queue measurement) and the release acceptance profile against a real Docker platform run before the tag, and the release notes say what they verified. The desktop installers on Windows and Linux beyond their CI builds, Developer ID signing, and Apple notarization are not verified for this release. macOS installers remain ad-hoc signed and not notarized, and Windows installers remain unsigned.
0.1.0a18¶
Workflow language¶
- Workflow transactions run. A
transactionstep confirms its reservations once it goes ahead and undoes what went through, newest first, when a step fails, the run is canceled or it times out; the platform listsflow.transaction. When Weave can't tell what happened, the run stops behind a high-priority in-doubt incident that carries the transaction, and only a person's decision moves it: Retry the undo (the same operation key, a fresh time limit), Mark as reconciled with a record of how it ended (and the block's output when it completed), It happened or It didn't happen (accept_reconciled_failure) for the step that can't be undone, or Force end. Every decision but Retry needs thetransaction_reconcilerrole, a reason and evidence. A cancel can skip undoing (skip_undo, for reconcilers), undoing finishes at a full byte quota, and retiring an activation a running transaction may need is refused (WV-TXN-UNDO-PINNED) unless forced.runs.transactions(weave runs transactions,run_transactions()) lists a run's transactions, run summaries carry and filtertransaction_state, sixtransaction.*events leave through the outbox (subscriptions now select up to 12 types), andweave.transactionsandweave.transaction_phasescount them. Histories with transactions export and replay. Weave AI's guide names thetransactionstep. Migration0039_transactions_reservechanges only the catalog. - Debug sessions and
weave workflow simulaterun transactions. Confirms, cancels and undos take their own mocks, and a phase without one completes with{}when its output allows it. Scripted failures take aneffect,pendingkeys (--pending KEY) never answer, and theresolveandcancelcommands apply a person's resolution and a run cancel to the session only (WV-DEBUG-INCIDENTwhen one doesn't apply). The view lists each transaction undertransactions. A transaction no longer stops a session at its first step. Older clients ignoretransactions; an older server answers 422 toresolve,canceland requests withpending. - Steps can handle their own failures with the On error setting:
onError: continuegoes on with anulloutput, andonError: errorOutputruns the step'serrorPath, whose output becomes the step's output. Actions, AI tasks, transforms, decision tables, human tasks, signals, transactions and waiting calls accept it; the platform listsflow.onError. A handled failure is read at/steps/<id>/erroras{code, message, outcome, attempts, instanceKey, childRunId?}, opens no incident, records astep_failedevent and afailedstep change, counts in run facts (handled_errors) and inweave.step_errors, and exports and replays. Retries come first, and an unknown outcome of an action that changes data and is never retried still stops the run until a person resolves it, now also with Confirm it had no effect (accept_reconciled_failure, evidence required). Debug sessions andweave workflow simulate --error KEY=CODEmake steps fail on purpose. The compiler reportsWV-COMP-ERROR_PATH,WV-COMP-ERROR_PATH_OUTPUT,WV-COMP-ERROR_REFERENCE,WV-COMP-ON_ERROR_AMBIGUOUSandWV-COMP-CALL_MODEforonError. No migration. See Handle step errors.
Runs, incidents, and workers¶
- Steps can run for real in an environment.
POST {environment}/step-testsruns one step of a saved draft, an action or an AI task, as a test run of the normal runtime. Only its creator can read or cancel it with the step test API; its run is a test run thatrun.readandrun.cancelreach like any other. The server checks, before anything is written, the newstep_testerrole (step.test), catalog read on the project, the environment's test policy,connection.bindon each connection, the step's side effect (steps that change data needacknowledged_side_effect, every time), the input and the releases; a person runs at most 4 at once and starts 30 a minute per environment. Test versions and activations never appear in a list, lookup or compile catalog, expire with their run's timeout, and are purged once no run uses them. Each environment's test policy (GET/PUT {environment}/test-policy) is off until an administrator turns it on;weave platform upturns it on in the local demo environment and gives the local owner the role there. Migration0040_editor_step_tests. - A call step that waits for a workflow whose output is
nullnow gets thatnulland goes on. Before, the platform read thenullas a failed child and failed while delivering the result, so the calling run never moved on, and Studio stopped a simulated run at the call step and refused anulltest output for a call step with a 422. A result an operator accepts for a call incident may benulltoo. - Two changes to the same project at once, such as a failing parallel branch
and its sibling completing together, no longer answer 429
WV-OPERATION-CAPACITY. A change used to check its run's stored workflow artifact again for every check while it held the project's operation lock. Weave now keeps each checked artifact for the process (at most 64, and 64 MiB) and reuses it only for the same content, limits and language features. A task completion holds the lock about 76 ms instead of 220–330 ms on an idle host. - An operator's command, such as resuming a drained worker, no longer answers
429
WV-OPERATION-CAPACITYat once while worker and runner claim polls hold both of the API's slots for changes. A request that finds every slot of its kind busy now waits, in arrival order, up to 250 ms for one to free before it is refused, with the same code andRetry-After; reads, such as the readiness probe, wait the same way for theirs.
Operations¶
- A local platform connects a kind or k3d cluster on this computer as a
Kubernetes target.
weave platform cluster create --provider kind|k3d --name NAMEmakes a single-node cluster on a Docker network of its own, from the chosen provider's pinned tool (kind or k3d) and kubectl, which it downloads into the installation directory and checks by SHA-256, and connects itsweave-workersnamespace (--no-connectskips that).weave platform cluster connectconnects any namespace of such a cluster, up to eight targets per installation: it joins the platform to the cluster's network, points the nodes at the platform registry, applies objects rendered from code (Pod Securityrestricted, NetworkPolicies inweave-systemand the connected namespace that let only Weave's runner and workers there reach the platform, and no pod there reach the registry, a runner account limited to what its commands need, client secrets in owner-read-only files), proves the network rules with test pods before it registers anything, and starts a runner in the cluster. Pods in the cluster's other namespaces aren't restricted and can reach the platform's API, sign-in and registry, so don't run workloads you don't trust in a connected cluster. The worker Deployment starts at 0 replicas and then changes only through reviewed change requests.cluster listshows each cluster, target and runner, and--checknames drifted objects by kind and name without their values;cluster disconnectrevokes and removes a target,cluster deletedeletes a test cluster,doctor --clusterreports the pinned tools, anduppoints connected clusters at the platform's current addresses. Connecting a namespace again aftercluster disconnectenables the target it had, with its approval policy, and names that target in a progress line and asenabled_againin JSON output. Connect, disconnect and list resend a request for up to 60 s when the platform answers that it is busy.upprints aClusters:line with each connected cluster's state and, for anunreachableone, its reason (JSON:reason), and whenuporconnectcan't apply the platform's new addresses to a cluster, the platform leaves that cluster's network until a lateruporconnectsucceeds.weave platform statusshows a namespace whose connect stopped aspending; its JSONclustersmaps each namespace to its state. See Connect a kind or k3d cluster on this computer. - Kubernetes runners restart workers and take scale-downs, which remove exactly
the reviewed pods. Before it lowers the replicas, the runner gives each
reviewed pod the lowest
controller.kubernetes.io/pod-deletion-costand clears it from the pods it keeps; the receipt warns withWV-DRAIN-VICTIMSwhen a reviewed pod is still there. A restart (restart_workers) setsfirefly.weave/restarted-aton the pod template and succeeds when every pod is new and ready with the same image. Kubernetes runners now register adapter version 2, and a cluster runner may read, list, and patch the worker pods it marks for removal: grantget,list, andpatchon pods before you upgrade one. The runner image includes kubectl v1.37.2, pinned by checksum. A runner may reach the API over plain HTTP outside loopback when the private-origin policy allows itsrunnerpurpose for that address, and signs in through a loopback token relay (WEAVE_TOKEN_RELAY).deploy/kubernetes/worker.yamlgains the__WEAVE_WORKER_CONFIGURATION__annotation placeholder and reports its pod's namespace and node. See the upgrade notes.
AI and connections¶
- Weave AI explains workers, incidents, platform health and change requests
through the API and the SDK: attach a
worker,incident,environmentorchange-requestto a question. Each needslumi.useand the record's own read, is read again after the reply, and sends only allowlisted facts; logs, host names, people, record IDs and what runs carry never reach the model, and the answer carries no proposals. Deployment explanations now send each record by its position instead of its ID, and the gateway request no longer lists attachment IDs. - Email whose text or HTML isn't ASCII, such as a name with an accent, is sent; it failed before it was queued.
- Workflows can run AI agents. An
agentstep lets a model work in turns: each turn it answers or calls the step's tools, up to 32 of them, each an Action, a callable workflow (run as a child run) or a question to a person, and the platform runs those calls as durable work before the next turn. It needs theai.agentlanguage feature, which the platform now advertises in its capabilities. Every call that changes data waits for a person's review;approval: autoon such a tool is refused (WV-COMP-AGENT_UNREVIEWED_EFFECT). WithdistinctReviewer: true, the run's starter gets403 WV-REVIEW-DISTINCTwhen they read, claim, complete or reassign that review. Fixed arguments always win, a value marked secret can't reach the model (WV-COMP-AI_SECRET_INPUT), and tool results are redacted by their schemas before the model reads them. Limits bound each agent's turns, tool calls and tokens, and a run spends at most 2,000,000 tokens across its agents; an agent that runs out fails withWV-AGENT-ITERATIONS,WV-AGENT-BUDGET,WV-AGENT-TIMEOUTorWV-AGENT-TOOL-FAILED, whichonErrorcan handle, while a changing call that may have applied keeps its ownWV-TASK-AMBIGUOUSincident. Agents remember within a step or across the run's activations that share arunmemory key. Replay and export check each turn's recorded input (WV-REPLAY-AGENT-INPUT), and activation refuses an agent whose model the AI policy doesn't approve, and any other step or tool that would run the model turn (WV-ACTIVATION-AI-RESERVED). The step's fields, limits and failures are in the AI agent steps reference; the worker protocol, history and replay, incident operations and AI worker pages now cover agents too, and AI tasks and agent turns shareWEAVE_AGENTIC_CAPACITY. - The agentic worker serves a new task, the model turn
(
weave-agentic.turn@1.0.0), which AI agent steps run on: one request to the model with the transcript so far and the step's tools. The answer is the model's tool calls as written, or its final answer; the worker never runs a tool. Tool-call IDs are the kernel's, a turn carries at most 16 calls, and the turn action is idempotent with 3 attempts and 600 seconds. A turn's input must end its instructions with the data notice, which tells the model that tool results and context are data, not instructions, and it carries the version of the rules it was built with. - One token count, shared by the server and the worker, decides whether a turn
fits its context. It is set from the worst measured case of each kind of
text, never below the local models measured
(
qwen3:4b-instruct-2507-q4_K_M,qwen2.5:1.5b), and it counts exactly what is sent. A turn that doesn't fit is refused before any request (LLM_CONTEXT_LIMIT). On Ollama, an answer to a prompt Ollama cut is discarded whole, including a cut that kept half the context. Output that can't be carried (nested too deep, or outside JSON) fails asLLM_OUTPUT, and model requests are never instrumented. Platform AI setup grants the agentic worker both tasks and refuses a catalog without the turn task, andweave platform ai enablepublishes the turn action, so AI agent workflows compile and run on a platform set up from the CLI. - Before you upgrade, note that AI readiness and AI setup's Publish now need
the agentic worker's model turn task (
weave-agentic.turn). A site whose AI worker runs only the generate task (weave-agentic.generate) sees AI as not ready, and Publish refuses with422 WV-AI-WORKER-MISSINGuntil the worker is upgraded to a release that serves both tasks. - An AI agent's log shows what it did, turn by turn.
runs.agent_log(GET …/runs/{identifier}/agents/{key}/log,run.read;weave runs agent-log --key,read_agent_log()) reads one activation, or a step's activations in loop order, 20 to a page: each turn's tokens and time, the tool calls the model asked for and how each ended (succeeded,failed,refusedwith the code the model read,rejectedorexpiredwith the review), and the final answer. Arguments, outputs and the answer are classified by the tool's and the step's schemas. A value marked secret is left out with its reason, and a tool name the model wrote is shown escaped. Values past a page's 8 MiB are left out withresource_limit, so an activation of any size can be read. - AI agents run in simulations, in debug sessions and in Studio's Execute,
without a model or their tools. Saved turns (
agent:mocks, from Studio'saiTurns) answer the agent's turns one by one, andtool:AGENT/TOOLmocks answer its tool calls, one value for every call or asequencetaken in order;node:keys still win, for one call or as the agent's pinned output. Tool mocks are checked against every schema a live run checks the tool's result with, the connector's or worker's included, and a mock of one call is refused when any of the agent's tools marks a value in it secret. Turns that call a tool the agent doesn't declare, or with arguments that don't fit, and call keys past the agent's limits, are refused before the simulation starts (WV-DEBUG-MOCK-OUTPUT,WV-DEBUG-MOCK-KEY), and turns that run out stop it on that turn (WV-DEBUG-MISSING_MOCK). A call that needs a review waits untilhuman_decisionanswers its review key, such assupport#1.1.review, unless the saved turns sayautoApprove. Studio's Execute ships the agent's turn action, asks for each unanswered review or question by its title, and refuses a value marked secret in a tool mock or a saved call's arguments. Live runs never read saved turns, tool mocks orautoApprove. - An AI agent tool of a kind the platform doesn't know is refused when an artifact is loaded, even when it carries a person's forms.
- When Weave AI proposes a change to an existing AI agent step, it keeps every
safeguard the proposal leaves out, also when the proposal renames the step or
a tool, moves a tool to another agent, or points a tool at another version of
its action or another connection to the same connector: a tool's fixed
arguments, approval and person, the review the tool really gets (its own or
its step's), and the step's limits, memory and error handling. A tool that
keeps its name but runs another action is also held to the draft's tools of
that action, so swapping two tools' names keeps the stricter safeguards on
each. Weave AI never loosens a safeguard: a tool failure that stops the agent
stays; memory keeps the draft's scope unless the proposal narrows it, and the
draft's key unless the scope becomes
step; and its window and context size keep the lower value. A change that would loosen one is not applied and the answer says so. A proposal Weave AI withholds, and a draft whose safeguards it can't read, are named first in the answer. Weave AI can also ask that a different person than the run's starter approves an agent's data-changing calls (distinctReviewer). - A transaction step's undo action (
confirm,cancelorcompensate) can't run an AI model: the compiler refuses one that does (WV-COMP-AGENT_ACTIONat itsuses), and activation refuses it too (WV-ACTIVATION-AI-RESERVED), since an undo has none of an AI step's guards. - Testing a
weave-http@2connection now sends oneHEADrequest to its base URL with the connection's sign-in, through the same egress rules as its actions, and says why it failed (reason); bindable connection items name an HTTP connection's origin. In Studio, the button is now Test connection, names the host it calls, and says whether the host was unreachable, not allowed, refused the sign-in or answered with an error.
Studio, desktop app, and CLI¶
- Studio's editor has a Runs tab: a workflow's runs in the environment you work in, the chosen run drawn on its canvas, and each step's recorded data in read-only step details.
- Debug in editor and Copy to editor turn a run's data into the draft's test data and execute the workflow with it, stopping where the run failed; values marked secret are left out and named. Operate's run detail opens a run in its workflow's newest draft, and offers to create one when there is none.
- At 767 px and below, the editor's four views (Designer, Source, Outline and Runs) fold into one view switcher on the workflow name's row, so the name and the 44 px settings gear keep their room on phones and small tablets; from 768 px up the views stay tabs.
- The new editor is now on by default; turn it off in Settings › Preferences to use the classic designer.
- Decision tables open in a spreadsheet grid that fills the step's Parameters
card, with a short cell language, keyboard editing and pasting from
spreadsheets. Try an input uses the step's Input and Output panes: as you
type test values in Input, the grid marks the rules that match and Output
shows the result, checked by Weave on the Studio host
(
POST /studio/local/decision/evaluate), with no platform needed. - Table drafts are kept on this computer until you publish them with Publish table; a workflow that uses one waits for it.
- Published actions offer Change in a new version for retry, timeout and the request.
- Weave clients no longer present a refresh token within two seconds of
obtaining it, so Keycloak's whole-second stale-token check refuses every
replaced refresh token. Credential records now keep when their tokens were
obtained; an earlier client cannot read such a record and reports
WV-AUTH-STOREuntilweave auth loginsigns in again. - A request can name the person it was made for in
X-Weave-Principal; when the token now belongs to someone else, the platform refuses it with 409WV-PRINCIPAL-CHANGEDbefore anything runs.
Development and testing¶
- Acceptance runs in the
clusterandk3dprofiles make their own single-node kind or k3d cluster,weave-acc-RUN_ID, withweave platform cluster create --no-connectand a private kubeconfig, and delete it before the platform; these profiles need a run ID of at most 22 characters. The bring-up journey checks the pinned kubectl and cluster tool, collect keeps the cluster's objects and runner logs (redacted),--block-egresslimits the nodes to their own network, and the evidence records the tool and Kubernetes versions (k3d joins kind).pytest -m real_operations tests/e2e/test_operations_cluster.pyon a keptclusterork3drun proves connect, scale with drain, restart, network reach, the runner's permissions, two namespaces, reconnect and the client-secret scan. A newclusterCI job runs them on pull requests that change the operations, deployment, worker or runner code, migrations, the platform SDK or CLI, the Studio operations pages, the cluster journeys, the Dockerfile or the pinned tool versions, and on a manual run with theclusterork3dprofile. - Every workflow action is pinned to a full commit, and six actions move to their current major releases. Tag builds of Checks and Desktop installers restore no caches, and the desktop installers build with the pinned Rust 1.96.0 toolchain.
Versions and schema¶
- Bump the Python package and browser Studio bundle to
0.1.0a18and the desktop product to0.1.0-alpha.18; the native internal installer counter is0.1.18. - Pin the Agentic and Files 0.1.10 packages to core 0.1.0a18. The Agentic worker also adds the model turn task and the shared token count; the Files worker has no other change.
- Security: aiohttp is updated to 3.14.4 (CVE-2026-111064, CVE-2026-111066, CVE-2026-123817) in the Teams extra and the Agentic worker.
- Security: the Agentic worker updates dnspython to 2.9.2 (CVE-2026-114605, CVE-2026-128089), filelock to 4.2.1 (CVE-2026-112940) and pyasn1 to 0.6.5 (CVE-2026-119194 to CVE-2026-119197).
- Security: the Agentic worker updates temporalio to 1.35.0, whose bundled Rust extension no longer includes zip 8.6.0 (CVE-2026-115905, CVE-2026-115907 to CVE-2026-115909); the worker never loaded that code.
- Schema revision becomes
0040_editor_step_tests, with two new migrations:0039_transactions_reserveand0040_editor_step_tests. One role is added,step_tester, whichweave platform upgrants to the local owner in the demo environment only and no existing account gains. See upgrade a platform safely for what the upgrade involves, the behavior changes to check, and what to do before a rollback.
Verified on macOS (Apple silicon) before the release pull request: the full local check gate (17 stages, including the unit and contract tests, the Agentic and Files worker suites, and building, installing, and checking the 0.1.0a18 core and 0.1.10 worker packages). The release gate on the merge commit (integration tests against a real PostgreSQL 17 with Kafka, the release images, the process end-to-end tests, and the queue measurement) and the release acceptance profile against a real Docker platform run before the tag, and the release notes say what they verified. The desktop installers on Windows and Linux beyond their CI builds, Developer ID signing, and Apple notarization are not verified for this release. macOS installers remain ad-hoc signed and not notarized, and Windows installers remain unsigned.
0.1.0a17¶
Workflow language¶
- The workflow language gains transactions. A
transactionstep groups steps that change other systems, and each of them says how it is undone:confirmandcancel(reserve, then confirm),compensate(an action or a called workflow that reverses it), orirreversible: true. The compiler checks every path before publishing: a step that changes data must say how it is undone (WV-COMP-TXN_UNDECLARED), nothing that can be undone may follow a step that can't (WV-COMP-TXN_ORDER, with a suggested edit), undo actions must be safe to retry, called workflows needtimeoutSeconds, and reservations must outlast the step that can't be undone (WV-COMP-TXN_HOLD_PIVOT), among otherWV-COMP-TXN_*rules; importing an artifact checks the ordering, placement, undo and hold rules again. Undo steps read/participant/operationKey,/participant/outcome,/transaction/idand/transaction/businessKey. Transactions compile to theflow.transactionfeature, which this platform does not offer yet: it refuses to publish, import or activate a workflow with a transaction (WV-IR-UNSUPPORTED), and workflows without one compile to the same bytes as before. Also new: actions may declaredefiniteFailures(codes that mean nothing was applied) andtransactionAware; a worker failure may reporteffect: none, andeffect: nonewithoutcome: unknownis refused (422 WV-COMPLETION-EFFECT); claims acceptworker: {release, transaction_aware}; workflows may declarespec.eventTrigger, which this version defines but does not compile yet; andweave schema exportwritesplatform-event-v1.weave workflow explainandweave workflow graphshow transactions. The language manifest gainsstep_fieldsand new feature names, so upgrade CLIs and SDKs together with the server: an earlier CLI or SDK can't read this server's manifest, while this CLI or SDK still reads an earlier server's (see language manifest compatibility). - Simulations and debug sessions run workflow calls. A waiting Call a
workflow step takes a mock for its whole result under
node:CALL_ID(ornode:notify[2]for one iteration): the called workflow's output, or the{status, runId, output, error}envelope withonFailure: continue. Without a mock, a request whose newworkflowsfield gives the called version's artifact runs that workflow in a frame with its own mocks, and its outcome reaches the caller as in a real run; a detached call's frame runs too, or is listed asnot_simulated. The debugger view addsframesandselected_frame, boundaries inside a called workflow carryframe, and all three are omitted when no call ran.nextsteps into called workflows, a breakpoint such asnotify/recordstops inside one, the newstep_outcommand returns to the caller, andsignalandhuman_decisiontake aframe. Server sessions accept"resolve_workflows": trueto load published versions (withcatalog.read), andweave workflow simulatetakes--workflow REF=ARTIFACT.jsonand prints one line per called workflow. New codes:WV-DEBUG-WORKFLOWandWV-DEBUG-FRAME. A waiting call without a mock or its workflow still answersWV-DEBUG-MISSING_MOCK, now with a hint. Upgrade the SDK together with the server to read debug views with frames.
Runs, incidents, and workers¶
- Workers declare per release whether they report failures that applied
nothing: the first claim that sends
worker: {release, transaction_aware}fixes the answer for that release, and a claim naming another release than the one the worker registered with, or changing the answer, is refused (409 WV-WORKER-RELEASE). Leases of tasks that belong to a workflow transaction carrytransaction(its ID, the operation key of the step, the phase and how the step is undone). The runtime that runs transactions is in place: it confirms or cancels reservations, undoes finished steps after a failure, and keeps a run open until its transaction is settled. This platform does not offerflow.transactionyet, so workflows with atransactionstep still cannot be published. Migration0037_language_transactionsadds the storage transactions use and thetransaction_reconcilerrole, granted to the local owner and to no existing account.
Operations¶
- Operations work out of the box on the local Docker platform, and every
infrastructure change can go through a reviewed change request.
weave platform upstarts a local registry, admits the sleep fixture workerexample-sleep@1.0.0, writes a workers project withfixture-workerat 0 replicas and starts a hardened runner for the targetlocal-docker(--no-operationsskips it;doctorexplains that the runner controls the Docker engine). A change request observes the target, plans, waits for an approval, lets the workers it removes or restarts finish their tasks, applies and follows the runner; an expired or stale one is re-observed and re-planned in one step, and ended ones are kept 90 days. New: thedeployment_change_requestsoperations,weave operations change-requests, therestart_workersintent, thechange_request.transitionevent, and Studio's change request wizard, progress view, approvals inbox with countdowns, Clusters badge and notice. Targets need a second approver unless an environment manager turns it off (local-dockerturns it off); the requester and the planner getWV-APPROVAL-SELF. Any plan that lowers worker replicas removes exactly the reviewed workers, and only Compose runners of this release take such plans. Removing or restarting workers that no registered worker matches (WV-DRAIN-UNKNOWN) needs an audited reason. For seven days, a repeatedIdempotency-Keyon principal creation answers the principal it created, as it is now. Migrations0034_operations_change_requestsand0035_principal_idempotencyadd empty tables; see the upgrade notes for the approval change and the runner upgrade. - Run metrics: Operate › Metrics in Studio shows runs started, success and
failure rates, p50 and p95 run duration and the oldest ready task for a
range (1 hour to 30 days) and optionally one workflow, with charts of
throughput, failure rate, durations, ready tasks by task type, outbox backlog
and worker utilization, a table of workflows with their steps, table views of
every chart and CSV export. Overview gains a line for the last hour under
each Load figure and a Last 24 h band. The platform keeps the figures
itself: the operations loop rolls finished runs and steps into 5-minute,
hourly and daily histograms and samples shared capacity every minute; test
runs never count. New reads
run_statistics.series,.workflowsand.steps(status.read;weave operations statistics), errorsWV-STATS-RANGEandWV-STATS-SERIES, and the summary's optionalruns_24h. Migration0038_operations_statistics. - The server always finishes shutting down. Sometimes a cancellation reached a
background loop while one of its database statements was running. The
driver's error for the interrupted connection could then replace the
cancellation, the loop went on polling, and shutdown waited forever. This
showed up after a restart under load. Every background loop now stops at a
pending cancellation. This also covers the provider scan, recovery, and
compatibility refresh, which no longer count a shutdown as a provider
failure. Each close waits at most
shutdown_timeout_seconds(10 seconds by default), then reports the loop that did not stop.
AI and connections¶
- Weave AI runs on a local Ollama model. It works on a keyless connection such as
ollama-local, sending no credential, andweave platform ai enableturns it on with the tested model unless Weave AI is already set up. Each request is sized to the model's context: compact (under 16k tokens) sends a short guide, the draft whole when it fits (otherwise an outline with the selected step whole) and the last four messages in at most 4,096 tokens; standard and full send more. Context size on the Weave AI card overrides the choice. On Ollama, which cuts a long prompt silently, Weave AI counts each request conservatively (identifiers, digits and text outside ASCII densely) and refuses one that may not fit before the model withWV-LUMI-CONTEXT-LIMIT; on Ollama 0.40 or later an answer whose prompt count shows the model saw only part of the request is not used either. - A run attached to a Weave AI question carries only its run facts (workflow, status, times, failed steps with error codes, open incidents and the last five steps), never its input, outputs or logs.
- Weave AI's proposals are checked on the server;
lumi.askreturns each withdiagnostics, its error count, and Studio offers Ask Weave AI to fix. Clients that validate answers strictly must be upgraded with the server. - Asking Weave AI answers model failures with their own problem codes:
WV-LUMI-MODEL-NOT-FOUND,WV-LUMI-UNREACHABLE,WV-LUMI-CONTEXT-LIMIT,WV-LUMI-OUTPUTandWV-LUMI-TIMEOUT, withWV-LUMI-CAPACITYfor busy and rate-limited providers, instead ofWV-LUMI-UNAVAILABLEfor all of them. - The local platform runs Ollama 0.40.6 (was 0.12.3). Weave AI asks thinking
models such as
qwen3to answer without thinking only on Ollama 0.40 or later, since Ollama 0.12.3 refuses that setting for every model; on an older Ollama a thinking model that cannot answer says to upgrade Ollama. - On Ollama, which cuts a long prompt silently, AI tasks count identifiers,
digits and text outside ASCII (such as Chinese or emoji) conservatively when
they check that a prompt fits the model's context, and an answer whose prompt
count is below what the whole prompt can count fails with
LLM_CONTEXT_LIMITinstead of being returned. The check covers the task's first model call; the later calls of a reasoning pattern or of the retry with the format in the prompt are not checked again. Other endpoints refuse an oversized prompt themselves and keep the earlier count. - Weave AI keeps small local models from looping: compact requests answer in at
most 512 tokens, the instructions ask for a brief answer, Ollama endpoints get
a frequency penalty, and an answer that starts repeating itself is stopped
early with
WV-LUMI-OUTPUTand advice to use a larger model or less history. - The AI task in step details takes its model connection first. Model lists
the approved models of every AI connection you may use, grouped by connection;
choosing one writes the step's own AI settings, the
aiconnection slot and the built-in action in one change. A new AI task answers in text with up to 1,024 output tokens, and the canvas card asks for a model instead of listing errors until one is chosen. Structured results, output tokens, temperature, reasoning and shared settings are under Add option; the timeout is on Settings. - AI tasks whose result is plain text are asked for text, with no output tool or
response format, which small local models answer more reliably. This applies
to published workflows too: the answer is the model's own text with leading
and trailing whitespace removed, closed
<think>…</think>reasoning blocks are removed wherever they appear, and an answer cut off at the output token limit fails withLLM_LIMITinstead of being returned. Steps still receive a string, but models are more likely to wrap an answer asked for as JSON in a code fence, so a later step that parses JSON from it may need a structured result instead. When an endpoint refuses a native response format, the worker asks once more with the format in the prompt; that refused request counts as one of the step's model calls.
Studio, desktop app, and CLI¶
- Studio keeps test data for each workflow: the trigger's test input and
pinned output on steps. Step details offer Pin output, Edit output
(a JSON editor), Unpin with Undo and Generate sample; the Input pane
shows values beside each field; formula previews read pinned output; tiles
and the Output pane mark pinned output that may be out of date, with Keep
pinned. P pins or unpins in step details and on the canvas. Pinned
output follows copy and paste, renames and deletions, and the simulation
starts from it. Save to file adds
<name>.testdata.json, asking first about data recorded from runs. - Platform drafts save themselves and keep their canvas and test data on the
platform (
studio_documents.read,.saveand.delete). Test data recorded from runs needsrun.readin each environment it came from, and secret values are refused with document pointers only. Migration0036_editor_studio_documents. - The desktop app keeps local drafts and their test data in a private store, so they survive quitting.
- Studio keeps everything it stores on this computer under account, local or preference prefixes, and deletes a platform's keys when you sign out of it or remove it. Remembered run-form values from earlier versions are removed.
- With Try the new editor on, Execute step, Execute previous steps
and Execute workflow simulate in Studio, on this computer, without a
platform: step details, the trigger's button, the editor bar and
Ctrl+Enter / Cmd+Enter. They use pinned output, the last results, the
test input (or a sample of the input fields) and saved AI turns; actions
nobody has run on stubs. The canvas plays the run back, finished steps show a
line such as "3 fields," the Output and Input panes show what each step
returned and received (Schema, Table and JSON), and a decision lists its paths
as taken, not taken or not checked. Last results stay on this computer under
your account and are marked out of date when the step changes. The Studio
host serves
POST /studio/local/debug/executeand step-through sessions under/studio/local/debug/sessions, behind its session and CSRF checks. - The run log replaces the simulation panel in the new editor: it lists what ran, opens each step, marks results out of date, asks for a signal or a decision the test data doesn't answer, and steps through breakpoints set with F9. L shows or hides it; I and O open an entry's data; ? in step details lists the keys.
- Test answers for signals and human tasks: a payload (and when it arrives), a decision and its data, or letting the step time out or expire.
- Executing no longer publishes a workflow's own actions first; their documents go to the Studio host instead.
- A simulated run whose deadline passes now fails at the step that waited, and a call to another workflow without test data stops for test data.
- Recorded AI turns in Studio test data follow a published schema,
urn:firefly-weave:schema:studio-ai-turns:v1, and a simulated AI task replays its saved final turn, with no usage, unless the step is pinned.
Development and testing¶
make checkallows its unit and contract stage 60 minutes, for about 8,700 tests.- The release acceptance profile builds the operations runner and the sleep
fixture worker from the prepared release inputs, as
weave platform updoes, and removes only the images its own platform built, by ID. The workflow call simulation, Compose operations and metrics journey steps now run, and the grants journey covers the operations added in this release. - The Agentic worker's test that a pre-provider timeout never settles after its authority ends starts the short lease when execution starts and counts expiry from the observed capacity retry, so slow machines no longer time it out.
Versions and schema¶
- Bump the Python package and browser Studio bundle to
0.1.0a17and the desktop product to0.1.0-alpha.17; the native internal installer counter is0.1.17. - Pin the Agentic and Files 0.1.9 packages to core 0.1.0a17. The Agentic worker also adds the AI changes above; the Files worker has no other change.
- Update certifi to 2026.10.23 in the core package and both workers, which removes root certificates whose intermediate keys were compromised (GHSA-6q48-6c7w-9gw2), and authlib to 1.9.1 in the Agentic worker, which no longer accepts a JWS JSON object without signatures as verified (GHSA-6v38-4h7w-rj9h).
- Schema revision becomes
0038_operations_statistics, with five new migrations:0034_operations_change_requests,0035_principal_idempotency,0036_editor_studio_documents,0037_language_transactionsand0038_operations_statistics. One role is added,transaction_reconciler, which new local installations grant to the local owner and no existing account gains. See upgrade a platform safely for the upgrade times, the behavior changes to check, and what to do before a rollback.
Verified on macOS (Apple silicon) before tagging: the full local check gate (17 stages, including 8,947 unit and contract tests, the Agentic and Files worker suites, and building, installing, and checking the 0.1.0a17 core and 0.1.9 worker packages); Studio's type check, 2,687 unit tests, and production build; 1,174 integration tests against a real PostgreSQL 17 (three of them on a second run, after the first test server ran out of disk); the migration rehearsal in the upgrade notes; and the release acceptance profile against a real Docker platform with PostgreSQL 17 and Keycloak 26.7.4, where J0, J1, J5, J8, and J9 steps passed (20 in full and 8 with checks for later capabilities skipped), the Operate checks against the real platform passed, the secret scan found nothing, and no container, network, or volume was left behind. The first acceptance run failed one Operate check, which expects the newest run first after Refresh, while the host was under heavy load; the second run passed it. Integration tests that need Kafka, an owned PostgreSQL connector target, CLI identity against Keycloak, or built release images did not run, and three timing-sensitive tests (concurrent publication, the due-scan refresh budget, and two simultaneous incident resolutions) passed only some of the time under the host's load. The release gate with real Kafka and release images, the acceptance journeys beyond those steps, the desktop installers on Windows and Linux beyond their CI builds, Developer ID signing, and Apple notarization are not verified for this release. macOS installers remain ad-hoc signed and not notarized, and Windows installers remain unsigned.
0.1.0a16¶
Workflow language¶
- The compiler checks and compiles Call a workflow (
callWorkflow) against the exact published version it calls: that version must opt in withspec.callable(any workflow, or onlyallowedCallers),withis checked against its input schema, abusinessKeymust be text of 1 to 200 characters, and the step returns the called workflow's output, a{status, runId, output, error}envelope withonFailure: continue, ornullwithmode: detach. New diagnosticsWV-COMP-UNKNOWN_WORKFLOW,CALL_NOT_CALLABLE,CALL_RECURSION,CALL_DEPTH(more than 8 calls deep, the new compiler limitmax_call_depth), andCALL_MODEpoint at the field to fix. The called version is locked as an interface dependency: the caller's artifact carries that version's definition, so its digest matches the published one, but compiling, importing, and activating the caller read only its input and output schemas. Activation takesworkflow_activation_ids, one live activation of each called version in the same environment, and refuses wrong or missing pins with422 WV-READINESS-CALL. Workflows without calls compile to the same bytes as before.weave workflow explainandweave workflow graphshow calls, and the SDK'sWorkflowBuilder.with_callable()writesspec.callable. - Workflows can call other workflows. A Call a workflow step starts the
exact version it names as a separate child run of the pinned activation, under
the calling run's principal, which must still hold
run.start. A waiting call returns the child's output, or withonFailure: continuea{status, runId, output, error}envelope; withstop, a failed child fails the caller with the child's code, and a cancelled or timed-out child opensWV-CALL-INTERRUPTED. A call that cannot start opensWV-CALL-START(orWV-CALL-DEPTH);retry_safestarts a new child, and only the newest child's result is used. Cancelling a caller cancels its waiting children and theirs; detached children keep running, also after their caller finished. The platform now listsflow.callWorkflowandcallWorkflow, publishes, imports and activates workflows that call others, and recordscall_completedevents that replay from the caller's own history. New:RunView.caller,GET …/runs/{id}/calls(weave runs calls,run_calls()in the SDK),weave definitions activations create --pin-current-calls, theweave.callscounter withcall.dispatchandcall.deliveryqueue ages, and the "Call another workflow" guide. Migration0033_language_workflow_callsadds two empty tables and changes no existing row; it adds the call rules to run purging and charges call rows to each run's reserved control capacity, so cancelling or timing out a run that takes part in a call still works at a full byte quota, as for any other run. A run cannot be purged while its calls run or before its result reached its caller (WV-RUN-PURGE-BLOCKED). Upgrade CLIs and SDKs together with the server: older clients reject the newcall_completedevent type andcallerfield when they validate history and runs. - The compiler checks and compiles Loop over items (
forEach):/item,/index, and/loops/<id>/…inside a loop body, a typed list of results after it,WV-COMP-LOOP_*diagnostics for wrong items, scope, nesting, limits, and signals in a body (with a suggestedmaxItemsfor a loop budget that is too high), and an IRforEachnode with aneachedge and aneachjoin that requires theflow.forEachfeature. A platform that does not list the feature refuses to publish, import, or activate such a workflow withWV-IR-UNSUPPORTED; workflows without loops compile to the same bytes as before. The compiler limits addmax_loop_items,max_loop_depth, andmax_run_iterations. Studio's local host answersPOST /studio/local/scopewith the data a field may use, including the current loop item and position. - Loops run. A Loop over items (
forEach) step runs its body once per element,concurrencyat a time, in one run, and its output lists one result per element in element order, whatever order the iterations finish in. Each iteration's steps, tasks, human tasks, waits, and incidents use their own instance key (send[2]); a task incident in one iteration suspends the run, afailstep in one fails it, and canceling ends every iteration. Finished iterations are removed from the run state. Anitemsvalue that is not a list, more elements thanmaxItems, or results over the 1 MiB payload limit openWV-RUNTIME-LOOP-ITEMS,WV-RUNTIME-LOOP-LIMIT, orWV-RUNTIME-LOOP-OUTPUT. A long loop yields after 4,000 units of work in one event and continues about one scanner poll later; the capabilities response reports the budget asoperations.runtime.loop_units_per_turn. The platform now listsflow.forEachandforEachin its language manifest and capabilities, so it publishes, imports, and activates workflows with loops. Debug sessions run loops with the same reducer. New countersweave.loop_iterations(status: okfor each collected result,cancelledfor each iteration still running when its run ends) andweave.loop_yields. Upgrade the CLI and SDK together with the server: older clients do not know the human taskinstance_keyanditerationfields or the new capability fields. - Evaluating an expression inside a loop body and admitting a long event no longer walk data that has not changed since the event started, so a loop's cost grows linearly with its number of elements.
- Run state, history, tasks, deadlines, and incidents name each run of a step by its instance key, which equals the step ID outside loops, so existing workflows keep byte-identical transitions and history. Deadline scans, incident resolution, replay, exported history, and debug sessions find the step behind any instance key.
- Human task views add
instance_keyanditerationfor tasks created inside a loop iteration; both are omitted for every other task. - The capacity check of one event's work runs at its end and after every 64 steps or 1 MiB of new step output, instead of after every step. Work over capacity is still refused, but the refusal can happen at a later step of the same event, and when a later step of that event fails, the run opens that step's incident instead.
- Simulations and debug sessions address loop iterations. A mock under
node:send[2]answers iteration 2 ofsendonly and wins overnode:send, which wins overaction:mocks; a breakpoint onsend[2]stops before that iteration only, whilesendstill stops every iteration. Keys must give one position per enclosing loop, below itsmaxItems(WV-DEBUG-MOCK-KEY,WV-DEBUG-BREAKPOINT). The debugger view addsloops(each loop instance'scount,completed,running,next_index, andstatus) andselected_scope(theitem,index, andloopsvalues the selected step reads); both are omitted for workflows without loops.WV-DEBUG-MISSING_MOCKnow hints at the keys that would answer the step, andweave workflow simulateprints one progress line per loop. A long simulation checks its session size every 64 boundaries or 1 MiB of new output instead of after every boundary, so a 2,000-element loop simulates in seconds instead of a minute. A debug session orweave workflow simulatefor a workflow whose language features this version does not run now answersWV-IR-UNSUPPORTEDnaming the missing features, as publishing does, instead of a generic validation error: a server lists them inresult.missing_featureswhen a session is created, read or sent a command, and the CLI lists them in its message. Upgrade the SDK together with the server to read debug views of workflows with loops.
Runs, incidents, and workers¶
- Serve bounded run summaries and classified step timelines with fresh scoped authorization. Timeline output remains optional; legacy timings stay unknown. Logs remain unavailable with HTTP 501.
- Change
runs.listto newest-started-first order. Existing v1 cursors remain supported with explicitorder=id; chronological orders use v2 cursors. Update-time pagination is a live view and may require a refresh after changes. Restored executions reappear in every order. runs.listaccepts the run summary filters and leaves out test runs unlessinclude_test=true. It rejects unknown query parameters, and an out-of-rangelimitanswersWV-VALIDATIONinstead ofWV-PAGE. Pages stay limited to 8 MiB of retained run data.- Step timeline outputs are limited to 8 MiB per page (
429 WV-PAGE-LIMIT). Outputs of agent, tool or yield instance keys stay withheld until they have their own schemas. A run waiting for a platform that runs it answers422 WV-IR-UNSUPPORTEDasruns.readdoes. - The scheduler re-checks stored run listing decisions in the background: runs
recorded while this platform could not run them, which it now runs, and
available or unsupported decisions recorded under an earlier classification
policy. Unavailable decisions stay unavailable. Each minute it visits up to 16
tenants and gives one environment of each up to one second of database work
and at most 100 runs. Until a run is re-checked, run summaries, step timelines
and incident lists keep withholding it, even when
runs.readserves it again: its timeline answers422 WV-IR-UNSUPPORTEDwhen this platform runs it again, and409 WV-LEGACY-UNAVAILABLEwhen it was recorded under an earlier policy. A retained run larger than 128 MiB is recorded as unavailable without being read. - The Python SDK's
list_runsrejects aquerycombined with keyword filters. - Request telemetry records authorized
501 WV-UNAVAILABLEanswers with the statusunavailableinstead offailed. - A new run's
startedhistory event records how the run started asorigin, the value run summaries report. History pages and exports include it, and replay accepts it. - Serve incident lists from incident facts without loading runs, newest opened
first. They filter by status, code, workflow, step, opening time, and test
runs (left out unless
include_test=true). Explicitorder=idcontinues earlier cursors. Unknown query parameters are rejected, and an out-of-rangelimitanswersWV-VALIDATIONinstead ofWV-PAGE. - New operation
incidents.read(weave runs incidents read, SDKread_incident) serves direct incident links and sends the revision asETag. - Incident views add optional
opened_at,opened_at_estimated,updated_at,workflow,run_status,test, andinstance_key; for a repeated step instance,node_idis the static step ID. Upgrade CLIs and SDKs with the server: earlier releases reject the new fields and fail with502 WV-WIREon incident lists. Resolution receipts,incidents.resolveanswers, and the earlier plain array of a run's incidents keep their bytes. A resolve answer is the incident as stored, so read it again withincidents.read. - An incident on a switch or parallel branch output or a join keeps its
control-step
node_idin incident lists and reads. An incident whose step does not match its incident facts is withheld as unavailable. - The Python SDK's
list_incidentsandrun_incidentsaccept a typedqueryand reject one combined with keyword arguments. - Workers report where they run when they register: an optional, bounded
identitywith host, runtime, versions, platform, Kubernetes namespace and node, and up to 8 labels fromWEAVE_WORKER_LABELS(WEAVE_WORKER_REPORT_HOST=falseleaves out the host). The Agentic and Files workers and the SDK'sregister_workersend it and retry once without it when an older server answers422 WV-VALIDATION; native executors send it inside the API process. With native executors configured, an invalidWEAVE_WORKER_LABELSstops the API from starting. New SDK helpers:worker_identityandregister_worker_http. - Worker reads, lists, and drain or resume answers add optional
identityandregistered_at. Upgrade CLIs and SDKs with the server: earlier releases fail with502 WV-WIREon workers registered after the upgrade. The registration answer and stored worker records keep their bytes, and a worker cannot report a placement. - Deployment observations list up to 100 live
membersof each worker component: running or starting Compose containers and Kubernetes pods, with host, ordinal, state, readiness, start time, restarts and node. Stopped, terminating, finished, failed and evicted ones are left out. With more than 100 live members, or when the runner cannot list them all,membersis left out (placement unknown) and the observation still succeeds. Kubernetes runners read members through the deployment's selector, including set-basedmatchExpressions, and needliston the namespace's pods. Observations without members keep their bytes and digests. - Upgrade the server before its deployment runners: an older server refuses the
membersan upgraded runner reports, so observe jobs fail and applies endreconciliation_required. Earlier CLIs and SDKs fail with502 WV-WIREon observation reads and lists that carry members. workers.listreads each page with one query and lists current workers by default: not revoked, and seen (or, never seen, registered) in the last hour;state=alllists every worker. It filters bypresence,draining,release_id,task_type,target_idandhost_prefix(a literal, case-sensitive prefix) and orders bylast_seen_desc(default) orregistered_desc, unknown times last. Cursors issued before the upgrade are refused, unknown query parameters are rejected, and an out-of-rangelimitanswersWV-VALIDATIONinstead ofWV-PAGE. Pages stay limited to 8 MiB.- Worker reads and lists add optional
placement(target, deployment and component), matched from the latest complete, unexpired observation of the targets the reader may read, anddrained_at, when the worker started draining; drain and resume answers adddrained_at. Upgrade CLIs and SDKs with the server: earlier releases fail with502 WV-WIREon placed workers and on workers drained since the upgrade. - New operation
workers.retire_stale(weave workers retire-stale, SDKretire_stale_workers) revokes up to 100 workers per command that hold no active lease and were last seen, or registered if never seen, longer ago thanolder_than_seconds(one hour to 30 days), oldest first.dry_runpreviews the same batch, andmatchedcounts every eligible worker. - New operation
releases.usage(weave workers releases usage, SDKrelease_usage) counts a release's online, offline, draining and revoked workers and the activations that pin it, and pages the deployment components that run it on targets the reader may read;deployments_hidden: truesays the reader may read no target. - The Python SDK's
list_workersaccepts a typedqueryand rejects one combined with keyword arguments. - Kubernetes runners no longer read a pod's free-text status reason, and a pod whose readiness is unknown is listed as a member that is not ready.
- New operation
operations_summary.read(weave operations summary) answers an environment's health, load, workers, targets, incidents and up to 20 items that need attention, in one read that reloads the caller's grants. Each section and item needs its own capability; one the caller may not read is{"state": "forbidden"}without running its queries or recording a denial, and one whose queries use up its two seconds of database time between them is{"state": "unavailable"}while the rest are still served. Run figures leave out test runs, and opening times the upgrade estimated are not counted. Telemetry export health is degraded while exports are being dropped. - New operation
operations_telemetry.read(weave operations telemetry) answers whether telemetry export is on, the collector host names, the metrics interval and how many items were dropped, never endpoint paths, credentials or headers. It needsstatus.readfor the project.WEAVE_TELEMETRYnow refuses a collector host name longer than 253 characters. - Background loop health, which the summary reports, ages successes with a monotonic clock, counts a cycle still within its loop's budget as on time, and reads degraded after 3 failed cycles in a row or among the last 20. An outbox cycle that cannot start a delivery, because the platform is not ready or no delivery slot is free, is neither a success nor a failure.
AI and connections¶
- Run AI tasks on a local Ollama model:
weave platform ai enable --ollama auto|host|container(or--ollama-url URL) sets up the AI gateway, the Agentic worker, a version 2 AI policy, development-only private-origin entries and a keylessollama-localconnection, and tests a real model call;ai status,ai disableandai modelscomplete it. - Model endpoints accept plain HTTP only through private-origin entries with
purpose: modelthat send no credential. The reserved secret handleno-credentialmarks such connections and is never resolved; operator grants under that name are ignored with a warning, andweave platform secret setrefuses it. - New operation
ai_connections.test;weave connections teston an AI connection now calls the model through the AI gateway instead of always reporting failure. AI connection tests, dedicated or generic, share a limit of six per minute per person and answer 429WV-AI-RATE-LIMITEDbeyond it. - The AI gateway gains
POST /v1/testandPOST /v1/models, and the API accepts a plain HTTP gateway endpoint on a loopback address that a private-originmodelentry with loopback credentials lists. An endpoint with a trailing slash is refused. - The Agentic worker reports
LLM_MODEL_NOT_FOUND,LLM_UNREACHABLE,LLM_AUTH,LLM_RATE_LIMITED,LLM_CONTEXT_LIMITandLLM_NO_TOOL_SUPPORTinstead ofLLM_PROVIDER, acceptsWEAVE_AGENTIC_CAPACITY, and signs in and calls the API over plain HTTP only throughworker-authandplatform-apiprivate-origin entries. - The worker and the AI gateway read version 2 AI policies; version 1 files keep working with a warning to migrate.
- New AI operations, each in one environment and rechecking the caller's current
grants:
ai_endpoints.listandai_models.list(catalog.read) return the approved endpoints and cached model metadata, with tool support as Ollama reports it;refresh=trueasks the AI gateway again and needsconnection.manage.ai_readiness.readreturns eight ordered setup checks from stored records, without calling a provider.ai_setup.publishpublishes the built-in AI Connector and Action (definition.publish), andai_setup.grantauthorizes admitted Agentic releases for a connection (connection.manage); repeating either changes nothing.bindable_connections.list(connection.bind) lists only the connection revisions the caller may bind, without configuration or secret handles. Discovery never pulls a model. - With an AI policy mounted on the API (
WEAVE_AI_POLICY_FILE), new activations of workflows with AI task (llm) steps answer 422WV-ACTIVATION-AI-PROVIDERwhen a step's provider differs from its connection's, and 422WV-ACTIVATION-AI-MODELwhen the policy does not approve the model for the connection's endpoint. An unreadable policy answers 503WV-AI-POLICYfor activations with AI task steps only. Without a policy, activation is unchanged. - Saving an AI connection now refreshes its model list before
connections.createanswers, which can take up to about 20 seconds. When the policy approves the connection's endpoint and the AI gateway is configured, the refresh contacts the provider through the gateway and spends one of the six AI test admissions per person per minute; a refresh that cannot call the gateway spends none. ai_connections.testandconnections.testof an AI connection refresh the model list after the test, within the test's admission, so they answer later.connections.testis cancelled when its client disconnects, for every connector type: the result and theconnection.test.completedaudit are not written.- AI connection tests are dated with the database clock, which readiness also uses, so a test that just passed reads as healthy on every API process.
- A new activation checks
connection.bindfor each bound connection revision on both the request's token and the caller's stored grants. A token whose stored grant was removed gets 403, and grants limited to specific revisions now bind exactly those revisions. - Replaying an activation
Idempotency-Keynow requires the caller's currentrelease.activategrant: a caller whose grant was revoked gets 403 (or 401) instead of the stored 201 answer.
Reliability under load¶
- Starting a run no longer slows down as executions accumulate. The usage accounting that runs on every run start
and every change to quota-counted records read every reservation in the database, one per run ever started, and
now finds its reservation and allocation entries by primary key. Usage figures and limits are unchanged. New
migration
0031_operations_key_collationreplaces the two internal accounting functions in place and changes no table, data or role; migrate the server explicitly before restarting it. - Event delivery keeps working after the platform becomes ready or withdraws readiness. Before, each delivery turn that the outbox started while the platform was not ready kept one of the process's four delivery slots. That happened while the platform opened its background work, at startup and when a compatibility rescan restored readiness, and while it closed that work after readiness was withdrawn, which can last up to the shutdown timeout (10 seconds by default) while native connector calls finish. Once all four slots were lost, scheduled deliveries and manual retries delivered nothing until the process restarted, and nothing reported it. A turn cancelled before it starts, as when the event loop shuts down, also gives its slot back now.
- While the platform is not ready, the outbox waits for readiness instead of
starting a delivery turn every second that is refused and logged as
Outbox turn failedat ERROR.
Studio, desktop app, and CLI¶
- Studio has an Operate area. The sidebar lists Home, then Build (Workflows,
Connections), Work (My tasks, Email) and Operate (Runs, Incidents, Workers,
Clusters), with Settings at the bottom. An Operate entry shows only when you
hold its capability in the workspace or on one of its resources, and the
server still authorizes every request. Operate pages live under
/operate/…;/runs,/workersand/operationsredirect. Clusters (formerly Operations) has Targets, Approvals, Jobs and Runners tabs, and its approvals inbox counts down to each plan's expiry. Resolve incident offers Retry the step, Accept a verified result or End the run. A run's detail can cancel the run, retry it on the same version or a verified newer active version, send the signal its waiting step expects, and export the first 1,000 events of its history. Operate pages refresh only while visible and back off after failures. - Studio's Operate area opens on a new Overview page. It shows the health of the API, the database, the scheduler, the outbox, compatibility and telemetry export, each with its details; the current load; workers, clusters and incidents; and up to 20 items that need attention, most of them linking to their record. It reads the summary every 15 seconds while visible. A section you may not read names the permission it needs instead of showing zeros.
- Operate › Runs reads run summaries, newest first, with time range, workflow, version, origin, status, test, handled-error, incident, top-level and archive filters. The address keeps every filter except the business and correlation keys. Load more continues the same list, Auto-refresh reads the first page every 10 seconds, and up to 50 selected runs can be canceled or retried together. A run's detail draws its steps with queue wait and run time, groups loop iterations, links to called runs, shows a step's output on request and follows a running run every 2 seconds. Starting, canceling, retrying, archiving or restoring a run, or deleting its data, from the page reads the list again at once, and a run started there shows first while the list puts new runs first (with Oldest first it waits for its place). The line under the title names the order in use.
- Operate › Incidents filters on the platform by status, code, workflow,
step, opening range and test runs, with a choice of order, so a match
beyond the loaded pages shows. The address keeps the filters and the open
incident (
?incident=ID), which opens fromincidents.readeven when no loaded page lists it. The drawer shows the workflow, the full step instance, the run's status and when the incident opened, marked estimated when the upgrade inferred it and Unknown when it isn't known; Refresh incident reads the incident itself. - Operate › Workers has Fleet and Releases tabs. Fleet filters on the platform by status, draining, release, task type, target and host prefix (kept on the page, never in the address) with a choice of order, shows each worker's host, placement, versions and registration time, drains, resumes or revokes up to 50 selected workers one by one, and Retire offline workers… previews and then revokes offline workers that hold no work, 100 at a time. Releases lists the admitted releases and, for one, its workers by state, the activations that pin it and the deployments on targets you may read; it shows the CLI command that admits a release and never admits one itself. On a narrow screen both pages fold their filters behind Filters (n), and every filter checkbox is a 36 px target with a mouse and 44 px on touch. A retirement whose answer arrives after its dialog closed, or after the workspace or person changed, says what happened in a notice; a bulk action stops sending when the person changes, and the host prefix is cleared for the next person.
- Studio's Workers page asks the platform for current workers, last contact first, and for every worker with Show retired workers. Earlier Studio hosts and desktop apps get the reduced default list from an upgraded server, because the Studio bridge forwards answers unchanged: their Workers page lists only current workers, and Show revoked workers shows none. Upgrade Studio and the desktop app with the server.
- Studio's host bridge forwards the environment summary, the telemetry
settings and
releases.usage. - Add a left-to-right workflow canvas to Studio's new editor (Settings → Preferences → Try the new editor, off by default), where the trigger, actions, decisions, parallel paths and End each have their own shape. Insert a step at a +, on an edge or on an empty path; select several steps by clicking, with a selection box or with the keyboard; duplicate or delete them in one Undo step; and pan, zoom, fit the view and use the minimap with the mouse or the keyboard. Moving around the canvas never rewrites the workflow's exported coordinates. Settings tabs have their own addresses.
- Add step details to Studio's new editor (Settings → Preferences → Try the new editor, off by default). Double-click a step, or focus it and press Enter, to configure it over the canvas with Input, Parameters and Output panes, Fixed | Mapped fields, drag to map, Settings with retries, timeouts and notes, and issues under the field they concern. The trigger and End open their own details, and the gear opens Workflow settings. Add a step lists Call an API, email and file steps under Action in an app; each gets an action of its own, which Publish… and Simulate publish first, after you confirm. A draft saved on a platform keeps those actions' settings and step notes in this browser for your account, and Save draft says so. With the new editor off, Studio keeps the inspector.
- Studio's new editor gains Add a step: a panel on the right (the whole
window below 768 pixels) that every +, a dragged handle, N, / and the
toolbar open at that place. It starts with What triggers this workflow?
on an empty workflow and What happens next? afterwards, searches by
everyday words, opens apps on their actions and triggers, and keeps entries
the platform can't run visible with the reason. The new canvas also gets
trigger choices that are set up when you activate the workflow, copy and
paste of steps as YAML between workflows, sticky notes with Markdown, Tidy
layout, a step toolbar above the step, and a
.canvas.jsonfile that Save to file writes and Import workflow reads. A draft on a platform keeps its notes and trigger choices in this browser for your account. - With the new editor, Mapped values in step details are formulas such as
input.amount > 1000 and exists(input.email): suggestions from the data the field can read, references as pills, plain-word messages that never block typing (text that doesn't parse shows Not applied and keeps the last formula), a standard form on blur, Edit formula beside the input's fields, and drops at the pointer. Templates take any formula between{{ }}. Under a Mapped field,= valueand the Result panel show what it gives with the trigger's test input, computed in the browser with the platform's rules (held to them byscripts/studio_expression_corpus.py); formulas reading secret values are never previewed, and previews send nothing. Call an API shows the full address of its request. Studio now includes CodeMirror (@codemirror/state,@codemirror/view, MIT), loaded with the first formula field. Seedocs/reference/formulas.md. - Publish… and Simulate show why they stopped (for example, an account that can't publish actions) as soon as Studio has loaded the code that publishes the workflow's own actions, instead of waiting for another change on the page.
- With the new editor on or off, Import workflow starts a fresh Undo history
(opening a file is no longer a step you can undo, which emptied the canvas),
and a
.canvas.jsonfile chosen on its own is refused with a sentence that asks for the workflow file too. - Studio's API builder measures pasted samples in bytes, so a large sample in a script that takes several bytes per character gets the size message instead of a request error.
- Going Back to a workflow that was opened from a file and left unchanged now says that Studio didn't keep a copy and how to open the file again, instead of saying that the workflow may have been deleted.
- Leaving Source with text you typed but haven't applied now asks Apply changes, Discard changes or Keep editing, with the new editor on or off: switching tabs, opening a step, running a command, going to another page, browser Back, Undo and Redo, and a toast's Undo all ask first. Closing the window uses the browser's own prompt.
- Studio dialogs and toasts fit touch screens better: close and toast buttons are at least 44 pixels on touch, dialog footers stack on narrow screens and stay clear of the focused field, dialog headings line up with their close button, and toasts no longer cover the page header or step details' top bars.
- Studio loads the Clusters page, and the code behind Publish… and Simulate, only when it is first used, so its first download is smaller.
- The Studio host adds
GET /studio/contracts/connector-actions, which returns the built-in email and file connector actions, as Action documents, that Studio's email and file steps copy into actions of their own. Its API action builder (POST /studio/local/http-action) refuses a request larger than 1 MiB with 413WV-STUDIO-REQUEST. - Studio has one place to set up AI: Settings › AI models. It shows provider cards, your AI connections, a readiness checklist with Publish, Authorize and Test connection, and the Weave AI card. The AI connection side sheet is the only AI connection form; it also opens from Build › Connections, an AI task and Home's Connect a model. It offers plain HTTP only for endpoints a platform operator approved, asks for a secret handle (never a key), lists the approved models the provider serves, and tests a model through the AI gateway with tool support. The old AI setup wizard and the Weave AI settings in the Ask Weave AI panel are gone.
- Studio waits up to 140 seconds for an AI connection test, so a local model loading for the first time no longer fails the test early; canceling the test in Studio stops it on the platform.
weave platform up --usernamegrants the new account the local owner roles, andweave platform user grant --username NAME --role ROLEadds roles to an account the local platform created.- Keep typing in the selected form field when deferred row autofocus completes. Rapid row additions focus the newest item without overriding a later choice.
- Update Studio's YAML parser to 2.8.3 so deeply nested documents produce a parser diagnostic instead of an unexpected stack-overflow exception. Update Vitest to 4.1.11 to include fixes for its development-server security advisories.
weave workflow graphdraws decision table steps as Apply a decision table. Before, it stopped withKeyError: 'decisionTable'on any workflow with a decision table.- Studio sends a change that the platform refused for capacity again only when the same person is still signed in to the same workspace. It first waits for a sign-in check still out. Before, a change refused just as another person signed in could be sent again as that person.
weave platform usergrantsvieweron the demo project instead of the demo environment, so a person created with roles such asoperatorordeployment_approverplusviewercan read the project's published workflows.
Development and testing¶
- Run the PostgreSQL integration suite in parallel
(
pytest tests/integration -n 4 --dist loadfile): each test still gets its own database, now cloned from a template migrated once. - Run Checks once per pull request commit and cancel a pull request's superseded runs. Studio's browser tests run in five shards, with the performance tests on their own runner.
- The real-platform browser journeys no longer delete sign-ins they did not create when their setup fails before reading the system credential store.
- The real-platform Operate checks wait past the capacity refusals Studio sends again, and the formula preview check measures its 50 ms budget the same way on every runner.
- Run Studio and security journeys against the real platform on every pull
request and every push to
main: Studio sign-in and brand at 1440x900 and 600x500, brand and naming in Studio, the CLI, the docs site and the repository, every operation added since 0.1.0a14 answered by each person's grants (tests/acceptance/authorization.toml), Activate and Publish refused for a viewer, revocation, private-origin refusals, and a secret scan that includes browser storage. Journeys sign people in through the real Studio host and identity provider pages, and checks both before and during a run refuse mocks, intercepted requests and injected state. Journey steps that wait for later capabilities are reported as skipped, never as passed. TheAcceptanceworkflow stays fork-safe: read-only contents, no checkout credentials and no secrets.tests/acceptance/README.mdexplains how to run and write journeys. - The Acme test service refuses odd
Content-Lengthvalues and deeply nested JSON instead of dropping the connection. - The local platform guide, the configuration reference and two diagrams now
say that
--allow-private-originapproves only the exact DNS-name origin of a test service on the installation's egress network (addresses andlocalhostare refused), and that an invalid mail or PostgreSQL private-network setting stops startup. - When
make checkfails, it prints the failing stage and the node ids of the failing tests from pytest's short summary. Test output stays in the private stage logs.
Versions and schema¶
- Bump the Python package and browser Studio bundle to
0.1.0a16and the desktop product to0.1.0-alpha.16; the native internal installer counter is0.1.16. - Pin the Agentic and Files 0.1.8 packages to core 0.1.0a16. Both report where they run when they register; the Agentic worker also adds the AI changes above.
- Schema revision becomes
0033_language_workflow_calls, with three new migrations:0031_operations_key_collation,0032_operations_factsand0033_language_workflow_calls. No role is added or changed. See upgrade a platform safely for the upgrade times, the behavior changes to check, and what to do before a rollback.
Verified on macOS (Apple silicon) before tagging: the full local check gate (17 stages, including 7,761 unit and contract tests, the Agentic and Files worker suites, and building, installing, and checking the 0.1.0a16 core and 0.1.8 worker packages); Studio's type check, 2,394 unit tests, and production build; 941 integration tests against a real PostgreSQL 17; and the release acceptance profile against a real Docker platform with PostgreSQL 17 and Keycloak 26.7.4, where J0, J1, J5, J8, and J9 steps passed (15 in full and 8 with checks for later capabilities skipped), the secret scan found nothing, and no container, network, or volume was left behind. Integration tests that need Kafka, an owned PostgreSQL connector target, CLI identity against Keycloak, or built release images did not run, and one timing-sensitive test of two replicas joining a parallel step did not pass under the host's load at the time. The release gate with real Kafka and release images, the acceptance journeys beyond those steps, the desktop installers on Windows and Linux beyond their CI builds, Developer ID signing, and Apple notarization are not verified for this release. macOS installers remain ad-hoc signed and not notarized, and Windows installers remain unsigned.
0.1.0a15¶
Workflow language¶
- Build text in expressions with
concat, which joins one or more strings, numbers, or Booleans, andjoin, which joins a list of them with a separator. Numbers are written as JavaScript writes them (2.0becomes2). The compiler reports an operand that can never be text asWV-COMP-TYPE_MISMATCHand guards one that might not be at run time. Decision table rules cannot use either operator yet (WV-DECISION-OPERATOR), and Studio does not edit them yet. - Compile a workflow that uses
concatorjointoweave/ir-v1alpha4, withtext.concat,text.join, or both in the executable's newfeatureslist. Every other workflow keeps its IR version and digest. - List the language features a platform runs in
language_featuresin the capabilities response, and addweave/ir-v1alpha4toir_versions. An older platform omitslanguage_features, which means none. Activating a workflow that needs a feature the platform does not list answers HTTP 422WV-IR-UNSUPPORTEDwithresult.missing_features; artifact import and the compatibility report call itir_unsupported. - Add the language manifest, which lists the step kinds, operators, workflow
fields, language features, and limits a platform supports:
GET /api/v1/tenants/{tenant}/projects/{project}/language(catalog.read),weave remote language,WeaveClient.language(), the Studio host, andlanguage-manifest.schema.jsonfromweave schema export. The capabilities response now lists all ten runnable step kinds instep_kinds. - Accept
forEach,callWorkflow, andspec.callablein workflow definitions and the workflow schema, so documents can be prepared for loops and workflow calls. The compiler refusesforEachandcallWorkflowwithWV-COMP-UNSUPPORTED_FEATUREuntil a release runs them;callableonly declares an interface and compiles. Existing documents and artifacts keep their bytes and digests. - Runs in progress whose workflow uses a language feature the server does not run, for example after rolling back to an earlier release that lists fewer language features, now wait for an upgrade instead of being blocked for good. The server offers none of their tasks to workers, leaves their deadlines and expired attempts pending, records nothing about them, and does not let them hold back other runs. After the upgrade they continue, and deadlines that passed in the meantime apply then. A server that predates language features, such as 0.1.0a14, still blocks such runs permanently, so finish or cancel them before rolling back that far.
- Reading such a run, sending it a signal, or reporting a task result for it
answers HTTP 422
WV-IR-UNSUPPORTEDwithresult.missing_featuresinstead of HTTP 409WV-LEGACY-UNAVAILABLE. Reading a definition version the server does not run, or repeating the publish request that created it, answers the same way. Run and incident lists still show such runs as unavailable, and runs with unavailable legacy evidence still answerWV-LEGACY-UNAVAILABLE. - Catalog list pages can contain a new kind of item for a version the server
does not run:
unavailable: true,reason: ir_unsupported, andmissing_features. SDKs and CLIs older than this release reject such a page; upgrade them together with the server.
Connections and private networks¶
- Accept
http://base URLs in no-code HTTP connections, as HTTP connector actions already do, and never send plain text silently:weave connections create,read, andtestandweave connector import-openapi --target builtinprint a "Not encrypted" warning on standard error, and Studio's connection form shows a Not encrypted notice. Private, loopback, and CGNAT addresses still need an approved entry, and machine-token endpoints stay HTTPS-only. - Connection test answers carry a new
encryptedfield. CLIs and SDKs older than this release cannot readweave connections testanswers for HTTP connections from an upgraded server; upgrade the CLI and SDK together with the server. - Add development-only private origins to the Docker development platform:
weave platform up --allow-private-origin ORIGIN(repeatable) lets HTTP connector actions and signed webhooks reach a localhttp://test service at that exact origin on the installation's own egress network. The API reads the approved entries from the read-only file named byWEAVE_PRIVATE_ORIGINS_FILEand refuses to start when that file is malformed, a symbolic link, or writable by other users. Requests to an approved origin never follow redirects, and Weave refuses the connection when it cannot tell whether the address belongs to the platform itself. - Map
WEAVE_HTTP_PRIVATE_NETWORKS,WEAVE_MAIL_PRIVATE_NETWORKS, andWEAVE_POSTGRES_PRIVATE_NETWORKSat startup to "Legacy setting" entries of the same private-origin policy, with aprivate_origins.legacywarning and unchanged reach. - Parse
WEAVE_HTTP_PRIVATE_NETWORKS,WEAVE_MAIL_PRIVATE_NETWORKS, and the PostgreSQL private and plaintext network settings strictly at startup: a CIDR with host bits set, or more than 128 networks, in any of them stops the API. Before, the HTTP and mail settings accepted a CIDR with host bits set and failed the requests that used it, and the HTTP and PostgreSQL settings had no limit. Reach is otherwise unchanged.
Reliability under load¶
- Keep a platform ready when a compatibility rescan confirms it. A burst of API
requests no longer makes the periodic rescan restrict the platform until the
next one, and changes are no longer refused for a moment while a confirming
rescan cleans up.
503 WV-COMPATIBILITYanswers carryRetry-After, the seconds until the next automatic rescan, and a rescan that withdraws readiness logsCompatibility rescan withdrew readinesswith the finding kinds and codes. - Retry a Studio read, or a change that carries an idempotency key, after
503 WV-COMPATIBILITYwhenRetry-Afteris 5 seconds or less, within the existing limit of four attempts. - Background work that starts when a compatibility check makes the platform
ready, such as event delivery, native connectors, broker and provider inboxes,
and recovery, no longer keeps failing with
WV-OPERATION-CAPACITYafter the check's response ends, and no longer carries that request's identity. - Give recovery, the provider and email inboxes, and Kafka consumers their own
execution capacity, so a burst of API requests no longer refuses their work.
Recovery and schedule scan failures now log the error class and code, for
example
Tenant recovery scan failed (CatalogError WV-OPERATION-CAPACITY). - Native connector calls no longer share the two execution work slots of API
requests, so a burst of requests no longer refuses them. They run up to the
capacityconfigured for eachWEAVE_NATIVE_EXECUTORSentry. - Native connector tasks no longer fail with
HANDLER_FAILEDwhen Weave refuses one of their platform calls for capacity (WV-OPERATION-CAPACITYorWV-REQUEST-CAPACITY). The invocation check before the connector starts is sent again while the task's lease is valid; authority and credential checks made while the connector runs get up to three attempts within one second. - A schedule whose run start is refused for capacity stays enabled and fires the
same occurrence, with the same key, on the next scan, instead of being blocked
with
WV-SCHEDULE-READINESS. An occurrence still refused when its minute ends is skipped like any other missed minute. - Provider receipts refused for capacity stay
pendingwith the reasontransient_failureand the usual cooldown instead of being blocked. email_receipts.dispatchanswers HTTP 429 (WV-OPERATION-CAPACITYorWV-REQUEST-CAPACITY) when Weave refuses the dispatch for capacity, where it used to answer HTTP 200 with stateblocked. The receipt keeps its state, and the next pending scan dispatches it.- Keep an integration event delivery recoverable when Weave refuses one of its
database transactions for capacity (
WV-OPERATION-CAPACITY). The delivery staysleasedinstead of moving toretrywithDELIVERY_FAILEDor to anAUTHORITY_REVOKEDincident. When the lease expires, the attempt is recorded asACK_UNKNOWNand the same event ID is delivered again. The attempt still counts, so a delivery refused on every attempt ends in aDELIVERY_EXHAUSTEDincident.
API¶
- Publish the run summary, step, and log operations (
run_summaries.list,runs.steps, andruns.logs) and their schemas so clients can build against them. They requirerun.readand validate their queries and cursors; this release answers an authorized, valid request with HTTP 501WV-UNAVAILABLE.
Studio, desktop app, and CLI¶
- Give Studio one dark theme built from design tokens, the self-hosted Manrope typeface, and Lucide icons. The sidebar and pairing pages show the Firefly Weave logo; the collapsed sidebar and narrow windows show the Firefly mark, and the browser tab the Firefly favicon.
- Remove the Lumi mascot from Studio, the API explorer, exported workflow graphs, the README, and the documentation diagrams.
- Say Weave AI throughout Studio: Ask Weave AI, Weave AI settings,
Explain with Weave AI, the AI models settings card, and the role labels
Weave AI user and Weave AI manager. Show the product name, Firefly
Weave, at the top of CLI help instead of ASCII logo art, and say Weave AI in
CLI prompts and in server and worker messages. API paths, permissions, roles,
storage names, and error codes keep
lumi. - Draw "weave" in the Firefly Weave logo as a wordmark whose w is woven from two strands, one amber, instead of typed text, in Studio, on the desktop launch page and installer, and in the README banner and social preview.
- Give the desktop app the Firefly icon, a charcoal DMG background as tall as the installer window, and a charcoal launch page in a charcoal window that opens without a white flash, and draw exported workflow graphs, the API explorer, the README banner, shields, and badges with the Firefly identity.
- Keep the values typed into a Call an action step's input fields when you switch to Write one expression for the whole input. Before, the expression opened on the input as it was when the step was selected, and the first edit replaced the typed values. Switching back to field-by-field input while the expression is invalid keeps it in view with the usual message.
- Studio no longer marks a workflow it just opened or created as Unsaved before any edit when it is not connected to a platform.
- NOTICE states that the Firefly name, logo, and icon are trademarks of Firefly Software Solutions Inc., used with permission and not licensed under the Apache License 2.0, and that the Weave name and logo are trademarks of the Firefly Software Foundation. It adds the Manrope and Lucide notices.
Documentation¶
- Restyle the documentation site in one dark scheme with the Firefly Weave logo, the Firefly favicon, and self-hosted Manrope, and recolor every diagram to the Firefly light palette on paper panels.
- Call the Studio assistant Weave AI throughout the documentation. Its guide is
now Use Weave AI; the previous guide
points to it. API paths, permissions, and role names keep
lumi. - Add the Studio editor contracts reference for the step details registry, the test data schema, and the step execution bodies that the next Studio editor builds on. Studio does not use them yet.
Development and testing¶
- Run Studio's unit tests, a cross-platform browser subset, and a portable Python subset on macOS and Windows in CI, next to the Linux checks.
- Add acceptance journeys against a real Docker platform with its PostgreSQL and
Keycloak, the Acme API fixture, and the Studio host (
scripts/acceptance.py). TheAcceptanceworkflow runs theprprofile on Linux with container egress blocked. - Fail the checks when the Python package, the worker packages, the desktop app, the documented install pins, and the upgrade table do not name one release.
- Replay a recorded corpus of compiled artifacts and kernel transitions for every example workflow, so a change that alters an existing digest fails the checks.
Versions and schema¶
- Bump the Python package and browser Studio bundle to
0.1.0a15and the desktop product to0.1.0-alpha.15; the native internal installer counter is0.1.15. - Pin the Agentic and Files 0.1.7 packages to core 0.1.0a15. The Agentic Weave AI gateway now introduces the assistant as Weave AI; Files has a dependency update only.
- Schema revision remains
0030_worker_presence; no new database migration is added, and no role is added or changed. See upgrade a platform safely for the behavior changes to check.
Verified on macOS (Apple silicon) before tagging: the full local check gate (17 stages, including 5,070 unit and contract tests, the Agentic and Files worker suites, and building, installing, and checking the 0.1.0a15 core and 0.1.7 worker packages); Studio's type check, 793 unit tests, production build, and browser suite (934 passed and 6 environment-gated tests skipped; one test that timed out under full parallel load passed ten times on rerun); 612 integration tests against a real PostgreSQL 17; and the release acceptance profile against a real Docker platform with PostgreSQL 17 and Keycloak 26.7.4, where every enabled bring-up step passed, the secret scan found nothing, and no container, network, or volume was left behind. The release gate (22 stages) also passed on the release commit with real Kafka and Keycloak: 646 integration tests, built release images, 69 process tests including recovery and a restore from a 0.1.0a14 installation, and the queue-load measurements. The acceptance journeys beyond bring-up, the desktop installers on Windows and Linux, Weave AI and AI workflows, Developer ID signing, and Apple notarization are not verified for this release. macOS installers remain ad-hoc signed and not notarized, and Windows installers remain unsigned.
0.1.0a14¶
- Add a detached Docker development platform through
weave platform up, reusing owned databases, identity setup, workspace creation, and user roles. Keep the foreground API mode available for existing installations. - Prepare an explicit Developer ID signing and notarization path for macOS releases. Apple credentials are required; ordinary builds remain ad-hoc signed.
- Pin the Agentic and Files 0.1.6 packages to core 0.1.0a14 without changing their execution behavior or the database schema.
0.1.0a13¶
- Retry explicit platform capacity rejections while a worker reads its task context or credentials, using the current validated lease. Reject late responses after cancellation, renewal failure, or expiry; unrelated HTTP errors and ambiguous network failures are not replayed.
- Classify an Agentic preparation timeout as not started when its own time budget expires before provider execution. Failures after provider execution begins retain their ambiguous outcome classification.
- Publish Agentic and Files worker packages 0.1.5 pinned to core 0.1.0a13.
Files has a dependency update only. The worker protocol and database schema
remain unchanged from alpha12 (
0030_worker_presence).
0.1.0a12¶
- Add environment-scoped deployment targets, desired state, observations, immutable approval plans, fenced runner jobs, and explicit reconciliation for uncertain external effects. Provider credentials remain on an outbound runner with local destination and image allowlists.
- Add Operations in Studio and the CLI for reviewed container deployment changes. Support trusted Compose deployment and bounded existing Kubernetes and Azure Container Apps changes; provisioning cloud clusters is separate.
- Report dated worker contact and capacity, with revision-checked drain and resume controls that preserve active leases.
- Let Lumi explain explicitly selected Operations records using bounded, permission-checked context. Deployment changes retain their separate plan, approval, and application process.
- Reject unsupported component and destination changes before plan approval. Mark stopped or stalled compatibility monitors unhealthy so container supervisors can replace the affected API process.
- Guide target registration with named application accounts, downloadable nonsecret runner setup, observed-resource import, explicit resource capacity, and admitted worker release selection.
- Allow reviewed Compose plans to restart stopped workers, checking readiness after the restart instead of during the dry run.
- Keep worker lease renewal retrying explicit capacity rejections while the current lease remains valid, including while a completed task awaits its acknowledgment. Ambiguous transport failures never replay the task handler.
- Keep invalid inspector edits and unapplied AI profile changes visible before saving, publishing, or switching views. Edit workflow AI profiles in a dialog, with multiline prompts and direct connection-slot selection.
- Organize editor commands into aligned rows and step settings into purposeful sections. Keep palette search visible and explain data sources through keyboard-accessible information controls. Filter source modes and formulas by the receiving field's type while preserving imported expressions for repair.
- Separate reusable project actions from creating a new API action, with a direct connection entry point and contextual guidance for local authoring.
- Keep Studio pages and editor assets loading while platform requests are busy, and retry temporary session-read capacity rejections within a bounded budget.
- Use standard OpenAI and Anthropic endpoints automatically, retain explicit Azure configuration, and group advanced model settings separately. Check model-setting combinations with the canonical local validator before applying them; configuration validation does not claim live provider readiness.
- Add migrations
0029_deploymentsand0030_worker_presence, with explicit scoped Operations roles. Existing workflow roles gain no deployment authority. - Publish worker packages 0.1.4 pinned to core 0.1.0a12 and desktop alpha12. Keep the verified alpha10 Azure acceptance history separate from this release.
0.1.0a11¶
- Guide AI provider connections, Lumi settings, and workflow AI profiles through focused steps with review before creation or application. Keep unfinished profile changes local and apply the profile and connection slot atomically.
- Let authors explicitly pass available earlier AI results as structured context within one workflow execution, using existing compiler-checked expressions.
- Document the verified alpha10 Azure application-token, AI workflow, Lumi, and HTTP acceptance separately from unverified interactive Entra sign-in.
- Correct browser selection tests to wait for the insertion reveal before checking pointer reachability.
- Publish worker packages 0.1.3 pinned to core 0.1.0a11. No server behavior or
database migration changes; the schema remains
0028_files.
0.1.0a10¶
- Expose Lumi configuration through the paired Studio host and clarify the separate administrator, worker-admission, and deployment responsibilities.
- Let explicit canvas selection and structural edits supersede pending initial fitting. Keep automatically added empty fields from stealing keyboard focus.
- Use the Lumi mascot in Studio and the illustrated documentation.
- Make compiler scope-parity tests reject inconclusive resource-limit results and isolate their timing allowance from production validation budgets.
- Publish worker packages 0.1.2 pinned to core 0.1.0a10. No database migration is
added; the server still requires schema
0028_files.
0.1.0a9¶
- Add guided Studio setup for AI provider connections, named connection selection for Lumi, and independent workflow model profiles. Keep model credentials in operator-managed secret storage and show scoped setup permissions explicitly.
- Keep incomplete LLM profile edits open until required properties are present.
- Add renewable OAuth2 client credentials for independently deployed Agentic workers, with bounded token acquisition, expiration-aware caching, scoped API origins, cancellation cleanup, and mounted-secret rotation.
- Explain AI workflow execution, Lumi proposal review, and configuration roles with step-by-step guides and accessible SVG diagrams.
- Publish worker packages 0.1.1 pinned to core 0.1.0a9. No database migration is
added; the server still requires schema
0028_files.
0.1.0a8¶
- Add verified file references, resumable bounded transfers, scoped file roles, CLI upload/download commands, Python SDK streaming helpers, worker lease checks, and human-task attachments with current claimant/revision checks. PostgreSQL stores file chunks separately from run history; retained runs pin their files until the run is purged.
- Add independently deployed FTP, FTPS, SFTP, SharePoint/OneDrive and Google Drive workers for list, metadata, download, write, move and delete operations. Cloud account acceptance remains environment-specific; change-feed triggers are not included. FTP/FTPS/SFTP require a server-isolated account root. FTP/FTPS write and move are disabled by default because the protocol cannot guarantee atomic refusal to replace a concurrently created destination; enabling them requires an explicit connection policy and a separate worker policy.
- Add contains/not-contains and membership comparisons, versioned decision tables, and schema-guided Studio editors for rules and AI steps.
- Add workflow
llmProfilesand Agentic workers with explicit provider, model, reasoning pattern, endpoint policy and budgets. Pin the profile into compiled execution, enforce output guards, and reject classified results before values or their hashes enter durable state, simulation or reconciliation. - Add Lumi as a separate environment-configured assistant, using an authenticated private gateway. Studio shares only selected context, validates proposed definitions, and requires explicit Apply with stale-draft protection and Undo.
- Improve Studio's step configuration, input mapping and human-task authoring; render decisions and parallel branches as separate lanes; apply valid field edits immediately; keep invalid drafts local; add semantic drag/drop and reachable node actions.
- Add schema revisions
0026_decision_tables,0027_lumi_configuration, and0028_files. Upgrade through the documented maintenance procedure before starting the new server. Older grants do not automatically grant file or Lumi access. - Package independent workers separately so Agentic's Python 3.13 requirement does not change the server's Python 3.12 support.
- Keep worker completion and failure retries alive after explicit capacity rejections while the lease and task deadline remain valid. Direct transport calls retain bounded retries; ambiguous outcomes are never retried automatically.
0.1.0a7¶
- Add saved platforms shared by the CLI, Studio, and desktop app: a non-secret
profiles.jsonin the system configuration folder (WEAVE_CONFIG_HOMEoverrides it), written atomically with private permissions. Tokens stay in the system credential store, or in an explicit private file. - Add
weave auth setup SERVER. It checks the server, shows its sign-in settings for review, signs you in through the system browser (PKCE with a loopback callback) or a device code, lets you choose a workspace, and says what was saved and which command to run next. Explicit flags,--yes, and--output jsonkeep it usable in scripts without prompts. - Add
weave auth profiles,use,remove,workspace, andlogin --switch-account.weave auth statusexits 1 when you are not signed in. - Add the public
GET /api/v1/client-configurationendpoint, configured withWEAVE_CLIENT_SIGN_INandWEAVE_DISPLAY_NAME. Clients treat it as a proposal: you review it once, the issuer, client, and endpoint origins are pinned, and a later change is refused withWV-PROFILE-CHANGED. - Check server addresses before connecting: HTTPS except on loopback, no redirects, bounded responses, and no link-local, metadata, NAT64, or 6to4 destinations.
- Rebuild the Studio connection wizard: work locally or connect to a platform, pick a saved platform, check the connection, review the sign-in settings, sign in through the system browser or a device code, and choose a workspace. Studio reconnects on reopen and never asks for your identity-provider password. Local authoring still needs no sign-in.
- Keep desktop pairing across restarts and save Studio exports through the system download handler.
- Add no-code REST integrations on the built-in
weave-http@2.0.0connector:weave connector http-action,weave connector import-openapi --target builtin, guidedweave connections createflags, connector descriptors, and the Studio New API action builder and OpenAPI import. Publishing now rejects an HTTP action whose configuration contradicts its method, with a pointer to/spec/implementation/config. - Add
weave platform integrationsandweave platform secretso a local platform can run built-in HTTP actions with secrets stored by handle. - Make the Call an action step usable end to end in Studio: choose an action and a connection, fill inputs through generated forms, map data, validate without a platform, save, reopen, and import or export YAML and JSON.
- Redesign the Studio editor: one primary command that follows the lifecycle, readable zoom with Fit all and Tidy layout, Delete with Undo, Decision conditions as rule rows with Otherwise, problems shown on the steps, an inspector with Apply changes and Discard, and a docked simulation that highlights the live path.
- Rework the Studio shell: Build and Operate navigation, a Home page that leads with what needs you, toasts with Undo, drafts kept on this computer with autosave, a run detail page for operators, consistent status names, and accessibility fixes for contrast, focus, and side panels at narrow widths.
- Register port-free loopback callbacks for the local Keycloak
weave-cliclient, and repair existing local platforms onweave platform start, so browser sign-in works on any loopback port. - Keep in-process native workers running when they claim work while the platform is still opening effects; the dispatcher restarts a failed worker with backoff and reports not ready after three consecutive failures.
- Replay in-process native worker claims, renewals, and settlements that the platform rejects for capacity, with the same policy as remote workers, so a busy database no longer exhausts a task's retries.
- Accept JWKS signing keys that omit
alg, as Microsoft Entra ID publishes them, for the allowed algorithm of their key type only (RSA forRS256, P-256 forES256). - Retry Studio reads, and changes that carry an idempotency key, when the
platform turns them away for capacity (
WV-OPERATION-CAPACITY,WV-REQUEST-CAPACITY), honoringRetry-Afterfor up to four attempts. - Show only the logo in the CLI help banner.
- Bump the Python package and browser Studio bundle to
0.1.0a7and the desktop product to0.1.0-alpha.7; the native internal installer counter is0.1.7. - Rewrite the documentation around four learning paths, with new guides for signing in, no-code REST integrations, and readers coming from BPM tools.
Verified on macOS against a real local Keycloak 26.7.4: CLI sign-in and
workspace selection with a private credential file, a no-code HTTP action
running on a local platform, the Studio sign-in journeys with the macOS
Keychain, and sign-in with a code, reconnection after a restart, and export in
a locally built macOS desktop app. In the desktop app, drafts kept on this
computer last only until the app quits; use Save to file to keep a copy.
Microsoft Entra ID and other OpenID
Connect providers are supported through configuration but not verified;
Entra-shaped keys are covered by unit tests only.
Credential storage on Windows and Linux is not verified. Existing
--auth-config connection files keep working. Schema revision remains
0025_run_lifecycle; no new database migration is added.
0.1.0a6¶
- Fix the macOS desktop outer application resource seal with explicit ad-hoc signing, replacing the damaged alpha5 macOS installers.
- Add strict
codesignverification of the outer bundle, native executable, and frozen host, then repeat it against the application inside the read-only DMG before collecting release assets. - Keep hardened runtime with the PyInstaller library-validation entitlement and smoke-test the host after signing, before collecting installers.
- Bump the matching Python host/browser bundle to
0.1.0a6and desktop product to0.1.0-alpha.6; the native internal installer counter is0.1.6. - Update installation guidance to use matching alpha6 artifacts and retain the browser fallback. Do not use the alpha5 macOS downloads.
macOS bundles are ad-hoc signed, not Developer ID signed and not notarized.
Resource-integrity verification does not establish Gatekeeper acceptance or
publisher trust. Manual approval may still be required by macOS and must comply
with local policy; no quarantine-removal workaround is recommended. Windows
publisher signing is also not provided. Schema revision remains
0025_run_lifecycle, as introduced by alpha5; no new database migration is added.
0.1.0a5¶
- Add the local Angular Studio with a branded workflow editor, structured canvas, source editing, API profiles, run inspection, human tasks, and email conversations.
- Add
weave studio, browser pairing, a same-origin API bridge, and a versioned, checksummed optional asset bundle that runs without Node.js. - Include the Studio host in the CLI installer's verified dependency closure; install the matching browser bundle separately with its published checksum.
- Add native human tasks with scoped assignments, schema-driven decisions, durable waits, and explicit operator pause/resume controls.
- Add generic SMTP/IMAP email integration, conversation replies, fenced submissions, inbound receipts, and authorized correlation to workflow runs.
- Add identity/workspace discovery and separate task and email permissions.
- Add exact business/correlation-key and status searches across independent runs, terminal-run archive/restore, and separately authorized permanent deletion with dependency checks, audit receipts, and protection against idempotent recreation.
- Add a guided Studio connection setup with reviewed CIAM configuration, cancellable device/PKCE sign-in, connection checks, and authorized workspace selection.
- Add scoped people/access administration through the API, SDK, CLI, and Studio, keeping CIAM account management separate from Weave identity links and grants.
- Add typed configuration for every workflow step, recursive expression editing, integration action discovery, workflow settings, and a centered Start/End canvas.
- Add a Tauri desktop wrapper, branded drag-to-Applications macOS disk image, and native installer build matrix. Desktop artifacts are unsigned.
These changes require the matching server, migrations through 0025, CLI, and Studio build. Back up the database and follow the upgrade guide. This remains an alpha; desktop signing/notarization and live CIAM/mail/cloud validation are separate deployment acceptance steps. Native human tasks use IR v1alpha2; workflows that do not use them retain the prior IR. The earlier intermittent queue timeout is not claimed fixed by this release.
0.1.0a4¶
- Add
weave platformcommands for an owned local developer installation: prerequisite checks, setup, foreground startup, readiness, first run, token refresh, and stop/resume with retained data. - Show stage progress and terminal-only animation during setup; keep JSON output
clean and offer
WEAVE_NO_ANIMATION=1for plain terminal messages. - Introduce Lumi, the firefly guide, in ASCII CLI help and editable documentation SVGs.
- Export compiled workflow graphs as terminal text, Mermaid, or standalone SVG.
- Add opt-in same-origin Swagger UI at
/docsand the actual contract at/openapi.json; authenticated operations retain their existing grants. - Generate the complete public API reference from the same OpenAPI contract.
- Add step-by-step SDK, YAML/Python workflow, custom inbound/outbound connector, API playground, local platform, and remote deployment tutorials.
- Redesign the documentation diagrams with human labels, vector icons, and explicit flow explanations; annotate deployment command blocks with their purpose.
This remains an alpha. The local stack is a developer installation, not a production availability claim. Cloud and live-provider validation remain specific to the target environment. The earlier intermittent queue timeout remains unresolved; no retry or runtime scheduling policy is changed here.
0.1.0a3¶
- Render the official woven-W logo as plain ASCII in CLI help, with a compact layout for narrow terminals and clean machine-readable output.
- Add
weave init DIRECTORYfor a validated offline starter with a runnable simulation and instructions for editing, recompiling, and simulating again. - Add
weave docs [TOPIC]and clearer help linking authoring, platform startup, worker deployment, and configuration to their guides. - Publish branded, searchable MkDocs documentation on GitHub Pages with light and dark appearances, copyable commands, and complete task-based navigation.
- Explain the platform startup path, service responsibilities, readiness checks, first use, shutdown, and restart; distinguish optional container stages.
- Check the documentation site in CI and retain source attribution in stylesheets.
No runtime engine, database migration, authentication, or worker retry policy changes are introduced. The intermittent queue timeout recorded in 0.1.0a2's release notes remains an unresolved observation; this release does not claim to fix it.
0.1.0a2¶
- Add a user-local CLI installer with verified release assets, hash-locked client dependencies, isolated environments, safe upgrades, and managed uninstall.
- Add ASCII branding, grouped plain-language help, nested command help, and
weave --version, while preserving machine-readable command output. - Reorganize onboarding around local authoring, an existing API, and running the platform; explain authentication, scope, expected results, and recovery steps.
- Add illustrated CLI, Kubernetes, AWS, Azure, and Google Cloud deployment guides.
- Include installer assets, deployment templates, and the complete public documentation in the source distribution; verify installation during checks.
No database migrations or workflow-language changes are introduced in this release.
0.1.0a1¶
- Typed workflow schemas, expressions, bounded compilation and canonical artifacts.
- Draft/publication/activation lifecycle, durable PostgreSQL runtime, workers, waits, signals, schedules, simulation, history/replay and incident controls.
- Native PyFly API, Python SDK/CLI, provider-neutral identity boundaries and local grants.
- HTTP/webhooks, PostgreSQL, Kafka, integration outbox, connector authoring and provider inbox.
- Teams personal-bot text, WhatsApp Cloud API text/template/status scope, and Telegram webhook text integration with local fixture/backend verification.
- OpenAPI 3.1 connector generation with bounded HTTP profiles and offline diagnostics.
- Operational capacity policies, compatibility checks, retention controls and optional telemetry.
- Container packaging, remote worker deployment, and backup/restore guides.
- Editable SVG diagrams and Apache 2.0 source attribution.
See current capabilities for integration scope and verification boundaries. Messaging connectors have local protocol verification; live provider account provisioning and message delivery require separate validation.