Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1255 commits
Select commit Hold shift + click to select a range
c1a79c3
test: type the MCP base address the concealment check compares
waleedlatif1 Nov 19, 2026
ae903a9
Merge branch 'fix/wc-rv5' into feat/workspace-code
waleedlatif1 Nov 19, 2026
2441172
fix(workspace-code): check file path collisions on a segment tree, no…
waleedlatif1 Nov 19, 2026
438b50f
refactor: drop the exports of isSuspiciousCharacter and readFolderWri…
waleedlatif1 Nov 19, 2026
b618ecf
docs(workflow-code): CI needs a personal key; document workspace-key …
waleedlatif1 Nov 19, 2026
782b75a
docs(workflow-code): link the code pages from workflows, CLI, getting…
waleedlatif1 Nov 19, 2026
82bef8a
docs(self-hosting): document the WORKFLOW_CODE preview flag
waleedlatif1 Nov 19, 2026
b892a61
Merge commit 'ae903a95ed' into fix/wc-edges2
waleedlatif1 Nov 19, 2026
d632426
feat(workflow-code): Code tab header with Preview label, CLI copy and…
waleedlatif1 Nov 19, 2026
4e7fc66
chore(rules): load the workflow-code rule for the v2 source routes, c…
waleedlatif1 Nov 19, 2026
41abddf
feat(llms): list workflows as code in llms.txt
waleedlatif1 Nov 19, 2026
33f17bd
docs(cli): workflows and workspaces as code in the README, help epilo…
waleedlatif1 Nov 19, 2026
5c28759
Merge commit 'ae903a95ed' into fix/wc-a2-security
waleedlatif1 Nov 19, 2026
5578365
test(workspace-source): a re-run adopting a stopped MCP replace with …
waleedlatif1 Nov 19, 2026
03114c8
Merge integration head ae903a95ed into fix/wc-a2-bugs8
waleedlatif1 Nov 19, 2026
99b18d9
feat(workflow-code): roll the workflow-code flag out by organization,…
waleedlatif1 Nov 19, 2026
71d9f7f
feat(mothership): grant the workflow-code entitlement where the sourc…
waleedlatif1 Nov 19, 2026
b53fa59
docs(api): say how workspace source blobs are staged, and that dryRun…
waleedlatif1 Nov 19, 2026
3ec77e4
feat(analytics): record workflow source reads and dry runs, and works…
waleedlatif1 Nov 19, 2026
3d28e29
Merge branch 'fix/wc-launch-docs' into feat/workspace-code
waleedlatif1 Nov 19, 2026
5ce2b82
docs(workflows): commit written.json and point workspace CI to its ow…
waleedlatif1 Nov 19, 2026
48c0127
test: read the MCP server URL as nullable in the stopped-replace check
waleedlatif1 Nov 19, 2026
5f83565
Merge branch 'fix/wc-a2-bugs8' into feat/workspace-code
waleedlatif1 Nov 19, 2026
4a9498a
test(workflow-code): resolve the workspace before the flag in the HEA…
waleedlatif1 Nov 19, 2026
9f38955
Merge branch 'fix/wc-a2-security' into feat/workspace-code
waleedlatif1 Nov 19, 2026
edcb4ed
Merge commit '9f38955d3b' into fix/wc-launch-server
waleedlatif1 Nov 19, 2026
c5a887e
test(analytics): one workspace_source_applied per apply, refused, par…
waleedlatif1 Nov 19, 2026
adb3d19
merge: origin/staging into feat/workspace-code
waleedlatif1 Nov 19, 2026
41e9ae7
fix(cli): resend a rate-limited GET even when its response body is lost
waleedlatif1 Nov 19, 2026
2f26d89
Merge commit 'c5a887e570' into fix/wc-staging
waleedlatif1 Nov 19, 2026
777ca80
merge: origin/staging into feat/workspace-code
waleedlatif1 Nov 19, 2026
373d29b
fix(tests): order the workspace source "nothing was written" snapshot…
waleedlatif1 Nov 19, 2026
7c1ea61
Merge commit '373d29b5ad' into fix/wc-a2-naming
waleedlatif1 Nov 19, 2026
251e206
refactor(source): one vocabulary for the fingerprint of what the serv…
waleedlatif1 Nov 19, 2026
5cc0160
fix(workflow-sdk): the workspace runtime exports defineSecrets and de…
waleedlatif1 Nov 19, 2026
c8b47ca
fix(workspace-source): re-scan deletes for new users under the apply …
waleedlatif1 Nov 19, 2026
562fe07
Merge commit '5cc0160d01' into fix/wc-rv6
waleedlatif1 Nov 19, 2026
0b7a85a
fix(cli): take a stale source-directory lock over safely, never throu…
waleedlatif1 Nov 19, 2026
35e27ba
fix(cli): workflow commands in a workspace folder hold the workspace …
waleedlatif1 Nov 19, 2026
90d1bcf
fix(cli): status recommends commands in its own scope, with --allow-d…
waleedlatif1 Nov 19, 2026
29efd47
fix(cli): an apply that reprints a tool as stored() removes its old c…
waleedlatif1 Nov 19, 2026
b6d2a3d
refactor(table): move cell value rules into @sim/workspace-code/table…
waleedlatif1 Nov 19, 2026
0cd12c4
feat(sim-cli): workspaces source check validates table rows files off…
waleedlatif1 Nov 19, 2026
4cf293c
fix(workspace-source): credential adoption never takes a credential f…
waleedlatif1 Nov 19, 2026
e5e9c70
test(workspace-code): assert linear growth, not a wall-clock budget, …
waleedlatif1 Nov 19, 2026
92694c8
fix(table): a seed reshape refuses a table that gained rows since the…
waleedlatif1 Nov 19, 2026
6de4921
fix(table): a keyed row write inside a reshape runs at the bulk-write…
waleedlatif1 Nov 19, 2026
06d2098
fix(workspace-source): hold the apply lease from before the plan, not…
waleedlatif1 Nov 19, 2026
1370696
fix(workspace-code): literal-secret findings carry a span but no code…
waleedlatif1 Nov 19, 2026
f74d4d9
fix(workspace-source): a secret declared without a description record…
waleedlatif1 Nov 19, 2026
1f54195
test(workflow-code): time hostile inputs with Date.now, repeated past…
waleedlatif1 Nov 19, 2026
5a9b284
fix(workspace-code): an env reference or helper call is never read as…
waleedlatif1 Nov 19, 2026
e572836
feat(workflow-code): mixed-script block names, workflow inputs, env h…
waleedlatif1 Nov 19, 2026
ff7afbe
feat(sim-cli): workspaces source check covers skills, child inputs an…
waleedlatif1 Nov 19, 2026
5802ee5
fix(workspace-code): check the option cap before a linear duplicate s…
waleedlatif1 Nov 19, 2026
354ea36
perf(workspace-code): group a status's changed files in linear time; …
waleedlatif1 Nov 19, 2026
c8d8a12
perf(workflow-code): print a fill in linear time by advancing an offset
waleedlatif1 Nov 19, 2026
fb99e5a
fix(workflow-code): refuse a tool param or operation option the build…
waleedlatif1 Nov 19, 2026
8bb2e8d
refactor(workflow-code): look a tool's builder up once
waleedlatif1 Nov 19, 2026
aafd9e8
fix(workspace-code): cap knowledge document findings apart from knowl…
waleedlatif1 Nov 19, 2026
5a89635
fix(workspace-source): a workflow delete is fingerprinted only once i…
waleedlatif1 Nov 19, 2026
dd19bac
fix(workflow-code): exclude a retyped block from rename inference by …
waleedlatif1 Nov 19, 2026
8555da1
fix(workspaces): a key claim that loses a concurrent race refuses wit…
waleedlatif1 Nov 19, 2026
9ff1dd2
perf(workflow-code): push identity group keys instead of re-spreading…
waleedlatif1 Nov 19, 2026
d1a4cf8
fix(workflow-sdk): new on a runtime export throws SimSdkNotExecutable…
waleedlatif1 Nov 19, 2026
a29ae5c
feat(workflow-code): x.error compiles in the handler of an onError edge
waleedlatif1 Nov 19, 2026
876160a
fix(workflow-code): compile stored() in a loop or parallel's meta.extra
waleedlatif1 Nov 19, 2026
0efed11
fix(workflow-sdk): never embed a dotfile from the cookbook
waleedlatif1 Nov 19, 2026
db552e6
docs(knowledge): say why an upload's processing relay is safe on ever…
waleedlatif1 Nov 19, 2026
a7da9a2
perf(workflow-code): read each node's successors once in the cycle check
waleedlatif1 Nov 19, 2026
ad372d3
perf(workflow-code): test a restored inactive value with withStoredValue
waleedlatif1 Nov 19, 2026
68876e7
fix(workflow-code): keep collapsed on inputFormat fields whose id sta…
waleedlatif1 Nov 19, 2026
3095a1a
feat(sim-cli): no login exits 13 with AUTH_REQUIRED
waleedlatif1 Nov 19, 2026
0c5afdd
fix(workflow-code): write a subflow collection holding a $sim object …
waleedlatif1 Nov 19, 2026
ad421d2
fix(sim-cli): source diff filters resolve against --dir; cancellation…
waleedlatif1 Nov 19, 2026
ec5fe73
fix(workspace-source): holding a change for one credential key keeps …
waleedlatif1 Nov 19, 2026
6730b10
fix(sim-cli): an apply drops the written.json entries of the resource…
waleedlatif1 Nov 19, 2026
1c601a7
fix(workspace-source): a chat auth type source cannot name leaves the…
waleedlatif1 Nov 19, 2026
00df850
perf(workflow-code): bucket wiring and order dependencies by scope on…
waleedlatif1 Nov 19, 2026
606ca34
fix(workspace-source): file creates of one name check every key they …
waleedlatif1 Nov 19, 2026
1f86690
perf(workflow-code): memoize buildFieldIndex and group pair members i…
waleedlatif1 Nov 19, 2026
5bd3111
refactor(workflow-code): sort compiled edges with canonicalize's comp…
waleedlatif1 Nov 19, 2026
2fbafc6
chore(workspace-source): unexport WorkspaceSourceChange, used only in…
waleedlatif1 Nov 19, 2026
1f2916e
docs(workflow-code): move compileRegularBlock's TSDoc onto it
waleedlatif1 Nov 19, 2026
d7fa1a0
fix(workspace-source): the staging sweep removes objects before their…
waleedlatif1 Nov 19, 2026
7af7211
docs(workflow-code): describe LoopSpec as canonicalize reads it
waleedlatif1 Nov 19, 2026
0b27e30
refactor(workflow-code): stop exporting ConfigItem
waleedlatif1 Nov 19, 2026
24fe1a2
refactor(workflow-code): read pinned values and the catalog block once
waleedlatif1 Nov 19, 2026
793396d
fix(table): a reshape resolves each column update to its id, so a by-…
waleedlatif1 Nov 19, 2026
1208e6f
fix(workspace-source): a get leaves out a secret named __proto__ inst…
waleedlatif1 Nov 19, 2026
d3f3ec5
perf(sim-cli): a status past one dry run prunes its whole read instea…
waleedlatif1 Nov 19, 2026
2c9bcfb
perf(sim-cli): workspaces source apply walks the directory once, insi…
waleedlatif1 Nov 19, 2026
5bed9df
fix(sim-cli): --only reads past an empty segment instead of refusing …
waleedlatif1 Nov 19, 2026
cf9452f
refactor(workspace-code): un-export four unused types, name the skill…
waleedlatif1 Nov 19, 2026
9e63ca4
feat(workspace-source): an existing column becomes required in the sa…
waleedlatif1 Nov 19, 2026
5bcd3e9
perf(workspace-source): list MCP servers' tools concurrently while pl…
waleedlatif1 Nov 19, 2026
4e9bcc9
perf(workflows): a batched source read prints its workflows concurrently
waleedlatif1 Nov 19, 2026
62872bd
fix(workflow-types): hold a container's edges to the handle they leav…
waleedlatif1 Nov 19, 2026
0bd0e2e
fix(editing): refuse an error edge from a block with no error output
waleedlatif1 Nov 19, 2026
e6d185b
fix(editing): normalize row ids only on fields declared as row lists
waleedlatif1 Nov 19, 2026
b7b66f8
fix(workflow-code): keep the pair member a trigger-mode pair's mode d…
waleedlatif1 Nov 19, 2026
158c0c2
fix(workflow-code): write only the subflow config fields an edit changes
waleedlatif1 Nov 19, 2026
e061432
fix(workflow-source): compile a block renamed in source against the b…
waleedlatif1 Nov 19, 2026
431c403
refactor(sim-cli): name what source helpers do and fix their docs
waleedlatif1 Nov 19, 2026
239b286
perf(workflow-persistence): read only live in-workspace graph rows in…
waleedlatif1 Nov 19, 2026
88bfcf2
perf(workflows): one credential lookup for a batch load's block migra…
waleedlatif1 Nov 19, 2026
abef6b9
fix(api): one ETag revalidation path; tagged v2 bodies are revalidate…
waleedlatif1 Nov 19, 2026
00d4230
fix(workflow-sdk): codegen uses its layout helpers; INDEX.md lists le…
waleedlatif1 Nov 19, 2026
71c69c1
fix(schedules): a written zero is an invalid schedule field, not a mi…
waleedlatif1 Nov 19, 2026
fb5624e
docs(environment): state the non-empty invariant both env paths share
waleedlatif1 Nov 19, 2026
433d368
chore(scripts): name the pure package an offender is in, not always w…
waleedlatif1 Nov 19, 2026
00557b2
refactor(chat-deployments): one identifier-ownership check, and one l…
waleedlatif1 Nov 19, 2026
ba3e742
refactor(workflows): the code tab names its directory with the shared…
waleedlatif1 Nov 19, 2026
697e0fe
refactor: keep types no other module imports private
waleedlatif1 Nov 19, 2026
a3c5067
refactor(workflows): drop the field-by-field source apply presenter
waleedlatif1 Nov 19, 2026
7611d8b
refactor(workspace): the workflow-code flag is required of every flag…
waleedlatif1 Nov 19, 2026
57cd452
refactor(utils): one mapWithConcurrency, with documented failure sema…
waleedlatif1 Nov 19, 2026
8e9dbbd
perf(workspace-source): a knowledge plan never downloads a document n…
waleedlatif1 Nov 19, 2026
e1f7901
Merge commit '2fbafc6809' into fix/wc-lbl-efix
waleedlatif1 Nov 19, 2026
0d71413
docs(workspace-code): CI commits back what apply rewrote, tsc step, G…
waleedlatif1 Nov 19, 2026
4448b04
Merge commit '2fbafc6809' into fix/wc-lbl-rfix
waleedlatif1 Nov 19, 2026
2fa7ab1
Merge commit '2fbafc6809' into fix/wc-fidelity
waleedlatif1 Nov 19, 2026
444d884
Merge commit '2fbafc6809' into fix/wc-lbl-pfix
waleedlatif1 Nov 19, 2026
2442f56
docs(cli): regenerate the CLI reference for the check help and exit 13
waleedlatif1 Nov 19, 2026
4dfe05e
Merge commit '2fbafc6809' into fix/wc-dx4
waleedlatif1 Nov 19, 2026
3b813a6
test(api): the source catalog's tagged 200 is private, no-cache
waleedlatif1 Nov 19, 2026
b16c0a6
fix(workspace-source): a renamed or name-taken stored() tool reports …
waleedlatif1 Nov 19, 2026
dbd053f
fix(workspace-source): a deleted chat's base no longer records its pa…
waleedlatif1 Nov 19, 2026
e392325
fix(table): reshape audit entries name columns, never their ids
waleedlatif1 Nov 19, 2026
6ca8625
refactor(workflows): drop the never-filled SourcePlan.notes, share th…
waleedlatif1 Nov 19, 2026
588da0a
refactor(source): one managed-row key, one tool-input field list, and…
waleedlatif1 Nov 19, 2026
8a220db
docs(source): gated manifest sections, the required-column 400, carri…
waleedlatif1 Nov 19, 2026
3ad655f
Merge commit '2fbafc6809' into fix/wc-lbl-sfix
waleedlatif1 Nov 19, 2026
22e36a2
chore(source): regenerate the v2 OpenAPI and MCP operations for the d…
waleedlatif1 Nov 19, 2026
7392803
Merge commit 'e1f7901bf3' into fix/wc-lbl-pfix
waleedlatif1 Nov 19, 2026
f54a36c
Merge commit 'e1f7901bf3' into fix/wc-dx4
waleedlatif1 Nov 19, 2026
35e1ae0
Merge commit 'e1f7901bf3' into fix/wc-fidelity
waleedlatif1 Nov 19, 2026
9422bd8
test(workspace-code): bound the option-cap and status-grouping fixes …
waleedlatif1 Nov 19, 2026
7d582d7
fix(workflow-code): x.error is a string in a JSON field
waleedlatif1 Nov 19, 2026
af1718b
refactor(workspace-code): rowKeyText reads any cell value, so the tab…
waleedlatif1 Nov 19, 2026
73ef3c1
Merge branch 'fix/wc-lbl-sfix' into feat/workspace-code
waleedlatif1 Nov 19, 2026
fc05ec1
chore: drop the apply wire type no module reads, and shrink the non-n…
waleedlatif1 Nov 19, 2026
3b500dd
test(workspace-source): the cookbook apply test holds the Gmail crede…
waleedlatif1 Nov 19, 2026
c095af3
Merge remote-tracking branch 'origin/staging' into feat/workspace-code
waleedlatif1 Nov 19, 2026
406aac9
Merge commit '73ef3c1cd9' into fix/wc-lbl-rfix
waleedlatif1 Nov 19, 2026
81c210d
fix(workflow-code): keep a stored field the printer left out as inactive
waleedlatif1 Nov 19, 2026
6b79f67
Merge commit '73ef3c1cd9' into fix/wc-fidelity
waleedlatif1 Nov 19, 2026
1e02941
refactor(utils): point the merged mapWithConcurrency callers at @sim/…
waleedlatif1 Nov 19, 2026
7f6317f
test(workflow-source): prove canvas, JSON API and source stay in lock…
waleedlatif1 Nov 19, 2026
c9720fd
Merge commit '73ef3c1cd9' into fix/wc-dx4
waleedlatif1 Nov 19, 2026
388db6a
chore: drop exports the cell-rule move left unused; move the timezone…
waleedlatif1 Nov 19, 2026
3789747
chore(audits): count staging's new integration double-cast in the mer…
waleedlatif1 Nov 19, 2026
6e5ab02
test(workflow-source): satisfy the audits in the fidelity suites
waleedlatif1 Nov 19, 2026
bb94c62
Merge branch 'fix/wc-dx4' into feat/workspace-code
waleedlatif1 Nov 19, 2026
c287514
test(workspaces): wait with the shared sleep helper
waleedlatif1 Nov 19, 2026
5bffa0f
fix(cli): recover a command lock abandoned before its owner was recorded
waleedlatif1 Nov 19, 2026
4a067ce
chore(helm): bump chart to 1.11.22 for the source-staging cleanup cron
waleedlatif1 Nov 19, 2026
c6584fb
Merge branch 'fix/wc-lbl-rfix' into feat/workspace-code
waleedlatif1 Nov 19, 2026
ba66f9a
fix(workspace-source): match managed row keys after their column's co…
waleedlatif1 Nov 19, 2026
8e811c7
Merge branch 'fix/wc-thr7' into feat/workspace-code
waleedlatif1 Nov 19, 2026
855f69a
fix(workflow-code): print a JSON code field in meta.extra as its stor…
waleedlatif1 Nov 19, 2026
1dee4d9
fix(workflow-source): keep a block keyed __proto__ in the lock and hints
waleedlatif1 Nov 19, 2026
912891b
test(workflow-source): regressions from the long fidelity run
waleedlatif1 Nov 19, 2026
d6627ea
fix(cli): workspaces source status and diff refuse a directory holdin…
waleedlatif1 Nov 19, 2026
ed69e37
fix(cli): status recommends the get that restores a removed kind fold…
waleedlatif1 Nov 19, 2026
5a89236
fix(utils): mapWithConcurrency throws the first failure in time
waleedlatif1 Nov 19, 2026
c1e26fd
fix(cli): workspace source commands handle a directory no one may write
waleedlatif1 Nov 19, 2026
9f4f74a
fix(cli): status refuses a broken .sim/written.json instead of callin…
waleedlatif1 Nov 19, 2026
79e78ea
docs(cli): status and diff help name exit 7, and the workflow guide e…
waleedlatif1 Nov 19, 2026
7cdac59
fix(executor): splice already-escaped values into JSON strings as wri…
waleedlatif1 Nov 19, 2026
3c80445
fix(table): write every row's cancellation when one write fails
waleedlatif1 Nov 19, 2026
8fd885a
fix(cli): count a workflow changed only on the server as unchanged in…
waleedlatif1 Nov 19, 2026
1f9778d
fix(cli): an interrupted source command releases the directory lock
waleedlatif1 Nov 19, 2026
1d93930
test(workspace-source): a key-claim failure trigger left by a killed …
waleedlatif1 Nov 19, 2026
b1bea13
fix(e2e): expire the workflow source e2e session in UTC
waleedlatif1 Nov 19, 2026
d97562b
fix(cli): get keeps a directory bound to its workspace when its base …
waleedlatif1 Nov 19, 2026
9a826cb
fix(cli): print nested source apply results as JSON in text output
waleedlatif1 Nov 19, 2026
202232a
test(workflow-code): alternate small and large runs in the growth che…
waleedlatif1 Nov 19, 2026
8434b8f
fix(workspace-source): in-use scan reads the live deployment version
waleedlatif1 Nov 19, 2026
5c06f13
fix(workspace-source): class a refused apply by the errors that refus…
waleedlatif1 Nov 19, 2026
5b4986b
fix(workspace-source): a key taken after a committed write reports th…
waleedlatif1 Nov 19, 2026
23facb7
test(workspace-source): per-process source slot refuses past its cap …
waleedlatif1 Nov 19, 2026
6e50aa8
fix(cli): check table row columns when the row holds a non-string ref…
waleedlatif1 Nov 19, 2026
b4cab9d
feat(workflow-code): hint api for http.request and fn for javascript.…
waleedlatif1 Nov 19, 2026
5fb24d1
docs(workflow-code): correct workspace-key, rows, written.json and cr…
waleedlatif1 Nov 19, 2026
9cadacd
test(workspace-source): a key-claim failure trigger left by a killed …
waleedlatif1 Nov 19, 2026
a81746e
test(workflow-code): alternate small and large runs in the growth che…
waleedlatif1 Nov 19, 2026
ab7851f
test(workflow-code): time the block-cap round trip by thread CPU, so …
waleedlatif1 Nov 19, 2026
84bdb14
fix(workflow-code): never print a credential through the response bod…
waleedlatif1 Nov 19, 2026
07b8aba
fix(workflow-code): check agent tool calls the way blocks are checked
waleedlatif1 Nov 19, 2026
223d4f2
fix(workflow-code): refuse stored() and codeFile() in a loop or paral…
waleedlatif1 Nov 19, 2026
3ea4fa4
fix(workflow-code): give every compile finding a hint that names its fix
waleedlatif1 Nov 19, 2026
8062386
fix(table): keep batch rows that keep a unique value in the DB check
waleedlatif1 Nov 19, 2026
2d554e8
docs(tables): say add-column refuses a required column rows leave empty
waleedlatif1 Nov 19, 2026
d8b0afb
fix(cli): Ctrl-C during an apply write names what it may have done
waleedlatif1 Nov 19, 2026
8cf923c
fix(cli): a status without a login recommends sim login
waleedlatif1 Nov 19, 2026
3eb26a9
fix(cli): check offline with no cached catalog names the get that cac…
waleedlatif1 Nov 19, 2026
c31dfa0
fix(workflow-code): keep meta.retry within the bounds the loader pins…
waleedlatif1 Nov 19, 2026
8da85b0
Revert "fix(workflow-types): hold a container's edges to the handle t…
waleedlatif1 Nov 19, 2026
109fc1d
chore: regenerate the OpenAPI spec and MCP operations for the workspa…
waleedlatif1 Nov 19, 2026
f51176e
docs(cli): document exit 13 (AUTH_REQUIRED), exit 9 and the 429 resen…
waleedlatif1 Nov 19, 2026
d3b7f47
Merge branch 'fix/wc-a3-engine' into feat/workspace-code
waleedlatif1 Nov 19, 2026
3cb2fcc
Merge branch 'fix/wc-a3-cli' into feat/workspace-code
waleedlatif1 Nov 19, 2026
d0bcf4a
fix(workspace-source): managed table rows guard a delete and a column…
waleedlatif1 Nov 19, 2026
d8f642a
fix(workspace-source): a stored() tool or MCP server deleted on the s…
waleedlatif1 Nov 19, 2026
750205d
docs(workflow-sdk): document a child workflow's output shape
waleedlatif1 Nov 19, 2026
5b39c7d
fix(workflow-code): round-trip stored container edges source cannot draw
waleedlatif1 Nov 19, 2026
a8ad0fd
fix(editing): keep a stored error edge the engine no longer adds
waleedlatif1 Nov 19, 2026
d312023
test(workflow-source): stored mismatched container edges survive ever…
waleedlatif1 Nov 19, 2026
7088947
fix(workspace-source): type the in-use scan rows for the query builder
waleedlatif1 Nov 19, 2026
940b60b
fix(tables): accept a required column on a table with rows again outs…
waleedlatif1 Nov 19, 2026
c922386
fix: attempt every independent side effect of a fan-out after one fails
waleedlatif1 Nov 19, 2026
3fd21de
chore(e2e): name the workspace source e2e report variable like its si…
waleedlatif1 Nov 19, 2026
3e2cf1f
Merge remote-tracking branch 'origin/staging' into feat/workspace-code
waleedlatif1 Nov 19, 2026
be5922e
Merge branch 'fix/wc-a3-regress' into feat/workspace-code
waleedlatif1 Nov 19, 2026
b67e9a5
feat(workflow-code): warn on a condition or router branch no edge leaves
waleedlatif1 Nov 19, 2026
16d136a
Merge branch 'fix/wc-fidelity' into feat/workspace-code
waleedlatif1 Nov 19, 2026
d566bb9
Merge branch 'fix/wc-a3-server' into feat/workspace-code
waleedlatif1 Nov 19, 2026
62ef0a5
fix(workflow-code): read a Start block's untouched blank input row as…
waleedlatif1 Nov 19, 2026
2433eca
Merge branch 'fix/wc-a3-docs' into feat/workspace-code
waleedlatif1 Nov 19, 2026
25b0f18
Merge branch 'fix/wc-a3-live' into feat/workspace-code
waleedlatif1 Nov 19, 2026
e40a028
fix(workflow-source): fingerprint a stored workflow the same for ever…
waleedlatif1 Nov 19, 2026
7bd4c0f
fix(workflow-source): refuse workflow names and descriptions v2 refuses
waleedlatif1 Nov 19, 2026
dd177cd
fix(workspace-source): keep unkeyed managed rows out of source, and c…
waleedlatif1 Nov 19, 2026
3e6e40d
fix(workspace-source): compare managed rows with the base under the k…
waleedlatif1 Nov 19, 2026
f20f4db
fix(workspace-source): a reader's concealed MCP get applies back unch…
waleedlatif1 Nov 19, 2026
e16c736
fix(workflow-source): answer a racing source rename with SOURCE_NAME_…
waleedlatif1 Nov 19, 2026
ab5d8c9
fix(workspace-source): an unchanged file the server can no longer han…
waleedlatif1 Nov 19, 2026
e99eaa1
fix(workflow-source): report a dry run's needsRedeployment for the dr…
waleedlatif1 Nov 19, 2026
723d6a1
fix(workflow-source): record no refused apply for a plan-only evaluation
waleedlatif1 Nov 19, 2026
71437e4
fix(workspace-source): a knowledge document replace that stops partwa…
waleedlatif1 Nov 19, 2026
7c80144
test(workflow-code): compare n with 8n in the growth check, so alloca…
waleedlatif1 Nov 19, 2026
720a1c6
fix(workflow-source): never keep a hidden credential over a key the a…
waleedlatif1 Nov 19, 2026
8b79eef
test(workflow-code): read and write input-format rows through their r…
waleedlatif1 Nov 19, 2026
f37737f
Merge branch 'fix/wc-a3-srvA' into feat/workspace-code
waleedlatif1 Nov 19, 2026
02f3aaa
Merge branch 'fix/wc-a3-srvB' into feat/workspace-code
waleedlatif1 Nov 19, 2026
97581fa
fix(workflow-code): keep a hidden credential on a block the source re…
waleedlatif1 Nov 19, 2026
cc98060
fix(sim-cli): offline check passes stored container error edges, cycl…
waleedlatif1 Nov 19, 2026
db9712d
fix(serializer): never evaluate a viewer-scoped default on the server
waleedlatif1 Nov 19, 2026
feaba47
fix(sim-cli): keep a downloaded workflow's stored inputs typed in wor…
waleedlatif1 Nov 19, 2026
b02e996
fix(sim-cli): exit 13 when the server refuses a stored login's refres…
waleedlatif1 Nov 19, 2026
6b34679
Merge remote-tracking branch 'origin/staging' into feat/workspace-code
waleedlatif1 Nov 19, 2026
bdb7fcb
fix(workflow-code): offline check binds a block renamed in source thr…
waleedlatif1 Nov 19, 2026
2215d37
fix(sim-cli): regenerate workspace.d.ts from local workflow inputs on…
waleedlatif1 Nov 19, 2026
887532c
fix(workflows): refuse new edge cycles in the editing engine as edge_…
waleedlatif1 Nov 19, 2026
40e5755
Merge remote-tracking branch 'origin/staging' into feat/workspace-code
waleedlatif1 Nov 19, 2026
fce2122
fix(workflow-code): declare lock and base as type aliases so they fit…
waleedlatif1 Nov 19, 2026
a9c77b5
feat(mothership): sync the workflow-code entitlement into the generat…
waleedlatif1 Nov 19, 2026
befc52e
Merge remote-tracking branch 'origin/staging' into feat/workspace-code
waleedlatif1 Nov 19, 2026
c6b6588
test(workflow-source): stamp updatedAt on direct block writes so a mi…
waleedlatif1 Nov 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .agents/skills/add-block/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,8 @@ When adding or changing `sunset.replacedBy`, run `bun run generate:block-success
map to resolve legacy and current block IDs consistently without importing the executable registry.
Verify it with `bun run check:block-successors`.

A new block type also needs `bun run generate:sdk-names` (commit the new `apps/sim/blocks/sdk-names/<type>.json` and the regenerated `apps/sim/blocks/sdk-names.generated.ts`; names are add-only, and a merge conflict in the generated module is resolved by rerunning the generator) so workflow source gets a typed builder for it; `check:sdk-names` fails CI until it runs.

Adding a block on its own needs no **tool metadata** regeneration — a block references existing
tool IDs through `tools.access` and does not change any tool's shape.

Expand Down
9 changes: 9 additions & 0 deletions .agents/skills/add-column-type/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,15 @@ Registering the *type* is compiler-enforced. Registering its *metadata* is not,

Copy `currency`'s service function and orchestration branch.

## Workspace source and the workflow SDK

The workspace source table codec reads the registry, but the SDK restates each type: add the
`column.<type>()` helper to `packages/workflow-sdk/src/workspace/table.d.ts` (the drift test in
`lib/workspace-source/application/kinds/table/codec.test.ts` fails until you do), map the type's row
value in `columnType()` (`packages/workflow-sdk/src/codegen/workspace.ts`, which defaults to
`string`), and regenerate the embedded text (`bun packages/workflow-sdk/scripts/generate-embedded-text.ts`).
See `.claude/rules/sim-workflow-code.md`.

## Checklist Before Finishing

- [ ] Id appended to `COLUMN_TYPES` in `column-types/types.ts`
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/add-integration/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ export const BLOCK_META_REGISTRY: Record<string, BlockMeta> = {
}
```

