Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
21765b0
fix(workflows): match child selected outputs by normalized block name…
waleedlatif1 Nov 20, 2026
8fc90c3
fix(executor): a join condition inside a loop reads the branch that r…
waleedlatif1 Nov 20, 2026
f0ce862
fix(workflows): an operations-batch block rename rewrites references …
waleedlatif1 Nov 20, 2026
f449dfd
fix(workflows): coerce a numeric-string loop iterations or parallel c…
waleedlatif1 Nov 20, 2026
7a92412
test(executor): use the central tools mock in the loop join test; shr…
waleedlatif1 Nov 20, 2026
c6c7276
fix(workspace-source): a promotion deletes what the directory deleted…
waleedlatif1 Nov 20, 2026
b083038
fix(sim-cli): the promotion stale hint no longer suggests deleting th…
waleedlatif1 Nov 20, 2026
4a6604d
fix(table): a source reshape strips a dropped column's cells in its o…
waleedlatif1 Nov 20, 2026
d633eaf
fix(workspace-source): name-taken, table-folder and credential findin…
waleedlatif1 Nov 20, 2026
b978304
fix(sim-cli): a stale resource is not printed as kept, and promotion …
waleedlatif1 Nov 20, 2026
0e73aaf
fix(workspace-source): a real apply lists each finding of a written w…
waleedlatif1 Nov 20, 2026
a53cd3b
fix(sim-cli): a workspace get says why it skipped a resource
waleedlatif1 Nov 20, 2026
c7ce6bf
fix(workspace-source): a stale workflow folder gets the hint every ot…
waleedlatif1 Nov 20, 2026
20fc629
fix(sim-cli): a delete refused for want of --allow-delete is not prin…
waleedlatif1 Nov 20, 2026
db74b55
test(workspace-source): wait for the column strip with sleep
waleedlatif1 Nov 20, 2026
edb89a5
fix(workflow-code): tie a falsy-valued variable rename by its moved r…
waleedlatif1 Nov 20, 2026
fc06cc0
fix(sim-cli): prune only function files the CLI recorded writing
waleedlatif1 Nov 20, 2026
bfb0295
fix(sim-cli): status leaves out function files no codeFile() names an…
waleedlatif1 Nov 20, 2026
5a106b9
fix(workflow-code): lay out a block moved into or out of a loop or pa…
waleedlatif1 Nov 20, 2026
9f5a412
fix(workflows): word the variable rename hint so its first step can work
waleedlatif1 Nov 20, 2026
2c839c6
fix(workflow-code): refuse an unknown dropdown option on an edited bl…
waleedlatif1 Nov 20, 2026
e4394ec
fix(sim-cli): release the directory lock when Ctrl-C ends a deferred …
waleedlatif1 Nov 20, 2026
107c2f3
fix(sim-cli): leave a codeFile() path with a NUL byte to the compile'…
waleedlatif1 Nov 20, 2026
4f0ba50
fix(sim-cli): say the truncation marker leaves out the info findings …
waleedlatif1 Nov 20, 2026
fcc865b
fix(sim-cli): count every compile finding a check fails on, past the …
waleedlatif1 Nov 20, 2026
99a1396
chore(rules): load the workflow-code rule for the folders wave 2 move…
waleedlatif1 Nov 20, 2026
490eba5
fix(workflow-code): reword the renamed-block hint, which an apply tha…
waleedlatif1 Nov 20, 2026
2d78307
fix(sim-cli): pin the deploy an apply names as its next step to the d…
waleedlatif1 Nov 20, 2026
34ef52b
fix(sim-cli): deploy nothing after a no-op apply whose draft the live…
waleedlatif1 Nov 20, 2026
c1e4188
fix(workflows): say what a block bound to when its claimed lock id is…
waleedlatif1 Nov 20, 2026
ee120db
fix(workflow-code): report the code-file total-size cap once, on the …
waleedlatif1 Nov 20, 2026
4b6962a
docs(cli): regenerate the CLI reference
waleedlatif1 Nov 20, 2026
bbaeea3
fix(workspace-code): keep target-only resources on promote --allow-de…
waleedlatif1 Nov 20, 2026
1843364
fix(table): strip a source apply's dropped managed columns once, unde…
waleedlatif1 Nov 20, 2026
2de66fe
fix(sim-cli): workspace status and apply leave out function files no …
waleedlatif1 Nov 20, 2026
b3a8080
fix(workflow-code): refuse an unknown dropdown option only on a field…
waleedlatif1 Nov 20, 2026
dac8326
fix(workspace-source): match a re-reported finding by block key, keep…
waleedlatif1 Nov 20, 2026
948b233
fix(workflows): accept only a whole loop iterations or parallel count…
waleedlatif1 Nov 20, 2026
fc3de06
fix(workflow-code): keep omitted compile findings as one counted entr…
waleedlatif1 Nov 20, 2026
8db86af
test(workspace-source): scope the racing authorize spy to its own wor…
waleedlatif1 Nov 20, 2026
fdd05a9
fix(workspace-source): charge a workspace dry run to the plan budget,…
waleedlatif1 Nov 20, 2026
d24201a
Merge remote-tracking branch 'origin/staging' into fix/workflow-code-qa5
waleedlatif1 Nov 20, 2026
2f78263
fix(workspace-source): type the block fields findingIdentity reads of…
waleedlatif1 Nov 20, 2026
fedc8b3
chore(audits): shrink the non-null assertion baseline after the colum…
waleedlatif1 Nov 20, 2026
6a10f64
fix(sim-cli): keep a deployment-shaped option warning unraised under …
waleedlatif1 Nov 21, 2026
a985ac4
fix(workflows): refuse a falsy loop iterations or parallel count on a…
waleedlatif1 Nov 21, 2026
eb42a62
fix(workflow-code): find a falsy-valued variable's readers by resolve…
waleedlatif1 Nov 21, 2026
de0ba69
fix(sim-cli): status leaves a recorded function file no codeFile() na…
waleedlatif1 Nov 21, 2026
6be621e
fix(workflows): write a renamed block's new name into references lite…
waleedlatif1 Nov 21, 2026
00e5a07
fix(workspace-source): scope a taken workflow name to its folder, and…
waleedlatif1 Nov 21, 2026
d042838
test(workflows,workspace-source): assert the stored out-of-options va…
waleedlatif1 Nov 21, 2026
d0789bc
test(workflows): match the added loop by shape, which the loose state…
waleedlatif1 Nov 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .claude/rules/sim-workflow-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,23 @@ paths:
- "packages/workflow-code/**"
- "packages/workspace-code/**"
- "packages/workflow-sdk/**"
- "packages/table-cells/**"
- "packages/workflow-persistence/src/save.ts"
- "packages/sim-cli/src/commands/protocol/*source*"
- "packages/sim-cli/src/commands/protocol/source-dir/**"
- "packages/sim-cli/src/commands/protocol/workflow-dir.ts"
- "packages/sim-cli/src/commands/protocol/stored-edges.ts"
- "packages/sim-cli/src/commands/protocol/local-errors.ts"
- "apps/sim/lib/workflows/code/**"
- "apps/sim/lib/workflows/application/*source*"
- "apps/sim/lib/workflows/application/source-pipeline/**"
- "apps/sim/lib/workflows/api/source-*"
- "apps/sim/lib/workspace-source/**"
- "apps/sim/blocks/sdk-names/**"
- "apps/sim/app/workspace/**/panel/components/code/**"
- "apps/sim/app/api/workflows/*/source/**"
- "apps/sim/app/api/v2/**/source/**"
- "apps/sim/lib/api/contracts/workflow-source.ts"
- "apps/sim/lib/api/contracts/v2/*source*"
- "apps/sim/app/api/cron/cleanup-source-staging/**"
---
Expand All @@ -33,7 +43,7 @@ workspace directory).
| `packages/workflow-sdk` | Authoring declarations (`src/core.d.ts`, `src/workspace/*.d.ts`), type codegen from the catalog (`src/codegen/`), the cookbook |
| `packages/sim-cli/src/commands/protocol/` | `workflow-source-*` and `workspace-source-*` commands, which never import each other's command modules; `source-dir/`, `workflow-dir.ts`, `source-check.ts`, `source-write.ts`, `source-tree.ts`, `source-ui.ts` and `workspace-source-dir.ts` (the workspace directory reader a workflow check also reads declarations through) are shared |
| `apps/sim/lib/workflows/code/` | Server glue: catalog projection from the registry (`catalog/`), source-apply gates (`apply/`), stored canonical form, the feature flag, the proof corpus (`corpus/`) |
| `apps/sim/lib/workflows/application/*source*` | Workflow source use cases: read, apply, create, catalog, resources |
| `apps/sim/lib/workflows/application/*source*` | Workflow source use cases: read, apply, create, catalog, resources; `source-pipeline/` holds the one plan → preview/commit flow an apply and a create share |
| `apps/sim/lib/workspace-source/` | Workspace source use cases (`application/`), one adapter per kind (`application/kinds/<kind>/`), route policies (`api/`) |
| `apps/sim/blocks/sdk-names/<type>.json` | Frozen SDK builder names, one file per block type |
| `apps/sim/app/workspace/**/panel/components/code/` | The read-only Code tab |
Expand Down
4 changes: 2 additions & 2 deletions .cursor/rules/sim-workflow-code.mdc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: "Workflows and workspaces as code (workflow source, workspace source, the workflow SDK, the Code tab)"
globs: ["packages/workflow-code/**","packages/workspace-code/**","packages/workflow-sdk/**","packages/sim-cli/src/commands/protocol/*source*","apps/sim/lib/workflows/code/**","apps/sim/lib/workflows/application/*source*","apps/sim/lib/workspace-source/**","apps/sim/blocks/sdk-names/**","apps/sim/app/workspace/**/panel/components/code/**","apps/sim/app/api/v2/**/source/**","apps/sim/lib/api/contracts/v2/*source*","apps/sim/app/api/cron/cleanup-source-staging/**"]
globs: ["packages/workflow-code/**","packages/workspace-code/**","packages/workflow-sdk/**","packages/table-cells/**","packages/workflow-persistence/src/save.ts","packages/sim-cli/src/commands/protocol/*source*","packages/sim-cli/src/commands/protocol/source-dir/**","packages/sim-cli/src/commands/protocol/workflow-dir.ts","packages/sim-cli/src/commands/protocol/stored-edges.ts","packages/sim-cli/src/commands/protocol/local-errors.ts","apps/sim/lib/workflows/code/**","apps/sim/lib/workflows/application/*source*","apps/sim/lib/workflows/application/source-pipeline/**","apps/sim/lib/workflows/api/source-*","apps/sim/lib/workspace-source/**","apps/sim/blocks/sdk-names/**","apps/sim/app/workspace/**/panel/components/code/**","apps/sim/app/api/workflows/*/source/**","apps/sim/app/api/v2/**/source/**","apps/sim/lib/api/contracts/workflow-source.ts","apps/sim/lib/api/contracts/v2/*source*","apps/sim/app/api/cron/cleanup-source-staging/**"]
---

