Skip to content

Commit 367de67

Browse files
committed
docs(ui): say the doc namespace prefix is the package-wide naming contract
`content/docs/ui/doc-pages.mdx` said the prefix is "no longer load-bearing for uniqueness". Under ruling C on #30798 every package-authored name carries its namespace, and `os lint` now warns on every bare one. The runtime still keeps same-named docs apart by package (ADR-0048), and the page keeps saying so. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cyadQ5Zhih2y1GNTQm
1 parent 5fccd12 commit 367de67

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎content/docs/ui/doc-pages.mdx‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@ src/docs/crm_user_guide.md ✅ package namespace is "crm"
7474
src/docs/user_guide.md ❌ bare name — lint error (docs/namespace-prefix)
7575
```
7676

77-
This is the same `namespace-prefix` lint the platform applies to other
78-
named metadata for readable, globally-unique filenames. It is no longer
79-
**load-bearing for uniqueness**, however: per **ADR-0048**, doc
80-
resolution is **package-scoped**. Packaged items are stored under a
77+
Docs have their own rule id, but the contract is the one `os lint`'s
78+
`naming/namespace-prefix` warning applies to every other package-authored
79+
name: each one carries its package namespace, so that no two installed
80+
packages hold the same name. The runtime does not rely on the prefix to
81+
keep docs apart, however: per **ADR-0048**, doc resolution is
82+
**package-scoped**. Packaged items are stored under a
8183
composite `<packageId>:<name>` registry key, and each retains its
8284
`_packageId`, so two installed packages may each ship a doc with the same
8385
bare name and coexist — neither silently overwrites the other.

0 commit comments

Comments
 (0)