Fix read-only Agent Mode permissions - #620
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
📝 WalkthroughWalkthroughAgent Mode now uses session-scoped, mutable permission modes. Maple provides bounded developer tools, classifies eligible read-only requests, enforces routing through Maple-owned policies, and synchronizes frontend mode changes with runtime state. ChangesAgent permission control
Estimated code review effort: 5 (Critical) | ~120 minutes Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Deploying maple with
|
| Latest commit: |
46c83e7
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://62a9beda.maple-ca8.pages.dev |
| Branch Preview URL: | https://codex-maple-agent-read-permi.maple-ca8.pages.dev |
Status
Ready for testing.
Closes #619.
Summary
read,shell,edit, andwritetools, plusread_image.read_image; remote images still require approval in Read only.User-visible behavior
pwd && grep ... | head ...no longer show an unnecessary approval card in Read only.Validation
cargo test --all-targets— 93 passedbun test— 72 passedbun run buildjust rust-lint— formatting and Clippy passedbun run lint— 0 errors; 12 pre-existing warningsTesting notes
The Windows Job Object path is implemented and its dependency features resolve correctly, but it was not runtime-tested on the macOS development host. Remote
read_imagefetches succeed; a separate provider-specific GLM image-history follow-up can still return a 500 on a later model turn and is outside this PR.Summary by CodeRabbit
New Features
Bug Fixes