<!-- Generated from .claude/rules/sim-workflow-code.md by `bun run skills:sync`. Edit the source, not this file. -->
Expand All @@ -23,7 +23,7 @@ workspace directory).
| `packages/workflow-sdk` | Authoring declarations (`src/core.d.ts`, `src/workspace/*.d.ts`), type codegen from the catalog (`src/codegen/`), the cookbook |
| `packages/sim-cli/src/commands/protocol/` | `workflow-source-*` and `workspace-source-*` commands, which never import each other's command modules; `source-dir/`, `workflow-dir.ts`, `source-check.ts`, `source-write.ts`, `source-tree.ts`, `source-ui.ts` and `workspace-source-dir.ts` (the workspace directory reader a workflow check also reads declarations through) are shared |
| `apps/sim/lib/workflows/code/` | Server glue: catalog projection from the registry (`catalog/`), source-apply gates (`apply/`), stored canonical form, the feature flag, the proof corpus (`corpus/`) |
| `apps/sim/lib/workflows/application/*source*` | Workflow source use cases: read, apply, create, catalog, resources |
| `apps/sim/lib/workflows/application/*source*` | Workflow source use cases: read, apply, create, catalog, resources; `source-pipeline/` holds the one plan → preview/commit flow an apply and a create share |
| `apps/sim/lib/workspace-source/` | Workspace source use cases (`application/`), one adapter per kind (`application/kinds/<kind>/`), route policies (`api/`) |
| `apps/sim/blocks/sdk-names/<type>.json` | Frozen SDK builder names, one file per block type |
| `apps/sim/app/workspace/**/panel/components/code/` | The read-only Code tab |
Expand Down
11 changes: 6 additions & 5 deletions apps/docs/content/docs/cli/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8586,7 +8586,7 @@ sim workflows source apply [workflowId] [options]

