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:
@@ -8,11 +8,34 @@ skills_dirs:
|
||||
|
||||
output_template: skills/vendor/google/google-cloud-solution-architecture/assets/output-template.md
|
||||
|
||||
# LiteLLM model ids. The -latest aliases track Google's current Pro and Flash models.
|
||||
models:
|
||||
default: gemini/gemini-2.5-pro
|
||||
default: gemini/gemini-pro-latest
|
||||
roles:
|
||||
pillar-advisor: gemini/gemini-2.5-flash
|
||||
diagrammer: gemini/gemini-2.5-flash
|
||||
pillar-advisor: gemini/gemini-flash-latest
|
||||
diagrammer: gemini/gemini-flash-latest
|
||||
|
||||
# Skills each role may load. Role files stay provider-neutral; the bundle names Skills.
|
||||
role_skills:
|
||||
orchestrator: [google-cloud-solution-architecture]
|
||||
requirements-analyst: [google-cloud-solution-architecture]
|
||||
decomposer: [google-cloud-solution-architecture]
|
||||
product-selector: [google-cloud-solution-architecture]
|
||||
diagrammer: [google-cloud-solution-architecture]
|
||||
describer: [google-cloud-solution-architecture]
|
||||
design-advisor: [google-cloud-solution-architecture]
|
||||
iac-author: [google-cloud-solution-architecture]
|
||||
validator: [google-cloud-solution-architecture]
|
||||
packager: [google-cloud-solution-architecture]
|
||||
|
||||
# One advisor per architecture-framework pillar; each loads only its pillar's Skill.
|
||||
pillar_skills:
|
||||
security: google-cloud-waf-security
|
||||
reliability: google-cloud-waf-reliability
|
||||
operational-excellence: google-cloud-waf-operational-excellence
|
||||
cost-optimization: google-cloud-waf-cost-optimization
|
||||
performance-optimization: google-cloud-waf-performance-optimization
|
||||
sustainability: google-cloud-waf-sustainability
|
||||
|
||||
tools:
|
||||
general: [mermaid_check, terraform_fmt, terraform_validate]
|
||||
|
||||
Reference in New Issue
Block a user