Read the Codex prompt profile before the sandbox mode name
Three sandbox_mode values produced three different permission profiles from codex debug prompt-input on Codex CLI 0.163.0. No login was required. The default block matched an explicit read-only block: a managed profile, a restricted filesystem, and one read entry for :root. workspace-write kept that read of :root, added write entries for the repository, :slash_tmp, and :tmpdir, and marked .git, .agents, .codex, and .aws read-only inside the repository. danger-full-access replaced the managed profile with type="disabled" and an unrestricted filesystem.