Skip to content

chore(deps): update fs-safe to 0.18.2 - #156262

Merged
steipete merged 1 commit into
mainfrom
codex/fs-safe-0182-adoption-20260923
Sep 23, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/fs-safe-0182-adoption-20260923

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

OpenClaw's direct fs-safe consumers still pin 0.18.1 after the reviewed 0.18.2 release.

User Impact

New installs use the released fs-safe 0.18.2 package and matching native helpers consistently across all seven direct consumers. This is a dependency-only update; existing OpenClaw configuration and APIs stay the same.

Why This Change Was Made

Update the seven exact manifest pins, regenerate the pnpm lockfile, and replace the existing version-specific install cooldown exceptions with the reviewed 0.18.2 cohort and its expiry. The separate fs-safe 0.12.0 dependency required by acpx remains intact. No production or test code changes are included, and this PR does not publish a release.

Evidence

  • The fs-safe 0.18.2 release and npm artifact metadata were verified. All seven direct consumers resolve 0.18.2, and a frozen install passed in 20.516 seconds.
  • node scripts/docker/verify-fs-safe-native.mjs --package-root . --mode require passed on macOS with the actual Darwin native binding loaded; the native file-hash probe also passed.
  • Existing filesystem, streaming, default-policy, secret-file, lock, SDK compatibility, archive, prebuild, and native-resolution tests passed: 183 tests across 13 files and four shards in 53.17 seconds wall time. Two existing Windows-only cases were skipped on macOS.
  • The full selected check-changed run passed in 1025.904 seconds, including 102 npm package graphs, production and test typechecks, lint, import cycles, and remaining selected guards. git diff --check passed.
  • Independent scoped review found no actionable findings; lead review verified the final nine-file metadata-only diff. Proof used isolated local state on macOS; no operator Gateway was changed and no Windows runtime proof is claimed.

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review September 23, 2026 06:18
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 23, 2026, 2:24 AM ET / 06:24 UTC.

ClawSweeper review

What this changes

Updates OpenClaw’s seven direct fs-safe consumers and matching native packages to 0.18.2, with matching lockfile entries and version-specific installation cooldown exceptions.

Merge readiness

✅ Ready for maintainer review

This remains a useful dependency update: current main still uses 0.18.1, and no replacement PR was found. The pins, lockfile, published package hashes, and bounded cooldown exceptions agree; no actionable defect was found.

Priority: P2
Reviewed head: ce4807c0a2cf943f56e3ed2d062a43c029e917f4

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, consistent dependency update with relevant native-runtime validation and no actionable findings.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): The captured body records a successful macOS frozen installation and installed-package native hashing with the Darwin binding loaded; the inspected verifier exercises that exact dependency boundary. This is contributor-reported runtime evidence, not a reviewer-executed run, and does not claim Windows coverage. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The captured body records a successful macOS frozen installation and installed-package native hashing with the Darwin binding loaded; the inspected verifier exercises that exact dependency boundary. This is contributor-reported runtime evidence, not a reviewer-executed run, and does not claim Windows coverage. No stored-data contract changes.
Evidence reviewed 8 items Pinned introduced change: The merge-base-to-head patch updates all seven direct consumers consistently, replaces the matching native package cohort, and preserves acpx’s separate 0.12.0 dependency. No application code, configuration schema, or stored-data format changes are introduced.
Still needed on main: The fetched main revision still pins fs-safe 0.18.1. A same-repository GitHub search for fs-safe 0.18.2 returned only this open PR.
Latest release comparison: The supplied latest release, v2026.9.5, pins fs-safe 0.13.1 and therefore does not contain this adoption. Some historical blobs were unavailable locally; the release manifest was successfully inspected through GitHub’s contents API.
Findings None None.
Security None None.

How this fits together

fs-safe provides filesystem operations used by OpenClaw core and bundled plugins, including guarded reads, writes, secrets, and locks. Package installation selects the JavaScript library and platform-specific native helper used by those operations.

flowchart LR
  A[Core and plugin manifests] --> B[Locked package installation]
  C[Version-specific cooldown exceptions] --> B
  B --> D[fs-safe library]
  B --> E[Platform native helper]
  D --> E
  D --> F[Guarded filesystem operations]
  E --> F
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Config 0, Other 0. Total 0 across 9 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 8 16 16 0
Generated 0 0 0 0
Other 1 45 45 0
Total 9 61 61 0

Review metrics

Metric Value Why it matters
Dependency cooldown 8 exact-version exceptions; removal after September 30 The exception remains limited to the reviewed release and its native helpers, with the date matching the seven-day publication window.

Technical review

Best possible solution:

Adopt the released patch consistently through the existing dependency owners while preserving OpenClaw’s filesystem defaults and acpx’s independent version.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR adopts a dependency release rather than reporting a specific failing OpenClaw workflow.

Is this the best way to solve the issue?

Yes. Updating the existing exact pins, matching native packages, and lockfile is the narrowest adoption path; no competing implementation or public API change is added.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 6a9af74a1cd4.

Labels

Label changes:

  • add P2: This is a bounded dependency maintenance update carrying upstream filesystem error-handling fixes without an established urgent OpenClaw regression.
  • add proof: sufficient: Contributor real behavior proof is sufficient. The captured body records a successful macOS frozen installation and installed-package native hashing with the Darwin binding loaded; the inspected verifier exercises that exact dependency boundary. This is contributor-reported runtime evidence, not a reviewer-executed run, and does not claim Windows coverage. No stored-data contract changes.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The captured body records a successful macOS frozen installation and installed-package native hashing with the Darwin binding loaded; the inspected verifier exercises that exact dependency boundary. This is contributor-reported runtime evidence, not a reviewer-executed run, and does not claim Windows coverage. No stored-data contract changes.

