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>
110 lines
3.5 KiB
YAML
110 lines
3.5 KiB
YAML
# Cloud provider bundle: Google Cloud.
|
|
# Loaded by app/providers.py; select with CLOUD_PROVIDER=gcp. See ADR-0002.
|
|
name: gcp
|
|
|
|
skills_dirs:
|
|
- skills/vendor/google
|
|
- skills
|
|
|
|
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-pro-latest
|
|
roles:
|
|
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]
|
|
cloud_read: [terraform_plan]
|
|
|
|
mcp_auth:
|
|
kind: google_adc # Application Default Credentials bearer token; sends X-Goog-User-Project
|
|
|
|
# Remote MCP servers hosted by Google Cloud (streamable HTTP).
|
|
# `allow` lists stay empty (nothing exposed) until each server's tools/list is
|
|
# reviewed for read-only tools in increment 6 of .scratch/solution-architect-agent/spec.md.
|
|
mcp_servers:
|
|
developer_knowledge:
|
|
url: https://developerknowledge.googleapis.com/mcp
|
|
tier: general # public documentation, no customer data
|
|
allow: []
|
|
resource_manager:
|
|
url: https://cloudresourcemanager.googleapis.com/mcp
|
|
tier: cloud_read
|
|
allow: []
|
|
asset_inventory:
|
|
url: https://cloudasset.googleapis.com/mcp
|
|
tier: cloud_read
|
|
allow: []
|
|
preview: true
|
|
compute:
|
|
url: https://compute.googleapis.com/mcp
|
|
tier: cloud_read
|
|
allow: []
|
|
gke:
|
|
url: https://container.googleapis.com/mcp
|
|
tier: cloud_read
|
|
allow: []
|
|
cloud_run:
|
|
url: https://run.googleapis.com/mcp
|
|
tier: cloud_read
|
|
allow: []
|
|
cloud_sql:
|
|
url: https://sqladmin.googleapis.com/mcp
|
|
tier: cloud_read
|
|
allow: []
|
|
storage:
|
|
url: https://storage.googleapis.com/storage/mcp
|
|
tier: cloud_read
|
|
allow: []
|
|
pubsub:
|
|
url: https://pubsub.googleapis.com/mcp
|
|
tier: cloud_read
|
|
allow: []
|
|
iam:
|
|
url: https://iam.googleapis.com/mcp
|
|
tier: cloud_read
|
|
allow: []
|
|
monitoring:
|
|
url: https://monitoring.googleapis.com/mcp
|
|
tier: cloud_read
|
|
allow: []
|
|
network_intelligence:
|
|
url: https://networkmanagement.googleapis.com/mcp
|
|
tier: cloud_read
|
|
allow: []
|
|
preview: true
|
|
|
|
role_mcp_servers:
|
|
requirements-analyst:
|
|
[resource_manager, asset_inventory, compute, gke, cloud_run, cloud_sql, storage, pubsub, iam, monitoring]
|
|
product-selector: [developer_knowledge]
|
|
describer: [developer_knowledge]
|
|
design-advisor: [developer_knowledge]
|
|
pillar-advisor: [developer_knowledge]
|
|
validator: [iam, network_intelligence]
|