diff --git a/docs/adr/0048-cross-package-metadata-collision.md b/docs/adr/0048-cross-package-metadata-collision.md index 3a84eeea9a1..a679e8609cf 100644 --- a/docs/adr/0048-cross-package-metadata-collision.md +++ b/docs/adr/0048-cross-package-metadata-collision.md @@ -5,7 +5,7 @@ **Builds on**: [ADR-0003](./0003-package-as-first-class-citizen.md) (package as first-class citizen), [ADR-0005](./0005-metadata-customization-overlay.md) (artifact vs runtime overlay precedence), [ADR-0008](./0008-metadata-repository-and-change-log.md) (metadata repository, `MetaRef` identity), [ADR-0010](./0010-metadata-protection-model.md) (package provenance / `_packageId` stamping) **Consumers**: `@objectstack/objectql` (`SchemaRegistry.registerItem`, `ObjectQL.registerApp`, install path), `@objectstack/console` / `objectui` (routing + metadata resolution), package authors, CLI/CI install path, the app marketplace registry. **Surfaced by**: ADR-0046 review (doc naming) → generalised to all bare-named metadata → re-examined through the app-marketplace install lens. -**Addenda**: [2026-08-08 — publish-time / marketplace namespace exclusivity](#addendum-2026-08-08-publish-time--marketplace-namespace-exclusivity) (**Proposed**; additive to §3.2, supersedes nothing). +**Addenda**: [2026-08-08 — publish-time / marketplace namespace exclusivity](#addendum-2026-08-08-publish-time--marketplace-namespace-exclusivity) (**Accepted** 2026-08-08 — maintainer ruling on #1825, [acceptance comment 5226411687](https://github.com/objectstack-ai/objectstack/issues/1825#issuecomment-5226411687), landed by PR #6671; additive to §3.2, supersedes nothing). --- @@ -367,7 +367,12 @@ Status legend: **[done]** shipped · **[proposed]** not yet built · ## Addendum (2026-08-08): publish-time / marketplace namespace exclusivity -> **Status of this addendum: Proposed.** It is **additive to §3.2** and +> **Status of this addendum: Accepted (2026-08-08).** The maintainer accepted +> it as drafted, D2 and D3 rule 2 included, on #1825 +> ([acceptance comment 5226411687](https://github.com/objectstack-ai/objectstack/issues/1825#issuecomment-5226411687), +> 2026-08-08 13:55Z); PR #6671 landed it the same day with this line still +> reading "Proposed", that comment being the acceptance record of authority +> until the line caught up (2026-11-06, #30814). It is **additive to §3.2** and > **supersedes no text above** — §§1–6 stand verbatim, the install-time gate's > semantics are unchanged, and §3.5 (namespace rename-on-install) stays > deferred. What it adds is a **second, earlier checkpoint** in front of the @@ -716,14 +721,27 @@ publishers there is no cross-vendor collision to prevent, which is exactly why the work sat on hold. This addendum therefore draws the **contract** now and lets the enterprise-side implementation be scheduled against the opening date. +> **Note (2026-11-06, #30814) — where the precondition stands; no decision +> changes.** Phase A2, the publish-time gate (§A.6), stays bound to this +> precondition: it lands before third-party publishing opens, and the opening +> waits for it. While publishing is first-party only, first-party namespaces +> are reserved at switch-on by D2 and D4 (the D3 whitelist aside, which is +> never reserved and stays first-party-tier only): the back-fill awards each +> published namespace to the publisher of its earliest published version, and +> the reservation is held by that publisher. So no separate official reserved +> list is needed. Phase A1 is landed: PR #6864 (2026-08-09) carries +> `namespace` on the publish payload in this repository, read off the +> artifact's `manifest.namespace`, with its cloud-side receiver in +> objectstack-ai/cloud#1927 (per #30814). + ### A.6 Phasing Status legend as in §5. -- **[proposed] Phase A1 — carry the namespace to publish.** `namespace` on +- **[done] Phase A1 — carry the namespace to publish.** `namespace` on `PackageSchema` / `CreatePackageRequestSchema`; `objectstack package publish` reads it off the artifact manifest. Open-side, this repo. Prerequisite for - everything below. + everything below. Landed by PR #6864 (2026-08-09). - **[proposed] Phase A2 — the publish-time gate (minimal version A).** §A.2's algorithm in the marketplace review pipeline, plus the reservation store. Enterprise-side. **This is the item bound by §A.5.**