Then run `bun run generate:sdk-names` and commit the new `apps/sim/blocks/sdk-names/<type>.json` and the regenerated `apps/sim/blocks/sdk-names.generated.ts` (names are add-only: never edit or delete an existing entry; on a merge conflict in the generated module, rerun the generator), so workflow source gets a typed builder for the new block (`check:sdk-names` fails CI until it runs).

### Trigger Registry (`apps/sim/triggers/registry.ts`) - If triggers exist

```typescript
Expand Down
2 changes: 1 addition & 1 deletion .agents/skills/v2-api-conventions/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Audited against the primary specs and against Stripe, GitHub, and Google's AIPs.
| **`X-RateLimit-Reset` as delta-seconds** | No | It is an absolute ISO 8601 timestamp, so it is clock-skew sensitive — but the response where timing actually decides behaviour (429) also carries `Retry-After`, which is skew-free. The absolute value stays useful for scheduling. |
| **422 for semantic validation** | No | RFC 9110 §15.5.21 defines 422, but Appendix B.3 records that 9110 **deleted** RFC 4918's clause saying 400 was inappropriate. 400 covers "cannot or will not process… perceived to be a client error". The split is convention, not requirement — GitHub splits, Stripe and Google do not. Our machine-readable `error.code` already carries the distinction, and restatusing now breaks clients. |
| **`Location` on 201** | No | §9.3.3 makes this a `SHOULD` **for POST**; the status code itself (§15.3.2) requires nothing and defines the fallback — absent `Location`, the target URI identifies the resource. Declined knowingly: several 201 responses (signed upload sessions, table exports, knowledge folders) have no canonical single-resource GET, so a `Location` would 404, and adopting it on some of the 19 is worse for a client than on none. Every 201 returns the full representation including its `id`. Revisit per-route if one gains a canonical GET. |
| **ETag / `If-None-Match` / `If-Match`** | No | Every v2 response is `Cache-Control: private, no-store` per-caller data, so `If-None-Match` buys nothing. For writes, `If-Match` needs a **strong** validator: §8.8.3.2's strong comparison fails if *either* tag is weak, so a weak ETag silently makes every `If-Match` fail. None of the three surveyed APIs does HTTP optimistic concurrency — Google does the semantics via a resource `etag` **field** (AIP-154), deliberately not the header. If Sim needs optimistic concurrency, do it that way. |
| **ETag / `If-None-Match` / `If-Match`** | No | Every v2 response is `Cache-Control: private, no-store` per-caller data, so `If-None-Match` buys nothing. The exception is a content-addressed read (the source catalog) that sets the route builder's `entityTag`: its 200 and 304 say `private, no-cache`, so the client keeps the body and revalidates it. For writes, `If-Match` needs a **strong** validator: §8.8.3.2's strong comparison fails if *either* tag is weak, so a weak ETag silently makes every `If-Match` fail. None of the three surveyed APIs does HTTP optimistic concurrency — Google does the semantics via a resource `etag` **field** (AIP-154), deliberately not the header. If Sim needs optimistic concurrency, do it that way. |
| **`Deprecation` / `Sunset` on v1** | Not yet | RFC 9745 (Standards Track) and RFC 8594 (Informational) both apply, and GitHub emits both. But `Sunset` is a timestamp and 9745 §4 makes `Sunset >= Deprecation` a `MUST`, so emitting either commits Sim to a v1 retirement date — a product decision, not an engineering one. When that date exists: `Deprecation` is an RFC 9651 Structured Field **Date** (`@1688169599`); `Sunset` is an **HTTP-date** (`Sat, 31 Dec 2033 23:59:59 GMT`). Two encodings in one response — the most common implementation error here. |
| **`application/merge-patch+json`** | No | v2 PATCH bodies are merge-patch *shaped* — absent means unchanged, `null` clears — but they are `.strict()`, so unknown members are rejected where RFC 7396 §2 would merge them, and nested objects are replaced wholesale rather than merged. Advertising the media type would over-claim. Document the semantics per contract instead. |

Expand Down
211 changes: 211 additions & 0 deletions .claude/rules/sim-workflow-code.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
---
description: Workflows and workspaces as code (workflow source, workspace source, the workflow SDK, the Code tab)
paths:
- "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/**"
---

# Workflows and Workspaces as Code

A workflow prints to TypeScript and compiles back; a workspace prints to a directory of
declarations and applies back. Read the design docs before changing an engine or a format:
`packages/workflow-code/DESIGN.md` (one workflow) and `packages/workspace-code/DESIGN.md` (the
workspace directory).

## Where things live

| Where | What |
|---|---|
| `packages/workflow-types` | Shared workflow, block and resource-kind types (`WORKFLOW_RESOURCE_KINDS`) |
| `packages/workflow-code` | Pure engines for one workflow: catalog types, canonicalize, print, compile, materialize, lock, diagnostics |
| `packages/workspace-code` | Pure workspace half: `KIND_DIRS`, `APPLY_ORDER`, one codec per kind (`src/kinds/`), `.sim/base.json`, `rf1:` fingerprints, limits |
| `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; `source-dir.ts`, `source-tree.ts`, `source-ui.ts` 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/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 |

