Skip to content

chore(deps): update fs-safe to 0.26.2 - #169469

Merged
steipete merged 2 commits into
mainfrom
work/fs-safe-0262
Oct 12, 2026
Merged

steipete merged 2 commits into
mainfrom
work/fs-safe-0262

Conversation

@steipete

@steipete steipete commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Updates all 13 direct @openclaw/fs-safe pins from 0.26.0 directly to 0.26.2, including all eleven root/native package records, and adapts identity consumers to the exact receipts introduced in 0.26.2. The intermediate 0.26.1 release correctly rejects rounded Windows file IDs; passing legacy numeric receipts back would reject unchanged files on NTFS volumes with large IDs.

User Impact

Windows backup, snapshot, restore, plugin loading, workspace reads, and update paths retain full-width file identity checks. Existing metadata/content verification and conservative cleanup remain intact. The upstream release also improves filesystem operation performance and Windows long-path private creation. Portable Windows owner/ACL inspection requires .NET Framework 4.6.2+.

Why This Change Was Made

0.26.1 and 0.26.2 changelog, 0.26.2 release, Windows identity hardening #949, and exact receipts #962. Follows the package/lock mechanics of #168629; no OpenClaw changelog edit because release generation owns it.

All eleven published npm packages were checked for version, publication time, integrity and platform constraints before updating. The reviewed-release allowlist expires after 2026-10-18T22:41:10.360Z. The existing transitive 0.21.3 dependency remains owned by its upstream consumer.

Identity call-site audit

Numeric metadata stays numeric where required. No Number-to-bigint recovery of a rounded identity and no pathname re-stat to manufacture a publication receipt.

Site Before After
infra/directory-durability.ts publication/source cleanup Numeric source lstat and failure target receipt Bigint lstat; forwards full publication receipt and exactTargetIdentity
infra/sqlite-snapshot.ts source/staging/admission Mixed numeric/bigint stats Bigint descriptor/path observations; structural expected dev/ino
Same, owned-source transfer and final publication moved.identity / publication.identity moved.exactIdentity / publication.exactIdentity; metadata retained separately
infra/sqlite-snapshot-file.ts reopen/hash/cleanup Numeric/bigint selection from receipt Bigint identity checks; size/time cleanup fingerprints retained
snapshot/manifest.ts hashing/copy opened.stat used as identity opened.exactIdentity; numeric metadata retained; direct target fstat is bigint
snapshot/git-backup-codec.ts Digest .stat as expected identity Digest exact .identity
snapshot/local-repository.ts publication map/failures publication.identity / details.targetIdentity publication.exactIdentity / details.exactTargetIdentity
Same, restore/pinned/root receipts and later verification Legacy .identity and numeric observations .exactIdentity and bigint observations
snapshot/local-repository-directory-policy.ts Numeric directory observations Bigint observations and exact directory receipts
infra/backup-create-stream.ts Numeric descriptor/path identity Bigint descriptor/path identity
infra/backup-archive-publication.ts Numeric staging/cleanup observations Bigint staging/cleanup observations; parent already bigint
infra/backup-scratch.ts Numeric Node and Root PathStat fields Bigint Node observations and Root.stat().exactIdentity
infra/backup-tar-walk.ts Numeric traversal/open comparator input Bigint identity observations; tar metadata remains numeric
infra/backup-sqlite-snapshot.ts Numeric source/core database identity Bigint identity
infra/backup-sqlite-source-groups.ts Numeric database/WAL identity Bigint identity, link counts, zero checks; mutation fingerprints retained
commands/backup-resource-inventory.ts Numeric database identity/coverage Bigint identity/coverage
commands/doctor-migration-backup.ts Numeric snapshot fact comparison Bigint observation
commands/doctor-update-schema-guard.ts Numeric coverage/cleanup identity Bigint identity
infra/system-run-cwd-binding.ts Numeric approved cwd snapshots Bigint snapshots
infra/tls/gateway.ts Numeric publication source fstat Bigint source fstat
infra/update-database-backup.ts Numeric database/staging identity Bigint identity
infra/update-database-restore.ts Numeric restore source observations Bigint observations
infra/update-global.ts rename cleanup Numeric directory observations Bigint directory observations
cli/update-cli/update-command-git.ts Numeric wrapper lstat and read .stat Bigint lstat and read .exactIdentity
agents/workspace-file-read.ts opened.stat in source identity tuple opened.exactIdentity; cache metadata unchanged
plugins/plugin-module-loader-cache.ts Read .stat vs numeric post-close stat Read .exactIdentity vs bigint post-close stat
plugin-sdk/memory-host-core.ts Export dev/ino from .stat; marker reader accepted unsigned decimals only Export .exactIdentity; parse signed or positive bigint decimal marker IDs
plugin-sdk/memory-host-event-export.ts Open/read/write .stat identity Each .exactIdentity; content checks retained
infra/package-local-overrides.ts required-native probe expectedSourceIdentity: source.stat source.exactIdentity
infra/state-migrations.no-replace-move.ts parent admission Numeric Root/receipt fields Compares both .exactIdentity companions

