Repository navigation
Description
domain:server#5 · zhuangjianguo · session_01QsR2jTkZnXtRhuEiiyidvJ
Filing gate: class (a), a measured inconsistency on a public door, raised as should-fix F1 by the review on PR #33885 (review-b record 6897231104, verdict 6897239914). PR #33885 declares the REST move in its changeset; this card carries the rest.
Prior rulings read: ADR-0150 D3/D5 (a name two holders hold is refused, never guessed; the refusal names the candidates); review-b record 6897231104 F1 and N1 on #33885. Dedupe: searched published two holders candidates, getMetaItemLayered PackageScopedNameRefusedError published, dispatcher published swallow refusal and meta published details.candidates, with no open match.
Measured, with reach
- Public door:
GET /api/v1/meta/:type/:name/publishedwith no package named, for a name that two served packages register in code. The example is the dashboardsales, registered byapp.alpha_demoandapp.beta_demo. - Host: a
RestServerwith noobjectQLProvider. - Measured at PR fix(metadata-protocol, rest)!: the layered read of a name two packages hold refuses as the plain read does, naming the holders as details.candidates (ADR-0150 D3/D5) #33885 head e516f35 with the real protocol and the real
SchemaRegistry, in both registration orders. - REST answers 409
RESOURCE_CONFLICTwith nodetails, sodetails.candidatesis missing. The plain readGET /meta/:type/:nameof the same name answers 409 withdetails.candidatesnaming both packages. So does/layersafter fix(metadata-protocol, rest)!: the layered read of a name two packages hold refuses as the plain read does, naming the holders as details.candidates (ADR-0150 D3/D5) #33885. - Before fix(metadata-protocol, rest)!: the layered read of a name two packages hold refuses as the plain read does, naming the holders as details.candidates (ADR-0150 D3/D5) #33885 the same request reached the published exit and answered 501
NOT_IMPLEMENTEDwhen the host resolves no metadata service.- Read from the tree, not measured: on a host whose metadata service has
getPublished, it returns whatevergetPublishedgives.
- Read from the tree, not measured: on a host whose metadata service has
- With the engine wired, the REST door already answered 409 with no
details, in both orders. - Dispatcher twin (
packages/runtime/src/domains/meta.ts,/published, about lines 1632–1670): it catches the samePackageScopedNameRefusedErrorfromgetMetaItemLayeredand answers onlyOBJECT_PACKAGE_DISABLED. Any other throw falls through to the code/package snapshot, so the two transports disagree on the same request.- Read from the tree, not measured.
- Neither transport's bare
/publishedis pinned in this composition.
Landing point
packages/rest/src/meta-item-history-routes.ts: the/publishedroute's final catch (handleRouteError(res, error), about line 1489) should carry{ packageScopedCandidates: true }, as the/layersand plain-read catches do.packages/runtime/src/domains/meta.ts: the/publishedcatch aroundgetMetaItemLayered.- Pins go in a card-named test file in
packages/rest/src/and inpackages/runtime/src/domains/, unless AGENTS.md routes them into an existing shared harness file (for examplemeta-layers-ambiguous-package.test.ts). - Optional, review N1:
packages/plugins/plugin-security/src/security-catalog-echo.ts(echoSecurityCatalogMutation) should also recover from the two-holder refusal at a package-unbound address (packageId: null), not only when the address isundefined.
Expected
- A bare
/publishedof a name two served packages register answers on both transports what the plain read answers: 409RESOURCE_CONFLICTwithdetails.candidatesnaming both.- This holds in both registration orders, with or without an engine wired, and serves neither holder's body.
?package=of each holder still serves that holder's published view.- CONTROL: a name one package registers is served.
- The REST/dispatcher difference gets decided (refuse on both, or a ruled reason to keep serving the snapshot), then pinned.
Clause-② arm: yes (widening) for the added details.candidates key on an already-published error payload. It becomes yes (narrowing) if the dispatcher twin is ruled to refuse where it serves the snapshot today. Metadata-protocol: none.
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch → closed as not planned (p3 standard) · 2026-11-15T18:55Z
A two-holder corner of the bare
/publishedread (pins for both transports, candidates on the REST 409, the dispatcher swallow). PR #33885 already moves the REST answer to a refusal; the remaining items are pins and a corner no user is measured reaching.The maintainer's p3 standard (triage thread, 2026-11-15) closes work with no user or customer effect. Reopen it if that changes.
fix(metadata-protocol, rest)!: the layered read of a name two package…