From b8ce2b8a27181642995f166052a9a4903893d383 Mon Sep 17 00:00:00 2001 From: beo3000 Date: Fri, 20 Mar 2026 12:22:25 +0100 Subject: [PATCH] added agent rule --- CLAUDE.md | 1 + rules/parallel-agents.md | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 rules/parallel-agents.md diff --git a/CLAUDE.md b/CLAUDE.md index 021b1ea..cc5c009 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -16,6 +16,7 @@ Regel: Keine Datei in legacy/ wird verändert. Nur lesen. ## Regeln @rules/framework-constraints.md @rules/session-protocol.md +@rules/parallel-agents.md ## Aktiver Scope Aktuelle Phase: 1 — Discovery diff --git a/rules/parallel-agents.md b/rules/parallel-agents.md new file mode 100644 index 0000000..b3e7616 --- /dev/null +++ b/rules/parallel-agents.md @@ -0,0 +1,5 @@ +- Subagents only write to their own output file — never to shared state +- Shared state files (status.md, decisions-log.md, task.md) are only written by the main orchestrating agent +- Each Definition-of-Done item in task.md must produce its own independent output file +- When dispatching parallel agents: assign each agent exactly one output file and pass the relevant legacy source paths +- After all subagents complete: the main agent consolidates results into status.md and decisions-log.md