Exit codes: 0 applied (or a clean dry run); 1 the source has errors (each printed as file:line:column with its frame and hint) or the command failed; 5 the workflow changed since the directory was read (SOURCE_STALE, on a dry run too: get it again, reapply the edit, retry); 6 the workflow or its folder is locked (E_APPLY_LOCKED; a locked block exits 1, E_APPLY_LOCKED_BLOCK); 7 the source is too large; 9 rate limited (HTTP 429) after the CLI's retries, so nothing was written: wait a minute and run it again; 10 (busy, retry) another sim command is using --dir, or the workspace directory it is a workflow folder of (SOURCE_DIR_BUSY): nothing was read or written, run it again once the other finished; 14 without --yes and with no terminal to ask: the plan was printed with no errors and nothing was written (run the same command with --yes to apply it). Exit 13: not logged in, or the server refused the credential (AUTH_REQUIRED); nothing was sent. Run `sim login`, or fix or unset SIM_API_KEY when the key comes from it. Exit 130: interrupted (Ctrl-C). A write already sent is finished and saved into the directory first, waiting up to 60s for its answer; a second Ctrl-C, or no answer by then, stops at once and prints that it may have been written and how to check.

API request and response schemas: [applyWorkflowSource](/api-reference/workflows/applyWorkflowSource), [deployWorkflow](/api-reference/workflows/deployWorkflow), [getSourceResources](/api-reference/workflows/getSourceResources).
API request and response schemas: [applyWorkflowSource](/api-reference/workflows/applyWorkflowSource), [deployWorkflow](/api-reference/workflows/deployWorkflow), [getWorkflowDeployment](/api-reference/workflows/getWorkflowDeployment), [getSourceResources](/api-reference/workflows/getSourceResources).

### sim workflows source create

Expand Down Expand Up @@ -8614,7 +8614,7 @@ sim workflows source create [options]

Exit codes: 0 created (or a clean dry run, or a starter written); 1 the source has errors (each printed as file:line:column with its frame and hint), the workflow name is taken (SOURCE_NAME_TAKEN: pass --name), or the command failed (a starter is created in the workspace its types were written for unless --workspace names another); 6 the folder is locked; 7 the source is too large; 9 rate limited (HTTP 429) after the CLI's retries, so nothing was created: wait a minute and run it again; 10 (busy, retry) another sim command is using --dir, or the workspace directory it is a workflow folder of (SOURCE_DIR_BUSY): nothing was read or written, run it again once the other finished; 14 without --yes and with no terminal to ask: the plan was printed with no errors and nothing was created (run the same command with --yes). Exit 13: not logged in, or the server refused the credential (AUTH_REQUIRED); nothing was sent. Run `sim login`, or fix or unset SIM_API_KEY when the key comes from it. Exit 130: interrupted (Ctrl-C). A write already sent is finished and saved into the directory first, waiting up to 60s for its answer; a second Ctrl-C, or no answer by then, stops at once and prints that it may have been written and how to check.

API request and response schemas: [createWorkflowFromSource](/api-reference/workflows/createWorkflowFromSource), [getSourceCatalog](/api-reference/catalog/getSourceCatalog), [getSourceResources](/api-reference/workflows/getSourceResources), [deployWorkflow](/api-reference/workflows/deployWorkflow).
API request and response schemas: [createWorkflowFromSource](/api-reference/workflows/createWorkflowFromSource), [getSourceCatalog](/api-reference/catalog/getSourceCatalog), [getSourceResources](/api-reference/workflows/getSourceResources), [deployWorkflow](/api-reference/workflows/deployWorkflow), [getWorkflowDeployment](/api-reference/workflows/getWorkflowDeployment).

