Codex App Finishing
When the sandbox blocks branch/push operations (detached HEAD in an externally managed worktree), the agent commits all work and informs the user to use the App's native controls: - **"Create branch"** — names the branch, then commit/push/PR via App UI - **"Hand off to local"** — transfers work to the user's local checkout The agent can still run tests, stage files, and output suggested branch names, commit messages, and PR descriptions for the user to copy. ``` - [ ] **Step 3: Verify the additions** Read the full file. Confirm: - Two new sections appear after the existing content - Bash code block renders correctly (not escaped) - Cross-references to Step 0 and Step 1.5 are present - [ ] **Step 4: Commit** ```bash git add skills/using-superpowers/references/codex-tools.md git commit -m "docs(codex-tools): add environment detection and App finishing docs (PRI-823) Document the git-dir vs git-common-dir detection pattern and the Codex App's native finishing flow for skills that need to adapt." ``` ---