Skip to content

Commit 5ee2376

Browse files
committed
docs(automation): the no-fault-route lists name the non-value filter operand, and the skills change carries its changeset
The skill's ROUTES table and the flows page's guard list now name a filter operand that evaluated to something other than a value beside the null operand, so an author does not expect a fault edge to handle it. A skills/** change releases @objectstack/skills, so the change takes a patch changeset instead of the skip-changeset label. Claude-Session: https://claude.ai/code/session_01J8VVAmczcwpTdN2WmzM6Mo Co-authored-by: Claude <noreply@anthropic.com>
1 parent 47adef2 commit 5ee2376

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): objectstack-automation says a flow's record nodes treat a computed filter operand as a value, never as a query operator
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
- **Now.** § Filter operands states the rule from the service-automation change: a computed operand is a string, number, bigint, boolean or date, or at an `$in` / `$nin` / `$between` comparand a list of them with no empty entry. Anything else fails the node as a guard before the query runs. The fix: make the expression evaluate to the compared value (for a record, its `id`), and write conditions in the filter itself. The table of failures a `fault` edge does not route now names that refusal beside the `null` operand.
11+
- `SKILL.md` stays under its token ceiling (no ceiling moves). No schema, key, command or behaviour changes.

‎content/docs/automation/flows.mdx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1989,7 +1989,8 @@ succeed, **and** the fix is to edit metadata. In practice that is a missing
19891989
required config key (a data node with no `objectName`, an `http` node with no
19901990
`url`, a `subflow` or `map` with no `flowName`, a `connector_action` with no
19911991
`connectorId`/`actionId`), a filter operand that evaluated to nothing (`null`),
1992-
so the condition would have widened the query, a graph that recurses past the nesting
1992+
so the condition would have widened the query, a filter operand that evaluated to
1993+
something other than a value, a graph that recurses past the nesting
19931994
ceiling, or a run that would execute unscoped.
19941995

19951996
The split is deliberate. A dropped filter condition does not narrow a query, it

‎skills/objectstack-automation/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ type: 'text', isInput: true }, { name: 'approval_result', type: 'boolean', isOut
148148
149149
| ROUTES (runtime failure) | Does NOT route (fatal either way) |
150150
|:--|:--|
151-
| 404, rate-limit, rejected write, failed subflow | missing required config key (`objectName`, `url`, `flowName`, `connectorId`/`actionId`); filter operand that evaluated to `null`; graph past the nesting ceiling; unscoped run |
151+
| 404, rate-limit, rejected write, failed subflow | missing required config key (`objectName`, `url`, `flowName`, `connectorId`/`actionId`); filter operand that evaluated to `null` or a non-value; graph past the nesting ceiling; unscoped run |
152152

153153
> **Writing a `readonly` field? Set `runAs: 'system'`.** Under the default
154154
> `runAs: 'user'` the engine **strips** it from `create_record` / `update_record`

0 commit comments

Comments
 (0)