feat: vendor upstream Skills and add the GCP provider bundle
Increment 2 of .scratch/solution-architect-agent/spec.md. - Vendor google-cloud-solution-architecture and the six google-cloud-waf-* Skills from google/skills@81a31a6, unmodified, with LICENSE, SHA256SUMS and VENDOR.md; add scripts/sync-vendored-skills.sh to re-sync at a pinned sha. - app/agent_skills.py: discover Skills and validate SKILL.md frontmatter against the Agent Skills specification. - app/providers.py + providers/gcp.yaml: load and validate a Cloud provider bundle (Skills, output template, per-role models, tool tiers, remote MCP servers). MCP allowlists stay empty until the read-only review in increment 6. - Settings CLOUD_PROVIDER and MCP_ENABLE_PREVIEW. - 35 new tests; full suite 65 passed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
86
providers/gcp.yaml
Normal file
86
providers/gcp.yaml
Normal file
@@ -0,0 +1,86 @@
|
||||
# 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
|
||||
|
||||
models:
|
||||
default: gemini/gemini-2.5-pro
|
||||
roles:
|
||||
pillar-advisor: gemini/gemini-2.5-flash
|
||||
diagrammer: gemini/gemini-2.5-flash
|
||||
|
||||
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]
|
||||
Reference in New Issue
Block a user