Skip to content

Commit 5181ecd

Browse files
authored
πŸ“ Describe only the consumer this stack level has (#643)
Two intermediate-state inaccuracies, both introduced by how PR 1 was cut rather than by the seam itself. `installation.ts` described three consumers of the declaration array. Two of them β€” `useRunProfileRegistry()` and `installDocumentComponents()` β€” do not exist at this level; they arrive when the ordinary run profile is exposed. The comment now names the one consumer there is, the workflow attachment, and keeps the part that is true at every level: registering the array installs no provider, discovers no repository, acquires no lock and reaches no network. `deno.ts` lost its terminating newline when the ordinary provider export was held back for the branch that introduces the provider. This branch adds no export there, so the file is byte-identical to base and no longer appears in the diff at all. Comment and newline only; no behavior changes.
1 parent debf132 commit 5181ecd

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

β€Žpackages/workflow/deno.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,4 @@ export type {
140140
SuspensionController,
141141
SuspensionControllerOptions,
142142
SuspensionNotice,
143-
} from "./src/deno/suspension.ts";
143+
} from "./src/deno/suspension.ts";

β€Žpackages/workflow/src/composition/installation.tsβ€Ž

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77
* reserved and not structural β€” so a repository-local component may shadow one
88
* for its own scope.
99
*
10-
* One array, three consumers, because three descriptions of one vocabulary
11-
* would drift. `useCompositionComponents()` registers it inside a workflow
12-
* attachment; `useRunProfileRegistry()` registers it for `xmd syntax` and for
13-
* `xmd plan`'s validation and generation; `installDocumentComponents()`
14-
* registers it for an ordinary run. Registering it installs no provider,
15-
* performs no repository discovery, acquires no lock and reaches no network:
16-
* what a name *does* is the installed provider's, and describing the
17-
* environment mints none.
10+
* One array rather than a list per caller, because two descriptions of one
11+
* vocabulary would drift. `useCompositionComponents()` registers it inside a
12+
* workflow attachment. Registering it installs no provider, performs no
13+
* repository discovery, acquires no lock and reaches no network: what a name
14+
* *does* is the installed provider's, and describing the environment mints
15+
* none.
1816
*
1917
* A completed root replay attaches no provider and registers nothing, so a
2018
* document that already ran through completion re-registers none of these.

0 commit comments

Comments
Β (0)