From 94054f958b3a788d6c3ebd5b8b142fcb74b5288b Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Wed, 30 Sep 2026 09:44:23 -0700 Subject: [PATCH] chore(agents): drop the .scratch convention Agents only used `.scratch/` for PR bodies, which `gh` can read from stdin. Keep the rule against writing to shared directories, and remove the ignore entry whose comment pointed at Quest's start skill. Co-Authored-By: Claude Opus 5.5 --- .gitignore | 3 --- AGENTS.md | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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 ...`.