Skip to content

fix(file-transfer): keep remembered approvals exact - #129762

Merged
joshavant merged 13 commits into
mainfrom
security/file-transfer-exact-approvals
Aug 26, 2026
Merged

joshavant merged 13 commits into
mainfrom
security/file-transfer-exact-approvals

Conversation

@joshavant

@joshavant joshavant commented Aug 26, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes an issue where remembered file-transfer approvals did not stay bound to the exact node, operation, requested path, and resolved path that the operator approved.

Why This Change Was Made

Remembered approvals now use a plugin-owned, versioned exact-grant format keyed by stable node ID and command, with literal requested and canonical paths. They are evaluated separately from operator-authored wildcard policy, remain subordinate to hard denies and ask: always, and are persisted only after the operation completes with the validated canonical target.

Older positive rules have no reliable provenance, so the runtime leaves them inactive until the operator classifies them. openclaw doctor gives a direct handoff to:

openclaw file-transfer approvals migrate

The migration offers three explicit choices for every older positive rule, including wildcard selectors: require exact reapproval, keep it as an intentional wildcard, or remove it. An exact-reapproval choice makes only that selected path askable and preserves the node's existing ask mode for every unrelated miss. It performs one atomic config mutation, reports the verified adjacent backup for the file that actually owns the plugin config (including $include), and warns that older OpenClaw versions require restoring that backup before downgrade.

Alternatives considered:

  • Escaping remembered paths back into wildcard arrays was rejected because it keeps authored policy and generated authority conflated and is not robust across POSIX backslashes and Windows separators.
  • Creating grant-only entries inside nodes was rejected because node-ID precedence would shadow the operator's display-name or wildcard policy, including denies, limits, and symlink behavior.
  • No Gateway protocol or SQLite change is required; the file-transfer plugin remains the owner of its durable approval semantics and migration.

User Impact

New “always allow” choices apply only to the exact approved node, operation, and canonical path. Existing deny rules, transfer limits, symlink policy, and authored wildcards continue to compose normally.

Operators with older positive file-transfer permissions receive a clear Doctor message and run one command to review them. Exact approvals prompt once on next use; they do not turn unrelated denied paths into prompts. Intentional wildcards can be preserved explicitly. Until review finishes, ambiguous older positive permissions fail closed instead of silently carrying forward.

Downgrading after migration requires restoring the adjacent pre-migration config backup before starting the older binary; the command shows this warning before it writes.

Evidence

Clean Linux proof on exact head 8ec2de7c26fd97bbc208c02acb60d2215d3c7c09:

Redacted exact-head terminal trace:

PASS file.fetch: rejects a replacement at the same canonical pathname before reading bytes
PASS file.write: rejects an existing-file replacement at the same canonical pathname
PASS file.write: writes through the preflight binding when the existing file is unchanged
PASS file.write: rejects a parent replacement before creating a new file
PASS file.write: creates through the preflight anchor when the parent is unchanged
PASS dir.list: keeps enumeration bound after the checked path is retargeted
PASS dir.list: rejects a replacement created at the same canonical pathname before binding
PASS dir.fetch: rejects a same-path replacement before tar starts
PASS dir.fetch: rejects a replacement at the same canonical pathname before creating an archive
PASS policy: fails closed when a node preflight omits filesystem identity

Test Files  3 passed (3)
Tests       76 passed (76)
PASS file-transfer exact approval transport: rejects a replaced file before final I/O
Test Files  1 passed (1)
Tests       1 passed (1)
wrapper     exit=0, runStatus=succeeded

The complete plugin suite also passed locally: 26 files, 243 passed and 2 skipped (245 total). All branch-owned pnpm check:changed lanes passed, including Doctor closure and plugin-boundary checks.

  • The real built CLI was run with an isolated legacy config and returned the actionable, non-mutating handoff:
{
  "status": "needs-input",
  "changed": false,
  "command": "openclaw file-transfer approvals migrate",
  "item": {
    "selector": "Shared",
    "kind": "read",
    "path": "/tmp/report-*.txt"
  }
}

Authority-chain regression coverage verifies both sides of the boundary:

  • the binding uses the same device/inode identity contract as the installed @openclaw/fs-safe root and pinned-operation implementation;
  • a matching stable node, command, requested path, and canonical path reuses the grant;
  • another node with the same display name, another command, a sibling path, canonical drift, and a newly denied path all require a fresh decision or fail before node invocation;
  • every final file read, directory archive, directory listing, and file write is bound again at the node before its filesystem effect; real symlink-retarget regressions verify that alternate targets are neither read, archived, nor written;
  • directory archives run through a real Node child and real tar subprocess: the child changes into the target directory, verifies realpath(".") against the approved canonical target, and only then launches tar with the bound working directory, so renaming or replacing the original path cannot retarget archive bytes;
  • preflight returns a device/inode binding that the policy forwards only to the final effect; old nodes that omit it fail closed with an update-and-retry message;
  • file reads compare the opened handle to that binding before reading, directory workers bind cwd and compare its identity before listing or spawning tar, existing-file writes compare the writable handle before truncation, and new-file writes use a root pinned to the preflight parent identity;
  • real Linux child proofs cover both race orders: retargeting after cwd is bound stays on the approved directory, while renaming and recreating the same canonical pathname before binding exits before listing or archive creation;
  • same-path replacement tests also prove file reads, existing-file overwrites, and new-file creation under a replaced parent fail without reading or changing the replacement, while unchanged bound writes still succeed;
  • the full policy-to-real-node-handler dir.fetch proof covers both outcomes: an unchanged remembered target performs the real preflight and final archive and returns bytes; a retargeted symlink reaches a new approval decision after one node call whose parameters carry the stored canonical target, so the real node handler rejects it before its enumeration and tar branches;
  • dir.fetch grants cover only the validated descendants of that exact directory operation;
  • persistence occurs only after successful final validation, and failed persistence does not claim durable approval.
  • migration-selected exact paths remain path-scoped under ask: off: their next use can prompt, unrelated misses remain denied, and the pending marker is removed only when the complete exact grant is saved.
  • all four model-facing tool descriptions now name both valid authorization forms: an authored path rule or a remembered exact approval.

Additional validation:

  • Pre-change focused regression proof reproduced both broader-than-requested path matching and cross-node replay.
  • pnpm config:docs:check
  • pnpm plugins:inventory:check
  • pnpm format:docs:check
  • pnpm docs:check-mdx
  • git diff --check
  • pnpm tsgo:extensions:test
  • pnpm check:changed
  • .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main --stream-engine-output: clean, no accepted/actionable findings; patch judged correct with 0.96 confidence.

Review Metrics and Risk

  • Production: +2133/-748 (net +1385)
  • Tests: +1760/-166 (net +1594)
  • User documentation: +34/-1 (net +33)
  • Generated docs/baselines: +5/-5 (net 0)
  • Tooling baseline: +0/-1 (net -1)

The production growth implements the new exact-grant owner boundary, canonical validation flow, and the approved migration/Doctor UX; it does not add a compatibility shim, protocol path, or persistent store. The final refactor splits approval, parameter, and preflight ownership out of the previous oversized policy module and removes its max-lines exception. The main compatibility risk is intentional: ambiguous legacy positive permissions remain inactive until the one-command review, and older binaries cannot read the migrated config without restoring the backup.

Windows drive and UNC strings are covered as opaque exact-match cases. No platform path normalization was added on the Gateway; canonicalization remains owned by the target node filesystem.

@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation plugin: file-transfer size: XL maintainer Maintainer-authored PR labels Aug 26, 2026
@clawsweeper clawsweeper Bot added 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. P1 High-priority user-facing bug, regression, or broken workflow. 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 Aug 26, 2026
@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 3:48 AM ET / 07:48 UTC.

ClawSweeper review

What this changes

This PR replaces remembered file-transfer approvals with exact node, command, requested-path, and canonical-path grants; adds a legacy-permission migration command; and binds final file operations to filesystem identity.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep open for maintainer review. Current main still persists “allow always” paths in operator glob arrays, while this PR moves them to exact grants and binds final node I/O to preflight identity; no new discrete correctness defect was found in the reviewed paths, but the intentional fail-closed upgrade behavior needs an explicit maintainer decision.

Priority: P1
Reviewed head: a203f323decec7819aa24cfaa8d0e976232307b6
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The PR has strong behavior evidence and a coherent repair, with the remaining blocker being maintainer acceptance of its deliberate upgrade policy.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The PR body provides exact-head redacted terminal output for an authenticated Gateway/operator/node transport run that observes rejection before final replacement-file I/O.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR body provides exact-head redacted terminal output for an authenticated Gateway/operator/node transport run that observes rejection before final replacement-file I/O.
Evidence reviewed 7 items Current-main behavior remains broader than the requested approval: Current main still documents and implements allow-always by appending the requested string to allowReadPaths or allowWritePaths, where it remains glob policy rather than a node-and-command exact grant.
Exact grant owner boundary: The PR matches remembered grants only on stable node ID, command, and literal requested path, retaining the stored canonical path for preflight validation.
Final-effect binding: After preflight, the policy forwards both canonical path and filesystem binding solely to the final node operation.
Findings None None.
Security None None.

How this fits together

The bundled file-transfer plugin authorizes Gateway requests before dispatching paired-node file reads, writes, listings, and archives. The policy layer supplies a verified canonical target and identity binding to the node handler immediately before filesystem I/O.

flowchart LR
  A[Gateway file request] --> B[File-transfer policy]
  B --> C[Node preflight]
  C --> D[Exact approval and binding]
  D --> E[Final node filesystem operation]
  E --> F[Gateway result and audit]
Loading

Decision needed

Question Recommendation
Should upgrading intentionally deactivate all unclassified legacy positive file-transfer permissions until the operator reviews them with the new migration command? Adopt the fail-closed migration: Ship the documented one-command review flow so legacy positive permissions cannot silently retain broader authority.

Why: This is a deliberate compatibility and operator-recovery tradeoff: it prevents ambiguous durable authority from remaining active, but changes existing configured behavior on upgrade.

Before merge

  • Resolve merge risk (P1) - Existing positive file-transfer permissions intentionally become inactive until an operator completes the migration; after writing policy version 2, downgrade requires restoring the reported backup.
  • Resolve merge risk (P1) - The PR adds 1,385 net production lines across authorization, migration, and final-I/O owners, so the compatibility and authority-boundary review should not be reduced to its passing focused tests.
  • Complete next step (P1) - A maintainer must accept the intentional fail-closed upgrade behavior before this authority-boundary repair can merge.
Agent review details

Security

None.

PR surface

Source +1385, Tests +1594, Docs +33, Generated 0, Other -1. Total +3011 across 40 files.

View PR surface stats
Area Files Added Removed Net
Source 20 2133 748 +1385
Tests 16 1760 166 +1594
Docs 1 34 1 +33
Config 0 0 0 0
Generated 2 5 5 0
Other 1 0 1 -1
Total 40 3932 921 +3011

Review metrics

Metric Value Why it matters
Production versus test delta production +2133/-748 (net +1385); tests +1760/-166 (net +1594) The production growth implements a new durable-approval and final-I/O ownership boundary; the accompanying tests cover migration, policy, node handlers, and Gateway transport.
Persisted approval surface 3 config fields added; 1 CLI command subtree added policyVersion, literalGrants, pendingReapprovals, and the migration command alter upgrade and operator recovery behavior.

Stored data model

Persistent data-model change detected: migration/backfill/repair: docs/plugins/reference/file-transfer.md, migration/backfill/repair: extensions/file-transfer/doctor-contract-api.test.ts, migration/backfill/repair: extensions/file-transfer/doctor-contract-api.ts, migration/backfill/repair: extensions/file-transfer/src/approvals-migration.test.ts, migration/backfill/repair: extensions/file-transfer/src/approvals-migration.ts, migration/backfill/repair: extensions/file-transfer/src/cli.ts, and 8 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Accept the documented fail-closed migration (recommended)
    Approve the explicit upgrade tradeoff after confirming the migration and backup recovery path are acceptable for existing operators.
  2. Pause for a compatibility redesign
    Do not merge if silently deactivating existing positive rules is not acceptable without a different supported transition.

Technical review

Best possible solution:

Retain the plugin-owned exact-grant and final-I/O binding design, but land only after a maintainer explicitly accepts the fail-closed legacy migration and exact-head CI is green.

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

Yes, in source: current main persists allow-always paths into glob arrays, while the PR’s focused tests and exact-head transport proof exercise the narrower grant and final-I/O binding path.

Is this the best way to solve the issue?

Yes, subject to the maintainer’s upgrade decision: separating authored glob policy from plugin-owned exact grants and revalidating at the final node effect is the clean owner-boundary repair.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 29b1664aed86.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster 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 PR body provides exact-head redacted terminal output for an authenticated Gateway/operator/node transport run that observes rejection before final replacement-file I/O.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: The PR repairs authorization behavior for an enabled bundled plugin that can reach paired-node filesystem operations.
  • merge-risk: 🚨 compatibility: Existing positive permissions intentionally change from active glob rules to a migration-required fail-closed state.
  • merge-risk: 🚨 security-boundary: The diff creates durable grants and changes the validation immediately before file reads, writes, directory listing, and archives.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster 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 PR body provides exact-head redacted terminal output for an authenticated Gateway/operator/node transport run that observes rejection before final replacement-file I/O.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides exact-head redacted terminal output for an authenticated Gateway/operator/node transport run that observes rejection before final replacement-file I/O.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Current-main blame and path history attribute the file-transfer policy surface to this recent main commit. (role: recent current-main contributor; confidence: medium; commits: b9fa5ab1a838; files: extensions/file-transfer/src/shared/policy.ts, extensions/file-transfer/src/shared/node-invoke-policy.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Obtain maintainer signoff on the fail-closed legacy-permission migration.
  • Wait for required exact-head CI to finish green.

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.

History

Review history (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-26T03:16:06.075Z sha a4f1e92 :: needs real behavior proof before merge. :: [P0] Bind every final data operation to the preflight target
  • reviewed 2026-08-26T03:43:10.289Z sha dcc052a :: needs real behavior proof before merge. :: [P0] Bind the archive to the checked directory | [P1] Require review for wildcard legacy grants | [P1] Report the included config backup
  • reviewed 2026-08-26T04:05:15.772Z sha afb3ea6 :: needs real behavior proof before merge. :: [P0] Revalidate stale grants before archive preflight
  • reviewed 2026-08-26T04:32:11.697Z sha 95abef8 :: needs real behavior proof before merge. :: [P0] Bind the directory object before listing
  • reviewed 2026-08-26T05:06:56.167Z sha 836d842 :: needs real behavior proof before merge. :: [P0] Bind final I/O to filesystem identity, not pathname text
  • reviewed 2026-08-26T05:40:44.837Z sha f8d61add0838f0e253fc92563e3b4ef4beb36f2b :: needs maintainer review before merge. :: none
  • reviewed 2026-08-26T05:54:33.303Z sha f8d61add0838f0e253fc92563e3b4ef4beb36f2b :: needs real behavior proof before merge. :: [P2] Split the policy flow instead of suppressing the line limit | [P2] Document migration and recovery for existing approvals
  • reviewed 2026-08-26T06:58:38.841Z sha 9dfdde4e2a7bbf8f9a7a6559ac08675ee384c33a :: found issues before merge. :: [P1] Keep exact reapproval scoped to the selected legacy path | [P2] Describe remembered approvals in the file-tool prompts

@joshavant
joshavant force-pushed the security/file-transfer-exact-approvals branch from cd752b1 to 66621d8 Compare August 26, 2026 02:39
@joshavant

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. 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. and removed P1 High-priority user-facing bug, regression, or broken workflow. 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 Aug 26, 2026
@joshavant

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@joshavant

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

@joshavant

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Aug 26, 2026
@joshavant

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 26, 2026
@joshavant
joshavant force-pushed the security/file-transfer-exact-approvals branch from a203f32 to 8ec2de7 Compare August 26, 2026 15:38
@openclaw-barnacle openclaw-barnacle Bot reopened this Aug 26, 2026
@joshavant

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@joshavant
joshavant merged commit 424521a into main Aug 26, 2026
197 of 202 checks passed
@joshavant
joshavant deleted the security/file-transfer-exact-approvals branch August 26, 2026 16:38
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 27, 2026
* fix(file-transfer): bind standing approvals exactly

* fix(file-transfer): keep validator error lint-safe

* fix(file-transfer): bind directory listing target before I/O

* fix(file-transfer): keep dir list preflight type stable

* test(file-transfer): split directory listing policy coverage

* fix(file-transfer): bind final node effects

* fix(file-transfer): close migration and archive gaps

* fix(file-transfer): bind standing grants before preflight

* fix(file-transfer): bind directory listings to checked target

* fix(file-transfer): bind final effects to filesystem identity

* test(file-transfer): prove exact approval transport

* fix(file-transfer): keep reapproval prompts path-scoped

* chore(config): refresh generated baselines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR 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. P1 High-priority user-facing bug, regression, or broken workflow. plugin: file-transfer proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL 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