Pre-expansion from-rule preserved on a LogicalGroup. Surfaces the
user’s original intent ({ from: "features", allow: ["shared"] }) even
after expand_auto_discover rewrote it into per-child rules
(features/auth -> shared, features/billing -> shared).
A user-declared zone that fanned out into one or more child zones via
autoDiscover. Surfaced verbatim through fallow list --boundaries --format json so consumers (config UIs, Sankey renderers, agent-driven
config tooling, dashboards) can reconstruct the original grouping intent
after expansion has flattened the parent name out of zones[].
Discovery outcome for a LogicalGroup. Discriminates “no children” into
“the directory exists and is empty” versus “at least one autoDiscover
path was invalid or unreadable”, so consumers can render an actionable
hint instead of “0 children, mystery”.
Discover external plugin definitions AND validate their user-supplied glob
patterns. Accumulates all errors across all loaded plugins so the user sees
every problem in one run.
Check whether value is a valid pnpm override right-hand side, even if it
is not a semver range. Returns false when the value is empty, contains a
raw newline, or is otherwise garbage.
Parse an override key into parent, target, and optional version
selectors. Returns None when the key cannot be split into a recognised
shape (empty key, parent or target missing).
Parse the pnpm.overrides section of a root package.json. Returns an
empty PnpmOverrideData when the file has no overrides, when the JSON is
malformed, or when the section is present but empty.
Parse the overrides: section of pnpm-workspace.yaml. Returns an empty
PnpmOverrideData when the file has no overrides, when the YAML is
malformed, or when the section is present but empty.
Copy the target file’s existing permissions onto the temp file so the
rename does not downgrade them. No-op when the target does not yet exist
(fresh creation) or when the platform does not expose Unix file modes.
Read the workspace-discovery diagnostics produced by the most recent
stash_workspace_diagnostics + any subsequent
append_workspace_diagnostics calls for root. Returns an empty vector
when nothing has been stashed for this root yet (e.g. programmatic
callers bypassing the standard loader).