diff --git a/src/the-agency/on-create.sh b/src/the-agency/on-create.sh index 2aff502..b90ebed 100755 --- a/src/the-agency/on-create.sh +++ b/src/the-agency/on-create.sh @@ -104,10 +104,9 @@ fi echo "" fi - echo "# Agent Routing Rules (Mandatory)" + echo "# How to Choose the Right Specialist Agent (Mandatory)" echo "" - echo "Before selecting a specialist agent, first classify the request by division." - echo "Then use ~/.the-agency/AGENT_ROUTING.md as the routing reference to choose the primary and fallback agent." + echo "Before starting any task, read ~/.the-agency/AGENT_ROUTING.md to understand how to classify divisions and choose the ideal specialist agent for the job." echo "" echo "" } > "$references_block_file" diff --git a/test/the-agency/use_agent_zero_disabled.sh b/test/the-agency/use_agent_zero_disabled.sh index 735e5b1..6d8963c 100644 --- a/test/the-agency/use_agent_zero_disabled.sh +++ b/test/the-agency/use_agent_zero_disabled.sh @@ -17,7 +17,7 @@ check "on-create creates AGENTS.md with routing rules only (when disabled)" bash /usr/local/share/devcontainer-features/the-agency-on-create.sh test -s "$tmp_ws/AGENTS.md" - grep -q "Agent Routing Rules (Mandatory)" "$tmp_ws/AGENTS.md" + grep -q "How to Choose the Right Specialist Agent (Mandatory)" "$tmp_ws/AGENTS.md" grep -q "~/.the-agency/AGENT_ROUTING.md" "$tmp_ws/AGENTS.md" ! grep -q "Canonical Agent Guide (Mandatory)" "$tmp_ws/AGENTS.md" ! grep -q "~/.the-agency/AGENT-ZERO.md" "$tmp_ws/AGENTS.md" @@ -42,7 +42,7 @@ EOF test -s "$tmp_ws/AGENTS.md" grep -q "Keep this user content." "$tmp_ws/AGENTS.md" - grep -q "Agent Routing Rules (Mandatory)" "$tmp_ws/AGENTS.md" + grep -q "How to Choose the Right Specialist Agent (Mandatory)" "$tmp_ws/AGENTS.md" ! grep -q "Canonical Agent Guide (Mandatory)" "$tmp_ws/AGENTS.md" ! grep -q "Old content" "$tmp_ws/AGENTS.md" ' diff --git a/test/the-agency/use_agent_zero_enabled.sh b/test/the-agency/use_agent_zero_enabled.sh index 2e53488..51f9377 100755 --- a/test/the-agency/use_agent_zero_enabled.sh +++ b/test/the-agency/use_agent_zero_enabled.sh @@ -37,7 +37,7 @@ EOF /usr/local/share/devcontainer-features/the-agency-on-create.sh test -s "$tmp_ws/AGENTS.md" grep -q "Keep this line untouched." "$tmp_ws/AGENTS.md" - grep -q "Agent Routing Rules (Mandatory)" "$tmp_ws/AGENTS.md" + grep -q "How to Choose the Right Specialist Agent (Mandatory)" "$tmp_ws/AGENTS.md" grep -q "Canonical Agent Guide (Mandatory)" "$tmp_ws/AGENTS.md" ! grep -q "old routing body" "$tmp_ws/AGENTS.md" ! grep -q "old canonical body" "$tmp_ws/AGENTS.md" @@ -68,7 +68,7 @@ check "on-create injects agent routing rules header into AGENTS.md" bash -c ' tmp_ws="$(mktemp -d)" cd "$tmp_ws" /usr/local/share/devcontainer-features/the-agency-on-create.sh - grep -q "Agent Routing Rules (Mandatory)" "$tmp_ws/AGENTS.md" + grep -q "How to Choose the Right Specialist Agent (Mandatory)" "$tmp_ws/AGENTS.md" ' check "on-create injects canonical agent guide header into AGENTS.md" bash -c '