diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 000000000..c6bc1ef7f --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,5 @@ +# AGENTS.md + +## Worktree Safety + +Always use the primary working directory (the worktree) for all file reads and edits. Never follow absolute paths from subagent results that point to the main repo. diff --git a/CLAUDE.md b/CLAUDE.md index 9d7b59536..048c03cd3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,5 +1,7 @@ # CLAUDE.md +See also: [AGENTS.md](./AGENTS.md) for agent-specific rules. + ## Package Manager This project uses **pnpm**. Never use `npm` or `yarn`.