Dependencies point one way: `packages/workflow-types` → `packages/workflow-code` →
`packages/workspace-code` and `packages/workflow-sdk` → the CLI and `apps/sim`. `check:boundaries` keeps both engines pure (no
Node built-ins, `eval`, `globalThis`, dynamic import): they run in the browser, the CLI and the
server unchanged.

## Naming: "code" and "source"

Both words name the same feature, split by role; follow the split rather than rename:

- **code** names the feature and its engines: the packages (`workflow-code`, `workspace-code`), the
server glue folder `lib/workflows/code/`, the `workflow-code` flag, the Code tab.
- **source** names the artifact and the operations on it: the files themselves, the use cases
(`readWorkflowSource`, `applyWorkspaceSource`), the routes (`/source`), the CLI
(`sim workflows source get`), `lib/workspace-source/`.

A fingerprint of what the server stores now is a **stored fingerprint**: `storedFingerprint`
(`rf1:`, a resource) and `storedSourceFingerprint` (`sf1:`, a workflow); a plan records it as
`PlannedChange.storedFingerprint` and the apply re-reads it with `storedFingerprintNow`. The base
records the fingerprint the directory last read (`base.fingerprint`).

A new module goes where its neighbours are: an engine or engine glue under a `code` folder, a use
case or surface under a `source` name.

