diff --git a/.changeset/34770-automation-skill-router.md b/.changeset/34770-automation-skill-router.md new file mode 100644 index 00000000000..dd541a95aa5 --- /dev/null +++ b/.changeset/34770-automation-skill-router.md @@ -0,0 +1,31 @@ +--- +'@objectstack/skills': patch +--- + +docs(skills): the objectstack-automation entry file is cut back to the router budget + +Clause-②: no +Metadata-protocol: none + +`skills/objectstack-automation/SKILL.md` goes from 10.8 KB to 9.0 KB (215 lines to 190). No heading changes, the frontmatter is byte-identical, and nothing an author can write changes: this is wording only. The seven sections a hosted door serves by heading keep their headings and their JSON and TypeScript blocks. + +**What the entry keeps.** The four first checks and the "nothing to read yet" line; the routing list; a flow's project form and its `type` list with `type: 'schedule'` and where the cadence sits; `variables` as an array; the trigger on the start node's `config`; the `type: 'approval'` node; the two node tables with the `save_notice` translation key (`flows.{flow}.notices.{node_id}.message`, read in the saver's locale); the `notify` node with its recipient forms, the source pair rule and the option label evaluated once per run; the five failure-routing and `runAs` rules, the delegated-administration gate whole; the `null` filter operand; the four accepted-then-wrong items; `defineAssignmentRule` beside its approval node; and the declared-connector rule. + +**What left, and what answers it now.** + +- First check 1 no longer names `node_modules/@objectstack/spec/package.json`; the installed package's version is where every package keeps it. +- The routing table is a list of three files. Its row for triggers is part of the `references/examples-flows.md` line, its row for assignment rules is a link inside `## Assignment rules`, and `## Integrations are declared, not coded` names its reference file as a path, since the routing list links it. +- The gloss on `autolaunched` ("no user interaction: started by events, APIs or other flows"): `references/examples-flows.md` § Flow Types. +- The second `variables` entry (`{ name: 'approval_result', type: 'boolean', isOutput: true }`): the contract, `FlowVariableSchema` in `node_modules/@objectstack/spec/src/automation/flow.zod.ts`. +- `create_record`, `update_record` and `delete_record` share one table row; "Call an HTTP API" and "Display a UI form" left the `http` and `screen` rows, and the `notify` row points at its section below; the `connector_action` row no longer says its `connectorConfig.input` is a value-slot map (`references/examples-flows.md` § External Integration — the rest). +- From the `notify` JSON node: `message` with its `date:long` formatter and the `sourceObject` / `sourceId` / `actionUrl` keys. Both examples now stand in `references/examples-flows.md` § `notify` — the rest; the entry keeps the rule (the pair is a pair, and a notify that writes none of the three links to the trigger record). +- "A button cannot start a `runAs: 'system'` `autolaunched`, `record_change` or `schedule` flow: elevate the write, not the flow, through a `subflow` node" is one clause now, on the same bullet: "A button starts a system flow only as `screen` / `api`, or through a `subflow` node." The long form, with the `403` and why the `subflow` route is preferred, is `references/examples-flows.md` § Failure routing & `runAs` — the rest. The last bullet of that section reads "gate an elevated flow here", without repeating `screen` / `api`. +- From § Filter operands: "evaluated before the query" is cut; "a dropped condition widens a query" and "a computed operand is a value, never a query operator" are what `references/examples-flows.md` § Filter operands — the rest already says at more length (the dropped condition that lets a `delete_record` empty the object; the value types a computed operand may be); "route around the node with a `decision`; to match an empty field, write the literal `null`" moved there. +- From item 1 of § Valid-but-silently-wrong: `input.*` and `collection` (the reference lists whose slots they are), the `registerFlow` and executor doors and the `has(record.owner) ? record.owner : null` spelling (moved to item 1 of the reference's § Value slots), and the run user `current_user.id` (already there). The entry still names `objectstack validate` and `expression-invalid`. +- From item 3: the second node of the JSON pair. The entry says in one sentence, under the `script` node, what the later `update_record` writes; the node itself moved to item 2 of the reference's § Value slots. The remaining node's names are shorter (`helpdesk.triage`, `category`). +- "Most are caught by `objectstack build`" under § Valid-but-silently-wrong: cut, with no other home. First check 4 says most traps pass `os validate`, and each item says where it is refused. +- From § Assignment rules: "it routes each inserted row whose `owner_id` and `queue` are both still empty, once, never on update" and the long form of the hook-and-counter warning: `references/examples-flows.md` § Assignment rules, which already held both. The entry keeps "never a hook that picks an owner, nor a counter field". + +**`references/examples-flows.md`** grows by 776 bytes: about 655 are the passages that left the entry and had no other home (listed above), and about 120 are what seats them there (the sentence that introduces the persisting node, its code fence, indentation, and the clause naming the three doors that refuse a `{…}` token). Nothing else in it changed. The skill as a whole is 1,043 bytes smaller. + +**Ratchet.** `scripts/check-skills-token-ratchet.mjs`: the `skills/objectstack-automation/SKILL.md` row goes 2696 to 2241 and the `references/examples-flows.md` row 6433 to 6627, each pinned at its file's measurement with no headroom; the sum of ceilings falls by 261. diff --git a/scripts/check-skills-token-ratchet.mjs b/scripts/check-skills-token-ratchet.mjs index 082d4b95e8b..c5bc14f267b 100644 --- a/scripts/check-skills-token-ratchet.mjs +++ b/scripts/check-skills-token-ratchet.mjs @@ -958,7 +958,29 @@ export const CEILINGS = new Map([ // pinned AT the measurement. The entry is over the 2670 of ruling record 7168461386 by this // raise and by no more than it. // ceil(($(wc -c < skills/objectstack-automation/SKILL.md) - 27) / 4) == ceil(10783 / 4) - ['skills/objectstack-automation/SKILL.md', 2696], + // 2696 -> 2241 (#34770, the entry is cut back to the router budget its Done-when names, 6-9 + // KB): LOWERED. Every fact ruling record 7168461386 ordered into the entry stays in it (the + // project form and the `type` list with `type: 'schedule'` and its cadence, `variables`, the + // `type: 'approval'` node, the option label evaluated once per run, the refused `{…}` token + // beside its CEL envelope, `requiredPermissions`, `defineAssignmentRule` beside its approval + // node), and so do the `save_notice` translation key and the delegated-administration gate + // of the 2696 block above, both whole. What pays: restatements whose other home is + // `references/examples-flows.md` (the `autolaunched` gloss, the long form of the button + // rule, the widened-query clause and the computed-operand sentence of § Filter operands, the + // value-slot keys that file lists, the assignment rule's once-per-insert sentence), the + // routing table's rows for triggers (now on the `examples-flows.md` routing line) and for + // assignment rules (now a link inside that section), the package.json path of first check + // 1, the second `variables` entry and "Most are caught by `objectstack build`". The limit + // of the button rule stays in the entry as one clause on the `readonly` bullet (contract + // review 7364905628, S1: no publish-time check covers that trap). 776 bytes had no other + // home and MOVED to `references/examples-flows.md`, whose row rises by them: the notify + // `message` and source-pair examples, the two remedies of a `null` operand, the three doors + // that refuse a `{…}` token with the empty-field spelling, and the node that persists a + // `script` node's `outputVariable`. The state-introspection route stays for the reason the + // 6903 block gives. 10810 bytes (10783 priced) -> 8991 (8964 priced) -> 2241 tokens, pinned + // AT the measurement; the 9 KB budget is pinned again from here on. + // ceil(($(wc -c < skills/objectstack-automation/SKILL.md) - 27) / 4) == ceil(8964 / 4) + ['skills/objectstack-automation/SKILL.md', 2241], // 13783 -> 13892 (2026-08-31 app-repo-principles raise, see the block above). // The invariant-vs-transition-gate choice, placed in the field-conditional-rule // bullet list where the tool is actually picked. Both wrong picks are silent: @@ -2512,7 +2534,19 @@ export const CEILINGS = new Map([ // record 7168461386. `references/state-machines-and-approvals.md` keeps `main`'s row: its one // re-pointed reference is paid inside the file. // ceil($(wc -c < skills/objectstack-automation/references/examples-flows.md) / 4) == ceil(25729 / 4) - ['skills/objectstack-automation/references/examples-flows.md', 6433], + // 6433 -> 6627 (#34770, the entry is cut back to the router budget): RAISED by text that + // MOVED in from `skills/objectstack-automation/SKILL.md`, which had no other home: the + // notify `message` example with its formatter and the `sourceObject` / `sourceId` / + // `actionUrl` example (`## notify — the rest`), "Route around the node with a `decision`; to + // match an empty field, write the literal `null`" (`## Filter operands — the rest`), the + // three doors that refuse a `{…}` token and the empty-field spelling (item 1 of `## Value + // slots and the other silent traps — the rest`) and the `update_record` node that persists + // a `script` node's `outputVariable` (item 2 there). Authority: ruling record 7128031203, + // fork 4 = A, which covers later moves of the same kind: the row equals the measured bytes + // moved in, with zero headroom, and the sum of ceilings does not rise (this row +194, the + // entry's row -455). 25729 -> 26505 bytes (+776) -> 6627 tokens, pinned AT the measurement. + // ceil($(wc -c < skills/objectstack-automation/references/examples-flows.md) / 4) == ceil(26505 / 4) + ['skills/objectstack-automation/references/examples-flows.md', 6627], // NEW FILE (card #27223): one recipe per integration archetype — OpenAPI with // a static key, remote MCP with a static header, plain REST, the vendor // callback, a hand-written document for a spec-less vendor — plus the two diff --git a/skills/objectstack-automation/SKILL.md b/skills/objectstack-automation/SKILL.md index b5c33feb781..cad924ca257 100644 --- a/skills/objectstack-automation/SKILL.md +++ b/skills/objectstack-automation/SKILL.md @@ -20,17 +20,15 @@ metadata: ## First checks -1. **Version.** Read the installed `@objectstack/spec` - (`node_modules/@objectstack/spec/package.json`); where it differs from this - skill's `compatibility` line, the installed contract is right. -2. **Read what exists.** Read the object's fields and option `value`s, the - flows already bound to it, and the functions, queues and connectors the - stack declares. -3. **Read the type's contract.** [references/_index.md](./references/_index.md) - points at each type's Zod source in `node_modules/@objectstack/spec/src/`. - `Read` it for exact keys, never from memory. - A running environment serves the parsed shape (`GET /api/v1/meta/types`): - a defaulted key reads as required. +1. **Version.** The installed `@objectstack/spec` wins over this skill's + `compatibility` line. +2. **Read what exists**: the object's fields and option `value`s, the flows + bound to it, the stack's functions, queues and connectors. +3. **Read the type's contract, never recall a key.** + [references/_index.md](./references/_index.md) points at each type's Zod + source in `node_modules/@objectstack/spec/src/`. A running environment + serves the parsed shape (`GET /api/v1/meta/types`): a defaulted key reads + as required. 4. **Verify before reporting done.** `os validate`; CEL checks: **objectstack-formula** § Verify your work. Most traps below pass it. @@ -41,44 +39,42 @@ definition as code. Open the file for what you are writing before you write it. -| Authoring | Open first | -|:--|:--| -| Each flow type's use, control-flow nodes, an installed package's flow, and the rest of each section below | [examples-flows.md](./references/examples-flows.md) | -| Triggers (record change, schedule, date sweep, inbound webhook), `requires` capabilities | [Triggers](./references/examples-flows.md#triggers--event-driven-automation) | -| Routing a new record to a queue or a person | [Assignment rules](./references/examples-flows.md#assignment-rules) | -| An approval, a send-back, an escalation, a state machine | [state-machines-and-approvals.md](./references/state-machines-and-approvals.md) — its state-introspection route is `GET /api/v1/meta/object/:name/state/:field?from=:state` | -| A vendor integration or callback | [integration-recipes.md](./references/integration-recipes.md) | +- Flow types, control-flow nodes, triggers (schedule, date sweep, inbound + webhook) and `requires` capabilities, an installed package's flow, the rest + of each section below: [examples-flows.md](./references/examples-flows.md) +- An approval, a send-back, an escalation, a state machine: + [state-machines-and-approvals.md](./references/state-machines-and-approvals.md) + — its state-introspection route is `GET /api/v1/meta/object/:name/state/:field?from=:state` +- A vendor integration or callback: + [integration-recipes.md](./references/integration-recipes.md) ## Flows **In a project a flow is `defineFlow({ … })` in a `*.flow.ts`**; a JSON block -is that literal. Its `type`: `autolaunched` (no user interaction: started by -events, APIs or other flows), `screen`, `record_change`, `api` (inbound -webhook), or `type: 'schedule'`: a cron / interval cadence on the **start -node's `config.schedule`**, or a per-record date sweep (`config.timeRelative`). +is that literal. Its `type`: `autolaunched`, `screen`, `record_change`, `api` +(inbound webhook), or `type: 'schedule'`: a cron / interval cadence on the +**start node's `config.schedule`**, or a per-record date sweep +(`config.timeRelative`). -`variables` is an **array**; a variable has no `label`: `variables: [{ name: 'case_id', -type: 'text', isInput: true }, { name: 'approval_result', type: 'boolean', isOutput: true }]`. +`variables` is an **array**; a variable has no `label`: +`variables: [{ name: 'case_id', type: 'text', isInput: true }]`. **A trigger is the start node's `config`**; there is no top-level `trigger`, `event` or `schedule` key. A record change: `{ objectName: 'support_case', triggerType: 'record-after-update', condition: "previous.status != 'escalated' && record.status == 'escalated'" }`. -Guard a flow that writes its own object, or -it re-triggers itself. `defineStack({ requires })` -lists `automation` and `triggers`. +Guard a flow that writes its own object, or it re-triggers itself. +`defineStack({ requires })` lists `automation` and `triggers`. ### Flow Node Types -A human sign-off is an `approval` node (`type: 'approval'`). +A human sign-off is a `type: 'approval'` node. #### Data Operations | Node | Purpose | |:--|:--| | `assignment` | Set variable values | -| `create_record` | Insert a record | -| `update_record` | Modify records | -| `delete_record` | Remove records | +| `create_record` / `update_record` / `delete_record` | Insert / modify / remove records | | `get_record` | Fetch records by filter (**no `query_record`**) | | `save_notice` | Tell the saver what this save started — record create/update trigger only, not after a pause; translated under `flows.{flow}.notices.{node_id}.message` in the saver's locale: **objectstack-data** `rules/lifecycle.md` § Save Notice | @@ -86,25 +82,19 @@ A human sign-off is an `approval` node (`type: 'approval'`). | Node | Purpose | |:--|:--| -| `http` | Call an HTTP API. Set `timeoutMs`. `url` and `headers` are served to every member who can read flows: never a credential there, use a declared connector. Retried after a record change: `durable: true` | -| `notify` | Send a notification (below) | -| `connector_action` | Dispatch an action of a declared connector (§ *Integrations are declared, not coded*). `connectorConfig.input` is a value-slot map, judged against the action's `inputSchema` only at dispatch | +| `http` | Set `timeoutMs`. `url` and `headers` are served to every member who can read flows: never a credential there, use a declared connector. Retried after a record change: `durable: true` | +| `notify` | See below | +| `connector_action` | Dispatch a declared connector's action. `connectorConfig.input` is judged against the action's `inputSchema` only at dispatch | | `script` | Call a **registered** function (*Valid-but-silently-wrong* #3) | -| `screen` | Display a UI form (screen flows only): `config.fields[]`. An upload is `type: 'file'`, a link to a created record `type: 'record_link'`; Next / Submit is never authored | +| `screen` | Screen flows only: `config.fields[]`. An upload is `type: 'file'`, a link to a created record `type: 'record_link'`; Next / Submit is never authored | ### `notify` -As JSON: - ```json { "id": "tell_owner", "type": "notify", "label": "Notify Owner", "config": { "recipients": { "dialect": "cel", "source": "record.owner_id" }, "title": "Done: {{ record.title }}", - "message": "Closed {{ record.closed_at | date:long }}", - "channels": ["inbox"], - "sourceObject": "task", - "sourceId": { "dialect": "cel", "source": "record.id" }, - "actionUrl": "/tasks/{{ record.id }}" + "channels": ["inbox"] } } ``` @@ -116,8 +106,7 @@ As JSON: with neither and no `actionUrl` the notice links to the trigger record. An option label in a notice: `{{ stage | option:opportunity.stage }}` in the mail -`template` (each recipient's language; mail-only, refused in inline `title` / -`message`) — never `label()` in `templateData`, evaluated once per run, before +`template` (each recipient's language; refused in inline `title` / `message`) — never `label()` in `templateData`, evaluated once per run, before fan-out. ### Failure routing & `runAs` @@ -126,9 +115,7 @@ fan-out. A `label: 'error'` alone does nothing: an ordinary edge traverses on SUCCESS. - **Writing a `readonly` field? Set `runAs: 'system'`.** Under the default `runAs: 'user'` the engine **strips** it and the step succeeds. A button - cannot start a `runAs: 'system'` `autolaunched`, `record_change` or - `schedule` flow: elevate the write, not the flow, through a `subflow` - node. + starts a system flow only as `screen` / `api`, or through a `subflow` node. - **Elevation stops at identity assignment**: a `runAs: 'system'` write of `sys_user_position`, `sys_user_permission_set`, `sys_invitation` or `sys_member` is refused `PERMISSION_DENIED`. Grant a position or permission @@ -138,51 +125,40 @@ fan-out. - **A `runAs: 'system'` sweep must pin its organization**, or it reads and writes across every tenant. - **Who may START a flow: `requiredPermissions: ['…']` on the flow.** Gate an - elevated `screen` / `api` flow here, never on `current_user.positions` - inside it. + elevated flow here, never on `current_user.positions` inside it. ### Filter operands (`config.filter`) -Each operand is a value slot, evaluated before the query; a whole-string query -placeholder (`{today}`) passes through verbatim. **An -operand that evaluates to `null` refuses the node** (a dropped condition -widens a query). Route around the node with a `decision`; to match an empty -field, write the literal `null`. A computed operand is a value, never a query -operator. +Each operand is a value slot; a whole-string query placeholder (`{today}`) +passes through verbatim. **An operand that evaluates to `null` refuses the +node.** ## Valid-but-silently-wrong (passes build, fails at runtime) -Most are caught by `objectstack build`: - 1. **A value slot takes a literal or a CEL envelope — never a `{…}` token.** - In `assignments.*`, `fields.*`, `input.*`, `inputs.*`, `collection`, notify - `recipients`, `http` `body` and every `filter` operand a string is the - literal text it spells, and a `{…}` token is **refused** — at - `objectstack validate` (`expression-invalid`), `registerFlow` and the - executor — naming its CEL spelling. Compute with - `{ dialect: 'cel', source: '…' }`: a field that may be empty is - `source: 'has(record.owner) ? record.owner : null'`, the run user - `current_user.id`. Text slots (notify `title` / `message`, `http` `url`) - render `{{ }}` holes. + In `assignments.*`, `fields.*`, `inputs.*`, notify `recipients`, `http` + `body` and every `filter` operand a string is the literal text it spells, + and a `{…}` token is **refused** (`objectstack validate`: + `expression-invalid`), naming its CEL spelling. Compute with + `{ dialect: 'cel', source: '…' }`. Text slots (notify `title` / `message`, + `http` `url`) render `{{ }}` holes. 2. **`create_record`'s `outputVariable` holds the created RECORD, not its id.** ✅ `source: 'newRec.id'` 3. **`script` nodes call a registered function — nothing else.** `config.function` names one registered in `defineStack({ functions })`: a - PURE compute step that receives `ctx.input` and **returns** a value. A - later **declarative** node persists its `outputVariable`: + PURE compute step that receives `ctx.input` and **returns** a value: ```json [ - { "id": "ai", "type": "script", "label": "AI Triage", "config": { - "function": "helpdesk.aiTriageStub", "outputVariable": "ai", - "inputs": { "ticketId": { "dialect": "cel", "source": "record.id" } } } }, - { "id": "apply", "type": "update_record", "label": "Apply Category", "config": { - "objectName": "helpdesk_ticket", - "filter": { "id": { "dialect": "cel", "source": "record.id" } }, - "fields": { "ai_category": { "dialect": "cel", "source": "ai.ai_category" } } } } + { "id": "ai", "type": "script", "label": "Triage", "config": { + "function": "helpdesk.triage", "outputVariable": "ai", + "inputs": { "id": { "dialect": "cel", "source": "record.id" } } } } ] ``` + A later `update_record` persists its `outputVariable`: + `fields: { category: { dialect: 'cel', source: 'ai.category' } }`. + A function that writes where the platform cannot see declares it (project code, no JSON form): @@ -197,19 +173,18 @@ Most are caught by `objectstack build`: ## Assignment rules Routing a new record to a queue or a person is a stack `assignmentRules` -entry, ⛔ never a `beforeInsert` hook that picks an owner, nor a round-robin -counter field: +entry, ⛔ never a hook that picks an owner, nor a counter field +([the rest](./references/examples-flows.md#assignment-rules)): `defineAssignmentRule({ name: 'crm_case_intake', object: 'crm_case', entries: [{ name: 'rest', assignTo: { type: 'queue', value: 'crm_support_intake' }, strategy: 'round_robin' }] })` -It routes each inserted row whose `owner_id` and `queue` are both still empty, -once, never on update. An approval for the same people is an `approval` node -with `approvers: [{ type: 'queue', value: 'crm_support_leads' }]`. +An approval for the same people is an `approval` node with +`approvers: [{ type: 'queue', value: 'crm_support_leads' }]`. ## Integrations are declared, not coded A vendor system reachable over HTTP is a `connectors:` entry inside the app (`provider: 'openapi' | 'mcp' | 'rest'`, a packaged spec, `auth.credentialRef`), dispatched by `connector_action`. Never a plugin. -Recipes, credential hand-off, loader limits and the few cases that are -platform code: [references/integration-recipes.md](./references/integration-recipes.md). +Recipes, credential hand-off, loader limits, platform-code cases: +`references/integration-recipes.md`. diff --git a/skills/objectstack-automation/references/examples-flows.md b/skills/objectstack-automation/references/examples-flows.md index fa54e1e73db..43940535523 100644 --- a/skills/objectstack-automation/references/examples-flows.md +++ b/skills/objectstack-automation/references/examples-flows.md @@ -75,12 +75,14 @@ a `{token}` in one is refused. - `recipients` — a CSV is ONE id. `emailField` names an `email` field of the trigger record. An envelope yielding an address no user holds fails the node. -- `template` is RAW and localizable. `message` — body; only with inline `title`. +- `template` is RAW and localizable. `message` — body; only with inline `title`: + `"message": "Closed {{ record.closed_at | date:long }}"`. - RAW: `topic` (default `'notify'`), `severity` (CLOSED enum `info` | `warning` | `critical`), `channels` (default inbox). - `sourceObject` + `sourceId` — one without the other is dropped. The trigger record is the link only when there is one (not on delete/before-create). - `actionUrl` overrides the pair. + `actionUrl` overrides the pair: + `"sourceObject": "task", "sourceId": { "dialect": "cel", "source": "record.id" }, "actionUrl": "/tasks/{{ record.id }}"`. A recipient string, written or evaluated, may be an audience selector: @@ -144,7 +146,8 @@ A recipient string, written or evaluated, may be an audience selector: query engine; a flow variable never shadows one, and only `filter` gets this hand-off. - **A `null` operand**: the dropped condition would let a routed `delete_record` - empty the object while the run reports success. A relation hop + empty the object while the run reports success. Route around the node with + a `decision`; to match an empty field, write the literal `null`. A relation hop (`record.owner.email`) needs the start node's `config.expand` to list the field — else the fault names the missing hop, not the remedy. - **A computed operand** is a string, number, bigint, boolean or date, or at an @@ -157,7 +160,9 @@ A recipient string, written or evaluated, may be an audience selector: 1. **Value slots** also: notify `templateData.*` / `sourceId`; `input.*` is `subflow` / `map`'s, `inputs.*` `script`'s, `collection` `loop` / `map`'s, - `filter` a CRUD node's. The spellings a refused `{…}` token is given: + `filter` a CRUD node's. A `{…}` token is refused at `objectstack validate`, + `registerFlow` and the executor. The spellings it is given: + - a field that may be empty: `source: 'has(record.owner) ? record.owner : null'` - CEL refuses an absent key where the template wrote nothing, so nothing / `null` / a default is now YOUR call; an indexed path is `'record.tags[0]'`; a deep path guards each step: `has(vars.source) && has(vars.source.id) ? vars.source.id : null` @@ -180,7 +185,15 @@ A recipient string, written or evaluated, may be an audience selector: bare string stays a literal, never translated. 2. **`script`** (item 3). `config.function` is **required**: an empty node refuses at - execute, an unregistered name fails loudly. + execute, an unregistered name fails loudly. The node that persists the + entry's `outputVariable: 'ai'`: + + ```json + { "id": "apply", "type": "update_record", "label": "Apply", "config": { + "objectName": "helpdesk_ticket", + "filter": { "id": { "dialect": "cel", "source": "record.id" } }, + "fields": { "category": { "dialect": "cel", "source": "ai.category" } } } } + ``` **The name resolves from the flow's package, as `subflow`'s `flowName` does**, the platform's ownerless function in every flow's reach; a