Skip to content

Commit bacf69b

Browse files
committed
docs(skills): carry only the subflow parenthetical; the inbound hook line leaves this change
The inbound hook line is removed again: it moves to the part of the card that pays for it. The subflow row's parenthetical now reads "each armed", with no remark on how two packages came to hold the name, so it stays true whether or not a second holder can be installed. The changeset says that one change. The file measures 6857 against its ceiling of 6861. Claude-Session: https://claude.ai/code/session_01J8VVAnTcb4cZVkPdhkPicW Co-authored-by: Claude <noreply@anthropic.com>
1 parent 366c185 commit bacf69b

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

‎.changeset/31696-automation-skill-shared-name-hook.md‎

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): the automation skill no longer says a flow name two packages hold is never armed
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The `subflow` row of `skills/objectstack-automation/SKILL.md` said that a flow name two packages hold is "an older clash, never armed". Each package's flow of such a name is armed, so the parenthetical now reads "each armed". The refusal the row teaches is unchanged: a caller that names neither package is refused, naming both. No other text changes.

‎skills/objectstack-automation/SKILL.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Flows are built from **built-in node types** (plugins register more):
7373
| `try_catch` | Run `config.try`; on failure run `config.catch` with the error in `errorVariable` (default `$error`); `config.retry` re-runs `try` with backoff first. **No `finally`** — the container's ordinary out-edges are the continuation |
7474
| `map` | Sequential multi-instance — invoke the `config.flowName` flow (named as `subflow`'s) per item of `config.collection` (shaped as `loop`'s); each may pause (batch approvals); a refused name fails it at the first item |
7575
| `wait` | Pause execution until a timer elapses or a named signal arrives |
76-
| `subflow` | Invoke the flow bare `config.flowName` names: a package's flow gets its own, else the one holder in its `dependencies` closure plus `sys`; a package-less flow, the environment's, else the one package holder. Else `os validate` passes and the node fails at run time (`subflow 'X' failed: …` naming every candidate; no `code`): `outside-closure` — held only by an undeclared package (declare it) or the environment; `ambiguous-in-closure` / `ambiguous-in-environment` — two packages hold it (package / package-less caller; an older clash, each armed) |
76+
| `subflow` | Invoke the flow bare `config.flowName` names: a package's flow gets its own, else the one holder in its `dependencies` closure plus `sys`; a package-less flow, the environment's, else the one package holder. Else `os validate` passes and the node fails at run time (`subflow 'X' failed: …` naming every candidate; no `code`): `outside-closure` — held only by an undeclared package (declare it) or the environment; `ambiguous-in-closure` / `ambiguous-in-environment` — two packages hold it (package / package-less caller; each armed) |
7777
| `parallel_gateway` / `join_gateway` / `boundary_event` | **Not author-facing** — BPMN-interop forms a `parallel` / `try_catch` container lowers into; author the container |
7878

7979
#### Data Operations
@@ -389,7 +389,6 @@ node `config`**:
389389
- **Idempotency:** `x-idempotency-key` dedupes retries — author the flow to be idempotent (delivery is at-least-once).
390390
- **Queue-backed:** the endpoint ACKs `202` and enqueues; the flow runs on the consumer.
391391
- The JSON body surfaces to the flow as the trigger record (`record.*` / bare fields) plus `params`.
392-
- **A flow name two packages hold:** the path above answers `401 INVALID_SIGNATURE`, whatever the signature. Each is reached only at `/api/v1/automation/hooks/:namespace/:flowName/:hookId`, by its package's `manifest.namespace`.
393392

394393
### Trigger Types (start-node `config.triggerType`)
395394

0 commit comments

Comments
 (0)