## The canonical model

Every engine meets at the canonical workflow model (CWM): id-free, keyed by normalized block name,
with the executable view separated from preserved state. Print and compile are inverses over it;
canonicalize and materialize convert between it and stored state, with identity carried by the
lock. The catalog (built from the block registry, `lib/workflows/code/catalog/`) is the only way an
engine learns about blocks; engines never import the registry. See DESIGN.md "The canonical model"
and "The catalog".

## Feature flag

One global flag, `workflow-code` (`lib/core/config/feature-flags.ts`, env fallback
`WORKFLOW_CODE`), gates workflow source, workspace source, the source catalog and resources, and
the Code tab. Every use case calls `requireWorkflowCodeEnabled()`
(`lib/workflows/code/feature-flag.ts`); the UI reads it from the workspace layout's flags. A new
surface gates through the same function, never its own check.

## Adding things

### A block type

Normal integration work, then `bun run generate:sdk-names`, which adds
`apps/sim/blocks/sdk-names/<type>.json` and regenerates `sdk-names.generated.ts`. Nothing else: the
catalog projection, SDK codegen, the corpus and default parity derive from the registry.
`check:sdk-names` fails until the generator runs. Names are add-only (`check:sdk-names-frozen`):
never edit or delete an existing entry; a collision gets a hand-picked name for the new entry.
Goldens (`packages/workflow-code/src/print/__golden__`) print real blocks, so an edit to one of
those blocks can change a golden: refresh with
`bun run --cwd apps/sim test lib/workflows/code/goldens.test.ts -u`, never by hand.