Already-exact inputs were retained:

Site Before After
plugins/plugin-source-file.ts and plugin-generation-file-capture.ts Bigint source stats; exact copyRootFileSync/batch source receipts Unchanged
plugins/plugin-native-admission.ts Bigint stat serialized without Number conversion Unchanged
infra/sqlite-file-copy.ts Bigint source expectations, wrapped descriptor stats, exact RootCopyPublicationReceipt Unchanged
infra/sqlite-readonly-location.ts Bigint path/descriptor identities; sameFileContentsSync takes descriptors Unchanged; numeric metadata-only observations retained
infra/sqlite-file-generation.ts Bigint path/descriptor stats and mutation fingerprints Unchanged
infra/sqlite-rollback-recovery.ts Bigint lstat supplied to hash fence Unchanged
infra/sqlite-worker-identity.ts Bigint observations serialized as decimal strings Unchanged
infra/update-recovery-baseline-capture.ts Bigint source/manifest stats; full pinned directory receipt retained Unchanged
infra/session-sqlite-migration-artifact.ts Decimal strings originate in bigint stats, round-trip through BigInt Unchanged; no rounded Number conversion
infra/state-migrations.no-replace-move.ts source publication Bigint source/link-pair stats; full parent receipt retained Unchanged (parent PathStat comparison adapted above)
infra/state-migrations.state-dir.ts Retained publication source and parent use bigint stats Unchanged
infra/state-migrations.agent-owner-recovery.ts Content comparisons use descriptors; nearby identity/fingerprints bigint Unchanged
infra/state-migrations.session-store-paths.ts Bigint stat comparator operands Unchanged
config/sessions/session-store-config.ts Bigint stat comparator operands Unchanged
media/playback-transcode.ts staged input Bigint descriptor comparator operands Unchanged
media/store.read-scope.ts Exact directory receipt and bigint descriptor stats Unchanged
infra/install-package-dir.ts Exact directory identity and move-publication receipt Unchanged
infra/update-candidate-plugins.ts Bigint locator/target stats Unchanged
infra/update-candidate-plugin-tree.ts and update-candidate-plugin-file.ts Exact directory identity; bigint source entry stats Unchanged
infra/update-candidate-state.worker.ts Exact directory identity preserved through structured clone Unchanged
infra/package-local-overrides.ts directory guard Exact readDirectoryIdentity Unchanged (embedded file probe adapted above)
config/write-lock.ts Exact parent readDirectoryIdentity Unchanged
agents/github-tool-profile-cleanup.ts Exact directory identity Unchanged
cli/update-cli/update-command-artifact.ts Exact temporary root/home identities Unchanged
commands/doctor/shared/missing-configured-plugin-install.repair.ts Bigint parent lstat Unchanged
extensions/codex/src/app-server/computer-use-service-path.ts and consumers Exact directory identity; spreads preserve bigint fields Unchanged
extensions/openshell/src/backend.ts Exact move receipt and bigint validating lstat Unchanged

All other copyIn callers pass paths/Roots and policy/size options, leaving identity acquisition to fs-safe. Numeric metadata/manual comparisons that never enter fs-safe identity APIs remain unchanged.

