Skip to content

Commit 78eada5

Browse files
Streamline AGENTS.md number of edit approvals
1 parent 7b013fc commit 78eada5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.codex/AGENTS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@
8383
3. A short reason
8484
- Wait for my explicit approve before executing.
8585
- Default behavior: local edits/tests are allowed; remote writes are not.
86+
- A single approval may cover a batch of related remote writes when every
87+
action in the batch is shown up front.
88+
- If a later command needs information produced by an earlier command,
89+
describe the deterministic follow-up in the same approval request.
90+
- For example, after `gh pr create` returns PR number `<N>`, you may
91+
update the PR body by replacing `<PR_NUMBER>` with `<N>` in a
92+
previously shown deploy-preview URL, without asking for a second
93+
approval.
8694
- Before overwriting remote content (PR descriptions, issue comments, etc.),
8795
always fetch the current version first. Never reconstruct from memory or a
8896
stale local copy. The user may have edited it concurrently.

0 commit comments

Comments
 (0)