From c40b6e10091fa528d6c7ff6f6fe1d020848d6eee Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 14 Nov 2026 18:09:39 +0000 Subject: [PATCH] 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 --- ...22-skills-automation-function-name-per-namespace.md | 10 ++++++++++ skills/objectstack-automation/SKILL.md | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 .changeset/32522-skills-automation-function-name-per-namespace.md diff --git a/.changeset/32522-skills-automation-function-name-per-namespace.md b/.changeset/32522-skills-automation-function-name-per-namespace.md new file mode 100644 index 00000000000..1cc283c8d4e --- /dev/null +++ b/.changeset/32522-skills-automation-function-name-per-namespace.md @@ -0,0 +1,10 @@ +--- +'@objectstack/skills': patch +--- + +docs(skills): the automation skill says what two packages shipping one flow function name now get, since function names are held per namespace + +Clause-②: no +Metadata-protocol: none + +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. diff --git a/skills/objectstack-automation/SKILL.md b/skills/objectstack-automation/SKILL.md index 19b367d7cb0..895a81f6eb7 100644 --- a/skills/objectstack-automation/SKILL.md +++ b/skills/objectstack-automation/SKILL.md @@ -265,10 +265,10 @@ Most are caught by `objectstack build`: **The name resolves from the flow's package, as `subflow`'s `flowName` does**, the platform's function (registered under no package) in every - flow's reach; a `.custom` override reads as a package-less flow. `acme.crm` - and `acme.sales` both shipping `normalize_phone` each run their own (the boot - warns `Bare-name conflict at boot`). If the flow's package holds none, two - holders in reach (the platform's counts) or one only outside its + flow's reach; a `.custom` override reads as a package-less flow. Packages of + two `namespace`s each run their own `normalize_phone` (one namespace, or + none: refused at install; a boot warns `Bare-name conflict at boot`). If the + flow's package holds none, two holders in reach or one only outside its `dependencies` closure fail the step as a guard (no `fault` edge; `$error.code: 'RESOURCE_CONFLICT'` in a `try_catch`); a flow door answers `400 FLOW_FAILED`, `error.details.innerRefusal` naming each holder. Fix: