@@ -20,6 +20,9 @@ are regenerated; do not recreate that flow with a sequence of graph edits.
2020
2121- Use the profile the user named. If none was named, inspect configured profiles and current context;
2222 do not silently switch accounts, workspaces, or API origins.
23+ - Graph edits need an OAuth login or personal API key with write access. `sim --output json meta
24+ status` reports the credential's ` keyType` , ` scopes` , and ` expiresAt`; a read-only key (only
25+ ` api:read ` ) is refused every mutation with ` READ_ONLY_API_KEY ` .
2326- Find the intended workflow with ` sim --output json workflows list ` . Create one only when the user
2427 asked for a new workflow.
2528- Read an existing draft with ` sim --output json workflows state get <workflowId> ` before editing it.
@@ -85,7 +88,9 @@ are regenerated; do not recreate that flow with a sequence of graph edits.
8588
8689- Put only workflow-author-fixed values in a tool's ` params ` ; omit arguments the model should
8790 choose. Omit ` usageControl ` or use ` auto ` when the model may decide, ` force ` when every Agent run
88- must call it, and ` none ` to disable it.
91+ must call it, and ` none ` to disable it. To decide per run, set ` usageControlExpression ` instead
92+ (a reference such as ` <start.toolMode> ` resolving to ` auto ` , ` force ` , or ` none ` ); send one of the
93+ two, never both.
8994- Resolve custom-tool ids with ` custom-tools list ` and ` custom-tools get ` . Resolve MCP server and
9095 tool names with ` mcp-servers list ` and ` mcp-servers tools list <serverId> ` . New custom tools should
9196 use ` customToolId ` ; preserve an existing legacy inline declaration but do not create another.
@@ -132,9 +137,15 @@ are regenerated; do not recreate that flow with a sequence of graph edits.
132137 example text beside the code that uses it.
133138- Before applying a batch, enumerate every ` <block.field> ` reference in its inputs. Verify the
134139 normalized prefix against the exact upstream block name in workflow state, verify the field path
135- against the catalog output schema, and verify the source is reachable upstream. A clean workflow
136- operations lint does not prove block-output references resolve; its ` unresolvedReferences ` report
137- covers resource-like references such as credentials, tools, and skills.
140+ against the catalog output schema, and verify the source is reachable upstream.
141+ - Lint ` unresolvedReferences ` with kind ` block-output ` catches a reference to a block that does not
142+ exist, an unknown top-level output field (` unknown-field ` ), an undeclared path below an MCP
143+ block's ` structuredContent ` , and a text output written unquoted in a JSON field
144+ (` unquoted-json-string ` ; build that JSON in a Function block instead). A clean lint proves nothing
145+ else: it does not check reachability, nested paths on other blocks, references into trigger or
146+ trigger-mode blocks, loop/parallel/table outputs, an Agent whose ` responseFormat ` does not parse,
147+ blocks that declare no outputs, ` loop. ` /` parallel. ` /` variable. ` references, or tokens that do not
148+ look like ` name.path ` (the ` getP&L ` case above).
138149
139150## Discover before composing
140151
@@ -247,6 +258,10 @@ Use `--dry-run --atomic` to validate a proposed batch when needed. Validation ex
247258and does not suppress writes during a later run. Dry-run ` previewBlockIds ` are provisional; later
248259requests must use the committed response's ` mintedBlockIds ` .
249260
261+ Enable or disable blocks with ` --set-block-enabled '[{"block_id":"<uuid>","enabled":false}]' ` ,
262+ applied after ` --operations ` ; disabling a loop or parallel cascades to its unlocked children.
263+ ` --layout none ` keeps supplied positions; the default ` targeted ` repositions the touched subgraph.
264+
250265Pass the batch as inline JSON on the first attempt and apply it once with atomic behavior. Do not
251266create a staging file preemptively:
252267
@@ -261,8 +276,10 @@ passed to the CLI.
261276
262277If the atomic apply is refused, fix the batch rather than retrying a partial or guessed alternative.
263278Read the state again and verify the requested blocks, inputs, and edges. Treat skipped operations,
264- dropped inputs, unresolved references, and required-field lint issues as failures to correct. Report
265- minted ids and any other advisory lint that remains. Confirm that changed references resolve, every
279+ dropped inputs, unresolved references, required-field lint issues, and ` tableFieldIssues ` (a Table
280+ filter or sort naming no column) as failures to correct. ` manualRunIssue ` describes only the
281+ editor's Run button; API runs do not apply it. Report minted ids and any other advisory lint that
282+ remains. Confirm that changed references resolve, every
266283branch reaches the intended destination, nested blocks remain in the correct loop or parallel scope,
267284and no block was orphaned by a replaced connection set. Recompute reference prefixes from the
268285persisted block names; do not infer them from request-local labels or reformat them as snake_case.
@@ -273,6 +290,6 @@ a clickable link. Do not construct a workflow URL from ids or the profile's API
273290
274291When the request includes a working or tested workflow and execution is safe, use the run skill to
275292manually test the saved draft with realistic input. Judge the returned values, not only the terminal
276- status, and fix then rerun when behavior is wrong. Manual runs require a personal API-key profile;
277- do not deploy merely to test. Do not execute a workflow whose external side effects have not been
293+ status, and fix then rerun when behavior is wrong. Manual runs need an OAuth login or personal API
294+ key with write access, never a workspace key; do not deploy merely to test. Do not execute a workflow whose external side effects have not been
278295authorized.
0 commit comments