Skip to content

Commit 42467e2

Browse files
committed
docs(skills): steer build-workflow away from legacy blocks
1 parent 29105e1 commit 42467e2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎skills/build-workflow/SKILL.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,11 @@ are regenerated; do not recreate that flow with a sequence of graph edits.
142142
`sim --output json blocks get <blockId>`.
143143
- Use the returned block id, operation ids, input ids, modes, conditions, credential fields, and
144144
outputs exactly. Never invent them from a display name or underlying tool id.
145+
- Remembered block ids are often the legacy version (`table` instead of `table_v2`, `router`
146+
instead of `router_v2`). A block whose `blocks get` detail carries `sunset` only keeps existing
147+
workflows running: never add one or switch a block to one; build with its `sunset.replacedBy`.
145148
- Preserve an existing block's saved type/version when editing; an unversioned catalog lookup can
146-
resolve a newer definition.
149+
resolve a newer definition. If it carries `sunset`, name its `replacedBy` to the user.
147150
- Inspect `tools list` or `tools get` only when the block response points to a tool and its parameter
148151
or output contract is needed.
149152
- Resolve credentials and resource identifiers before writing them into a graph. Do not embed raw

0 commit comments

Comments
 (0)