score_architecture
Evaluate an architecture's quality across five weighted dimensions: reliability, security, cost, compliance, and complexity. Get a 0-100 overall score, letter grade, and per-dimension notes to quickly assess design before review.
Instructions
Score an architecture across reliability, security, cost, compliance, and complexity.
Returns the dimension scores, overall weighted score (0-100), letter grade, and per-dimension notes. Weights: Reliability 30% (load balancing, multi-AZ, auto-scaling, CDN, caching), Security 25% (WAF, auth, encryption, HTTPS, DNS), Cost Efficiency 20% (budget compliance, free- tier usage), Compliance 15% (framework validation), Complexity 10% (component count, connection density, tier separation).
When to use: You want a quick quality summary before a design review.
For specific findings, use lint_architecture, security_scan, or
validate_compliance.
Behavior: Pure computation — no LLM, no network. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_json | Yes | ArchSpec to score. Scorer evaluates across five weighted dimensions and returns an overall 0-100 score with a letter grade (A/B/C/D/F). |