Repository navigation
Releases
SutraFlow 2.1.8
SutraFlow 2.1.8 release notes
Prepared 2026-11-08. Copyright (c) 2026-27 Surya Partap Singh, MixAgile.com. AGPL-3.0-only; a commercial licence is available.
| Download | For |
|---|---|
sutraflow-2.1.8-windows.zip |
Windows 10, 11 and Windows Server 2019 or later |
sutraflow-2.1.8-windows-x64-offline.zip |
The same with the runtime packages inside, for servers without the npm registry |
sutraflow-2.1.8-linux.tar.gz |
Linux (x64 or arm64); also macOS |
Each comes with a .sha256 file to check the download: sha256sum -c <archive>.sha256, or on Windows Get-FileHash <archive> -Algorithm SHA256.
2.1.8 makes the project boundary hold: a person granted one project can no longer read, use, change or watch another project's secrets, connections, schemas or runs, and no project role can start a program on the server unless an administrator allowed it. It closes every finding of the 2.1.7 security audit. It also lets AI assistants build Sutras through the studio's own MCP server, gives each person a profile with their own API tokens, and adds moderation, language and an answer cache to the AI guard.
In short
- Security: project boundaries (the seven audit findings and five review findings below): server environment variables only when an administrator allows them, never the server's own; a Secret property only for its own project's secret; AI command lines found on upgrade wait for approval; links and junctions cannot lead out of a folder; secrets only through the project's own Secret properties; programs on the server (AI command-line tools, MCP servers started by a command) only when an administrator allows them; one project per request, and create never overwrites; design previews and live run events show only the caller's projects; the rest of the API checked for the same mistakes; patched
globandminimatch. - Build Sutras with an AI assistant: a new MCP server at
/mcp/studioon the admin port. GitHub Copilot, Claude Code, Antigravity, Cursor and other MCP clients read projects, activities, connections and properties (never secret values), create and change Sutra drafts (a change is shown as a difference and saved only when confirmed), run the design check and test runs, and hand releases over. It never deploys without the plan id a person approved. Every call is in the audit log, marked generated. - My profile and personal API tokens: select your name in the designer, or My profile in the Admin Console, to see your roles, change your password and make your own API tokens. A token acts as you, with your roles, expires after 30, 60 or 90 days (your choice) and is renewed with one click. Administrators see and revoke people's tokens and can switch personal tokens off for the server.
- More AI guard checks: moderation categories with a threshold each (block, or warn only), language detection with translation, and a cache of answers for repeated questions, per Sutra and per person (never shared across people unless set to everyone).
- Personal data hidden in logs: a project can mask e-mail addresses, phone and card numbers, IBAN, Aadhaar, PAN, SSN and similar data in its log lines and run history.
- Admin Console charts: the legend of the Overview charts no longer sits on the time labels, midnight reads 8 Nov instead of a bare 8, and an empty chart says No activity in this period.
- Documentation: MCP has its own part in the user guide, with new chapters Connecting AI assistants over MCP, My profile: password and API tokens and What is new in 2.1.8; the guides were reread and the dense or machine-like passages rewritten in plain words; "(2.1.x)" tags that only said when something arrived were removed.
Security
The 2.1.7 security audit (8 November 2026, revision 1238f52) found six ways a signed-in person could cross a project boundary or start a program, and one dependency advisory. All are fixed, each with tests that try the attack and expect a refusal.
| # | Seen in 2.1.7 | Now |
|---|---|---|
| F1 (High) | A person with Design in one project could have a stored secret of another project sent to an address of their choice, for example through an AI provider's model list | While a project's work runs (steps, listeners, Test connection, model lists, previews), only the secrets behind that project's own Secret properties and the engine's can be read, however the name arrives. {{secret.NAME}} with a bare vault name is refused. The list of secret names shows a project's own names, and the whole list needs the Secrets permission |
| F2 (High) | An AI provider using a command-line tool could start any program on the server, even with scripts switched off, with the server's whole environment | A separate AI command-line tools switch (Admin Console, Server, Runtime) with a list of allowed command lines; it also covers MCP servers started by a command. AI tools run in an empty folder, refuse flags that let them act without asking, and get a small environment |
| F3 (High) | A request could name one project for the permission check and another for the work (projectId and project_id) |
The project of each request is settled before the permission check; a request naming two different projects is refused (400) and audited |
| F4 (High) | Creating a connection or schema with the id of another project's item overwrote it | Create refuses an id that exists (409); an update always keeps the stored project; the save functions never move an item to another project |
| F5 (Moderate) | The design preview showed the fields of another project's schema | The preview needs the project and shows a warning instead of another project's schema |
| F6 (Moderate) | The live event stream sent every run's id and status to every signed-in account | Each event is checked against the caller's current grants: View on the run's project, Design for test and debug runs |
| F7 (Moderate) | glob and minimatch advisories through @fastify/static |
@fastify/static 10.1, glob 14.0.3 and minimatch 11.0.3; npm audit --omit=dev reports none |
A review of the 2.1.8 build found five more gaps before release. All are fixed, each with a test that tries the attack:
| # | Seen in the 2.1.8 build | Now |
|---|---|---|
| G1 (High) | A project property written ${env:SUTRA_ADMIN_TOKEN} read the server's admin token, which then opened the administrator API |
${env:NAME} in project properties, deployment config, logging and connections reads only names an administrator allowed (Environment variables for projects, Server, Runtime). Names starting with SUTRA_ are the server's own and can never be allowed, and script steps no longer receive them |
| G2 (High) | A developer could point their own Secret property at another project's stored secret by its reference | Each stored secret records its project. A Secret property may point only to its own project's secret, a name not stored yet, or (with Manage secrets) a server secret. A secret of another project is refused when the property is saved and reads nothing at run time, even through a binding made earlier |
| G3 (High, on upgrade) | The upgrade switched AI command-line tools on and trusted every command found in existing connections | After the upgrade the switch is off. The commands found are listed under Waiting for approval, with the connections they came from, until an administrator approves or dismisses each |
| G4 (Moderate) | A directory junction or symbolic link inside a File step's folder, or a project's files folder, let reads and writes reach other folders | Paths are checked at their real location, following links and junctions. Folder listings do not follow links. Also save to folder of Build package saves only inside <data>/releases or a project files folder |
| G5 (Low) | A renewed JWT started a new answer cache for the same person | The cache knows a person by sign-in method, subject, issuer, tenant, audience and app, not by token times and ids. A different issuer or tenant is still a different person |
The rest of the API was checked for the same mistakes. Fixed as well: POST /api/soap/describe (another project's WSDL, connections and profiles, and files on the server by path), POST /api/flows/validate, POST /api/packages/test and /open, the Admin Console's memory tables, agent conversations and alerts, GET /api/server, and gateway policies reading secrets outside their project. A route table test fails when a new route without a project is added without a reviewed reason.
Install and upgrade
Install as for 2.1.7. Upgrade from 2.1.0 to 2.1.7: unpack 2.1.8 in a folder of its own and run bin/sutraflow upgrade from there. It adds the table guard_cache, the column secrets.project_id, and the settings aiCliPolicy, personalTokens and envBindings, made on upgrade. Secrets stored from a project's Secret property are marked as that project's.
What changes for you:
- Secrets named directly are refused. A connection, Sutra or gateway policy that names a stored secret directly, or uses
{{secret.NAME}}with a vault name, fails with a message saying so. Before upgrading production, runsutra secret check(exit 1 when anything is listed) or look at Secrets that will be refused on the Admin Console Overview after the upgrade. For each item, add a Secret project property (or an engine one) that points to the secret and pick it instead. A release that names a secret directly does not pass its check. - AI command-line tools need the new switch. After the upgrade it is off on every server. If AI providers use the Claude, Gemini or Codex command-line tool, or MCP servers are started by a command, open Admin Console, Server, Runtime: the commands found are under Waiting for approval. Approve the ones you know and switch the tools on. A tool that signs in with an environment variable needs that variable ...
SutraFlow 2.1.7
SutraFlow 2.1.7 release notes
Prepared 2026-11-07. Copyright (c) 2026-27 Surya Partap Singh, MixAgile.com. AGPL-3.0-only; a commercial licence is available.
| Download | For |
|---|---|
sutraflow-2.1.7-windows.zip |
Windows 10, 11 and Windows Server 2019 or later |
sutraflow-2.1.7-windows-x64-offline.zip |
The same with the runtime packages inside, for servers without the npm registry |
sutraflow-2.1.7-linux.tar.gz |
Linux (x64 or arm64); also macOS |
sutraflow-2.1.7-docs.zip |
The user guide, the Administration Guide, the Sutra Design Guide and the architecture page, to put on a website |
Each comes with a .sha256 file to check the download: sha256sum -c <archive>.sha256, or on Windows Get-FileHash <archive> -Algorithm SHA256.
2.1.7 is about trusting what the designer shows: a step sees only the data it can really receive, every line shows where it comes from, a called Sutra states its input once, and every run says whether it was a test or real work.
In short
- A step sees only the steps before it (lanes): the Input tab, the condition picker, template and SQL fields, the design check and the engine apply one rule. A step may use the trigger, properties, Local variables and the outputs of steps before it on a connected path. A step on another lane is not offered, is a design problem, and fails the step at run time with the same message. After a Merge both lanes count. Trigger data (trigger) is listed on every step, and pointing at a
{{…}}under a field says where it comes from. - Lines you can follow: pointing at a line names it (from step (port) → to step) and highlights it; selecting a step lights its lines and dims the rest; Path lights every step before and after it. Where two or more lines meet, each takes its source step's colour from a palette of 8 (or one chosen by hand, saved in the Sutra; right-click a step to colour all its lines), with a key on the step's Input tab. Tidy lays a Sutra out left to right in one undo step. Error lines stay red and dashed, so meaning never depends on colour.
- Called Sutras state their input once: Manual start takes an XSD as well as a JSON Schema, with an XML test payload, and gives later steps the Parse XML shape plus the original
xml. Call Sutra follows the called Sutra's Manual start schema as its input contract (Input contract from the called Sutra) and says when that Sutra changes it. An invalid input fails the Call Sutra step before any step of the called Sutra runs: the same check for the studio and the Run API. - Design runs and runtime runs: every run records its stage (design: tests, debugging, drafts; runtime: deployed work) and the client that started it by hand (studio, api, cli). The Admin Console figures, alerts, Traceability, the runs-at-once limit and the Prometheus run metrics (new
stagelabel) count runtime runs; Runs and Traceability have a Design / Runtime / All filter. Design runs are deleted after 7 days (SUTRA_DESIGN_RUN_RETENTION_DAYS, Keep design runs). - Smaller fixes: a Dashboard page step links to its page once deployed and says not deployed before; a query on missing sample data names the install Sutra to run first; the bundled samples were laid out again so lines do not run under steps; two new samples show a called Sutra with an XML contract.
Install and upgrade
Install as for 2.1.6. Upgrade from 2.1.0 to 2.1.6: unpack 2.1.7 in a folder of its own and run bin/sutraflow upgrade from there. It adds two columns to runs (stage, client) and an index, fills the stage of existing runs in batches from their source and version (a test, a debug run or a draft is design), and needs no new settings.
What changes for you:
- A step that uses a step on another lane now fails (decided for 2.1.7; no setting turns it off, and older Sutras are not handled specially). Before upgrading production, open each project and run the design check. Where a step uses a step on another lane, connect that step before it, or move the step after the place where the lanes meet (for example a Merge).
- Design runs are deleted after 7 days. Set Keep design runs (Engines, Tuning) or
SUTRA_DESIGN_RUN_RETENTION_DAYSto keep them longer; 0 leaves them to Keep finished runs. Runtime runs are not affected. - Figures leave out every design run, including runs of a draft started through its REST, SOAP or other trigger, which some figures used to count.
- Prometheus:
sutra_runs_started_total,sutra_runs_finished_totalandsutra_run_duration_secondshave a newstagelabel (designorruntime). Queries that match the old label sets exactly needstageadded, orsum without (stage).
Fixes in 2.1.7
| Seen | Cause | Now |
|---|---|---|
| A step could use the output of a step on another lane; depending on timing it got that output, or nothing | The mapper listed other lanes ("available only after completion") and the engine let any step read any step's output | One rule for the designer, the design check and the engine: only the steps before it on its path. A reference to another lane is a problem in the design check and fails the step at run time with the same message |
| Where many lines met at one step (the dashboard samples) it was hard to tell which line came from where | Every line looked the same apart from its port; the connection was named only in the side panel | Lines are named when pointed at and highlighted with their ends; where two or more meet each has its source step's colour, with a key on the Input tab; Path and Tidy |
| In the bundled samples lines ran under steps and labels overlapped | The samples were laid out for columns 240 px apart while a step is 250 px wide | Samples are placed with columns 340 px apart and the crowded ones laid out again; a test fails when any sample's steps overlap or its lines have too little room |
| A Call Sutra step mapped to an input schema copied by hand, which still looked right after the called Sutra changed its input; the error came only from the called Sutra, after it had started | Call Sutra kept its own Input schema, unrelated to the called Sutra's Manual start | Call Sutra follows the called Sutra's schema for the chosen version, warns when it changes until the change is accepted, and refuses an invalid input before the called Sutra starts |
| Figures, alerts and traces could count test runs, and did not agree with each other | Each left out test and debug runs its own way, by source; runs of a draft through a trigger counted as real work |
Every run has a stage, decided in one place when it starts (a called Sutra takes its caller's); every figure counts runtime runs only |
| A Dashboard page step did not show where its page was, or whether it was published | The page address was only in the guide | The step shows the page's link once deployed, not deployed before, and asks to deploy again when the draft's name differs |
| A sample query on missing sample data failed with only the database's message (Table … doesn't exist) | Nothing linked the sample to the install Sutra that makes its data | The error adds the install Sutra of the project that makes it: Run 'Sample: Sales orders install' first: it makes sample_sutraflow. |
What is new in 2.1.7
What a step can see
- The rule: the trigger (
{{trigger…}}), Project and Engine properties, Local variables, and the outputs of the steps before it on a connected path. After a join both lanes count; a loop back does not make later steps count as before; the Error handler sees every step; a condition on a line uses the step it leaves and the steps before it. - Designer: Sutra Data, the condition picker and template fields offer only what the rule allows. Trigger data (trigger) is on every step, so dragging writes
{{trigger.params.region}}. Under text fields (SQL, templates) each{{…}}says where it comes from, and SQL fields add that run data is sent as a bound parameter. - Design check: a reference to a step that is not before this one is a problem naming the step, the field and the step used.
{{nodes.…}}in mappings, templates and conditions, JSONata$nodesand Code steps'nodescount. - Engine: such a reference fails the step with the same message. Each step gets only the outputs it may see.
- Samples: every sample passes the check (a test fails otherwise). The filter SQL of Sales dashboard on a database has a comment: an empty filter matches every row, and each value is a bound parameter.
Lines on the canvas
- Pointing at a line: a label from step (port) → to step, the line and both ends highlighted.
- Selecting a step: its lines and the steps at their other ends lit, the rest dimmed. Path (toolbar) lights every step before and after it.
- Colours: automatic only where two or more lines go into one step, by source step, stable when steps move; with more than 8 sources the least used colour is repeated. By hand in the line's side panel (palette or Automatic), saved as
edge.colorand kept in exports, packages and Git; right-click a step, Colour its lines, for all of them. The palette is checked for contrast in the light and dark themes. - Key: a step receiving several lines lists them with their colours on its Input tab.
- Tidy (toolbar): columns by the longest path from the trigger, each column ordered to cross fewer lines, stacked by real step heights; one undo step.
- Run view: Runs, Open in designer shows the same colours and highlighting.
Manual start and Call Sutra contracts
- Manual start with an XSD: an XML test payload (the design check warns when it is not XML). Input may be XML text,
{ "xml": "…" }or data in the Parse XML shape; text is checked against the XSD (DTDs and entities refused). Output: the Parse XML shape plusxml. - Call Sutra: Input contract from the called Sutra (turned on when a Sutra is pick...
SutraFlow 2.1.6
SutraFlow 2.1.6 release notes
Prepared 2026-11-04. Copyright (c) 2026-27 Surya Partap Singh, MixAgile.com. AGPL-3.0-only; a commercial licence is available.
| Download | For |
|---|---|
sutraflow-2.1.6-windows.zip |
Windows 10, 11 and Windows Server 2019 or later |
sutraflow-2.1.6-windows-x64-offline.zip |
The same with the runtime packages inside, for servers without the npm registry |
sutraflow-2.1.6-linux.tar.gz |
Linux (x64 or arm64); also macOS |
Each comes with a .sha256 file to check the download: sha256sum -c <archive>.sha256, or on Windows Get-FileHash <archive> -Algorithm SHA256.
2.1.5 was built but not published: a review of its new features found four serious problems (fixed below). 2.1.6 holds everything 2.1.5 brought (the sections What is new in 2.1.5 below) with those fixes, plus 2.1.6's own changes. Upgrade from 2.1.4 straight to 2.1.6.
In short
- Redeploying needs a person (2.1.6): a release may replace Sutras already deployed, but only after someone has seen the plan (each Sutra new, unchanged or replacing the version here, those undeployed) and approved it:
yestyped atsutra deploy,--approve <plan id>in pipelines (exit code 3 without it), or the project name typed in the Admin Console. A plan id no longer matches once the server changes. - Never overwritten without a list (2.1.6): deployments and config files create connections, project properties and settings that are missing and keep the ones already there, listing them in a checklist (name, type, where it points, the fields that differ, never values) for the operations team to verify.
- Configuration as files (2.1.6):
sutra config export | check | applykeeps a server's settings (engine properties, roles, system accounts, shared connections, gateway, firewall, plans and apps, alerts, server knowledge bases) and projects' connections and properties in YAML or JSON in Git, with one small environment file per environment; secrets from${env:}orfile:into the vault. Apply is all or nothing. - Containers, Kubernetes and pipelines (2.1.6): an official image
ghcr.io/spinny007/sutraflow, signed and with an SBOM, for amd64 and arm64;sutraflow image build | savefor sites without internet; Compose files and Kustomize manifests (engines, optional studio, test and prod overlays, a config-and-deploy Job) indeploy/; release pipelines for GitHub Actions, GitLab CI, Azure DevOps and Jenkins with a manual approval of the plan. - Fixes to 2.1.5's new features (2.1.6): a knowledge base offered as an MCP tool is never served without a policy; dashboards cached per caller keep callers with the same subject but another issuer or other claims apart; a project granted an area cannot remove another area that differs only in case; removing the samples keeps a Samples project that holds connections, schemas or properties of the site; write grants keep working when every project may search.
- Dashboards: a new Dashboards palette publishes a Sutra as a page of Apache ECharts charts on the gateway (
/dash/<name>), on a database, an API or any JSON, behind a security policy, with filters (slicers) and click-to-filter, KPI cards, grouping of raw rows, refreshed on a schedule with results shared by every viewer, and PNG and SVG export; an AI may plan or suggest charts, used only after an allow-list check. - Knowledge admin: an administrator shares a project's knowledge base with other projects (every project to search, or granted projects by area, to search or also to change), keeps areas in step with folders, SFTP, SharePoint, Google Drive, web pages, a database or an API on the leader (only changed items get new vectors), offers it as an MCP search tool, and exports a source as a Sutra; one writer per area, enforced by the engine.
- Conversation tokens: every answer of a published agent carries a token signed by SutraFlow. It continues the conversation only for the caller who started it, and only for a set time; administrators clear expired conversations and their memory.
- Who is chatting: the caller's verified claims and scopes reach the agent (
{trigger.caller.claims.role}), so one agent can serve customers and support staff differently; the chat button carries a website's own login. - Knowledge from databases and APIs: sample Knowledge feed from a database turns a MySQL product table into a knowledge base (changed rows again, unchanged skipped, unpublished removed) with a search API; tested on a local and a hosted remote MySQL.
- A chat example with a website: sample Chat for customers and support with the PHP website Sutra Sample Shop (
samples/sutra-sample-shop, also a download of its own) that signs people in and hands the chat their token; eight skills, and the website can use a SutraFlow on another server. - Sample data named sample_: everything the samples store is named
sample_<objective>(tables, databases, collections, counters, queues, folders), and the installer's new Samples mode adds the samples to an installation or lists and removes them with their data, also through the Sample ... connections; earlier versions' sample names are recognised. No samples and no AI knowledge are set up unless chosen. - Installer: server name, the gateway certificate (self-signed, your files or Let's Encrypt), sample Sutras, steps at once per engine, heartbeat and drain, a check that the engines see each other,
sutraflow engine-filefor an engine joining later, and YAML install files.
Install and upgrade
Install as for 2.1.4. Upgrade from 2.1.0 to 2.1.4 (or a 2.1.5 build): unpack 2.1.6 in a folder of its own and run bin/sutraflow upgrade from there. It adds six tables (agent_conversations, and for Knowledge admin kb_admin, kb_grants, kb_sources, kb_source_items, kb_sync_runs), made on upgrade, and no required settings.
What changes for you:
- Deployments that replace Sutras already deployed (or undeploy them) need approval (2.1.6). Pipelines that ran
sutra deployunattended stop with exit code 3 and the plan: add a manual approval and--approve <plan id>fromsutra check(templates indeploy/ci). Packages inSUTRA_DEPLOY_DIRand rollbacks are not affected. - A release's deployment config no longer changes connections and project properties already on the server (2.1.6); it creates missing ones and lists the rest in the checklist. Change an existing connection in the Admin Console or the designer, on purpose.
- Clients that made up their own session ids for a published agent (the chat API, the OpenAI-compatible API, A2A
contextId, the MCP tool'ssession) now get a new conversation each time, until they send back the token SutraFlow returns (sessionId,X-Session-Id,contextId,session). The chat page and widget already do. OpenAI-compatible clients that send the whole history are not affected. - Conversations end after the agent channel's Conversation lasts time (24 hours unless set); the next message starts a new one.
- Chat visitors (no policy) get a new kind of signed identity; 2.1.4 identities are renewed on their next message, so nobody loses a conversation.
Fixes in 2.1.6
| Seen | Cause | Now |
|---|---|---|
| Clearing the policy of an MCP server that offers a knowledge base as a tool opened the knowledge base to anyone: an anonymous request got private passages | Knowledge admin asked for a policy only when the tool was set up; the MCP handler served anonymously when the server had none | A knowledge tool answers only behind its MCP server's policy; without one it answers 503 and shows nothing |
| A dashboard cached for each caller could show one caller's result to another: two tokens with the same subject from different issuers shared the cache | The cache key held only the method, the subject and the app, while the Sutra also sees the issuer, roles, scopes and other claims | The key covers everything the Sutra receives about the caller (except the token's own times and id, so a renewed token keeps its cache) |
A project granted the area products could remove Products/private from a knowledge base kept in SQLite |
The access check compares areas with their case; the removal used SQLite's LIKE, which ignores case | Areas are matched exactly, with their case, on SQLite and PostgreSQL |
| Removing the samples could delete connections, schemas and properties someone had added to the Samples project, without listing them | The project went once no other Sutras were left in it, and deleting a project takes all its connections, schemas and folders | The project goes only when nothing but the listed sample items is in it; otherwise it is kept and the list says what it holds |
| Choosing Every project may search took away a project's grant to add and remove in its area | The access check returned search-only before reading the project's grants | Every project searches the whole base and write grants still apply; Knowledge admin shows the grants in both modes |
| The upgrader refused an installation already on the package's version ("It already runs 2.1.6"), leaving no safe way to repair damaged program files | Only a lower version counted as upgradable | Reinstall runs the same safe steps over the same version, only when asked for |
What is new in 2.1.6
Redeploying needs approval
- The plan:
sutra check, the Admin Console's Releases page and the designer's Releases page show what a release does before it changes anything: each Sutra new, unchanged, deployed again or replaces (with the version here), Sutras undeployed, changed schemas, what is created, the checklist, and a plan id (a hash of the release and of what is on the server now). - Approval: replacing or undeploying needs a person:
yestyped in a terminal,sutra deploy --approve <plan id>in a pipeline, t...
Sutra Flow - 2.1.5
SutraFlow 2.1.5 release notes
Prepared 2026-11-03. Copyright (c) 2026-27 Surya Partap Singh, MixAgile.com. AGPL-3.0-only; a commercial licence is available.
| Download | For |
|---|---|
sutraflow-2.1.5-windows.zip |
Windows 10, 11 and Windows Server 2019 or later |
sutraflow-2.1.5-windows-x64-offline.zip |
The same with the runtime packages inside, for servers without the npm registry |
sutraflow-2.1.5-linux.tar.gz |
Linux (x64 or arm64); also macOS |
Each comes with a .sha256 file to check the download: sha256sum -c <archive>.sha256, or on Windows Get-FileHash <archive> -Algorithm SHA256.
In short
- Dashboards: a new Dashboards palette publishes a Sutra as a page of Apache ECharts charts on the gateway (
/dash/<name>), on a database, an API or any JSON, behind a security policy, with filters (slicers) and click-to-filter, KPI cards, grouping of raw rows, refreshed on a schedule with results shared by every viewer, and PNG and SVG export; an AI may plan or suggest charts, used only after an allow-list check. - Knowledge admin: an administrator shares a project's knowledge base with other projects (every project to search, or granted projects by area, to search or also to change), keeps areas in step with folders, SFTP, SharePoint, Google Drive, web pages, a database or an API on the leader (only changed items get new vectors), offers it as an MCP search tool, and exports a source as a Sutra; one writer per area, enforced by the engine.
- Conversation tokens: every answer of a published agent carries a token signed by SutraFlow. It continues the conversation only for the caller who started it, and only for a set time; administrators clear expired conversations and their memory.
- Who is chatting: the caller's verified claims and scopes reach the agent (
{trigger.caller.claims.role}), so one agent can serve customers and support staff differently; the chat button carries a website's own login. - Knowledge from databases and APIs: sample Knowledge feed from a database turns a MySQL product table into a knowledge base (changed rows again, unchanged skipped, unpublished removed) with a search API; tested on a local and a hosted remote MySQL.
- A chat example with a website: sample Chat for customers and support with the PHP website Sutra Sample Shop (
samples/sutra-sample-shop, also a download of its own) that signs people in and hands the chat their token; eight skills, and the website can use a SutraFlow on another server. - Sample data named sample_: everything the samples store is named
sample_<objective>(tables, databases, collections, counters, queues, folders), and the installer's new Samples mode adds the samples to an installation or lists and removes them with their data, also through the Sample ... connections; earlier versions' sample names are recognised. No samples and no AI knowledge are set up unless chosen. - Installer: server name, the gateway certificate (self-signed, your files or Let's Encrypt), sample Sutras, steps at once per engine, heartbeat and drain, a check that the engines see each other,
sutraflow engine-filefor an engine joining later, and YAML install files.
Install and upgrade
Install as for 2.1.4. Upgrade from 2.1.0 to 2.1.4: unpack 2.1.5 in a folder of its own and run bin/sutraflow upgrade from there. 2.1.5 adds one table (agent_conversations) and no required settings.
What changes for you:
- Clients that made up their own session ids for a published agent (the chat API, the OpenAI-compatible API, A2A
contextId, the MCP tool'ssession) now get a new conversation each time, until they send back the token SutraFlow returns (sessionId,X-Session-Id,contextId,session). The chat page and widget already do. OpenAI-compatible clients that send the whole history are not affected. - Conversations end after the agent channel's Conversation lasts time (24 hours unless set); the next message starts a new one.
- Chat visitors (no policy) get a new kind of signed identity; 2.1.4 identities are renewed on their next message, so nobody loses a conversation.
What is new in 2.1.5
Dashboards
- Dashboard page (trigger): the page
/dash/<name>while deployed, with a title, a description, filters (list, multi list, date range, number range, search: their values in the page address,{{trigger.params.<field>}}for SQL as bound parameters and{{trigger.filters}}for Chart steps; a click on a chart sets the filter of its category field), who may see it (a security policy: the page holds no data, its data request goes through the policy), a refresh time, whether results are the same for everyone or kept per caller, and the number of columns./dash/<name>/embed.jsputs it on another web page; a page with its own login passes it withwindow.SutraDashboard = { token: () => accessToken }. - Chart: rows to a chart: bar, horizontal bar, line, area, pie, donut, scatter, a number, a KPI card (the total or the latest period, the change against the one before, a trend line, a target), a gauge or a table, with category and value fields, stacking, sorting, a row limit, a unit and a colour palette. Rows from SQL, an API answer (List inside), any JSON; raw rows grouped and added up (sum, average, count, distinct count, min, max), dates by day, week, month, quarter or year, series split by a field, nested fields such as
customer.city; the page filters applied to the rows. Plain JSON options only: no code, no links. - Charts from AI (new): plans the charts of a dashboard for rows of any shape. With an AI provider the model chooses from field names and kinds (and a few rows only when allowed); without one, built-in rules choose. Every chart passes the allow-list, and the numbers are worked out from the rows.
- Settings from a step: a Chart takes its settings from an earlier step, such as an AI prompt asked to choose a chart, only when they pass the allow-list (known settings, chart types and palettes, fields that are in the rows); anything else is refused and logged, and the step's own settings are used. The data always comes from the rows.
- Dashboard reply: the charts in the order the page shows them (a Charts from AI list counts as its charts), the choices of list filters, and a note. A dashboard run that ends without it (such as an SQL query with no rows whose empty port is not connected) now says so on the page.
- Refresh and cache: the page asks for data every refresh time; the answer is kept on the server for that time and shared by every viewer (or per caller), and viewers arriving during a run wait for it instead of starting another. The page's query parameters reach the Sutra as
params. - Apache ECharts from SutraFlow itself:
npm run buildcopies ECharts (6.1.0, Apache-2.0, with its licence and notice) intodist/web/vendor/echarts; the gateway serves it at/dash/vendor/echarts.min.js. No CDN; dashboards work offline. Light and dark follow the viewer's system. - Export: PNG and SVG buttons on every chart.
- Sample: Sales dashboard on a database (new, Samples/Dashboards): with Sample: Sales orders install, a MySQL table
sample_sutraflow.sample_sales_orders(180 orders) and the page/dash/sales-db: filters for region, categories and dates as bound parameters, KPI cards with the change and a target, revenue by month split by region, click-to-filter by category and region, best customers and the latest orders. - Sample: Dashboard from JSON (new, Samples/Dashboards):
/dash/orders-jsonfrom an API-style answer, grouped by month, split by channel, a nested field, four filters including a search, and three charts planned by Charts from AI. - Sample: Sales dashboard (new, Samples/Dashboards): five charts from SQL queries on the built-in SQLite file (total revenue, revenue by month, orders by category, top products, latest orders), and a suggestion step standing in for an AI whose unknown field is refused.
Knowledge admin
- Admin Console, Knowledge admin (new page, Server permission): every knowledge base with its home project. Server knowledge base on: Every project may search the whole base, or Granted projects only, each grant naming the project, the area (a folder of sources such as
products; empty = whole base) and whether it may add and remove there. The home project keeps full use; removing everything, rebuilding vectors and building the search index stay with it and administrators. - The engine checks every step, agent tool and API call: a project searches only its granted areas (a search without a filter searches all of them), and changing outside its areas fails with the reason. A granted knowledge base appears in the project's knowledge base lists marked with its home project and areas; its own connections are used through it, never offered to the project.
- Managed sources: files in a server folder, an SFTP or FTP folder, SharePoint or OneDrive, a Google Drive folder, web pages, a database query or an HTTP API (JSON), each writing one area, on a schedule (minutes or cron) or Sync now, on the leader only and one after another. Only new and changed items are read and get vectors (files by size and time, rows by their text and details); items gone from the source are removed; an item that cannot be read keeps its passages; an empty listing removes nothing. History (the last 50 syncs), Re-index, Remove with its passages. A Sutra of a project source gives that project changes to one area.
- One writer per area: an enabled managed source, a Sutra exported from one, or one granted project; a second writer on the same or an inner area is refused, naming the current one.
- Export as Sutra (database, folder and web sources): a Sutra of ordinary steps in the home project; the managed sync stops, and the exported Sutra may c...
SutraFlow 2.1.4
SutraFlow 2.1.4 release notes
Prepared 2026-11-02. Copyright (c) 2026-27 Surya Partap Singh, MixAgile.com. AGPL-3.0-only; a commercial licence is available.
| Download | For |
|---|---|
sutraflow-2.1.4-windows.zip |
Windows 10, 11 and Windows Server 2019 or later |
sutraflow-2.1.4-windows-x64-offline.zip |
The same with the runtime packages inside, for servers without the npm registry |
sutraflow-2.1.4-linux.tar.gz |
Linux (x64 or arm64); also macOS |
sutraflow-2.1.4-docs.zip |
The user guide, the Administration Guide, the Sutra Design Guide and the architecture page, to put on a website |
Each comes with a .sha256 file to check the download: sha256sum -c <archive>.sha256, or on Windows Get-FileHash <archive> -Algorithm SHA256.
In short
- Trusted proxies: behind Apache, nginx or IIS, SutraFlow now sees each caller's real address and the HTTPS the proxy ended, from the proxies you list, and from no one else.
- Big documents use less memory: streaming a 48 MB document into a pgvector knowledge base with 32 workers peaks at about 140 MB of live heap instead of 300 MB, and is faster.
- Keys shown once: the web installer shows the new master key and admin token on its last page, for safe keeping.
- WebSocket broadcasts in a cluster: a client that has just connected gets the next broadcast, and an engine that died stops collecting broadcasts it would later send to the wrong clients.
- A new book, the Sutra Design Guide: design standards for Sutras, from naming and functions to REST, SOAP, integration patterns, messaging, error handling and microservices; blueprints for a microservices platform, mobile APIs, broker integration and notifications; tracing an order from project to Sutra to run; every sample explained with what to change before production; a review checklist.
- A new sample, Traceability and notifications: one order through an intake Sutra, a called credit check and a notification hub on an internal channel, with one correlation id in every log line.
Install and upgrade
Install as for 2.1.3: bin/sutraflow install in the unpacked folder (Windows bin\sutraflow.cmd install), or silently with --config. Upgrade from 2.1.0, 2.1.1, 2.1.2 or 2.1.3: unpack 2.1.4 in a folder of its own and run bin/sutraflow upgrade from there (the Administration Guide's Upgrading). 2.1.4 changes no database tables and adds no required settings.
What changes for you:
- Behind a reverse proxy: nothing changes until you list the proxy under Admin Console, Gateway, Firewall, Trusted proxies. Then the request log, firewall, IP rules, rate limits and sign-in attempts see the caller's address, and Require HTTPS accepts calls the proxy received over HTTPS. Make sure the proxy replaces
X-Forwarded-ForandX-Forwarded-Proto(the Administration Guide has the Apache, nginx and IIS settings). - Streaming steps (Read file or List with Stream in batches) may pause a little more often: they wait while the batches they handed on hold more than 8 MB of input.
SUTRA_STREAM_BUFFER_MBraises or lowers it.
What is new in 2.1.4
Trusted proxies
- Admin Console, Gateway, Firewall has a Trusted proxies list (addresses or IPv4 ranges);
sutra gateway proxies --trusted 127.0.0.1sets it from the command line, andGET/PUT /api/gateway/proxiesfrom the admin API (Gateway permission). - From a trusted proxy,
X-Forwarded-Forgives the caller's address, read from the nearest hop back to the first address that is not a trusted proxy (a caller cannot hide behind a forged first entry), andX-Forwarded-Proto: httpscounts as HTTPS. From anyone else both are ignored. - It applies to the gateway (REST, SOAP, MCP, AI agents, WebSocket upgrades, the firewall, policies' IP rules, Require HTTPS and rate limits, the request log, Started by) and to the studio (sign-in attempts, the audit log, secure cookies). Every engine applies a change within two seconds.
Knowledge bases and big documents
- PostgreSQL (pgvector) knowledge bases store passages 100 to a statement instead of one: a 1 MB part took 800 round trips.
- A new source is learned 500 passages at a time (vectors made, then stored), so a big text never holds all its vectors at once. Replacing a source still makes every vector first, so a failure keeps the old passages.
- Streaming steps wait while the steps they handed on, waiting or running, hold more than
SUTRA_STREAM_BUFFER_MB(8) of input; one batch always goes on. Before, only the number of waiting steps counted, and 32 workers could each hold a 1 MB part with its passages and vectors. - Measured (one engine, 32 workers, a 48 MB document in 54 parts of 2,000 lines into pgvector): live heap during the run about 140 MB instead of 300 MB, the run 58 s instead of 88 s, and back to the starting 69 MB afterwards. The 8-hour 2.1.1 soak's 1.2 GB was memory not yet given back while load went on, not memory held: after the run the heap returns to where it started.
Samples
- Traceability and notifications (new, Samples/Flow control): Sample: Trace order intake makes a correlation id from the order number, logs it, calls Sample: Trace credit check and announces the result on the channel
sample-order-events; Sample: Trace notification hub, deployed, decides whom to tell. Every log line carries the order number, the correlation id and the run ids, so an order is found in Traceability (Find a run with the order number) and in the project log.
Installer
- A new Master key step makes
data/master.keybefore the tables (which used to make it without saying so). - The last page shows a newly made master key and admin token once, with Copy buttons and the files they are in, until I have kept a copy and Hide them. They never go to the installer's log or the saved answers; a silent install prints only where they are.
WebSocket services in a cluster
- A connection is registered before the client sees it open, so a broadcast sent at once reaches it.
- The leader removes the connections of an engine that stopped beating, and the broadcasts queued for it; an engine clears what was left for it when it starts, and drops a message older than 30 seconds instead of sending it to whoever connected since.
Documentation
- Sutra Design Guide (
docs/sutraflow-design-guide.html, new): the design standards for designers and reviewers, in 38 chapters. Foundations (principles, projects, folders and naming conventions); building blocks (the anatomy of a Sutra, functions and transformations in detail with the pitfalls of each function group, called Sutras as functions, variables and counters, data contracts, configuration and secrets); APIs and web services (REST resources, methods, status codes and a standard error body, SOAP contract-first, API security and the gateway with trusted proxies, calling other services, WebSockets and AI tools); integration processes (a catalogue of integration patterns built with Sutras, orchestration or choreography, messaging and acknowledgement, files and batch, databases, error handling with retries and compensation, logging and traceability); microservices (boundaries, synchronous and asynchronous communication, anti-patterns, resilience and performance); solution blueprints (packaging with properties, connections and secrets; a microservices platform with its deployment strategy; an API for mobile apps; integration through a message broker; notifications through an internal channel, a broker, Call Sutra or alert rules; error handling through logs and tracing an order from the project to each Sutra and run); every sample explained group by group with its design lessons and what to change before production; delivery (testing, versions and releases) and a design review checklist. Rules are marked Must, Should and May. It links into the user and administration guides, ships in every package and in the docs archive. - The user and administration guides describe trusted proxies (with Apache, nginx and IIS settings), the master key and admin token (what they are, what losing them means, how to keep them), the keys shown once by the installer, and
SUTRA_STREAM_BUFFER_MB.
Fixes in 2.1.4
| Seen | Cause | Now |
|---|---|---|
| Learning a big streamed document took the engine's heap to about 300 MB with 32 workers (518 MB at the peak), and in the 8-hour soak the engine stayed at 1.2 GB | 32 Learn steps ran at once, each holding a 1 MB part with its passages and vectors while it waited for one of the knowledge base's 4 database connections; each passage was a statement of its own | Passages go 100 to a statement, a new source is learned 500 passages at a time, and streaming waits while 8 MB of input is in flight: about 140 MB, and faster |
| Behind a proxy every caller had the proxy's address (one caller's rate limit stopped everyone), and calls the proxy received over HTTPS were refused by Require HTTPS | The gateway never read forwarded headers | Forwarded headers are read from the trusted proxies you list, and only from them |
| A WebSocket client that had just connected could miss the next broadcast | Its connection was written to the database after the upgrade, without waiting | It is registered before the upgrade |
| After an engine was killed, broadcasts kept being queued for its connections, and when it started again it could send them to new clients | Nothing removed a dead engine's connections or its queued messages | The leader removes them; an engine clears its queue at start and drops messages older than 30 seconds |
| The soak reported 185 of 190 broadcasts during a planned engine kill | It counted a broadcast as expected before sending it, so one sent to the engine being killed (and refused) still counted | A broadcast is counted only when it was accepted |
| The installer made a new master key without saying so, and showed neither it nor the admin token | The tables step made the ke... |
SutraFlow 2.1.3
SutraFlow 2.1.3 release notes
Prepared 2026-10-28. Copyright (c) 2026-27 Surya Partap Singh, MixAgile.com. AGPL-3.0-only; a commercial licence is available.
| Download | For |
|---|---|
| sutraflow-2.1.3-windows.zip | Windows 10, 11 and Windows Server 2019 or later |
| sutraflow-2.1.3-windows-x64-offline.zip | The same with the runtime packages inside, for servers without the npm registry |
| sutraflow-2.1.3-linux.tar.gz | Linux (x64 or arm64); also macOS |
| sutraflow-2.1.3-docs.zip | The user guide, the Administration Guide and the architecture page, to put on a website |
Each comes with a .sha256 file to check the download: sha256sum -c <archive>.sha256, or on Windows Get-FileHash <archive> -Algorithm SHA256.
In short
This release adds explicit AI model selection and timeout controls alongside step logs and formula-learning improvements.
-
A new sample, Functions: every function of the formula language on one order, a Map data step per group (text, conversion, encoding, variables, utility, dates, numbers, logic, sequences, lists), each followed by a Log of its results.
-
Local variables as records by ID: Set Local Variable has a Record ID (1 for new steps), so many values of a run sit in one structure,
{ "1": { … }, "2": { … } }, read as{vars.1.name}; Get Local Variables reads the whole structure or one ID, with the run id. -
Set Local Variable shows what it set: one log line per variable, and every step's Output tab now lists that step's own log lines.
-
The counter sample explains itself: every step is described, and the local variable is read back with Get Local Variables.
Install and upgrade
Install as for 2.1.2: bin/sutraflow install in the unpacked folder (Windows bin\sutraflow.cmd install), or silently with --config. Upgrade from 2.1.0, 2.1.1 or 2.1.2: unpack 2.1.3 in a folder of its own and run bin/sutraflow upgrade from there (the Administration Guide's Upgrading). 2.1.3 changes no database tables. AI connections gain model-selection and timeout settings.
What changes for you:
-
Set Local Variable steps you add now start with Record ID 1: their values are read as
{vars.1.name}. Clear the Record ID to set plain variables ({vars.name}) as before. Steps saved before 2.1.3 keep working unchanged. -
Get Local Variables returns one more field,
runId. A mapping or check that compares its whole output with a fixed value needs that field added. -
Samples already in a project stay as they were. Adding a sample again gives the 2.1.3 version beside the old one, named with a number.
What is new in 2.1.3
Local variable usability
- General supports explicit plain-versus-record storage, declared variable selection, custom names and manual/formula values; Input mapping remains synchronised.
- Get shows name/value pairs from its own completed output, and General lists declared initial values. Earlier Get snapshots are never substituted with later run state.
- Both mapper data trees now retain record-ID nesting rather than presenting record children as plain variables.
- Cancelled-step output explains the run failure and distinguishes queued input from completed output. The engine’s cancellation and variable storage behavior are unchanged.
AI credential setup usability fix
- Empty credential selectors now explain that a Secret property is needed instead of displaying empty group headings.
- Create and select a named encrypted project Secret directly beside a connection credential field; existing names are never overwritten. The same selector supports AI providers and other connection credentials.
- Refresh properties reloads project/administrator Secret choices. Connection Save retains the selected gv/ev reference; raw values never enter the connection configuration.
AI connections and execution
-
Explicit model selection is required by default across API, local-server and CLI providers. Automatic — first available model is a deliberate opt-in for API/server connections; missing models never silently switch.
-
Fetch models uses the configured local/network/API URL and credentials. Gemini discovery follows pagination and generation capabilities, including available Gemini 3.x/4.x models.
-
Resolve provider/model previews the provider, model and timeout without inference; step logs record the actual engine/model before requests.
-
Connection timeouts default to 120 seconds. AI activities inherit them, with an optional activity override; cancellation reaches HTTP and CLI calls. Embedding models must be explicit.
-
API key versus CLI sign-in guidance is visible in the connection editor. Secret values remain masked.
-
Upgrade action: select a model on previously blank connections or explicitly opt into Automatic; existing positive step timeouts remain overrides.
Samples
-
Sample: Functions (Samples/Data and mapping): an order message with text, numbers, dates, lists and an empty field; then, group by group, a Map data step with one field per function, named after it, and a Log writing that group's results as JSON. All 122 functions have a working formula; a test fails when a new function has none. It brings a small Memory table, Sample currency rates, so
memory-lookup()can show an empty result rather than an error. -
Sample: Counter, Wait and Sutra variables now says what each step is for: a local variable lives for one run, a Counter for the project across runs (test twice and the count grows). A Get Local Variables step reads the variable back, and the log line uses both.
Designer
-
Step logs on the Output tab: after a test, the Output tab lists the selected step's own log lines (what Log wrote, retries, warnings).
-
Set Local Variable writes one log line per variable it sets (
batch = batch-0930; secrets are masked in run logs). Its output is still its input, passed on, so existing Sutras behave as before. -
Record IDs for local variables: Set Local Variable has a Record ID, 1 for new steps. Steps with the same ID add to one record, another ID makes another, and an ID can come from the data (
{{input.orderId}}), so a For-Each keeps one record per order instead of overwriting one value. All of a run's values sit in one structure, for example{ "1": { "name": "Jane Doe", "role": "admin" }, "2": { "who": "jane.doe@example.com" } }, read as{vars.1.name}. -
Get Local Variables reads the whole structure, one ID (new choice one ID), or a plain variable, and returns
runId, the id of the run the variables belong to. Local variables are kept per run: runs at the same time never see each other's. -
Steps saved before 2.1.3 have no Record ID and keep setting plain variables (
{vars.name}), so existing Sutras behave as before; the designer shows their Record ID empty.
Fixes in 2.1.3
| Seen | Cause | Now |
|---|---|---|
| Set Local Variable's Output tab showed only {} after a test, as if nothing was set | Its output is its input, passed on; what it set was visible only in later steps | Its log says what it set, and the Output tab shows the step's log |
| The counter sample did not say what a Counter is for, nor how to read a variable back | Its steps had no descriptions and it never used Get Local Variables | Every step is described; it reads the variable back |
| In the Functions sample, trim, left-trim, right-trim and normalize-space all showed asha KUMAR on the Output tab, as if they did the same | The functions were right (string-length of the trimmed name is 12); the page collapsed the spaces when showing text | Text keeps its spaces on the Output tab, and text starting or ending with a space is shown in quotes; pointing at a value shows it exactly |
| Code examples in the guides had a blank line after every line | The guide chapters' source file had been saved with a blank line inserted after each line | The file is repaired; the guides are built from it again |
| npm run architecture stopped with "no description" for server/src/ai/policy.ts and web/src/local-variables.ts | The two files added for 2.1.3 had no entry in the architecture's file list | They are described |
2.1.3 release gate
See docs/releases/2.1.3-packages.md.
Previous release: 2.1.2
In short
A release on top of 2.1.1: a guide of its own for administrators, documentation in a clearer order, safer upgrades, and two installer conveniences.
-
SutraFlow Administration Guide, new, at
/admin-guideand in the Admin Console: planning a server, the web installer page by page, silent installation, how an upgrade works, the launcher and settings, PostgreSQL, engines and clusters, sizing, the Admin Console, security, receiving releases, monitoring and troubleshooting, with new pictures of every page. It replacesdocs/deployment.md. -
The user guide is for designers and reads in order: what SutraFlow is and getting it, building Sutras, the palettes with their connections, AI, APIs and security, and releasing, under part headings in the contents.
-
Upgrades are safer: the engine beside the studio stops and starts with it, a folder in use by a web server, terminal or Explorer no longer stops it (a file held without sharing is found before anything changes, with the process that holds it), the way back restores only what an upgrade changes and always starts the old version again, and an SQLite file of its own is upgraded as SQLite.
-
Connection pictures: every common connection (HTTP, PostgreSQL and MySQL on this machine and remote, Kafka, RabbitMQ, ActiveMQ, MongoDB) shown filled in and tested, in its palette's chapter.
-
Save the installer's answers as a config file on the Review page, to install the next server silently with the same choices. The file holds no password.
-
The web installer keeps a log, in
data/logs/installer.log, with a download link on its last page and when a st...
SutraFlow 2.1.2
SutraFlow 2.1.2 release notes
Prepared 2026-10-27. Copyright (c) 2026-27 Surya Partap Singh, MixAgile.com. AGPL-3.0-only; a commercial licence is available.
| Download | For |
|---|---|
sutraflow-2.1.2-windows.zip |
Windows 10, 11 and Windows Server 2019 or later |
sutraflow-2.1.2-windows-x64-offline.zip |
The same with the runtime packages inside, for servers without the npm registry |
sutraflow-2.1.2-linux.tar.gz |
Linux (x64 or arm64); also macOS |
Each comes with a .sha256 file to check the download: sha256sum -c <archive>.sha256, or on Windows Get-FileHash <archive> -Algorithm SHA256.
In short
A release on top of 2.1.1: a guide of its own for administrators, documentation in a clearer order, safer upgrades, and two installer conveniences.
- SutraFlow Administration Guide, new, at
/admin-guideand in the Admin Console: planning a server, the web installer page by page, silent installation, how an upgrade works, the launcher and settings, PostgreSQL, engines and clusters, sizing, the Admin Console, security, receiving releases, monitoring and troubleshooting, with new pictures of every page. It replacesdocs/deployment.md. - The user guide is for designers and reads in order: what SutraFlow is and getting it, building Sutras, the palettes with their connections, AI, APIs and security, and releasing, under part headings in the contents.
- Upgrades are safer: the engine beside the studio stops and starts with it, a folder in use by a web server, terminal or Explorer no longer stops it (a file held without sharing is found before anything changes, with the process that holds it), the way back restores only what an upgrade changes and always starts the old version again, and an SQLite file of its own is upgraded as SQLite.
- Connection pictures: every common connection (HTTP, PostgreSQL and MySQL on this machine and remote, Kafka, RabbitMQ, ActiveMQ, MongoDB) shown filled in and tested, in its palette's chapter.
- Save the installer's answers as a config file on the Review page, to install the next server silently with the same choices. The file holds no password.
- The web installer keeps a log, in
data/logs/installer.log, with a download link on its last page and when a step fails.
Install
- Web installer: unpack, then
bin/sutraflow install(Windows:bin\sutraflow.cmd install). It opens in the browser of that machine. - Silent:
bin/sutraflow install --config install.json; the example isdocs/install-example.json, or the file the web installer saved;--dry-runprints the plan. - By hand:
bin/sutraflow setup, thenbin/sutraflow start.
Node.js 22.13 or later is needed (24 recommended).
Upgrade from 2.1.0 or 2.1.1
Unpack 2.1.2 beside the installation and run bin/sutraflow upgrade from the new folder (or upgrade --config upgrade.json). It stops SutraFlow gracefully, backs it up, upgrades, compares the data and starts it again, and puts the previous version back if a step fails: the Administration Guide's Upgrading has every step with pictures. 2.1.2 changes no database tables and no settings.
What changes for you:
- Nothing needs closing for an upgrade but programs that hold SutraFlow's files without sharing: web servers, terminals and Explorer windows in the folder can stay. When a file is held, the upgrade says which and by which process before changing anything.
docs/deployment.mdis gone: its content is in the Administration Guide (/admin-guide). Links and bookmarks to it should point there.- Administration chapters moved from the user guide to the Administration Guide; links between the two guides open the other one at the right chapter.
What is new in 2.1.2
Documentation
- SutraFlow Administration Guide (
docs/sutraflow-admin-guide.html, served at/admin-guide, Admin guide in the Admin Console,sutraflow open admin-guide): for the people who install and run SutraFlow. Parts: Getting started (what administrators do, planning a server), Installing and upgrading (each installer page with its picture, silent installation, how an upgrade works with its pictures, Laragon and Linux development machines), Running SutraFlow (the launcher and every server setting, data, PostgreSQL, monitoring), Engines and clusters, The Admin Console, Security and connections, Releases on servers, Reference and troubleshooting. The administration chapters moved here from the user guide, anddocs/deployment.mdis folded in and retired. - New pictures taken on a real installation by
tools/capture-admin-shots.mjs: the installer pages, the upgrade pages from a real upgrade, and the Admin Console (overview, applications, tuning, traceability, releases, engines with the cluster name and May lead, alerts, gateway apps and traffic, users, roles, audit, runtime, database). - User guide in parts, for designers: Getting started, Building Sutras, Palettes and connections, AI, APIs security and approvals, Releasing, Reference. Release-specific chapters (strict boundaries, MongoDB) moved from the front to their topics. A link to a chapter that moved opens the Administration Guide there.
- Connection pictures beside their palettes: HTTP in Calling services, PostgreSQL and MySQL in Databases, MongoDB in its chapter, Kafka, RabbitMQ and ActiveMQ in Broker connections. Remote ones take host, database and user from Project properties and the password from a Secret property.
sutraflow-2.1.2-docs.zip, new beside the archives: the user guide, the Administration Guide and the architecture page with anindex.html, in one folder to upload to a website as it is. Every page holds its pictures and links to the others by file name.- README keeps Python with the palettes; the architecture page has a section on installing and upgrading, and its section titles no longer carry version numbers.
Installer
- Save answers as a config file (Review page):
sutraflow-install.jsonforsutraflow install --configon the next server. Passwords are written as{"env": "SUTRA_INSTALL_ADMIN_PASSWORD"}and, when one was given,{"env": "SUTRA_INSTALL_DB_PASSWORD"}: set those on that server first. - Installer log: every step of a web install or upgrade is written to
logs/installer.login the data folder of the installation it is for (an upgrade's in the upgraded installation's, not the new release's), as the silent install already did, and offered as a download on the Done page, which shows where it is kept, and next to an error. - The engine beside the studio starts with it when Start SutraFlow when installed is ticked; an upgrade stops it with the studio and starts it again when it was running.
- Upgrades work with the folder in use: a folder a web server (Apache, IIS), a terminal or Explorer has open is copied into the backup and updated in place instead of moved. Program files are checked first (Program files free): a file held without sharing stops the upgrade before anything changes, with the file and, on Windows, the process id and name that hold it.
- The way back after a failed upgrade restores only what an upgrade changes (the SQLite database, the installer lock, the settings and, for PostgreSQL, the database from its dump, waiting at most a minute for locks), tries each part on its own, always starts the old version again, and reports anything it could not put back.
- The engine names on the installer's Cluster page are shown in full.
Fixes in 2.1.2
| Seen | Cause | Now |
|---|---|---|
| The user guide opened with a 2.0.11 chapter and MongoDB before What SutraFlow is | New chapters were added at the front of the list | Chapters are listed by part; the build fails when a chapter is in no part or in two |
| A failed web install left no log to send | Only the silent install wrote installer.log |
The web installer writes it too and offers it for download |
npm run architecture stopped with "no description for tools/soak/RUNBOOK.md" |
The soak runbook added in 2.1.1 had no entry in the file list | It has one |
| Three 2.0.10 notes looked like releases of their own in these notes | Their headings were one level too high | They sit under 2.0.10 |
| An upgrade of an installation with an engine beside the studio stopped only the studio; the engine ran on while the program and database changed, a failed upgrade's database restore waited for ever on the engine's tables, and after an upgrade only the studio started | The upgrader called the launcher's stop and start, which mean the studio only |
It stops both, starts the engine again when it ran, and a restore waits at most a minute |
| With A headless engine beside it and Start when installed, only the studio started | The same: start means the studio |
Both start |
| Upgrading a Laragon installation failed at "Move the old runtime aside: resource busy" after the backup | A console window had the folder's bin as its working folder, and Windows will not move a folder in use; web servers (Apache, IIS), terminals and Explorer windows can do the same |
A folder in use is copied into the backup and updated in place; only a file held without sharing stops the upgrade, checked before anything changes (Program files free), naming the file and, on Windows, the process that holds it |
| After that failure the way back stopped at "Access is denied" on a Git object, leaving SutraFlow stopped | It copied the whole data folder back, and Git keeps its objects read-only; one error ended the way back before the start | Only what an upgrade changes is restored, each part on its own, and the old version is always started again |
An installation on an SQLite file of its own (shop.db) could not be upgraded: the backup tried pg_dump |
The upgrader took any SUTRA_DB for PostgreSQL, and that setting also names an SQLite file |
Only... |
SutraFlow 2.1.1
SutraFlow 2.1.1 release notes
Prepared 2026-10-27. Copyright (c) 2026-27 Surya Partap Singh, MixAgile.com. AGPL-3.0-only; a commercial licence is available.
| Download | For |
|---|---|
sutraflow-2.1.1-windows.zip |
Windows 10, 11 and Windows Server 2019 or later |
sutraflow-2.1.1-windows-x64-offline.zip |
The same with the runtime packages inside, for servers without the npm registry |
sutraflow-2.1.1-linux.tar.gz |
Linux (x64 or arm64); also macOS |
Each comes with a .sha256 file to check the download: sha256sum -c <archive>.sha256, or on Windows Get-FileHash <archive> -Algorithm SHA256.
In short
- A web installer and upgrader, page by page like a CMS installer, or silent from a JSON file. It covers SQLite or PostgreSQL (with pgvector checked and enabled), ports, Node memory and cluster engines. Upgrades from 2.1.0 on make a backup, compare the data and roll back on failure.
- Safe in a web folder: unpacked under Laragon
www,htdocsor IIS, a release shows only a page saying how to install it, never its settings or keys. - Node memory per engine, set in the installer or the Admin Console and applied by Restart.
- Certificates and keys as files on the server (Windows or Linux), Certificate or Private key properties, or PEM text, in every connection and policy. Secrets are chosen from properties, never typed into a connection.
- A separate identity for each anonymous visitor of an agent channel.
- Connection limits now cover in-memory Sutras and each call inside a step.
- Large messages are stored once: a run with a 4 MB message took 93 ms instead of 536 ms.
- One soak test for everything, including the regression suite against real servers.
Install
- Web installer: unpack, then
bin/sutraflow install(Windows:bin\sutraflow.cmd install). It opens in the browser of that machine. - Silent:
bin/sutraflow install --config install.json; the example isdocs/install-example.json, and--dry-runprints the plan. - By hand:
bin/sutraflow setup, thenbin/sutraflow start.
Node.js 22.13 or later is needed (24 recommended). For PostgreSQL, the installer requires pgvector unless you choose to go on without it (below).
Upgrade from 2.1.0
Unpack 2.1.1 beside the installation, then run from the new folder:
bin/sutraflow upgrade # the upgrade pages in the browser
bin/sutraflow upgrade --config upgrade.json # silent: { "from": "/opt/sutraflow-2.1.0", "start": true }
The upgrade runs these steps; if one fails, it puts 2.1.0 back and starts it:
- Stops SutraFlow gracefully.
- Backs up the data folder and settings into
backups/2.1.0-<time>. On PostgreSQL it also runspg_dump, read back withpg_restore --listbefore anything changes. - Replaces the program and adds any new settings.
- Applies the database changes and compares the data with a snapshot taken before.
- Starts SutraFlow and checks it.
In a cluster, upgrade every engine's folder before starting any of them. Before 2.1.0, upgrade by hand as for earlier releases.
What changes for you:
- Agent channels without a security policy. An API client keeps its conversation across calls only by sending back its visitor token (the
X-Sutra-Visitorheader). Chat pages and the chat button do this for you. For integrations, a security policy is the better choice. - Secrets in connection forms are chosen from Secret properties. Set or change their values under Configuration, Project variables, or in the Admin Console for engine properties. Connections that already reference a secret keep working.
- Number properties are checked when saved. A project holding a malformed number, such as
12,5, must have it corrected before it can be saved again. - A site's own
.htaccessandweb.configare kept. An installation without them gets the release's.
What is new in 2.1.1
Web installer and upgrader
-
sutraflow installopens a page-by-page installer in the browser, on that machine only, at a one-time address:- welcome and system check;
- administrator;
- database: SQLite (a file name of your choice in the data folder) or PostgreSQL;
- server ports, each checked free, with a free one suggested;
- Node memory;
- the cluster: its name, every engine's name, and which engines may lead, with a settings file for each further engine;
- review, progress and done.
It writes
sutraflow.env, makes the tables and the first administrator, then locks itself (--resetunlocks it). -
PostgreSQL: host, port, database, user, password, SSL (off, require, verify), and create-the-database-when-missing. Test connection must pass before going on. It checks:
- that the server can be reached, and the login;
- that the database exists, or makes it;
- the right to create tables;
- the PostgreSQL version;
- whether the database already holds SutraFlow data.
-
pgvector is required on PostgreSQL (knowledge bases and AI memory search). The test enables it in the database (
CREATE EXTENSION vector) when it is installed on the server. Otherwise it stops and says what to do:- not installed on the server: install it (the pgvector build on Windows,
postgresql-<version>-pgvectoron Linux, or allow thevectorextension on a managed service); - installed, but the user may not enable it: a superuser runs
CREATE EXTENSION vector;in that database.
Choose Continue without pgvector on the page, or set
"pgvector": "optional"in the config file, to go on without it; knowledge bases then use the built-in store or another vector database. - not installed on the server: install it (the pgvector build on Windows,
-
SQLite: the database file is always in the data folder, with the master key and the backups; the installer asks for its name (
sutra.dbby default;SUTRA_DB=shop.dbinsutraflow.env). SQLite has no user names or passwords: the file is protected by the data folder's permissions, and passwords and keys inside SutraFlow are encrypted withmaster.key. Choose PostgreSQL for a database with its own logins. -
Cluster:
- a cluster name, shown in the Admin Console;
- a name for every engine: this server (default
<machine>-studio), the engine beside it, and further engines; - May lead for each engine. The leader runs timers, listeners, recovery and housekeeping. It is elected among the engines that may lead, and another takes over when it stops. Allowing only one fixes the leader, without failover; at least one must be allowed.
In the Admin Console (Engines), Name the cluster and May lead / Never lead change these later (
sutra engines cluster-name,sutra engines lead <engine> --yes|--no). The setting is kept in the shared database, so every engine follows it at its next heartbeat. The display names of engines were already changeable there. -
Upgrade from 2.1.0 on, as described above.
-
Silent install and upgrade:
sutraflow install --config install.jsonandsutraflow upgrade --config upgrade.jsonrun the same steps from a JSON file.- Passwords are only ever environment variables or files.
- Every problem is reported before anything changes.
--dry-runprints the plan.- Exit codes: 0 done, 1 a step failed, 2 the file is wrong.
- Log:
<data>/logs/installer.log.
-
sutraflow setupasks for the ports when it makessutraflow.env(or with--ports), checking each is free. -
In a web folder (Laragon
www,htdocs, IISwwwroot): the release's.htaccess(Apache) andweb.config(IIS) let the web server show onlyinstall-sutraflow.html. That page says how to install, start and reach SutraFlow, and includes an Apache proxy example. Everything else is refused, sosutraflow.env, the data folder and the keys are never served.
Node memory per engine
- Each engine is its own Node.js process with its own memory; engines do not draw from one shared pool. Its limit (
node --max-old-space-size) can be set in any of these places; 0 lets Node.js decide, as before:- Node memory under Admin Console, Engines, Tuning (for every engine or one);
sutra engines tune --memory-mb;STUDIO_MEMORY_MB/ENGINE_MEMORY_MBinsutraflow.env;- the installer: the Server page, and a Memory column for each engine of a cluster.
- The Engines list shows each engine's memory in use against its limit, and the machine's memory.
- A changed value is written by each engine to its own settings file and applies when the engine restarts.
- Restart (or
sutra engines restart <engine>) lets running steps finish and starts the engine again, for engines started withsutraflow start. - Engines started by a service manager or Docker show how to apply it there.
- Restart (or
- The installer checks the sizes: 0, or 256 MB and more. The processes on one machine must leave at least 15% of its memory for the system.
Certificates, keys and secrets in connections
-
One setting per certificate or key, in every connection and security policy that uses one: databases, Kafka, RabbitMQ, ActiveMQ / AMQP 1.0, MongoDB, SFTP, outbound TLS and WS-Security, and inbound JWT, X.509 and SAML. Each takes any of:
- a file on the server, on Windows (
C:\certs\ca.pem,\\server\certs\ca.pem) or Linux (/etc/ssl/ca.pem,~/certs/ca.pem), optionally with a variable ({{ev.CERTS}}/ca.pem); - a Certificate or Private key property;
- PEM text, which is what existing connections hold.
On Linux, a backslash in a path is read as a folder separator, so settings written on Windows work. To renew a certificate, replace the file or change the property; the connections themselves don't change.
- a file on the server, on Windows (
-
New property types (project and engine):
- certificate: PEM text or a file path, shown like a string;
- private key: kept in the vault like a Secret, checked to ...
SutraFlow 2.1.0
SutraFlow 2.1.0 release notes
Prepared 2026-10-25. Copyright (c) 2026-27 Surya Partap Singh, MixAgile.com. AGPL-3.0-only; a commercial licence is available.
| Download | For |
|---|---|
sutraflow-2.1.0-windows.zip |
Windows 10, 11 and Windows Server 2019 or later |
sutraflow-2.1.0-windows-x64-offline.zip |
The same with the runtime packages inside, for servers without the npm registry |
sutraflow-2.1.0-linux.tar.gz |
Linux (x64 or arm64); also macOS |
Each comes with a .sha256 file to check the download.
What is new in 2.1.0
Traceability in the Admin Console
- Operate, Traceability: each project's Sutras with their runs by outcome over an hour to 90 days, their runs, and each run as stored: what it started with, every step's input and output, error, try, time and engine, its reply and log, and the runs it called or was called by. Find a run by its id, by who started it, or by a value in its input such as an order number; download it as JSON.
- Started by is now kept with every run: the account (Run in the designer or Admin Console), the API client (policy method, caller, address, gateway app; anonymous where the route has no policy), the timer, listener, channel or alert, or the calling run. Older runs show the kind of starter only. Separate identities for anonymous callers remain on the backlog.
Connection limits cover the work behind the scenes, listeners and background jobs
- Behind the scenes: a step is counted on the connections it selects and on those their settings select: a knowledge base with its vector database and its AI provider, an AI memory with its database and summary provider, a memory table with its database. An AI agent or Search knowledge step is held back when the database behind its knowledge base is full. All the places a step needs are taken at once or none, so two steps never block each other halfway.
- Listener polls (SFTP/FTP folders, mailboxes, Google Drive, OneDrive/SharePoint, Discord, Twitch, Data Factory) take a short lease for each poll, renewed while it runs. With no room the poll is skipped, the trigger's status says why, and the next poll tries again; nothing is lost.
- Scheduled memory-table refreshes take a lease on the table and its database, waiting up to a minute for room.
- Subscriptions hold no place (Kafka, RabbitMQ, ActiveMQ / AMQP 1.0, WebSocket client, Telegram), so a limit of 1 never blocks a subscriber's own Sutra; the steps of the runs they start count as usual.
- Generous waiting: a waiting step keeps its place in the queue without using a retry attempt or holding a worker, and its timeout (10 minutes for AI steps) starts only when it runs. Waiting steps are checked again with a pause growing up to 5 seconds. Durable waits (approvals, timers, Call Sutra, agent tools) give the place back.
- Leases survive a crash safely: renewed every 30 seconds, they run out 2 minutes after an engine stops; a lost lease stops its poll.
- Project properties: a limit can be
{{gv.CRM_LIMIT}}, so each server has its own value; an invalid value fails the step that needs the connection with a message naming it, and shows in the Admin Console. - In-memory Sutras still refuse a limited connection (fail closed), now also when the limit is on a connection behind the one selected, with a message naming it.
- Admin Console, Operate, Connection limits: every limited connection across all engines with its limit (and the property behind it), use by steps and by listener or background work, waiting steps with their reason (for example Waiting for Orders DB (used through Manuals): 2 of 2 in use) and a graph of use, waiting and limit over 1 hour to 7 days. The leader samples every 30 seconds and keeps 7 days.
- User guide: a new chapter, Connection limits, compares this limit with pool size, rate limits, Runs at once, Messages in parallel and Steps at once, lists exactly what counts, explains the effect on listeners and background work, and suggests values per kind of connection.
MongoDB Bulk Write
- Bulk write MongoDB documents sends up to 1000 insertOne, updateOne, updateMany, replaceOne, deleteOne and deleteMany operations to one collection in one request, ordered (stop at the first failure) or unordered. It applies the guards of the single activities (operators for updates, plain replacement documents, no server-side JavaScript, an explicit opt-in for an empty updateMany/deleteMany filter) and strict schema validation of inserted and replacement documents before anything is sent. Any failed operation fails the step with the counts already written and the first errors, so a partial write is never shown as success. Tested live on Atlas M0; the shipped MongoDB sample uses it.
Admin Console graphs with Apache ECharts
- The Overview's runs and gateway graphs and the new Connection limits graphs use Apache ECharts 6, bundled into the console (no CDN; works offline), coloured from the theme and redrawn when it switches.
Security
- Agent conversations belong to their caller. A conversation that comes through an agent channel (chat page and API, OpenAI-compatible API, MCP, A2A, a hand-off) is kept in AI memory under the authenticated caller, the project and the agent as well as its session id. Another caller sending the same session id starts a conversation of their own. The session id people see is unchanged. Conversations saved before 2.1.0 under a bare session id are not shown to anyone through a channel any more (they stay in the store until its days to keep run out).
- A job's answer only for the caller who started it. Asking for a job (chat jobs, OpenAI-compatible
status <id>, MCPjob, A2Atasks/get) with another caller's job id answers "no such job", as for an id that does not exist. - The caller includes its realm: the security policy that let it in and, for tokens, their issuer. Two identity providers that know the same subject are two different owners.
- Callers without a security policy are all one anonymous caller: their conversations and jobs are protected only by unguessable session and job ids. Put an API security policy on public channels, or wait for visitor tokens (backlog).
- Connections stay in their project. A step, a listener poll or Test connection can use connections of its own project and connections that belong to no project (shared), never another project's, however the id arrives (a setting, a property, run data, a connection behind a connection). Saving a connection that points at another project's connection is refused.
- Mappings cannot reach JavaScript's object machinery. A target path, a formula's
object()or a schema field named__proto__,prototypeorconstructoris refused or ignored, and permission checks trust only flags a caller really holds. - Git imports read only the repository. A schema file, a sidecar or a symlink that points outside the cloned repository is refused before anything is read.
- Sign-in return paths are plain paths. The address a person returns to after single sign-on may contain only ordinary path characters, and the page that sends them on escapes it for its script and its link.
- Zip files are read within limits. Office documents (64 MB per entry, 256 MB in all, 5000 entries) and release packages (256 MB, 1 GB, 10,000 entries) are refused when an entry unpacks past its limit, measured on the real output, before the memory is used.
Documentation
- User guide for the people who use SutraFlow: Sutra designers, administrators, approvers and, later, developers using the developer portal. A new section in Mapping data explains picking data: paths, repeating elements (one item, the last, those that match, a field of every item, totals), filters, For-Each with
{item},{index}and{outer}, and pipes, with the two counting rules (from 1 in formulas, from 0 in text templates). How a Sutra runs now describes what designers see; the engine's internals moved to the architecture page. - Sutra-Contributor Information (
docs/Sutra-Contributor Information.html, in the source repository, generated with the guide) is new: building from source and development mode, where the code is, file headers and overviews, tests and their real-service settings, security rules for contributors, vendored packages, release builds, and the load, soak and big-file test tools. These moved out of the user guide. It is not part of the release packages. - Architecture page, The engine: workers and the two engines, the ten stages of a step (start, queue, claim, admission, prepare, execute, checkpoint, route, wait, finish) with their code and what is stored, retries and recovery, guarantees and limits.
Backlog
docs/backlog.mdis prioritised with MoSCoW. The MongoDB query preview and connection limits for in-memory Sutras were set aside (Could have); an ECharts palette and dashboard hosting are planned for discussion (Should have).
Database
- Additive: columns
kind,holder,project,sinceandexpires_atonconnection_permits, and the tablesconnection_waitsandconnection_usage. Existing data is unchanged. Upgrade every engine together: 2.0.11 engines do not know leases and would remove them.
Fixes in 2.1.0
| What you would have seen | Cause | Now |
|---|---|---|
| A connection limit did not hold back an AI agent or Search knowledge step whose knowledge base used the limited database or AI provider. | Only connections a step selected itself were counted. | Connections behind the selected ones are counted too, all at once or none. |
| Listener polls and scheduled memory-table refreshes used a limited connection beside the steps, so the system behind it saw more than the limit. | Listeners and background work were not counted. | They take a lease for each poll or refresh and are skipped (or wait up to a minute) when there is no room. |
| Many steps waiting for one lim... |
Sutra Flow - 2.0.11
SutraFlow 2.0.11 release notes — source verified, packaging pending
Core scope: schema-boundary audit, durable per-resource activity admission and code-maintenance housekeeping. Generic Map, MCP input/result, AI Guard and SOAP request/response/reply boundaries now have explicit enforcement; descriptive defaults remain compatible. Connection limits are shared by durable task claims across engines, acquire multiple explicit resources atomically and queue excess work without retry/worker consumption. Capped resources reject in-memory execution rather than silently bypassing admission. Limits do not cover implicit nested integrations, listeners or admin traffic and do not retract external side effects.
First-party files now carry maintainable overview comments with purpose/support, connected imports and function entry points. Non-comment configuration formats have a companion code-navigation index; generated/vendor/private files are excluded. A check-only regression detects drift. The 2.0.10 backlog/deployment history is reconciled with the actual 4800/4810 receipts.
Verification: 437 passed, 0 failed and 27 optional skips in the full suite (including the PostgreSQL-compatible suite); six additional real local PostgreSQL cases passed. Production build, type checks, documentation generators, overview/header gates and dependency audit passed. MongoDB read-only query preview and mixed Bulk Write remain optional next work, not claimed as implemented. X.509 live testing stays deferred. No 2.0.11 deployment or release package is implied by this source change; final evidence and limits are recorded in docs/releases/2.0.11-verification.md.
Previous release: 2.0.10
Prepared 2026-10-24. Copyright (c) 2026-27 Surya Partap Singh, MixAgile.com. AGPL-3.0-only; a commercial licence is available.
25 October usability revision — verified for packaging
Aggregate input follow-up: pipeline help and guide examples distinguish database stages from incoming records. Source lines recognize run/process aliases; previews require current-run context and discard obsolete responses. MongoDB design-time output shapes follow Find/Count/Distinct and Update operation choices, with declared result schemas exposed without collection sampling. Sample descriptions explicitly identify final Delete cleanup. Focused checks: eight passed plus one optional skipped; separate live M0 checks: eight passed. See Aggregate input verification; this focused follow-up does not replace the earlier full-suite release evidence.
Named Secret connection refinement: credential dropdowns show Secret GVs and administrator Secret EVs, not vault implementation keys. A permission-checked API stores each named project Secret and its backing reference transactionally, reuses that property's entry on rotation and prevents cross-project name collisions. Existing legacy references are preserved. MongoDB diagnostics distinguish DNS failure before authentication from credential-bearing public server URI misuse. Administrators can explicitly set SUTRA_DNS_SERVERS for the Node process only; no operating-system DNS change or implicit public-resolver fallback is made.
Follow-up project-variable correction: the variables Save button encrypts pending Secret text and persists its reference in the same workflow. Failed Secret storage aborts the property save. Existing variables start collapsed with +/− controls; new variables open for editing. Stable editor identities prevent one row inheriting another row's Secret draft after deletion. A selected reference is retained even if it is not listed in the current secret catalogue. The isolated browser save→refresh case and 16 focused credential/project tests passed; this is additional focused evidence, not a new full-suite or external-service recertification.
- MongoDB palette/connection branding is generic; Atlas M0 remains the tested baseline, not an implied compatibility certificate for other services.
- Separate host/SRV/port, username/password and complete-URI configuration, plus X.509 certificate/key options, private CA trust and read preference. Non-TLS is restricted to direct loopback development. No automatic database-user provisioning or admin grants.
- Secret project/engine properties can store encrypted values directly from their editors. Connection credential slots prefer Secret properties and resolve their vault reference once. Inline secret entry is available on other connection forms too. Values are masked by default; an eye reveals only text being entered, never retrieves an existing stored password. Existing permissions remain unchanged.
- Project variable editors use full-width cards so names, types and Secret entry remain readable in the narrow Designer panel.
- Credential lookup failures withhold supplied reference/value text instead of echoing a credential-bearing URI. Existing complete-URI configurations remain compatible.
- New List Collections activity and sample coverage; mapped collection input takes precedence over General configuration. Updates support array filters and findOneAndUpdate with Before/After documents.
- Aggregation remains read-only/no-spill in the M0 baseline. General MongoDB capabilities require explicit disk/output-stage opt-in and server authorization; X.509 and these advanced deployment options need separate live certification.
- The updated sample imports a Secret MONGODB_URI project property and does not replace a customized existing property or connection. The usability revision was deployed to 4800 and Laragon 4810 on 25 October with fresh backups and preservation checks; see the deployment receipt.
- Verification: 427 passed, 27 optional skipped, zero failures in the full regression; eight live M0 checks passed; final build/type checks and documentation generation passed; dependency audit found zero vulnerabilities. Live X.509 testing is explicitly deferred. P1/P2 MongoDB expansion remains in the backlog. See the dated verification amendment for scope and limitations.
Implemented for verification
- Manual start has explicit strict schema validation. Engine admission rejects invalid configured/supplied input before creating a run; execution rechecks the actual payload. Off remains descriptive for existing flows, with an explicit warning.
- Strict contracts are project-scoped, do not coerce/remove/default data, and reject unsupported JSON Schema validation keywords instead of silently ignoring them.
- REST, SOAP and WebSocket reject-invalid modes also apply to direct engine, Test/Debug and Run API inputs, closing gateway-only enforcement gaps. SOAP admission uses real XSD pattern/namespace validation.
- Call Sutra has independent strict input/result controls, including resumed child results; Return and internal channel send/receive also have explicit contract controls.
- Strict local/remote file triggers reject invalid parsed test events and read-error envelopes before downstream processing. Strict file reading with an incompatible format fails explicitly.
- The source browser consolidates the unique immediate predecessor into current input. Earlier/parallel sources remain separate; existing named-output formulas remain valid.
- Native MongoDB connection and five M0-verified document activities: insert; find/find-one/count/distinct; update/update-many/replace/upsert; delete; read-only aggregation. TLS is verified, URI credentials use the vault, clients are pooled with bounded operations, and BSON is preserved as Extended JSON.
- Credential-free, run-ID-scoped MongoDB sample with imported strict starter schema, query modes, update, aggregation and precise deletion. New typed mapping imports also enable strict starters; customized imports are not overwritten.
- A regression inventory records every schema-aware activity/field so new contract fields require explicit review and negative tests.
Scope and verification status
Live Atlas M0 seeded engine checks passed on MongoDB 8.0.34, including CRUD/query/aggregate behavior, duplicate-key rejection, strict invalid-input/no-write and invalid-output behavior, and the executable lifecycle sample. M0 driver-level probes also passed transaction rollback, change streams and a small GridFS round-trip; these are not finished/certified activities and are not exposed in the palette.
The default local DNS resolver refused SRV lookups; live verification used a process-local alternate resolver. Windows DNS and Atlas permissions were not changed. This environment caveat must remain in certification.
Build and server/web/test type checks passed. Full regression passed with 424 passed, 27 optional skipped and no failures; the separate opt-in Atlas gate passed all seven checks. Dependency audit reports zero vulnerabilities. The guide and architecture are regenerated. See verification scope and limitations.
Every exposed MongoDB activity is covered by the lifecycle sample, available both in the sample catalogue and as samples/mongodb-m0-document-lifecycle.zip. Its connection contains only a vault-secret name, never credentials.
The broader schema-boundary audit, advanced durable MongoDB activities and fresh interactive UI review remain in the canonical backlog. Packaging and deployment to Laragon 4810 are the current user-requested handoff; 4800 is not part of this upgrade. No commit/tag is made.
Previous release: 2.0.9.