Repository navigation
chore(deps): adopt fs-safe 0.18.1 identity repair - #155771
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
|
Codex review: needs maintainer review before merge. Reviewed September 22, 2026, 11:27 AM ET / 15:27 UTC. ClawSweeper reviewWhat this changesUpdates OpenClaw and six plugins to fs-safe 0.18.1, including native packages and exact-version release-age exceptions, to support valid signed filesystem identities. Merge readiness✅ Ready for maintainer review The dependency adoption remains useful: reviewed main still uses 0.18.0, and no introduced correctness defect was found. The maintainer-authored PR should remain open through normal validation and merge gates. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw delegates secure temporary directories and many guarded file operations to fs-safe. The library checks filesystem identity, ownership, and permissions before returning usable paths or performing writes. flowchart TD
A[Core and plugin file operations] --> B[fs-safe dependency]
C[Filesystem identity and permissions] --> B
B --> D{Ownership and identity valid?}
D -->|Yes| E[Admit directory or perform guarded operation]
D -->|No| F[Reject unsafe operation]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceConfig 0, Other 0. Total 0 across 9 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Adopt the published repair through the existing dependency owner while keeping integrated FreeBSD update qualification with its separate implementation PR. Do we have a high-confidence way to reproduce the issue? Yes, at the dependency boundary: the former guard rejects valid negative device or inode values, and upstream records native FreeBSD before/after evidence. This review did not execute an integrated OpenClaw reproduction. Is this the best way to solve the issue? Yes. Updating the existing dependency and its native packages preserves one filesystem owner and avoids an OpenClaw-specific workaround. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 494bb6f82676. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
* commit 'f3327bde3c6052a4ed6d487bb09fbe1e11c0cd35': (25 commits) fix(test): pass the fixture lifetime to launcher fixtures (#155825) fix(test): prepare history benchmark before child deadlines (#155780) refactor(config): derive tool contracts from schemas (#155484) chore(deps): update fs-safe to 0.18.1 (#155771) fix(doctor): allow repair with retained deleted-agent sessions (#155752) fix(setup): await inference probe cleanup (#155407) fix(mcp): recover expired SSE sessions and speed up parsing (#155497) fix(release): forward the stable soak waiver through the candidate helper (#155798) feat: calibrate Gateway plugin resources through retirement (#155792) fix: preserve the invoked launcher when restarting Node (#147621) fix(sessions): stop repeated failed worker exit cleanup (#154720) fix(ui): preserve active replies and tools after failed steering (#155746) fix(ci): retain missing-load-path baseline diagnostics (#154861) fix(gateway): keep session lists responsive during activity updates (#155767) fix: keep plugin queues bound to their selected session (#155714) chore(i18n): refresh native locales (#155571) fix(ci): wait for reset hook entry and join fixture cleanup (#155770) test: move subagent fixtures to module boundaries (#155727) fix(gateway): retain question requester authority through settlement (#155335) perf(gateway): move progress-card reads off the main thread (#153857) ...
* chore(deps): update fs-safe to 0.18.1 * chore(deps): integrate fixed main for fs-safe validation Co-authored-by: Vincent Koc <[email protected]>
What Problem This Solves
Adopts the published fs-safe 0.18.1 repair for secure temporary directories whose filesystem identity contains signed 64-bit values.
User Impact
OpenClaw and six plugins receive the reviewed dependency release. This removes the dependency publication prerequisite for the separate FreeBSD update work in #149882; it does not qualify that update flow, ARM startup, or installed upgrades.
Why This Change Was Made
Updates the seven direct pins and canonical lockfile, including all seven optional native package versions. No production code, tests, overrides, patches, or unrelated resolutions change (nine metadata files, +61/-61).
The upstream release contains more than the signed-identity repair: its full 25-commit/171-path delta was reviewed, including monotonic lock deadlines, root-write policy, creation/native contracts, and preservation of primary errors during cleanup. Public exports, runtime floors, and native API remain compatible. Release: https://github.com/openclaw/fs-safe/releases/tag/v0.18.1; signed-identity repair: openclaw/fs-safe#586.
The existing reviewed cooldown allowlist moves only the eight exact fs-safe/root-native selectors to 0.18.1. Strict minimum release age remains 10,080 minutes; unrelated exceptions remain unchanged. The comment requires manual removal after 2026-09-29T12:41:53.020Z; it is not automatic expiry.
Evidence
d51a5091989ca5d032d31d8458d53794a9ff2b4a, tree964c43f15564b54e638bc5131a48d771489a18ae, normally merges frozen main739e2410702e0b1ad1d17a6dac07ddc0ab6dbebbinto the original signed adoption commit. All nine metadata postimages and the authored diff remain byte-identical. Independent source/context review and a fresh scoped autoreview against that base found no actionable issue.e7d11b01a90ec0537cfa960be06434d925ed0d2f, tree2cfff5b1c7430b0a5754248d71db614c072b6855; they are not relabeled as new-head execution.package-openclaw-for-docker.mjs --allow-unreleased-changelogbuild/package command completed with exit 0 in 624.639 seconds. No Docker invocation. Source inventory was unchanged before and after execution.Evidence limit: the native run ended 7, with artifact collection exiting 9, after the consumer and package commands completed. The retained source-bound stdout receipt records the counts, command exits, and output hashes, and was independently checked. Original test JSON/logs, pack metadata, emitted files, and the package bytes were not retained: the selected roughly 95.5 MB package is incompatible with the collector's 10 MiB compressed-artifact limit (the collector did not expose which bounded check returned 9). This is command-completion evidence, not an independently audited per-case log archive, a warning-free build claim, a reusable package, or an overall successful native run. No completed consumer/build command was rerun to replace that result.
Exact-head CI 35746061585, attempt 1 passed, including the canonical build and both core type stripes. Its actual tested merge was
f986fbabc599e4aa8f7144b485f86553c919e4e4, treed9948726a2aca83b93768107666d10e3382f22ee, with ordered parents6b89bf8cefc2d553fcaa4f0fc63362ce9d9ce8f5andd51a5091989ca5d032d31d8458d53794a9ff2b4a. Six retained original job logs independently bind the seven newly relevant suites: skill download/upload ownership, browser secure-read/ACL and install layout, update compatibility binding fixtures, and the repaired shard-capacity guard (152 passed, one native Windows case skipped). The current-head ClawSweeper review has no actionable finding or remaining rank-up move. Linux exclusion of the Windows-only case is not native Windows proof. Fresh FreeBSD x64/ARM and installed upgrade qualification belongs to the integrated update candidate, not this dependency-only change.