Label justifications:

  • P2: This is a bounded dependency maintenance update carrying upstream filesystem error-handling fixes without an established urgent OpenClaw regression.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The captured body records a successful macOS frozen installation and installed-package native hashing with the Darwin binding loaded; the inspected verifier exercises that exact dependency boundary. This is contributor-reported runtime evidence, not a reviewer-executed run, and does not claim Windows coverage. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured body records a successful macOS frozen installation and installed-package native hashing with the Darwin binding loaded; the inspected verifier exercises that exact dependency boundary. This is contributor-reported runtime evidence, not a reviewer-executed run, and does not claim Windows coverage. No stored-data contract changes.

Evidence

What I checked:

  • Pinned introduced change: The merge-base-to-head patch updates all seven direct consumers consistently, replaces the matching native package cohort, and preserves acpx’s separate 0.12.0 dependency. No application code, configuration schema, or stored-data format changes are introduced. (package.json:2259, ce4807c0a2cf)
  • Still needed on main: The fetched main revision still pins fs-safe 0.18.1. A same-repository GitHub search for fs-safe 0.18.2 returned only this open PR. (package.json, 6a9af74a1cd4)
  • Latest release comparison: The supplied latest release, v2026.9.5, pins fs-safe 0.13.1 and therefore does not contain this adoption. Some historical blobs were unavailable locally; the release manifest was successfully inspected through GitHub’s contents API. (package.json, ec9c1a13db89)
  • Dependency source and release: The direct package pins establish the dependency contract being reviewed. The published v0.18.2 tag resolves to this dependency commit; its release documents lock and secret-file error fixes. Inspection of the upstream comparison found public export routing preserved and no new installation lifecycle hook. (package.json, ce8b64f3d697)
  • Registry integrity and publication times: npm identifies openclaw/fs-safe as the source repository. All eight published integrity values match the proposed lockfile. The latest package publication was 2026-09-23T05:26:43.267Z, making the documented exception removal time exactly seven days later.
  • Native behavior evidence: The captured PR body reports a successful frozen installation and a macOS run of the production native verifier with the actual Darwin binding loaded and a successful file hash. Inspection confirms that the verifier resolves the installed dependency, hashes a real temporary file, and requires exactly one native binding from an installed platform package. The reported 183 passing tests and selected checks are supplemental; no Windows runtime result is claimed. This review did not execute target code. (scripts/docker/verify-fs-safe-native.mjs:62, ce4807c0a2cf)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Dependency graph changes

This maintainer PR changes the dependency graph. This comment is informational because the PR author has repository Maintain or Admin access.

  • Current SHA: ce4807c0a2cf943f56e3ed2d062a43c029e917f4
  • Maintainer: @steipete
  • Repository role: admin

These dependency graph changes were made:

  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • extensions/file-transfer/package.json
  • extensions/llama-cpp/package.json
  • extensions/migrate-claude/package.json
  • extensions/onepassword/package.json
  • extensions/openshell/package.json
  • extensions/signal/package.json
  • package.json

Carefully review these changes before merging.

@steipete
steipete enabled auto-merge (squash) September 23, 2026 07:02
@steipete
steipete merged commit dc063e7 into main Sep 23, 2026
255 checks passed
@steipete
steipete deleted the codex/fs-safe-0182-adoption-20260923 branch September 23, 2026 07:16
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

vincentkoc added a commit to ycmjbot-bot/openclaw that referenced this pull request Sep 23, 2026
* commit '3ab93b4ea59804b34d02a696382db16dc95189bb': (80 commits)
  fix(gateway): keep session refreshes moving during unrelated writes (openclaw#156286)
  chore(deps): update fs-safe to 0.18.2 (openclaw#156262)
  refactor(plugins): extract ClawHub plugin archives once (openclaw#156246)
  improve(llm-core): avoid unnecessary tool validation sets (openclaw#152066)
  fix(backup): verification accepts archives missing captured databases (openclaw#156211)
  fix: cancel Guest work when its original access is revoked (openclaw#156106)
  fix(test): classify drained legacy migration refusals
  fix(anthropic): finish Opus 5.5 defaults and thinking display (openclaw#156093)
  refactor(agents): share native harness tool execution (openclaw#154217)
  fix(ui): carry typed ownership through short-route resolution
  test(worktrees): accept additive gc result fields (openclaw#156127)
  test(tasks): close sqlite borrowers before registry reload (openclaw#156131)
  chore(autoreview): sync Astra high defaults (openclaw#156175)
  refactor(node-host): await prepared workspace storage (openclaw#149519)
  improve: speed up cold Node test planning (openclaw#156234)
  fix(doctor): avoid slow legacy ownership repair in source checkouts (openclaw#156238)
  improve: speed up native build artifact validation (openclaw#156219)
  fix(ui): preserve short-route resolution ownership
  fix(doctor): name retained session metadata conflicts (openclaw#156162)
  perf(tasks): bound creation selection to matching runs (openclaw#156183)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 24, 2026
@roboclaw-bot roboclaw-bot mentioned this pull request Sep 24, 2026
2 of 8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: signal Channel integration: signal dependencies-changed PR changes dependency-related files extensions: llama-cpp extensions: onepassword 1Password plugin extensions: openshell P2 Normal backlog priority with limited blast radius. plugin: file-transfer plugin: migrate-claude proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant