You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5915671
Browse filesBrowse the repository at this point in the historyBrowse files
feat(objectql)!: by-name readers of presentation and AI types resolve (package, name)
getApp, MetadataFacade get/getEntry/exists and the protocol's package-less
by-name read now answer through the one package-scoped resolver for app,
page, dashboard, report, book, analytics_cube, tool, skill and agent. A name
the resolver refuses throws a coded 409 RESOURCE_CONFLICT naming every
candidate; one holder and zero holders answer as before.
Claude-Session: https://claude.ai/code/session_01ADHkmTH1oAwgDMigQ9pj37
Co-authored-by: Claude <noreply@anthropic.com>
feat(objectql)!: the by-name reads of apps, pages, dashboards, reports, books, analytics cubes, tools, skills and agents consult `(package, name)` (ADR-0150 D3)
7
+
8
+
Clause-②: no (narrowing)
9
+
Metadata-protocol: none
10
+
11
+
<!-- adr-0087: not-required (no-migration-prescription) no metadata shape, schema, stored row or registered node type changes: the change is which item a bare name resolves to at read time, the stored metadata is read exactly as before, so there is nothing for `objectstack migrate meta` to rewrite -->
12
+
13
+
`SchemaRegistry.getApp`, `MetadataFacade.get` / `getEntry` / `exists` and the protocol's by-name read that names no package (`GET /api/v1/meta/TYPE/NAME`, and MCP `agent_prompt`, which reads it) now answer these nine types through the one package-scoped resolver. A package caller gets its own item, else the one holder in its declared dependencies (plus `sys`). A caller with no package gets the environment's own item, else the one package holder. A name with one holder, and a name with none, answer exactly as before.
14
+
15
+
**BREAKING** for three bare-name reads that were served a guess and are now refused with `409 RESOURCE_CONFLICT`, the message naming every holder:
16
+
17
+
1. A caller with no package reads a name that two packages both ship (for app, page, dashboard, report, book, analytics cube or tool; skills and agents already allow one holder only). It was served whichever package registered first.
18
+
2. A package caller reads a name that only the environment's own item holds.
19
+
3. A package caller reads a name whose one holder is a package it does not declare as a dependency.
20
+
21
+
The fix is one line. For 1 and 3, declare the holding package in the reading package's `dependencies`, or name the package the read means with `?package=`. For 2, ship the item in the reading package or in a package it depends on. None of the four example apps in this repository hits any of the three.
0 commit comments