personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix test_write_mode_bypasses_restrictions to match orchestrator rewrite

The coder agent rewrite (7ab09b9d) changed write mode to keep plan
permission mode while omitting --allowedTools, but the test still
expected bypassPermissions. Update assertion to match actual behavior.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+1 -1
+1 -1
tests/test_anthropic_cli.py
··· 34 34 ) 35 35 ) 36 36 cmd = MockCLIRunner.last_instance.cmd 37 - assert cmd[cmd.index("--permission-mode") + 1] == "bypassPermissions" 37 + assert cmd[cmd.index("--permission-mode") + 1] == "plan" 38 38 assert "--allowedTools" not in cmd 39 39 40 40