Skip to content

Commit cfcaab5

Browse files
committed
chore(adr-anchors): anchor the namespace name predicate to ADR-0150 D2
Claude-Session: https://claude.ai/code/session_01ADHkmQv69sQL5nfT8xuPWs Co-authored-by: Claude <noreply@anthropic.com>
1 parent bcfa8fa commit cfcaab5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"file": "packages/objectql/src/namespace-co-owner-names.ts",
3+
"adrs": [
4+
"ADR-0150",
5+
"ADR-0130"
6+
],
7+
"invariant": "ADR-0150 D2 (ruled): behavioural metadata is addressed by (namespace, name) while its identity is (package id, name), and several packages may share one namespace (ADR-0130 D1 artifact co-owners, ADR-0141 D5 dependency co-owners), so the address NAMESPACE/NAME names one item only if no two packages of the namespace hold it. This module is the ONE predicate for the twelve bucket 2/3 types phase 1's one-holder list does not cover (sharing_rule, queue, assignment_rule, hook, job, app, page, dashboard, report, book, analytics_cube, tool): SchemaRegistry.installPackage asks it right after the ADR-0130 D3 object check, ahead of every mutation and at every install, and os validate / os build ask it over an artifact's packages in the boot's install order, printing the same sentence. Every holder is named. ⛔ Never judge a package with no namespace, a shareable platform namespace (base, system, sys: the namespace gate's exemption), the environment catalog, or the same package again; never a type outside the twelve (a wider narrowing is the maintainer's); never package-scoped resolution (ADR-0150 child R); never let OS_METADATA_COLLISION=warn downgrade it; never a second copy of the predicate at either door."
8+
}

0 commit comments

Comments
 (0)