diff --git a/pyproject.toml b/pyproject.toml index 4296774..e2ce4aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pytest-codingagents" -version = "0.2.2" +version = "0.2.3" description = "Pytest plugin for testing real coding agents via their SDK" readme = "README.md" license = { text = "MIT" } diff --git a/src/pytest_codingagents/copilot/personas.py b/src/pytest_codingagents/copilot/personas.py index 92632e2..f5e2979 100644 --- a/src/pytest_codingagents/copilot/personas.py +++ b/src/pytest_codingagents/copilot/personas.py @@ -278,6 +278,12 @@ def _build_agents_block(custom_agents: list[dict[str, Any]], tool_name: str = "r "appropriate agent from this list." ), f"Use the {tool_name} tool with the agent name to run the subagent.", + ( + f"You are an orchestrator. All task work must be delegated to " + f"subagents via the `{tool_name}` tool. " + f"Do not implement, edit files, or perform task work directly — " + f"delegate every phase of work to the appropriate subagent." + ), ] for a in custom_agents: lines.append("")