A block whose `value()` or condition the probe cannot evaluate (`catalog/probe.ts`) degrades to an
opaque type: it works, with weaker SDK typing.

### A subBlock type

1. `SubBlockType` (`apps/sim/blocks/types.ts` and `@sim/workflow-types/blocks`).
2. `TYPE_RULES` in `lib/workflows/code/catalog/value-kind.ts` (a total `Record`, so type-checked).
3. `mapSubBlock` in `packages/workflow-sdk/src/codegen/map-subblock.ts` (a `never` arm).
4. `getSubBlockValueShape` in `apps/sim/tools/param-shape.ts`, which defaults to `string`.
5. `packages/workflow-code/src/compile/catalog.test-helpers.ts` restates the rule flags for package tests.
6. A **structured** value (`CatalogStructuredKind`): add an entry to `STRUCTURED_CODECS`
(`packages/workflow-code/src/structured/index.ts`); the record is total over the kinds, so tsc
fails until the kind has a codec, and `StructuredCodec` (`structured/codec.ts`) lists the hook
each stage calls. Add corpus coverage. Only a kind lifted out of the param value into its own
model shape (`tools`, `branches`, the `LIFTED_STRUCTURED_KINDS`) skips the record and has its
own stage modules.
7. A **selector to a workspace resource**: the resource kind (`WORKFLOW_RESOURCE_KINDS`), its live
loader in `lib/workspaces/resource-keys.ts`, the SDK `*Ref` type in `core.d.ts`, and the
manifest (`lib/workflows/application/read-source-resources.ts`,
`packages/workflow-sdk/src/codegen/workspace.ts`).