### sim workflows source check

Expand All @@ -8641,7 +8641,7 @@ Compiles workflow.ts (and the function files it names) with the compiler the ser

Exit codes: 0 no errors; 1 errors (each printed as file:line:column with its frame and hint), or no cached catalog (run the get once). With --output json, stdout is one document that also lists every finding under diagnostics.

These warnings, which an apply saves as written, fail the check as errors on every block the lock does not bind (a block added since the get, or every block of a new workflow): W_REQUIRED_MISSING, W_UNKNOWN_OPTION, W_UNKNOWN_OUTPUT_PATH, W_VALUE_KIND, W_OUT_OF_RANGE, W_LITERAL_SECRET, W_TABLE_UNKNOWN_COLUMN, W_CHILD_INPUT_UNKNOWN, W_BRANCH_UNWIRED, W_UNRESOLVED_REF, W_REF_OUT_OF_SCOPE. --strict fails on them in every block, except W_BRANCH_UNWIRED on a block the lock binds (the stored workflow may hold it, and the server then stays quiet); --no-strict fails on none of them. In every mode, as the server refuses them: W_REF_OUT_OF_SCOPE is the error E_APPLY_REF_OUT_OF_SCOPE in any file of a block the edit added or changed; W_UNKNOWN_OUTPUT_PATH is the error E_APPLY_UNRESOLVED_REF in workflow.ts on a block the edit added or changed; W_UNRESOLVED_REF is the error E_APPLY_UNRESOLVED_REF in a function file changed since the get; W_UNKNOWN_OUTPUT_PATH is the error E_APPLY_UNRESOLVED_REF in a function file changed since the get; W_CODE_FILE_REF_SYNTAX is the error E_APPLY_CODE_FILE_REF_SYNTAX in a function file changed since the get. A block counts as changed when the lock does not bind it, when the source moved it into another container, or when it compiles differently than in the source the last get or apply printed (.sim/stored-edges.json records a digest of each block). That last comparison needs the catalog the source was printed with in the cache: without it, a bound block that did not move counts as unchanged, so the server may refuse what the check passes. A $ref in a function file to a block the lock binds that the source no longer declares stays a warning, unless a warning cap left findings out: the server may infer that block was renamed and rewrite the reference, and refuses it otherwise. W_JSON_REF_UNTYPED is reported only on blocks the lock does not bind, and with --strict on every block.
These warnings, which an apply saves as written, fail the check as errors on every block the lock does not bind (a block added since the get, or every block of a new workflow): W_REQUIRED_MISSING, W_UNKNOWN_OPTION, W_UNKNOWN_OUTPUT_PATH, W_VALUE_KIND, W_OUT_OF_RANGE, W_LITERAL_SECRET, W_TABLE_UNKNOWN_COLUMN, W_CHILD_INPUT_UNKNOWN, W_BRANCH_UNWIRED, W_UNRESOLVED_REF, W_REF_OUT_OF_SCOPE. --strict fails on them in every block, except W_BRANCH_UNWIRED on a block the lock binds (the stored workflow may hold it, and the server then stays quiet); --no-strict fails on none of them. In every mode, as the server refuses them: W_REF_OUT_OF_SCOPE is the error E_APPLY_REF_OUT_OF_SCOPE in any file of a block the edit added or changed; W_UNKNOWN_OPTION is the error E_APPLY_INVALID_SUBBLOCK_FIELD in workflow.ts on a block the edit added or changed; W_UNKNOWN_OUTPUT_PATH is the error E_APPLY_UNRESOLVED_REF in workflow.ts on a block the edit added or changed; W_UNRESOLVED_REF is the error E_APPLY_UNRESOLVED_REF in a function file changed since the get; W_UNKNOWN_OUTPUT_PATH is the error E_APPLY_UNRESOLVED_REF in a function file changed since the get; W_CODE_FILE_REF_SYNTAX is the error E_APPLY_CODE_FILE_REF_SYNTAX in a function file changed since the get. A block counts as changed when the lock does not bind it, when the source moved it into another container, or when it compiles differently than in the source the last get or apply printed (.sim/stored-edges.json records a digest of each block). That last comparison needs the catalog the source was printed with in the cache: without it, a bound block that did not move counts as unchanged, so the server may refuse what the check passes. A $ref in a function file to a block the lock binds that the source no longer declares stays a warning, unless a warning cap left findings out: the server may infer that block was renamed and rewrite the reference, and refuses it otherwise. W_JSON_REF_UNTYPED is reported only on blocks the lock does not bind, and with --strict on every block.

