The approvals docs did not say how execute_code scripts are approved, so the
T2 change was invisible to users. security.md gains an "execute_code
scripts" section: gateway sessions approve a script as a whole; under
manual (and smart) a local CLI/TUI/Desktop/ACP session's own turns get no
whole-script prompt, so Python-level file and process operations inside a
script run unprompted and only terminal() calls ask, as in the pre-cutover
CLI. Injected and automation turns, delegate_task children, /bg and /btw
side tasks, and a viewer turn with no approving viewer attached keep the
whole-script gate. code-execution.md links to it.
Refs #134889 (T2)
Refs #139523