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
fix(metadata): keep each colliding item's own _packageId provenance (ADR-0048)
When two packages ship a same-name item, getMetaItem/getMetaItems grafted the
artifact protection envelope from a first-match lookup, so the second package's
item inherited the FIRST package's _packageId. The frontend prefer-local
(dashboard/report/page) filters the unscoped list by _packageId, so this
mislabel resolved collisions to the wrong package.
Scope the artifact lookup to the requested package (getMetaItem) and to each
item's own _packageId (getMetaItems list decorate). getItem ordering unchanged —
a bare-key overlay still takes ADR-0005 precedence.
Verified live (page collision showcase vs studio): single ?package=, the
unscoped list (both items, correct _packageId each), and the frontend page route
(/apps/<pkg>/page/showcase_task_workbench renders each package's own page). 603
objectql tests green.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments