Files
buzz/crates
Andrew Kuttig 03555dd234 Treat JSON-RPC error responses as non-fatal in apply_permission_mode
AcpError::Protocol covers both real transport corruption and clean
JSON-RPC error responses (e.g. -32601 'Method not found'). When an
agent like amp-acp doesn't implement session/set_config_option, the
error was treated as fatal, causing an infinite respawn loop.

Move Protocol out of the fatal arm so it falls through to the
warn-and-continue path. The harness falls back to per-tool
auto-approval, which is the correct behavior.

Amp-Thread-ID: https://ampcode.com/threads/T-019d4e6c-6235-76b4-aaf3-63baf10304d0
Co-authored-by: Amp <amp@ampcode.com>
2026-04-09 10:29:39 -06:00
..