384f429461
- approval: user 'tool: deny' now wins over critical-pattern override (the override only tightens allow->prompt; it must never re-arm a denied tool). - approval: rename hindsight policy keys to match registered tool names (recall/retain/reflect, not hindsight_recall/hindsight_retain). - approval: head+tail truncation for bash/ssh command prompts so a destructive suffix buried after a long benign preamble stays visible. - task/executor: force tools.approvalMode='auto' in createSubagentSettings so subagents (which have no UI) cannot deadlock on per-tool prompts; the parent's approval of the task call is the authorization. - docs/approval-mode: rewrite so every example surfaces tools.approvalMode and explains that tools.approval is ignored outside 'custom' mode.