From 6c176074e660719dbfd304d1b5f53e5f2710b427 Mon Sep 17 00:00:00 2001 From: Dan Shapiro Date: Sat, 16 May 2026 14:41:00 -0700 Subject: [PATCH] docs: require green base before worktrees --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index d600501a0..930661144 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,6 +12,7 @@ Freshell is a self-hosted, browser-accessible terminal multiplexer and session o ## Repo Rules - Always work in a worktree (in \.worktrees\) +- Before creating a new worktree, ensure the repo-supported test suite is green on the intended base. If the suite is not green, pause before creating the worktree and notify the user with the failing command and failure summary. - New behavior changes start on a worktree branch from `origin/main` and are submitted as PRs to `origin/main`; local `dev` only consumes PR heads. - Many agents may be working in the worktree at the same time. If you see activity from other agents (for example test runs or file changes), respect it. - Specific user instructions override ALL other instructions, including the above, and including superpowers or skills