### sim workflows source status

Expand Down Expand Up @@ -9982,7 +9982,8 @@ sim workspaces source apply [options]
| `--dir <dir>` | No | Workspace source directory written by `workspaces source get`. Defaults to `.`. |
| `--dry-run` | No | Plan and check without writing anything. |
| `-y, --yes` | No | Apply without asking for confirmation. |
| `--allow-delete` | No | Delete resources, columns and data the directory no longer declares. |
| `--allow-delete` | No | Delete resources, columns and data the directory no longer declares (with --to, only what it deleted since the last promotion: the target's own resources are kept). |
| `--delete-target-only` | No | With --to and --allow-delete, also delete the target's resources this directory never declared and no promotion from it left there (prod-only tables and their rows, skills made in prod). Without it a promotion keeps them, naming each with a warning. |
| `--only <kinds>` | No | Apply only these kinds (comma-separated folders: secrets.ts, credentials.ts, tools, skills, mcp, tables, knowledge, files, workflows, deployments). |
| `--to <workspaceId>` | No | Promote the directory to another workspace (dev to prod): its resources bind by key to that workspace's own and are updated in place. Only .sim/targets/&lt;workspaceId&gt;.json changes, the record the next promotion compares with: a resource changed there since is kept, or refused as stale (exit 5) when the directory changed it too. |

Expand Down Expand Up @@ -10017,7 +10018,7 @@ Compiles every workflows/&lt;key&gt;/workflow.ts (and the function files each na

Exit codes: 0 no errors; 1 errors (each printed as file:line:column with its frame and hint), or no cached catalog (run the get once). With --output json, stdout is one document that also lists every finding under diagnostics.

These warnings, which an apply saves as written, fail the check as errors on every block the lock does not bind (a block added since the get, or every block of a new workflow): W_REQUIRED_MISSING, W_UNKNOWN_OPTION, W_UNKNOWN_OUTPUT_PATH, W_VALUE_KIND, W_OUT_OF_RANGE, W_LITERAL_SECRET, W_TABLE_UNKNOWN_COLUMN, W_CHILD_INPUT_UNKNOWN, W_BRANCH_UNWIRED, W_UNRESOLVED_REF, W_REF_OUT_OF_SCOPE. --strict fails on them in every block, except W_BRANCH_UNWIRED on a block the lock binds (the stored workflow may hold it, and the server then stays quiet); --no-strict fails on none of them. In every mode, as the server refuses them: W_REF_OUT_OF_SCOPE is the error E_APPLY_REF_OUT_OF_SCOPE in any file of a block the edit added or changed; W_UNKNOWN_OUTPUT_PATH is the error E_APPLY_UNRESOLVED_REF in workflow.ts on a block the edit added or changed; W_UNRESOLVED_REF is the error E_APPLY_UNRESOLVED_REF in a function file changed since the get; W_UNKNOWN_OUTPUT_PATH is the error E_APPLY_UNRESOLVED_REF in a function file changed since the get; W_CODE_FILE_REF_SYNTAX is the error E_APPLY_CODE_FILE_REF_SYNTAX in a function file changed since the get. A block counts as changed when the lock does not bind it, when the source moved it into another container, or when it compiles differently than in the source the last get or apply printed (.sim/stored-edges.json records a digest of each block). That last comparison needs the catalog the source was printed with in the cache: without it, a bound block that did not move counts as unchanged, so the server may refuse what the check passes. A $ref in a function file to a block the lock binds that the source no longer declares stays a warning, unless a warning cap left findings out: the server may infer that block was renamed and rewrite the reference, and refuses it otherwise. W_JSON_REF_UNTYPED is reported only on blocks the lock does not bind, and with --strict on every block.
These warnings, which an apply saves as written, fail the check as errors on every block the lock does not bind (a block added since the get, or every block of a new workflow): W_REQUIRED_MISSING, W_UNKNOWN_OPTION, W_UNKNOWN_OUTPUT_PATH, W_VALUE_KIND, W_OUT_OF_RANGE, W_LITERAL_SECRET, W_TABLE_UNKNOWN_COLUMN, W_CHILD_INPUT_UNKNOWN, W_BRANCH_UNWIRED, W_UNRESOLVED_REF, W_REF_OUT_OF_SCOPE. --strict fails on them in every block, except W_BRANCH_UNWIRED on a block the lock binds (the stored workflow may hold it, and the server then stays quiet); --no-strict fails on none of them. In every mode, as the server refuses them: W_REF_OUT_OF_SCOPE is the error E_APPLY_REF_OUT_OF_SCOPE in any file of a block the edit added or changed; W_UNKNOWN_OPTION is the error E_APPLY_INVALID_SUBBLOCK_FIELD in workflow.ts on a block the edit added or changed; W_UNKNOWN_OUTPUT_PATH is the error E_APPLY_UNRESOLVED_REF in workflow.ts on a block the edit added or changed; W_UNRESOLVED_REF is the error E_APPLY_UNRESOLVED_REF in a function file changed since the get; W_UNKNOWN_OUTPUT_PATH is the error E_APPLY_UNRESOLVED_REF in a function file changed since the get; W_CODE_FILE_REF_SYNTAX is the error E_APPLY_CODE_FILE_REF_SYNTAX in a function file changed since the get. A block counts as changed when the lock does not bind it, when the source moved it into another container, or when it compiles differently than in the source the last get or apply printed (.sim/stored-edges.json records a digest of each block). That last comparison needs the catalog the source was printed with in the cache: without it, a bound block that did not move counts as unchanged, so the server may refuse what the check passes. A $ref in a function file to a block the lock binds that the source no longer declares stays a warning, unless a warning cap left findings out: the server may infer that block was renamed and rewrite the reference, and refuses it otherwise. W_JSON_REF_UNTYPED is reported only on blocks the lock does not bind, and with --strict on every block.

Exit 10 (busy, retry): another sim workspaces source command is using this directory (SOURCE_DIR_BUSY); nothing was read or written. Run this one again once it finished.

Expand Down
Loading
Loading