Searches covered sameFileIdentity, sameFileContentsSync, expectedSourceIdentity, sourceIdentity, publication/parent receipts, readDirectoryIdentity, retained/staged publication, all copyIn calls, and legacy receipt/PathStat dev/ino projections across src and extensions.

Other release audit

No further calling-contract changes for mkdir, list/walk, synchronous/batched copy, copyIn, move, read/hash, locks, temp creation/cleanup, removal, writes/private creation, or native publication. No public byte/entry/depth budget or timeout change is listed in the two release sections, and upstream error/lock/root/walk contract files are unchanged. OpenClaw does not assert the upstream syscall/async-resource implementation budgets. The intentional new path-mismatch rejection is handled by the exact-identity migration above.

Evidence

  • Frozen installation passed. All 104 generated npm lock mirrors validated, including platform os/cpu/libc constraints.
  • Focused large-ID publication/restore/replacement, FUSE timestamp, tar-output and symlink defenses: 2 files / 19 tests passed locally (44.96s wrapper wall time).
  • Baseline comparison under the installed 0.26.2 dependency: old OpenClaw source fails the large-ID SQLite publication and tar export cases with identity mismatch; the adapted source passes. The full focused run passes 19 tests.
  • Independent Codex autoreview: complete final staged change is scoped-clean at P0–P2, including full memory-owner source context.
  • Broad scoped proof covered 445 selected fs-safe consumer files across serialized remote runs; the infrastructure lane alone passed 154 files / 2,098 tests. Observed broad failures were compared against baseline; they are not claimed as passing. All typecheck lanes, build, npm lock mirrors, security-fast, and four QA profiles passed on the prior reviewed head. Current-head CI follows the conflict-only rebase.

Initial CI found five optional PathStat.exactIdentity type errors and stale bigint/publication test doubles. The follow-up commit explicitly rejects missing exact companions, updates the test doubles, and round-trips signed marker identities; the SQLite and bootstrap failures were reproduced before correction and pass afterward. Follow-up Codex review is scoped-clean P0–P2. Large-ID proof uses synthetic OS stat observations with real filesystem publication and tar output; this downstream PR does not claim a native Windows filesystem run. The new tar regression takes about 40 ms of test execution; its owning file was included in the 44.96s two-file wrapper run.

Effect-boundary and marker compatibility proof

  • Memory export publication followed by another artifact listing and refresh passes for positive schema-v3 markers and signed exact IDs. The signed case demonstrably failed before the parser correction. No marker schema bump or data rewrite was introduced.
  • Existing memory-owner tests reject same-content inode substitution and replacements during refresh/retirement, preserving the replacement bytes. Eight focused memory cases pass.
  • invoke-system-run.test.ts exercises the production handler: the allowed durable-approval control calls runCommand once; replacing its approved directory returns SYSTEM_RUN_DENIED without calling runCommand. Both cases pass.
  • Legacy markers whose numeric IDs were already rounded cannot recover those lost bits. They remain foreign and are preserved; this change does not infer ownership from a pathname observation or matching content.

Current reviewed head: 20790ac8961215e39e5a1484b3c80c494defb907. The initial draft was pushed immediately after the first commit. The final code review is clean at P0–P2. Two subsequent rebases resolved adjacent dependency/allowlist conflicts; range-diff confirms the identity correction is patch-identical, and the latest resolution preserves main’s current Solid exemption.

Stored-data compatibility

Inspected the tagged v2026.10.2 implementation: memory-export ownership markers already use schema version 3 and decimal-string fileDev/fileIno fields. This PR keeps that schema and writer envelope; the parser change accepts the existing positive strings plus signed exact IDs. Positive-v3 and signed-marker publish/list/refresh tests pass, as do inode-substitution and refresh/retirement preservation tests. No settings schema, SQLite schema, retention rule, or migration is changed by this PR. Backup/snapshot/restore tests exercise preserved content and identity fences.

A complete native Windows upgrade from v2026.10.2 was not run. Downstream large-ID proof uses synthetic OS identities with real filesystem publication and tar output; upstream fs-safe supplies native NTFS exact-receipt proof. Already-rounded legacy marker IDs cannot recover lost identity bits and remain foreign, preserving the file. This limitation is explicit rather than inferred ownership from matching content.

