Skip to content

Commit 775b07f

Browse files
committed
docs(skills): the automation skill teaches the inbound hook of a flow name two packages hold
The inbound webhook section gains one line: for a flow name two packages hold, the bare hook path answers 401 INVALID_SIGNATURE whatever the signature, and each package's flow is reached only at the namespace-qualified hook. The subflow row's parenthetical no longer says such a pair is never armed. The token ratchet row for this file is not moved here: the file measures 6918 against a ceiling of 6861. Claude-Session: https://claude.ai/code/session_01J8VVAnTcb4cZVkPdhkPicW Co-authored-by: Claude <noreply@anthropic.com>
1 parent b96d492 commit 775b07f

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

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 teaches the inbound hook of a flow name two packages hold
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
`skills/objectstack-automation/SKILL.md` gains one line in the inbound webhook section: for a flow name two packages hold, the bare hook path answers `401 INVALID_SIGNATURE` whatever the signature, and each package's flow is reached only at `/api/v1/automation/hooks/:namespace/:flowName/:hookId`, by its package's `manifest.namespace`. The `subflow` row no longer says such a pair is never armed: each package's flow is armed. No other text changes.

‎skills/objectstack-automation/SKILL.md‎

Lines changed: 2 additions & 1 deletion
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, never 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; an older clash, 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,6 +389,7 @@ 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`.
392393

393394
### Trigger Types (start-node `config.triggerType`)
394395

0 commit comments

Comments
 (0)