Skip to content

Commit c40b6e1

Browse files
committed
docs(skills): automation skill says what two packages shipping one flow function name get now that function names are held per namespace
Packages of two namespaces each run their own; within one namespace, or with none declared, the later bind is refused at install and a boot holding both warns. Paid by cutting "(the platform's counts)", which the sentence before already says (the platform's function is in every flow's reach). Claude-Session: https://claude.ai/code/session_01FEkQ5pCBxBzsVQVGq52JDt Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6538ba4 commit c40b6e1

2 files changed

Lines changed: 14 additions & 4 deletions

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 says what two packages shipping one flow function name now get, since function names are held per namespace
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
Since engine `function` joined `NAMESPACE_SCOPED_BARE_NAME_TYPES` (ADR-0150 D2/D9), two packages declaring two different `namespace`s may each bind a function of one name, each flow's `script` node running its own package's, and the cold boot no longer warns for that pair. `objectstack-automation` still said every two-package pair makes the boot warn `Bare-name conflict at boot`. Item 3 of "Valid-but-silently-wrong" now says: packages of two namespaces each run their own; within one namespace, or where a package declares none, the later bind is refused at install, and a boot holding such a pair warns `Bare-name conflict at boot`. The guard refusal for a flow whose package holds none (two holders in reach, or one only outside its `dependencies` closure: `RESOURCE_CONFLICT`) is unchanged. No schema, accept set or behaviour changes.

‎skills/objectstack-automation/SKILL.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ Most are caught by `objectstack build`:
265265

266266
**The name resolves from the flow's package, as `subflow`'s `flowName`
267267
does**, the platform's function (registered under no package) in every
268-
flow's reach; a `.custom` override reads as a package-less flow. `acme.crm`
269-
and `acme.sales` both shipping `normalize_phone` each run their own (the boot
270-
warns `Bare-name conflict at boot`). If the flow's package holds none, two
271-
holders in reach (the platform's counts) or one only outside its
268+
flow's reach; a `.custom` override reads as a package-less flow. Packages of
269+
two `namespace`s each run their own `normalize_phone` (one namespace, or
270+
none: refused at install; a boot warns `Bare-name conflict at boot`). If the
271+
flow's package holds none, two holders in reach or one only outside its
272272
`dependencies` closure fail the step as a guard (no `fault` edge;
273273
`$error.code: 'RESOURCE_CONFLICT'` in a `try_catch`); a flow door answers
274274
`400 FLOW_FAILED`, `error.details.innerRefusal` naming each holder. Fix:

0 commit comments

Comments
 (0)