CI qualification

Exact-head CI run 38211479551, attempt 3, tested merge c97239270a23a18db35c8db7073bbdbfbc505b9a over main baseline 14c82fa143285d12179df40556b11792b6e21b93: 170 successful jobs, 19 skipped, four independently qualified inherited failures, and their failed aggregate gate. CI remains red; landing uses the native inherited-failure exception.

The repeated node-worker launch-wire failure reproduces on both that baseline with installed @openclaw/fs-safe 0.26.0 and the tested merge with 0.26.2: the reconciled manifest still equals the original at line 284. Main commit 883d61f645a0a89216d2509bc2e3e56bec8dda4e delivers worker replies before workspace reconciliation finishes. The test drains currently registered invokes and reads placement without joining that later publication. Its assertion, reply-delivery and reconciliation owners are byte-identical between baseline and tested merge. Focused baseline and candidate runs reached the same assertion in 1519.95 and 1175.08 seconds including preparation. Only startup/proof budgets were increased for the loaded Mac; assertions and identity checks were unchanged.

The quota-reset failure also reproduces on the same baseline: stale-success=true fails at line 80 with expected +0 to be 1, before the older companion request reaches the held usage endpoint within the original 2,800 ms poll. Its direct companion, failure-classification and auth-usage owners are unchanged. The qualifying replay took 291.38 seconds including preparation. A local-only public Codex discovery timeout of 120 seconds let cold initialization finish; quota assertions stayed unchanged. An earlier initialization failure is excluded from attribution.

The Google embedding host-broker error and raw transcript cursor generation_mismatch retain independent matching baseline reproductions and inspected unchanged owner paths. Paired-node lifecycle passed on attempts 2 and 3, qualifying its attempt-1 failure as a flake. Telegram command-menu did not execute in attempt 3 because its shard stopped at quota-reset. Separate focused baseline and tested-merge runs both reproduced its original 120-second timeout at line 115; it is not claimed as passing CI.

Fresh full-diff Codex autoreview found no actionable P0-P2 findings. Passing build, production types and 104 npm lock-mirror evidence is reused from the identical reviewed head and tested merge. All 23 evidence artifacts and 37 failure-source bindings were verified before native admission. The single Linux lease ended without test proof and is stopped. No production fix or identity-check relaxation was needed; the reviewed head remains 20790ac8961215e39e5a1484b3c80c494defb907.

@clawsweeper

clawsweeper Bot commented Oct 12, 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 October 12, 2026 00:11
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Oct 12, 2026
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependency graph changes

This maintainer PR changes the dependency graph.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: 20790ac8961215e39e5a1484b3c80c494defb907
  • Maintainer: @steipete
  • Repository role: admin

These dependency graph changes were made:

  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • extensions/acpx/package.json
  • extensions/codex/package.json
  • extensions/cua-computer/package.json
  • extensions/feishu/package.json
  • extensions/file-transfer/package.json
  • extensions/llama-cpp/package.json
  • extensions/matrix/package.json
  • extensions/memory-core/package.json
  • extensions/migrate-claude/package.json
  • extensions/openshell/package.json
  • extensions/qa-lab/package.json
  • extensions/signal/package.json
  • package.json

Carefully review these changes before merging.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 12, 2026
@clawsweeper

clawsweeper Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

This PR upgrades fs-safe to 0.26.2 and carries exact file identities through backup, restore, update, workspace, and plugin operations.

Example: A Windows file has inode 18014398509481985.

  • Before: Numeric metadata rounds its identity, weakening comparisons and preventing safe round trips through the newer dependency.
  • After: Consumers retain the exact bigint identity and distinguish the file from adjacent IDs.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Useful exact-identity migration with a blocking persisted-ownership defect.