### A table column type

Follow `/add-column-type`. The workspace codec reads the column registry
(`lib/workspace-source/application/kinds/table/codec.ts`), but three places restate it:

- the `column.<type>()` helper in `packages/workflow-sdk/src/workspace/table.d.ts`
(`kinds/table/codec.test.ts` fails until it exists), then regenerate the embedded text
(`bun packages/workflow-sdk/scripts/generate-embedded-text.ts`);
- `columnType()` in `packages/workflow-sdk/src/codegen/workspace.ts`, the row type `table('k')`
gives, which defaults to `string`;
- a type that owns metadata: `TABLE_COLUMN_METADATA_KEYS` in
`packages/workspace-code/src/kinds/table.ts` plus the reader and printer there.

### A workspace resource kind

The kinds: secrets (`secrets.ts`), credentials (`credentials.ts`), custom tools, skills, MCP servers
(`mcp/<key>.ts`), tables (with opt-in rows in `tables/<key>.rows.jsonl`, see DESIGN.md "Table
rows"), knowledge bases, files, workflows and deployments
(`deployments/<workflow key>.ts`, applied after workflows; see DESIGN.md "The deployment kind").
Secrets and credentials are reference kinds declared whole in one root file (`FILE_KINDS`): see
DESIGN.md "Reference kinds" for holding back the workflows that use an entry the workspace cannot
satisfy.

1. `APPLY_ORDER` and `KIND_DIRS` (`packages/workspace-code/src/kind.ts`) and its
`WORKSPACE_KIND_SPECS` entry (`src/specs.ts`: `resourceKind` is the key-table kind a workflow
names it by and a write claims, `null` for a kind with no key row of its own: a secret, a file
keyed by path, a deployment keyed by its workflow's key); every `Record<WorkspaceKind, …>` then
fails to type-check until it has the kind.
2. A codec `packages/workspace-code/src/kinds/<kind>.ts` with tests; `KIND_LAYOUTS`, and
`BLOB_KIND_CODECS` if it holds blobs (`src/kinds/registry.ts`); its diagnostic codes.
3. An adapter `apps/sim/lib/workspace-source/application/kinds/<kind>/adapter.ts` calling the
kind's own use cases; `KIND_ADAPTERS` (`application/registry.ts`) and `NOUNS`
(`application/findings.ts`); an integration test.
4. If workflows name it by key: `WORKFLOW_RESOURCE_KINDS`, the live loader in
`lib/workspaces/resource-keys.ts`, the manifest in `read-source-resources.ts` and
`codegen/workspace.ts`, and `PENDABLE_REFERENCES` in
`lib/workflows/application/source-evaluate.ts`.
5. SDK: `packages/workflow-sdk/src/workspace/<kind>.d.ts` plus `index.d.ts`, a cookbook example
under `cookbook/workspace/`, then regenerate the embedded text.
6. CLI (`workspace-source-dir.ts`): `workspaceTsconfig` includes, the `AGENTS_GUIDE` section and
`localDeclarations`.
7. Contracts: regenerate the OpenAPI specs and `packages/sim-cli/src/generated/v2-api.ts`.

Steps 4 to 6 have no compile-time guard: a miss ships a kind that the CLI never type-checks or
that a workflow cannot reference.

A kind whose resources workflows name a member of (an MCP server's
tools) carries the member on the workflow change's `refs` and checks it in its adapter's
`checkRefs`, which runs once every kind is planned. A secret-bearing field prints `stored()` or an
env reference, never a value, and a literal secret in source is refused (`E_MCP_LITERAL_SECRET`).

### A field on an existing kind

Add it to the declaration type and to the kind's field table (`DeclFields`,
`declaration/field-table.ts`: `KNOWLEDGE_FIELDS`, `MCP_FIELDS`, `SECRET_FIELDS`, …). The table is
typed over every field of the declaration, so tsc fails until the field has an entry, and that one
entry is how the kind reads, prints and fingerprints it. Then the server's stored → declaration
mapping and diff, and the SDK `.d.ts`. Custom tools (`TOOL_FIELDS`) and skills
(`FRONTMATTER_FIELDS`) use the same tables; only a tool's `code` and a skill's `content` are read,
printed and fingerprinted by hand. A field left out of the fingerprint
makes an edit fingerprint as unchanged and silently drops it; the kind's test fixture must set the
field so the "reads back every declaration it prints" test covers it. A default mirrored from
`apps/sim` (`DEFAULT_CHUNKING`) must match the server's, or every undeclared resource reads as
changed.

## Formats and versions

| Artifact | Marker | Rule |
|---|---|---|
| `.sim/lock.json` (workflow) | `version: 1` | Add optional fields without a bump; validators learn a field before writers emit it; unknown data goes under `x-` keys |
| `.sim/base.json` (workspace) | `version: 1` | Same policy |
| `workflow_source_meta` | `version: 1` | Same policy; a bump needs a data migration |
| Fingerprints | `sf1:` (workflow), `rf1:` (resource) | Any change to canonicalize or a kind's `canonical()` output changes every stored fingerprint and makes every checkout stale; treat it as a format change |
| SDK surface | `// @sim-sdk 1`, `SDK_MAJOR`, `OLDEST_SDK_MAJOR` | Compile refuses a newer major and reads down to the floor |
| `apps/sim/blocks/sdk-names/` | append-only | Never rename or remove a name |

Nothing upgrades an old version: a bump is a hard refusal until a migration exists. A lock or base
field also appears in the zod contracts (`workflowLockSchema`, `sourceBaseSchema` in
`lib/api/contracts/workflow-source.ts`), so keep both in step.

## Proof

Behaviour is proven by properties over the real registry, not restated unit tests:

- `bun run --cwd apps/sim test lib/workflows/code` runs the default corpus (sampled per block type,
under 60 s): round trip (`corpus/roundtrip.corpus.test.ts`, properties P0–P7 and O1–O3 in
DESIGN.md "Proof"), inactive params, stale outputs, secrets, default parity, goldens and SDK
examples.
- `ROUNDTRIP_CORPUS_FULL=1` runs every case; `ROUNDTRIP_CORPUS_EXTRA_DIR` adds redacted production
states; `ROUNDTRIP_CORPUS_REPORT_PATH` writes a report. `corpus/typecheck.corpus.test.ts` with
`ROUNDTRIP_CORPUS_FULL=1` type-checks every printed case against the generated SDK.
- Apply behaviour is proven against Postgres: `apps/sim/lib/workflows/application/*.integration.ts`
and `apps/sim/lib/workspace-source/application/*.integration.ts`.
- The Code tab and the CLI have HTTP e2e scripts (`apps/sim/scripts/test-workflow-code-ui-e2e.ts`,
`test-workflow-source-e2e.ts`, `test-workspace-source-e2e.ts`).
- Generated artifacts and their checks: `generate:sdk-names` (`check:sdk-names`,
`check:sdk-names-frozen`), the SDK embedded text (its `*-text.test.ts`), goldens
(`check:workflow-code-golden`).
Loading
Loading