Document writable temp file locations (#7055)

This commit is contained in:
2026-06-10 22:18:14 -07:00
committed by GitHub
parent 1a4656992c
commit f4250d2b82
+4
View File
@@ -56,6 +56,10 @@ with `gh pr create --body-file <path>` or `gh pr edit <number> --body-file <path
shell quoting for PR bodies; Codex's permission matching may treat that as a complex shell command instead of a clean
`gh pr` invocation, causing unnecessary approval prompts.
Write these temporary body files, and any other scratch files needed for commands, under a known writable location such
as `/private/tmp`, `$TMPDIR`, or the current repository workspace. Do not use protected paths that require additional
user permission just to create or edit temporary files.
---
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.