Proof confidence 🦐 gold shrimp (3/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🦪 silver shellfish (2/6) Security review found an item that needs attention.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Large Windows file IDs lose precision when filesystem consumers reuse numeric metadata as identity.
Reason: The maintainer-authored direction adopts the dependency's existing exact-receipt contract across consumers without adding configuration or a competing filesystem owner.

Merge readiness

⛔ Blocked before merge - 4 items remain

Keep open: the dependency migration has clear value, but the existing ownership-marker finding remains unresolved and can let an upgraded export overwrite a replacement workspace file.

Priority: P2
Reviewed head: 20790ac8961215e39e5a1484b3c80c494defb907

Before merge

  • Add real behavior proof - Authority-chain proof required: supplied positive-v3 and signed-marker cases use the candidate producer; provide production-owner upgrade evidence starting with v2026.10.2 numeric markers, demonstrating allowed safe-legacy refresh and rejection of the rounded-legacy replacement before write or truncate, with replacement bytes preserved and sensitive details redacted. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Distinguish legacy rounded markers from newly exact identities (P2) - The prior finding remains unfixed. Schema-v3 markers from v2026.10.2 were written with String(numericStat.ino), but this reader now treats their decimal strings as exact identities. For example, inode 1152921504606846977 rounds to the Number 1152921504606846976, whose decimal string is "1152921504606847000". A replacement file with exact inode 1152921504606847000 therefore passes the new comparison and reaches rewriteMemoryHostEventArtifactIfUnchanged, overwriting its bytes. The base numeric comparison rejects this particular replacement because BigInt of its Number observation is 1152921504606846976, not the stored decimal. Give newly exact markers distinguishable provenance and reject ambiguous unsafe legacy identities before authorizing export mutation.
  • Resolve security concern: Content hashes do not fence the replacement write - After identityOwned succeeds, a content-hash mismatch requests finalization rather than refusing ownership, so the stored hashes do not prevent the replacement-file mutation described in the finding.
  • Add data-model compatibility proof - The review found that existing stored data may not work after upgrade. Show that existing data still loads and works with this change.

Findings

  • [P2] Distinguish legacy rounded markers from newly exact identities — src/plugin-sdk/memory-host-core.ts:161-163
  • [medium] Content hashes do not fence the replacement write — src/plugin-sdk/memory-host-core.ts:177

Tests

  • Missing end-to-end proof: Exercise released numeric markers through candidate export refresh, showing safe legacy continuity and refusal before writing a foreign replacement whose exact ID matches an ambiguous stored decimal.
Agent review details

How this fits together

OpenClaw delegates guarded filesystem operations to fs-safe; its consumers carry identity receipts from admission through publication, verification, and cleanup.

flowchart TD
  A[Backup and update commands] --> B[OpenClaw filesystem consumers]
  C[Workspace and plugin operations] --> B
  B --> D[fs-safe exact identity receipts]
  D --> E[Filesystem effects]
  F[Persisted export ownership markers] --> B
Loading

Technical review

Best possible solution:

Distinguish newly exact ownership markers from ambiguous legacy markers, preserve foreign replacement files, and retain compatibility for safely representable legacy IDs.

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

The released producer, candidate reader, dependency comparator, and final writer establish the failing upgrade path by source inspection; no target code or tests were run.

Is this the best way to solve the issue?

Exact receipts are the appropriate shared solution, but their persisted representation must preserve whether an identity was observed exactly or serialized from a legacy Number.

Full review comments:

  • [P2] Distinguish legacy rounded markers from newly exact identities — src/plugin-sdk/memory-host-core.ts:161-163
    The prior finding remains unfixed. Schema-v3 markers from v2026.10.2 were written with String(numericStat.ino), but this reader now treats their decimal strings as exact identities. For example, inode 1152921504606846977 rounds to the Number 1152921504606846976, whose decimal string is "1152921504606847000". A replacement file with exact inode 1152921504606847000 therefore passes the new comparison and reaches rewriteMemoryHostEventArtifactIfUnchanged, overwriting its bytes. The base numeric comparison rejects this particular replacement because BigInt of its Number observation is 1152921504606846976, not the stored decimal. Give newly exact markers distinguishable provenance and reject ambiguous unsafe legacy identities before authorizing export mutation.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 70885c1bbbda.

Provenance checked

  • Shared filesystem durability and publication keeps the original intent (d6971f4: Consolidate crash-durable publication under fs-safe while preserving strict and best-effort policies.)
  • SQLite snapshot transfer and rollback preparation keeps the original intent (c77a055: Transfer verified private images without redundant copies while preserving content, identity, and publication checks.)
  • Memory-export ownership keeps the original intent (9d97e10: Keep SQLite authoritative and refresh a derived workspace export only under recorded inode ownership.)
  • Dependency pins and reviewed-release exemptions keeps the original intent (626eeac: Move direct pins, native packages, lock records, and narrow release-age exemptions together.)

Testing

Proof path: in-process harness.

Security

Needs attention: Persisted marker provenance must remain trustworthy before it authorizes workspace-file writes.

Evidence

Security concerns:

  • [medium] Content hashes do not fence the replacement write — src/plugin-sdk/memory-host-core.ts:177
    After identityOwned succeeds, a content-hash mismatch requests finalization rather than refusing ownership, so the stored hashes do not prevent the replacement-file mutation described in the finding.
    Confidence: 0.98

What I checked:

  • Pinned change and current main: The introduced diff upgrades the direct dependency and its consumers; fetched main still pins fs-safe 0.26.0. (package.json:2278, 20790ac89612)
  • Released marker producer: v2026.10.2 writes schema-v3 fileDev/fileIno strings from numeric writable.stat fields; the candidate writes exact bigint values into the same untagged format. (src/plugin-sdk/memory-host-event-export.ts:175, b8952d477f0c)
  • Legacy strings gain exact authority: The reader converts every accepted decimal marker to bigint and compares it with openedExport.exactIdentity, without distinguishing a released numeric marker from a newly exact marker. (src/plugin-sdk/memory-host-core.ts:161, 20790ac89612)
  • Final write and test coverage: An owned result reaches the export rewrite and truncation. Added tests publish markers with the candidate; they do not cover a released numeric marker followed by a replacement whose exact ID equals its stored decimal. (src/plugin-sdk/memory-host-event-export.ts:112, 20790ac89612)
  • Dependency contract and policy applicability: The patch imports and consumes fs-safe identity receipts, making its contract directly applicable. Version 0.26.2 rejects unsafe Number identities but accepts bigint components; converting a historical decimal string to bigint does not establish that it originated from an exact observation. (src/file-identity.ts, d88b6803617f)
  • Upstream native validation: The exact-receipt implementation records real NTFS publication and round-trip validation; this supports the dependency change but does not exercise OpenClaw's historical ownership markers. (656d006679b9)

Likely related people:

  • Peter Steinberger: Raw commit 9d97e10 adds src/plugin-sdk/memory-host-core.ts:176 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 9d97e10efe08; files: src/plugin-sdk/memory-host-core.ts)
  • Vincent Koc: Raw commit 2f25e9c adds src/snapshot/local-repository.ts:266 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 2f25e9cba384; files: src/snapshot/local-repository.ts)

