Skip to content

Commit 0b9c395

Browse files
committed
docs(adr-0048): the bare-name addendum asks built-ins at the package door only and keeps the .custom override path
Contract-review follow-up on the bare-name phase 1 change: - the §3.4 narrowing note and P1.2 say a built-in's name is judged at managed install only, as the item seam asks no built-in; - P1.4 states that a paired `.custom` package's declared override is a stored row bound to its pair, never a package holder; - the changeset's measured producers name the two dataset names HotCRM and the examples share (`task_metrics`, `opportunity_metrics`), and its `Skills-docs:` line uses the claim template's `none` spelling. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4d1EuHiCqvh8VEz81QD
1 parent d154c62 commit 0b9c395

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

‎.changeset/30803-bare-name-one-package-holder.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ feat(objectql)!: a picklist, mapping or dataset name holds one package — once
66

77
Clause-②: no (narrowing) — the engine's package door (`SchemaRegistry.installPackage`) and item seam (`SchemaRegistry.registerItem`) refuse, after the cold boot, a package registration they accepted before: one whose picklist, mapping or dataset bears a name another installed package holds. Nothing is widened.
88
Metadata-protocol: narrowed
9-
Skills-docs: no move — `skills/**` does not teach that two packages may share a picklist, mapping or dataset name, and the naming rule itself is phase 2's (#30805); the prescription ships in the refusal and warning text and in ADR-0048's 2026-11-06 addendum.
9+
Skills-docs: none — `skills/**` does not teach that two packages may share a picklist, mapping or dataset name, and the naming rule itself is phase 2's (#30805); the prescription ships in the refusal and warning text and in ADR-0048's 2026-11-06 addendum.
1010

1111
<!-- adr-0087: not-required (no-migration-prescription) the refusal removes no key, export or field and changes the shape of no stored body; what an author does about a refused name is pick a different one, which no conversion can choose for them -->
1212

@@ -19,4 +19,4 @@ Skills-docs: no move — `skills/**` does not teach that two packages may share
1919
- **Who moves.** An author whose package declares a picklist, mapping or dataset under a name another package installed beside it already ships, at the next install or upgrade into a running deployment. **The one-line fix: rename the item in one of the two packages — the refusal names the namespace-prefixed name — or uninstall one of them.** A field, import or dashboard that named the old name must name the new one; nothing rewrites stored references.
2020
- **Unchanged.** The same package registering its own name again (a reload, a re-install, an upgrade, including a package that came through the boot beside another holder). An environment item under a package's name: a registration with no package (every `sys_metadata` hydration and metadata write-through) is never judged, and the environment catalog is never a holder — it is the ADR-0005 overlay. A picklist extension of another package's list. Every other metadata type, which keeps ADR-0048 §3.4's coexistence (`page/home` in two packages, object-bound actions keyed `objectName:name`, jobs keyed `appId:jobName`). `OS_METADATA_COLLISION=warn` does not downgrade the refusal. A kernel that withholds the boot-phase hooks never seals, so its doors never refuse.
2121

22-
**Measured producers.** On objectstack `c17719dd`, the four examples (`app-crm`, `app-showcase`, `app-todo`, `app-multi-package`) carry 7 picklist, mapping and dataset declarations, and no name has more than one holder; the platform's own packages declare none. HotCRM `6961ab1` (five packages, one artifact) carries 5 picklists, 3 mappings and 2 datasets, and no name has more than one holder. Deployed and marketplace packages NOT MEASURED.
22+
**Measured producers.** On objectstack `c17719dd`, the four examples (`app-crm`, `app-showcase`, `app-todo`, `app-multi-package`) carry 7 picklist, mapping and dataset declarations, and no name has more than one holder; the platform's own packages declare none. HotCRM `6961ab1` (five packages, one artifact) carries 5 picklists, 3 mappings and 2 datasets, and no name has more than one holder. The two sets were measured separately, and two names coincide across them: the datasets `task_metrics` (HotCRM `src/sales/datasets/` and `app-todo`) and `opportunity_metrics` (HotCRM and `app-crm`). No shipped composition installs HotCRM beside an example, so nothing shipped is refused; an environment that installs HotCRM beside `app-todo` or `app-crm` is a Who-moves case above. Deployed and marketplace packages NOT MEASURED.

‎docs/adr/0048-cross-package-metadata-collision.md‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ package — stays covered by the `naming/namespace-prefix` lint in `os lint`.
271271
> import's `mappingName`, a dashboard's `datasetName` — so with two holders every
272272
> caller is served the first-registered one, measured on a booted two-package
273273
> deployment (#30803). Once the cold boot has sealed the registry, a package whose
274-
> picklist, mapping or dataset bears a name another installed package or a
275-
> built-in holds is refused at managed install and at package registration,
276-
> naming both holders and the rename. ⛔ The environment catalog is never a
274+
> picklist, mapping or dataset bears a name another installed package holds is
275+
> refused at managed install and at package registration (a built-in's name, at
276+
> managed install), naming both holders and the rename. ⛔ The environment catalog is never a
277277
> holder: an environment item under a package's name is the ADR-0005 overlay.
278278
> The other types the measurement found resolving without a package context —
279279
> `api`, the object-less `action`, the engine function registry, `email_template`,
@@ -927,7 +927,8 @@ registration that reaches the registry directly). The holders:
927927
- **an installed package** — including a disabled one, which is still installed
928928
and still holds its names; a nested plugin declares under its parent package;
929929
- **a built-in** — none today for these types; the vocabulary keeps the holder so
930-
a platform-held name is refused the way the security catalog refuses one.
930+
a platform-held name is refused the way the security catalog refuses one, and,
931+
as there, only the package door asks it.
931932

932933
⛔ **Never the environment catalog** — the one difference from N.2. For these
933934
types an item authored in this environment under a package's name is the ADR-0005
@@ -971,6 +972,9 @@ the doors never refuse.
971972
unchanged.
972973
- **A picklist extension** (`picklistExtensions`) adds values to another
973974
package's list by design; it holds no name.
975+
- **A paired `.custom` package's declared override** (ADR-0146 D2) is a stored
976+
row bound to its pair, never a package holder, so the refusal does not close
977+
the override path.
974978
- **No downgrade.** `OS_METADATA_COLLISION=warn` softens the §3.2 namespace gate
975979
only.
976980

0 commit comments

Comments
 (0)