pub fn claude_settings_path(root: &Path, project: &str, agent: &str) -> PathBufExpand description
Absolute path to the wrapper-managed Claude Code settings file. The
file carries the default PreToolUse deny hook for synchronous-prompt
tools (AskUserQuestion, EnterPlanMode, ExitPlanMode) so a
headless agent doesn’t strand on a picker no one will answer. The
wrapper applies it via claude --settings <path> for every
claude-code agent except those in permission_mode: attended.