fix(workspace): add packages field so pnpm prepare succeeds#10
Merged
Conversation
pnpm-workspace.yaml carried only allowBuilds, with no packages field.
Recent pnpm rejects this with ERR_PNPM_INVALID_WORKSPACE_CONFIGURATION
("packages field missing or empty") during the prepare step it runs
inside any consumer that pulls @openclaw/fs-safe from a github tarball,
breaking installs in downstream repos that pin a commit (e.g. openclaw).
Adding packages: [] keeps the file a valid (empty) workspace root while
preserving the allowBuilds: { esbuild: true } directive. Verified by
extracting the working tree to a clean directory and running
pnpm install -- which now completes without error.
4 tasks
sjf
added a commit
to openclaw/openclaw
that referenced
this pull request
May 7, 2026
Pulls in 26 commits since the previous pin (3c50873): - fix(workspace): add packages field so pnpm prepare succeeds (openclaw/fs-safe#10) — unblocks fresh installs that were failing with ERR_PNPM_INVALID_WORKSPACE_CONFIGURATION during the prepare step pnpm runs inside the github-hosted dep tarball. - Filesystem boundary-guard hardening: centralized boundary primitives, guarded fallback handles, prune/trash race fixes, durable queue id validation, archive staged-merge fixes, public path mode preservation. - json: avoid copy fallback symlink writes. - temp: keep helpers in private dirs; preserve workspace leaf filename contract. Verification: - corepack pnpm install — clean install, no prepare error. - pnpm openclaw setup — wrote ~/.openclaw/openclaw.json, workspace, and sessions dirs. - pnpm test src/infra/{fs-safe,boundary-file-read,fs-safe-defaults, fs-safe-import-boundary}.test.ts — 37/37 passed.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
May 9, 2026
Pulls in 26 commits since the previous pin (3c50873): - fix(workspace): add packages field so pnpm prepare succeeds (openclaw/fs-safe#10) — unblocks fresh installs that were failing with ERR_PNPM_INVALID_WORKSPACE_CONFIGURATION during the prepare step pnpm runs inside the github-hosted dep tarball. - Filesystem boundary-guard hardening: centralized boundary primitives, guarded fallback handles, prune/trash race fixes, durable queue id validation, archive staged-merge fixes, public path mode preservation. - json: avoid copy fallback symlink writes. - temp: keep helpers in private dirs; preserve workspace leaf filename contract. Verification: - corepack pnpm install — clean install, no prepare error. - pnpm openclaw setup — wrote ~/.openclaw/openclaw.json, workspace, and sessions dirs. - pnpm test src/infra/{fs-safe,boundary-file-read,fs-safe-defaults, fs-safe-import-boundary}.test.ts — 37/37 passed.
rogerdigital
pushed a commit
to rogerdigital/openclaw
that referenced
this pull request
May 9, 2026
Pulls in 26 commits since the previous pin (3c50873): - fix(workspace): add packages field so pnpm prepare succeeds (openclaw/fs-safe#10) — unblocks fresh installs that were failing with ERR_PNPM_INVALID_WORKSPACE_CONFIGURATION during the prepare step pnpm runs inside the github-hosted dep tarball. - Filesystem boundary-guard hardening: centralized boundary primitives, guarded fallback handles, prune/trash race fixes, durable queue id validation, archive staged-merge fixes, public path mode preservation. - json: avoid copy fallback symlink writes. - temp: keep helpers in private dirs; preserve workspace leaf filename contract. Verification: - corepack pnpm install — clean install, no prepare error. - pnpm openclaw setup — wrote ~/.openclaw/openclaw.json, workspace, and sessions dirs. - pnpm test src/infra/{fs-safe,boundary-file-read,fs-safe-defaults, fs-safe-import-boundary}.test.ts — 37/37 passed.
greench-ai
pushed a commit
to greench-ai/nexisclaw
that referenced
this pull request
May 12, 2026
Pulls in 26 commits since the previous pin (3c50873): - fix(workspace): add packages field so pnpm prepare succeeds (openclaw/fs-safe#10) — unblocks fresh installs that were failing with ERR_PNPM_INVALID_WORKSPACE_CONFIGURATION during the prepare step pnpm runs inside the github-hosted dep tarball. - Filesystem boundary-guard hardening: centralized boundary primitives, guarded fallback handles, prune/trash race fixes, durable queue id validation, archive staged-merge fixes, public path mode preservation. - json: avoid copy fallback symlink writes. - temp: keep helpers in private dirs; preserve workspace leaf filename contract. Verification: - corepack pnpm install — clean install, no prepare error. - pnpm openclaw setup — wrote ~/.openclaw/openclaw.json, workspace, and sessions dirs. - pnpm test src/infra/{fs-safe,boundary-file-read,fs-safe-defaults, fs-safe-import-boundary}.test.ts — 37/37 passed.
lykeion-dev
pushed a commit
to lykeion-dev/openclaw--rev
that referenced
this pull request
May 14, 2026
Pulls in 26 commits since the previous pin (3c50873): - fix(workspace): add packages field so pnpm prepare succeeds (openclaw/fs-safe#10) — unblocks fresh installs that were failing with ERR_PNPM_INVALID_WORKSPACE_CONFIGURATION during the prepare step pnpm runs inside the github-hosted dep tarball. - Filesystem boundary-guard hardening: centralized boundary primitives, guarded fallback handles, prune/trash race fixes, durable queue id validation, archive staged-merge fixes, public path mode preservation. - json: avoid copy fallback symlink writes. - temp: keep helpers in private dirs; preserve workspace leaf filename contract. Verification: - corepack pnpm install — clean install, no prepare error. - pnpm openclaw setup — wrote ~/.openclaw/openclaw.json, workspace, and sessions dirs. - pnpm test src/infra/{fs-safe,boundary-file-read,fs-safe-defaults, fs-safe-import-boundary}.test.ts — 37/37 passed.
markfietje
pushed a commit
to markfietje/openclaw
that referenced
this pull request
May 20, 2026
Pulls in 26 commits since the previous pin (3c50873): - fix(workspace): add packages field so pnpm prepare succeeds (openclaw/fs-safe#10) — unblocks fresh installs that were failing with ERR_PNPM_INVALID_WORKSPACE_CONFIGURATION during the prepare step pnpm runs inside the github-hosted dep tarball. - Filesystem boundary-guard hardening: centralized boundary primitives, guarded fallback handles, prune/trash race fixes, durable queue id validation, archive staged-merge fixes, public path mode preservation. - json: avoid copy fallback symlink writes. - temp: keep helpers in private dirs; preserve workspace leaf filename contract. Verification: - corepack pnpm install — clean install, no prepare error. - pnpm openclaw setup — wrote ~/.openclaw/openclaw.json, workspace, and sessions dirs. - pnpm test src/infra/{fs-safe,boundary-file-read,fs-safe-defaults, fs-safe-import-boundary}.test.ts — 37/37 passed.
markfietje
pushed a commit
to markfietje/openclaw
that referenced
this pull request
May 20, 2026
Pulls in 26 commits since the previous pin (3c50873): - fix(workspace): add packages field so pnpm prepare succeeds (openclaw/fs-safe#10) — unblocks fresh installs that were failing with ERR_PNPM_INVALID_WORKSPACE_CONFIGURATION during the prepare step pnpm runs inside the github-hosted dep tarball. - Filesystem boundary-guard hardening: centralized boundary primitives, guarded fallback handles, prune/trash race fixes, durable queue id validation, archive staged-merge fixes, public path mode preservation. - json: avoid copy fallback symlink writes. - temp: keep helpers in private dirs; preserve workspace leaf filename contract. Verification: - corepack pnpm install — clean install, no prepare error. - pnpm openclaw setup — wrote ~/.openclaw/openclaw.json, workspace, and sessions dirs. - pnpm test src/infra/{fs-safe,boundary-file-read,fs-safe-defaults, fs-safe-import-boundary}.test.ts — 37/37 passed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pnpm-workspace.yamlonly containedallowBuildswith nopackages:field.ERR_PNPM_INVALID_WORKSPACE_CONFIGURATION(packages field missing or empty) during the prepare step it runs inside any consumer that pulls@openclaw/fs-safefrom a github tarball.openclawrepo) currently fails itspnpm installwithERR_PNPM_PREPARE_PACKAGE.packages: []keeps the file a valid (empty) workspace root while preserving theallowBuilds: { esbuild: true }directive.Verification
pnpm install— completes without error (previously failed withERR_PNPM_INVALID_WORKSPACE_CONFIGURATION).openclaw) by bumping its commit pin to this branch's head SHA once it merges tomain.