PR surface

Source +42, Tests +132, Config 0, Other 0. Total +174 across 53 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 28 312 270 +42
Tests 10 150 18 +132
Docs 0 0 0 0
Config 14 25 25 0
Generated 0 0 0 0
Other 1 69 69 0
Total 53 556 382 +174

Labels

Label changes:

No label changes.

Label justifications:

  • P2: The migration is useful, but the remaining failure requires a historical ownership marker and a particular replacement identity.
  • merge-risk: 🚨 compatibility: Released numeric ownership markers and candidate exact markers share a format despite different identity provenance.
  • merge-risk: 🚨 security-boundary: An ambiguous persisted marker can authorize mutation of a replacement workspace artifact.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-12T00:44:03.738Z sha 3f3ad67 :: needs real behavior proof before merge. :: [P2] Round-trip signed exact identities in memory export owner markers | [P2] Narrow optional exact companions before identity comparisons
  • reviewed 2026-10-12T02:49:27.679Z sha ade2bf25aad52c7a96254cad1c59445f133d8028 :: blocked before merge. :: none
  • reviewed 2026-10-12T02:58:32.303Z sha ade2bf25aad52c7a96254cad1c59445f133d8028 :: blocked before merge. :: none
  • reviewed 2026-10-12T03:33:04.396Z sha bfab90a :: blocked before merge. :: none
  • reviewed 2026-10-12T06:21:45.070Z sha 20790ac :: blocked before merge. :: none
  • reviewed 2026-10-12T06:52:53.356Z sha 20790ac :: needs changes before merge. :: none
  • reviewed 2026-10-12T08:05:33.748Z sha 20790ac :: needs changes before merge. :: none
  • reviewed 2026-10-12T10:53:22.251Z sha 20790ac :: needs real behavior proof before merge. :: [P2] Distinguish legacy rounded markers from newly exact identities

