From d985968acdd41a2fadb9678222a1031dac316536 Mon Sep 17 00:00:00 2001 From: Amr Gharbeia Date: Wed, 13 May 2026 14:28:08 -0400 Subject: [PATCH] docs: add 'architect does not fix bugs during testing' rule --- projects/AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/AGENTS.md b/projects/AGENTS.md index be7d184..8f972a4 100644 --- a/projects/AGENTS.md +++ b/projects/AGENTS.md @@ -25,6 +25,8 @@ When delegating work to subagents, follow this iteration loop: Key principles: - The subagent implements, the architect reviews. Do not switch roles. +- When testing reveals a bug, the architect writes the spec and deploys a + subagent to fix it. Do not fix bugs discovered during testing yourself. - Every review pass must find fewer issues than the previous pass - If a subagent introduces new bugs while fixing reported ones, reject - Zero issues means zero: no style nits, no missing edge cases, no