diff --git a/.gitignore b/.gitignore index 53171c8375..357feca35a 100644 --- a/.gitignore +++ b/.gitignore @@ -14,9 +14,6 @@ /.claude/tmp/ /.claude/worktrees/ -# Per-worktree agent scratch (PR bodies, logs, notes); see the quest-start skill. -/.scratch/ - # IDE .idea diff --git a/AGENTS.md b/AGENTS.md index 15b5547d3f..b2b1a72ef8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -80,7 +80,7 @@ Wire changes should be backwards compatible for any *published* drafts/versions. Before starting, `git fetch origin` and set the upstream to the base branch. If a published API break requires `dev`, retarget the PR to `dev`, set the upstream to `origin/dev`, then rebase onto it. -Write scratch files (PR bodies, logs, notes) to the worktree's gitignored `.scratch/`, never a directory other agents share. +Pass PR bodies to `gh` on stdin (`--body-file -`); never write to a directory other agents share. Use the Nix dev shell so tooling matches CI. direnv loads it automatically, but if not: `nix develop --command ...`.