Auto Mode Permission Error - Troubleshooting¶
Problem¶
When running amplihack claude --auto, you encounter:
Cause¶
Bug in auto_mode.py line 203 using incorrect Claude SDK argument.
Solution¶
Fixed in PR #948
Changed from incorrect:
To correct:
Verifying the Fix¶
Check if you have the fix:
If you see commit with "Correct Claude SDK permission argument", you have the fix.
Test auto mode:
Should work without permission errors.
Related Issues¶
- Issue #947: Auto mode fails with invalid permission_mode argument
- PR #948: Fix for the permission argument bug
Prevention¶
This was a one-time bug introduced when Claude SDK API changed. The fix ensures we use the correct argument going forward.
Fixed: 2025-10-19 PR: #948