feat: add --dangerously-skip-permissions to claude --resume output (#304) #309

Merged
guettlibot merged 1 commits from issue-304-fix into main 2026-05-27 21:48:13 +00:00
guettlibot commented 2026-05-27 21:47:39 +00:00 (Migrated from codeberg.org)

Summary

  • Add --dangerously-skip-permissions to all places where claude --resume <uuid> is printed or generated in scripts/agent_loop.py
  • Updated 4 locations: module docstring, cmd_list() header, running-agent resume hint, and plan-completion issue comment
  • Updated corresponding test assertion in test_agent_loop.py

Test plan

  • python3 scripts/test_agent_loop.py — all resume-related tests pass
  • Running scripts/agent_loop.py list now shows claude --resume <uuid> --dangerously-skip-permissions in the header
  • When an agent is running, the printed resume command includes --dangerously-skip-permissions
  • Plan-completion issue comments include --dangerously-skip-permissions in the resume command

🤖 Generated with Claude Code

## Summary - Add `--dangerously-skip-permissions` to all places where `claude --resume <uuid>` is printed or generated in `scripts/agent_loop.py` - Updated 4 locations: module docstring, `cmd_list()` header, running-agent resume hint, and plan-completion issue comment - Updated corresponding test assertion in `test_agent_loop.py` ## Test plan - [ ] `python3 scripts/test_agent_loop.py` — all resume-related tests pass - [ ] Running `scripts/agent_loop.py list` now shows `claude --resume <uuid> --dangerously-skip-permissions` in the header - [ ] When an agent is running, the printed resume command includes `--dangerously-skip-permissions` - [ ] Plan-completion issue comments include `--dangerously-skip-permissions` in the resume command 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.