diff_architectures
Compare two cloud architecture specs to generate a structured report of added, removed, or modified components, connections, cost delta, and compliance impacts for review and approval.
Instructions
Diff two architecture specs and return a structured change report.
Returns a structured delta: components added / removed / modified, connections added / removed / modified, cost delta (USD/month), compliance-impact flags (e.g. WAF removal, encryption-at-rest turned off), and a human-readable summary.
When to use: You have two versions of a spec (before / after a proposed change) and need a reviewable diff for approval or ADR writing.
Behavior: Pure computation — no LLM, no network. Read-only. Does not modify either spec.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| old_spec_json | Yes | Previous ArchSpec (baseline). Typically the last deployed version. | |
| new_spec_json | Yes | Proposed ArchSpec (target). Typically the version about to be deployed. |