feat: run role files on the ADK runtime with scoped Skills
Increment 5 of .scratch/solution-architect-agent/spec.md, test-first. - agents/*.md: provider-neutral role files for the Orchestrator, nine Specialists and the pillar advisor, with a shared Specialist protocol. - app/agents/roles.py: load and validate role files; Skills, MCP servers and models come from the provider bundle. - app/agents/adk_runtime.py: AgentRuntime on google-adk 2.9 with a per-run LlmAgent, role-scoped SkillToolset (no run_skill_script), step budgets, early stop on turn-ending tools, LiteLLM models. - app/execution/pillars.py + toolkit.py: design advisor fans out to one advisor per WAF pillar in parallel. - Specialists receive every earlier-Phase Deliverable as input. - Bundle gains role_skills, pillar_skills and -latest Gemini aliases; pin google-adk[extensions]==2.9.0. - 37 new tests; full suite 158 passed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -151,7 +151,12 @@ async def test_specialist_receives_its_dependencies_content(tmp_path):
|
||||
r for r in runtime.runs if r.role == specialist(K.ARCHITECTURE_DESCRIPTION)
|
||||
)
|
||||
dependencies = describer_run.task.context["dependencies"]
|
||||
assert set(dependencies) == {"architecture_diagram", "product_selection"}
|
||||
assert list(dependencies) == [
|
||||
"requirements",
|
||||
"technical_decomposition",
|
||||
"product_selection",
|
||||
"architecture_diagram",
|
||||
]
|
||||
assert "architecture.mmd" in dependencies["architecture_diagram"]["attachments"]
|
||||
assert describer_run.task.deliverable == "architecture_description"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user