kin/cli
Gros Frumos 9cbb3cec37 Fix audit hanging: add auto_apply param + allow_write for tool access
Root cause: claude agent without --dangerously-skip-permissions
hangs on tool permission prompts when stdin=DEVNULL.

Fixes:
- run_audit() now passes allow_write=True so agent can use
  Read/Bash tools without interactive permission prompts
- Added auto_apply param: False for API (result only),
  CLI confirms with user then applies manually
- API explicitly passes auto_apply=False
- Tests for auto_apply=True/False behavior

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 18:00:39 +02:00
..
__init__.py Add CLI (cli/main.py) — click-based interface for all core operations 2026-03-15 13:20:57 +02:00
main.py Fix audit hanging: add auto_apply param + allow_write for tool access 2026-03-15 18:00:39 +02:00