{
 "type": "excalidraw",
 "version": 2,
 "source": "https://excalidraw.com",
 "elements": [
  {
   "id": "r948512307",
   "type": "rectangle",
   "x": 340,
   "y": 120,
   "width": 520,
   "height": 150,
   "angle": 0,
   "strokeColor": "#111111",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 735835317,
   "versionNonce": 465777826,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "t1569860902",
   "type": "text",
   "x": 350,
   "y": 128,
   "width": 169.4,
   "height": 17.5,
   "angle": 0,
   "strokeColor": "#111111",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 211562483,
   "versionNonce": 1939243212,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Pure unit: no database",
   "fontSize": 14,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "Pure unit: no database",
   "lineHeight": 1.25,
   "baseline": 14
  },
  {
   "id": "t1926583868",
   "type": "text",
   "x": 350,
   "y": 148,
   "width": 429.55,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1271389424,
   "versionNonce": 780253692,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "1 test: test_order_snapshot.py::test_orderitem_has_no_inventory_item_fk",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "1 test: test_order_snapshot.py::test_orderitem_has_no_inventory_item_fk",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t1586108733",
   "type": "text",
   "x": 350,
   "y": 163,
   "width": 447.70000000000005,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1680529729,
   "versionNonce": 325518036,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "inspects OrderItem._meta.get_fields() directly, no db fixture, no Postgres",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "inspects OrderItem._meta.get_fields() directly, no db fixture, no Postgres",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t1464684978",
   "type": "text",
   "x": 350,
   "y": 178,
   "width": 387.20000000000005,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1086442762,
   "versionNonce": 808712851,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "proves: the FK is really gone, the snapshot columns really exist",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "proves: the FK is really gone, the snapshot columns really exist",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "r1010151833",
   "type": "rectangle",
   "x": 220,
   "y": 310,
   "width": 760,
   "height": 150,
   "angle": 0,
   "strokeColor": "#111111",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1545968644,
   "versionNonce": 1265512563,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "t1177084016",
   "type": "text",
   "x": 230,
   "y": 318,
   "width": 323.40000000000003,
   "height": 17.5,
   "angle": 0,
   "strokeColor": "#111111",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1199360736,
   "versionNonce": 1739868075,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "API / acceptance: APIClient, real Postgres",
   "fontSize": 14,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "API / acceptance: APIClient, real Postgres",
   "lineHeight": 1.25,
   "baseline": 14
  },
  {
   "id": "t866262535",
   "type": "text",
   "x": 230,
   "y": 338,
   "width": 568.7,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1132945176,
   "versionNonce": 1903176968,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "21 tests: test_checkout, test_smoke, test_review_auth, most of test_outbox/test_order_snapshot",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "21 tests: test_checkout, test_smoke, test_review_auth, most of test_outbox/test_order_snapshot",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t460022481",
   "type": "text",
   "x": 230,
   "y": 353,
   "width": 502.15000000000003,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1126818799,
   "versionNonce": 1991721537,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "full DRF view -> serializer -> service -> model -> db stack, real HTTP status codes",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "full DRF view -> serializer -> service -> model -> db stack, real HTTP status codes",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t1749204303",
   "type": "text",
   "x": 230,
   "y": 368,
   "width": 447.70000000000005,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1798969734,
   "versionNonce": 1888101121,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "proves: does the checkout/review/smoke surface behave correctly end to end",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "proves: does the checkout/review/smoke surface behave correctly end to end",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "r58603406",
   "type": "rectangle",
   "x": 110,
   "y": 500,
   "width": 980,
   "height": 150,
   "angle": 0,
   "strokeColor": "#111111",
   "backgroundColor": "#ffffff",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 3
   },
   "seed": 1273986669,
   "versionNonce": 1768987955,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false
  },
  {
   "id": "t390734103",
   "type": "text",
   "x": 120,
   "y": 508,
   "width": 454.3,
   "height": 17.5,
   "angle": 0,
   "strokeColor": "#111111",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 61658730,
   "versionNonce": 405375247,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Service & consumer integration: direct calls, real Postgres",
   "fontSize": 14,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "Service & consumer integration: direct calls, real Postgres",
   "lineHeight": 1.25,
   "baseline": 14
  },
  {
   "id": "t618054646",
   "type": "text",
   "x": 120,
   "y": 528,
   "width": 635.25,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1992045665,
   "versionNonce": 1791017744,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "28 tests: test_choreographed_checkout, test_grpc_checkout, test_orchestrated_shipping, outbox idempotency",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "28 tests: test_choreographed_checkout, test_grpc_checkout, test_orchestrated_shipping, outbox idempotency",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t1555909195",
   "type": "text",
   "x": 120,
   "y": 543,
   "width": 605.0,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 544144716,
   "versionNonce": 558149110,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "calls order.services.place_order() or a saga/consumer handler directly, no HTTP, db fixture required",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "calls order.services.place_order() or a saga/consumer handler directly, no HTTP, db fixture required",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t367033291",
   "type": "text",
   "x": 120,
   "y": 558,
   "width": 477.95000000000005,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1923302431,
   "versionNonce": 1788162944,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "proves: does the saga/consumer logic transition status and compensate correctly",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "proves: does the saga/consumer logic transition status and compensate correctly",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "a434435306",
   "type": "arrow",
   "x": 600.0,
   "y": 270.0,
   "width": 0.0,
   "height": 40.0,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 1806489709,
   "versionNonce": 552705142,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     0.0,
     40.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": null,
   "endBinding": null,
   "startArrowhead": null,
   "endArrowhead": "arrow"
  },
  {
   "id": "a1452939058",
   "type": "arrow",
   "x": 600.0,
   "y": 460.0,
   "width": 0.0,
   "height": 40.0,
   "angle": 0,
   "strokeColor": "#2f5f3d",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 2,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": {
    "type": 2
   },
   "seed": 499584531,
   "versionNonce": 402486708,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "points": [
    [
     0,
     0
    ],
    [
     0.0,
     40.0
    ]
   ],
   "lastCommittedPoint": null,
   "startBinding": null,
   "endBinding": null,
   "startArrowhead": null,
   "endArrowhead": "arrow"
  },
  {
   "id": "t1733732458",
   "type": "text",
   "x": 600.0,
   "y": 466.0,
   "width": 296.45000000000005,
   "height": 13.75,
   "angle": 0,
   "strokeColor": "#2f5f3d",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 87425448,
   "versionNonce": 1568024047,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "one `uv run pytest` run exercises all three tiers",
   "fontSize": 11,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "one `uv run pytest` run exercises all three tiers",
   "lineHeight": 1.25,
   "baseline": 11
  },
  {
   "id": "t560852046",
   "type": "text",
   "x": 600.0,
   "y": 22,
   "width": 719.95,
   "height": 21.25,
   "angle": 0,
   "strokeColor": "#1d1d1d",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 863341273,
   "versionNonce": 7272108,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "the monolith's test shape: pytest-django, not a textbook fully-mocked pyramid",
   "fontSize": 17,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "the monolith's test shape: pytest-django, not a textbook fully-mocked pyramid",
   "lineHeight": 1.25,
   "baseline": 17
  },
  {
   "id": "t426717649",
   "type": "text",
   "x": 600.0,
   "y": 46,
   "width": 739.2,
   "height": 15.0,
   "angle": 0,
   "strokeColor": "#555555",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1031997088,
   "versionNonce": 1573147681,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "8 files, 50 tests collected, every file django_db-marked: widest tier is service integration, not isolated units",
   "fontSize": 12,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "8 files, 50 tests collected, every file django_db-marked: widest tier is service integration, not isolated units",
   "lineHeight": 1.25,
   "baseline": 12
  },
  {
   "id": "t671686464",
   "type": "text",
   "x": 110,
   "y": 738,
   "width": 588.5,
   "height": 12.5,
   "angle": 0,
   "strokeColor": "#777777",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 1053182390,
   "versionNonce": 123108373,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "Counted via `python3 -m pytest --collect-only -q` against examples/00-monolith/tests/ (50 tests collected).",
   "fontSize": 10,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "Counted via `python3 -m pytest --collect-only -q` against examples/00-monolith/tests/ (50 tests collected).",
   "lineHeight": 1.25,
   "baseline": 10
  },
  {
   "id": "t1469012748",
   "type": "text",
   "x": 110,
   "y": 754,
   "width": 599.5,
   "height": 12.5,
   "angle": 0,
   "strokeColor": "#777777",
   "backgroundColor": "transparent",
   "fillStyle": "solid",
   "strokeWidth": 1,
   "strokeStyle": "solid",
   "roughness": 1,
   "opacity": 100,
   "groupIds": [],
   "frameId": null,
   "roundness": null,
   "seed": 516433644,
   "versionNonce": 325535468,
   "isDeleted": false,
   "boundElements": [],
   "updated": 1,
   "link": null,
   "locked": false,
   "text": "pytest-django creates/drops its own test_<NAME> Postgres database per run: see AGENTS.md's \"Testing\" section.",
   "fontSize": 10,
   "fontFamily": 1,
   "textAlign": "left",
   "verticalAlign": "top",
   "containerId": null,
   "originalText": "pytest-django creates/drops its own test_<NAME> Postgres database per run: see AGENTS.md's \"Testing\" section.",
   "lineHeight": 1.25,
   "baseline": 10
  }
 ],
 "appState": {
  "viewBackgroundColor": "#ffffff",
  "gridSize": null
 },
 "files": {}
}