+**Status**: Revised (2026-06-13) — supersedes the original *per-item collision detection* framing. The runtime guard shipped under the original proposal is **retained as a same-package authoring backstop**; the strategic direction for the app-marketplace era is revised below. · **Superseded in part by [ADR-0146](./0146-studio-designs-setup-administers-one-editor-per-item-paired-customize-package.md)** (2026-10-31) — §3.3's sentence that a context-free read "is best-effort: it returns the first match": a read of a name a code package ships has an owner — that package, or the declared override its paired `<base>.custom` publishes — and a same-named item of a package outside that closure is served only under its own address (ADR-0146 D8); and §3.4's coexistence "by construction", for a base's dependency closure only: the paired `<base>.custom`'s item bearing a base item's name is a declared override or is refused at publish — declare or rename — and any other dependent package's item bearing a base item's name is refused at publish — rename; only the pair declares (ADR-0146 D2, ruled 2026-10-31 on #28364 and #28390). Packages with no dependency relation keep §3.3 and §3.4 as written; qualify-to-cross, the same-package overwrite and the 2026-10-08 addendum stand. · **Amended** (2026-11-07, [#30794](https://github.com/objectstack-ai/objectstack/issues/30794)): §3.5 — rename-on-install ships for **unmanaged** copies, through the one rename engine `duplicatePackage` applies; a managed install is never renamed and §3.2 stands for it as written. See the dated note under §3.5. · **Amended by [ADR-0150](./0150-behavioural-metadata-addressed-by-package-objects-keep-the-literal-prefix.md)** (proposed 2026-11-08): the 2026-11-06 addendum's one-holder refusal retires type by type as each type's readers carry the package; it stays for platform-requested bare names and, as ruled (ADR-0150 Q2 = A, record [`6724050556`](https://github.com/objectstack-ai/objectstack/issues/31527#issuecomment-6724050556) on #31527), for positions. This line takes effect when ADR-0150 is accepted. · **Amended** (2026-11-09, [#31685](https://github.com/objectstack-ai/objectstack/issues/31685)): §5's authoring-lint bullet, rewritten in place — since ADR-0150 child P ([#31669](https://github.com/objectstack-ai/objectstack/issues/31669)) the bare-name finding of `naming/namespace-prefix` judges only capabilities and positions, and the refusal #30806 phase 3 was to add is withdrawn. §3.4's lint sentence stands as written; see the dated note under §3.4. · **Amended** (2026-11-15, [#34069](https://github.com/objectstack-ai/objectstack/issues/34069)): the sentence above that "Packages with no dependency relation keep §3.3 and §3.4 as written" no longer covers `doc` for §3.3's context-free read — a by-name read of a `doc` that names no package (`GET /meta/doc/NAME` and the in-process `MetadataFacade.get` alike), of a name two or more enabled packages hold, answers `409 RESOURCE_CONFLICT` naming every holder, so §3.3's "it returns the first match" no longer describes that read (ruling record [`6893582352`](https://github.com/objectstack-ai/objectstack/issues/33264#issuecomment-6893582352) on #33264, option A; shipped by PR [#34036](https://github.com/objectstack-ai/objectstack/pull/34036): `packages/objectql/src/registry.ts#resolveItem`, which the protocol's by-name read asks before any layer through `packages/metadata-protocol/src/protocol-meta-item-reads.ts#refuseAmbiguousBareDocRead`; pinned in `packages/objectql/src/package-scoped-e8-readers.test.ts`). Unchanged: a name one package holds, a read that names its package (`?package=`, a package caller) and the environment's own item, which still answers first where the registry holds it; a disabled package holds no name. Not a re-bucketing: `doc` keeps its literal global name and its addressing (ADR-0150 D1 bucket 1), and this entry moves nothing else — §3.4's half of that sentence and ADR-0146 D8 read as before.
0 commit comments