Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

5.2 KB
Raw Blame
{
  "schemaVersion": 1,
  "ok": true,
  "command": "compare",
  "type": "architecture",
  "comparatorVersion": 1,
  "canonicalVersion": 1,
  "completeness": "complete",
  "proofLevel": "authored",
  "base": {
    "title": "Checkout Platform — Baseline",
    "rawSha256": "81d55a2e86fc39f6473b32dfba986a12d3b7a705a95821844865b1dc831c9fe7",
    "semanticSha256": "5d2f362ed389af82b117a01d36201e27cb83503093b14c50f7cd8dada55f243a",
    "bytes": 2279
  },
  "head": {
    "title": "Checkout Platform — Fraud Gate",
    "rawSha256": "eb4ae056035dd3316414a5d7f6599525107b5d1af7bedbd905460ade77daf5c6",
    "semanticSha256": "0b378c8f24d23ec63feecacd7ff84a4944534f4306fc2b7e3266dff9ba258852",
    "bytes": 2413
  },
  "summary": {
    "components": {
      "added": 1,
      "changed": 1,
      "evidenceChanged": 0,
      "removed": 1,
      "moved": 1
    },
    "connections": {
      "added": 1,
      "changed": 2,
      "removed": 1,
      "rerouted": 1
    },
    "boundaries": {
      "added": 0,
      "changed": 2,
      "removed": 0,
      "geometryChanged": 0
    },
    "presentationChanged": true,
    "provenanceChanged": false
  },
  "changes": {
    "components": [
      {
        "id": "cache",
        "baseLabel": "Session Cache",
        "status": "removed",
        "classifications": [
          "semantic"
        ],
        "changedFields": []
      },
      {
        "id": "checkout",
        "baseLabel": "Checkout API",
        "headLabel": "Checkout API",
        "status": "changed",
        "classifications": [
          "semantic"
        ],
        "changedFields": [
          "/sublabel"
        ]
      },
      {
        "id": "fraud",
        "headLabel": "Fraud Gate",
        "status": "added",
        "classifications": [
          "semantic"
        ],
        "changedFields": []
      },
      {
        "id": "queue",
        "baseLabel": "Order Events",
        "headLabel": "Order Events",
        "status": "moved",
        "classifications": [
          "geometry"
        ],
        "changedFields": [
          "/pos"
        ]
      }
    ],
    "connections": [
      {
        "id": "authorize-payment",
        "base": {
          "from": "orders",
          "to": "payments",
          "label": "authorize"
        },
        "head": {
          "from": "fraud",
          "to": "payments",
          "label": "authorize"
        },
        "status": "changed",
        "classifications": [
          "geometry",
          "topology"
        ],
        "changedFields": [
          "/from",
          "/fromSide",
          "/toSide",
          "/via"
        ]
      },
      {
        "id": "fraud-check",
        "head": {
          "from": "checkout",
          "to": "fraud",
          "label": "screen"
        },
        "status": "added",
        "classifications": [
          "topology"
        ],
        "changedFields": []
      },
      {
        "id": "persist-order",
        "base": {
          "from": "checkout",
          "to": "orders",
          "label": "SQL"
        },
        "head": {
          "from": "checkout",
          "to": "orders",
          "label": "SQL tx"
        },
        "status": "changed",
        "classifications": [
          "semantic"
        ],
        "changedFields": [
          "/label"
        ]
      },
      {
        "id": "publish-order",
        "base": {
          "from": "checkout",
          "to": "queue",
          "label": "accepted"
        },
        "head": {
          "from": "checkout",
          "to": "queue",
          "label": "accepted"
        },
        "status": "rerouted",
        "classifications": [
          "geometry"
        ],
        "changedFields": [
          "/labelDy"
        ]
      },
      {
        "id": "session-read",
        "base": {
          "from": "checkout",
          "to": "cache",
          "label": "session"
        },
        "status": "removed",
        "classifications": [
          "topology"
        ],
        "changedFields": []
      }
    ],
    "boundaries": [
      {
        "key": "region:Production region",
        "kind": "region",
        "label": "Production region",
        "status": "changed",
        "classifications": [
          "scope"
        ],
        "changedFields": [
          "/wraps"
        ]
      },
      {
        "key": "security-group:Checkout trust zone",
        "kind": "security-group",
        "label": "Checkout trust zone",
        "status": "changed",
        "classifications": [
          "scope"
        ],
        "changedFields": [
          "/wraps"
        ]
      }
    ]
  },
  "identity": {
    "components": "components[].id",
    "connections": "connections[].id (required)",
    "boundaries": "boundaries[].kind + boundaries[].label (derived)"
  },
  "view": {
    "visualPreset": "signal-flow"
  },
  "limitations": [
    "Authored Architecture IR only; no runtime impact, causality, risk, or mergeability is inferred.",
    "Boundary identity is conservatively derived from kind + label."
  ],
  "artifact": {
    "sha256": "915843eba843262bc48a5630a89c2665bca0beada033bcbe577ae1b55f952b49",
    "bytes": 2348922
  },
  "validation": {
    "checksPassed": 28,
    "checkCount": 28,
    "baseComposition": "pass",
    "headComposition": "pass"
  }
}