Reviewed October 12, 2026, 7:40 AM ET / 11:40 UTC (Revision 10).

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Oct 12, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 12, 2026
@steipete
steipete merged commit 0cea8cd into main Oct 12, 2026
681 of 698 checks passed
@steipete
steipete deleted the work/fs-safe-0262 branch October 12, 2026 13:09
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

steipete added a commit that referenced this pull request Oct 12, 2026
Carry fs-safe exact identities through reads, cache revisions, migration claims, media staging, service backups, and deletion journals. Accept released rounded receipts in their original numeric domain, retain their legacy provenance, and upgrade verified observations on the next write while preserving permission and replacement checks.

The fs-safe 0.26.2 dependency pin and original migration already landed in #169469. Keep generic Node-only identity cleanup, UI changes, deployment controllers, PR tooling, and CI inventories outside this change.
steipete added a commit that referenced this pull request Oct 13, 2026
* fix: delegate Windows long paths to fs-safe

Use fs-safe 0.26.2 path normalization while preserving private creation, pre-mutation refusal tracking, and native descriptor ownership.

* fix: preserve exact filesystem receipts through recovery

Carry fs-safe exact identities through reads, cache revisions, migration claims, media staging, service backups, and deletion journals. Accept released rounded receipts in their original numeric domain, retain their legacy provenance, and upgrade verified observations on the next write while preserving permission and replacement checks.

The fs-safe 0.26.2 dependency pin and original migration already landed in #169469. Keep generic Node-only identity cleanup, UI changes, deployment controllers, PR tooling, and CI inventories outside this change.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 13, 2026
* chore(deps): update fs-safe to 0.26.2

* fix: preserve exact file identity round trips
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 13, 2026
…169485)

* fix: delegate Windows long paths to fs-safe

Use fs-safe 0.26.2 path normalization while preserving private creation, pre-mutation refusal tracking, and native descriptor ownership.

* fix: preserve exact filesystem receipts through recovery

Carry fs-safe exact identities through reads, cache revisions, migration claims, media staging, service backups, and deletion journals. Accept released rounded receipts in their original numeric domain, retain their legacy provenance, and upgrade verified observations on the next write while preserving permission and replacement checks.

The fs-safe 0.26.2 dependency pin and original migration already landed in openclaw#169469. Keep generic Node-only identity cleanup, UI changes, deployment controllers, PR tooling, and CI inventories outside this change.
steipete added a commit that referenced this pull request Oct 16, 2026
Every private lstatIfExists caller omits options or passes the existing bigint:true default. Put that single policy at the fs.lstat operation and remove two redundant caller arguments.

Preserve full-width BigIntStats identities, ENOENT-only suppression and every ownership, durability and permission check established by #169469. No schema, persisted shape, public export or permission change.

Best-effort tradeoffs accepted: none for this addition; the removed parameter had only the existing default as its valid value. BELOW-500 residue now removes 16 net production lines across two files. Combined P2 review, focused graph types and formatting pass; import edges are unchanged. SDK declaration preparation timed out before lint analysis; runtime proof gaps remain explicit for coordinator bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling channel: feishu Channel integration: feishu channel: matrix Channel integration: matrix channel: signal Channel integration: signal cli CLI command changes commands Command implementations dependencies-changed PR changes dependency-related files extensions: acpx extensions: codex extensions: llama-cpp extensions: memory-core Extension: memory-core extensions: openshell extensions: qa-lab merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. plugin: cua-computer plugin: file-transfer plugin: migrate-claude rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: L status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant