Skip to content

Add opt-in ACP client text-file access - #154

Closed
Maximooch wants to merge 1 commit into
feat/acp-additional-rootsfrom
feat/acp-client-files
Closed

Maximooch wants to merge 1 commit into
feat/acp-additional-rootsfrom
feat/acp-client-files

Conversation

@Maximooch

Copy link
Copy Markdown
Owner

Change

Clients advertising both text-file RPCs can explicitly choose file_access=client. Read/write tools use editor buffers through ACP after normal permission checks; local remains default. Other filesystem tools and local shell/code tools are hidden and rejected in client-FS mode, preventing accidental hybrid operations. No silent local fallback. Native and legacy XML text-file actions use the async dispatch path. Persist the choice, reject reload when the next client lacks support, bound content and validate paths.

Depends on #153. No PRs merged. Client mode requires the same canonical workspace paths and the client's own filesystem authorization. Fully remote virtual directories remain separate. ACP text writes provide no backup or atomic-edit contract, so explicit backup requests fail. Terminal routing follows separately.

Validation

103 ACP/edit-contract tests passed on Windows Python 3.11; four focused tests also cover opt-in default, cross-session isolation, unsaved client buffers, native and legacy file calls, Plan denial, unsupported operations, cancelled write with no success acknowledgement, persisted mode/capability mismatch, and actual CLI stdio read/write roundtrip. Ruff on ACP/new provider/tests and diff checks pass. Dedicated ACP CI includes the new suite.

@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
penguin Ready Ready Preview Oct 28, 2026 6:13am UTC

@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Maximooch

Copy link
Copy Markdown
Owner Author

Integrated with preserved commit history through #161 (main commit abd8a66). Closing this stacked review after verifying its current head is an ancestor of main.

@Maximooch Maximooch closed this Oct 28, 2026

This branch was successfully deployed

1 active deployment
Preview — 5dc6db10 Deployed Oct 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant