Skip to content

Commit e516f35

Browse files
committed
docs(metadata-protocol): the layered read refusal docblock names its candidates and the registry judgment
packagelessLayeredReadRefusal's docblock now says its refusal carries the holders as a package-scoped refusal, and that the in-process readers of getMetaItemLayered meet the registry's refusal of a name two packages register in code. Comment only; the emitted JS differs in comment lines alone. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jTkZnXtRhuEiiyidvJ
1 parent fa7fb66 commit e516f35

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎packages/metadata-protocol/src/protocol.ts‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4208,7 +4208,9 @@ export class ObjectStackProtocolImplementation implements
42084208
* `409 RESOURCE_CONFLICT`, the holders sorted and the `?package=`
42094209
* prescription), asked of the same resolution
42104210
* ({@link packagelessAddress} at `active`, at the addressed bundle member,
4211-
* read in full): one answer to one ambiguity. `undefined` for a name one
4211+
* read in full): one answer to one ambiguity. [#32622] It also carries
4212+
* its holders as a package-scoped refusal (`refusal.candidates`), so both
4213+
* transports answer them as `details.candidates`. `undefined` for a name one
42124214
* package holds, none does, or only the package-unbound row does, and for
42134215
* every request that names a package (the caller asks only without one).
42144216
*
@@ -4222,7 +4224,10 @@ export class ObjectStackProtocolImplementation implements
42224224
* `createMetaLayeredAnswer`), ⛔ never inside {@link getMetaItemLayered}:
42234225
* its in-process resolution readers (the security catalog echo, the
42244226
* packaged-permission-set lock gate, `/published`) read the layers of a
4225-
* name with no package and keep the answer they had.
4227+
* name with no package and keep the answer they had. [#32914] Those
4228+
* readers do meet the registry's own refusal of a name two packages
4229+
* register in code, which {@link getMetaItemLayered} asks as
4230+
* `getMetaItem` does.
42264231
*
42274232
* [#32354, ADR-0150 D3] While a package is disabled, a name the stored
42284233
* rows of two or more served packages hold beside it is refused here

0 commit comments

Comments
 (0)