{
  "phase": "A-false-green",
  "command": [
    "D:\\work\\CodexFDE\\.venv\\Scripts\\python.exe",
    "-X",
    "utf8",
    "-m",
    "eval.harness",
    "--suite",
    "blocking",
    "--report-path",
    "D:\\work\\CodexFDE\\.course-authoring\\L08\\deep\\candidate-r2\\A-false-green.json"
  ],
  "cwd": "D:\\work\\CodexFDE\\.course-authoring\\L08\\deep\\candidate-r2",
  "harness_exit": 1,
  "adapter_exit": 0,
  "report": {
    "schema_version": "1.0",
    "suite": "blocking",
    "requested_cases": [],
    "generated_at": "2026-09-08T16:16:13.180409+00:00",
    "summary": {
      "total": 3,
      "passed": 2,
      "blocking_failed": 1,
      "observing_failed": 0,
      "decision": "block"
    },
    "results": [
      {
        "name": "l08_atomic_success",
        "level": "blocking",
        "passed": true,
        "duration_ms": 351,
        "evidence": "status=reserved; reserved=[2, 3]; available=[3, 2]; four_tables_unchanged=False",
        "error": null
      },
      {
        "name": "l08_second_shortage",
        "level": "blocking",
        "passed": true,
        "duration_ms": 315,
        "evidence": "status=confirmed; reserved=[0, 0]; available=[5, 2]; four_tables_unchanged=True",
        "error": null
      },
      {
        "name": "l08_second_write_rollback",
        "level": "blocking",
        "passed": false,
        "duration_ms": 323,
        "evidence": "AssertionError: atomic write-error failed; see observed-write-error.txt for full before/after assertion",
        "error": {
          "type": "AssertionError",
          "message": "atomic write-error failed; see observed-write-error.txt for full before/after assertion"
        }
      }
    ]
  },
  "stdout": "[PASS ] l08_atomic_success                     351 ms  status=reserved; reserved=[2, 3]; available=[3, 2]; four_tables_unchanged=False\n[PASS ] l08_second_shortage                    315 ms  status=confirmed; reserved=[0, 0]; available=[5, 2]; four_tables_unchanged=True\n[BLOCK] l08_second_write_rollback              323 ms  AssertionError: atomic write-error failed; see observed-write-error.txt for full before/after assertion\n{\"total\": 3, \"passed\": 2, \"blocking_failed\": 1, \"observing_failed\": 0, \"decision\": \"block\"}\n",
  "stderr": "",
  "observations": {
    "observed-pass.txt": "{\n  \"mode\": \"pass\",\n  \"evidence_kind\": \"actual_service_temporary_database\",\n  \"status\": \"reserved\",\n  \"reserved\": [\n    2,\n    3\n  ],\n  \"available\": [\n    3,\n    2\n  ],\n  \"error\": null,\n  \"all_observed_tables_unchanged\": false,\n  \"observed_tables\": [\n    \"stock_balance\",\n    \"stock_reservations\",\n    \"sales_document_lines\",\n    \"sales_documents\"\n  ],\n  \"before\": {\n    \"stock_balance\": [\n      {\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"product_id\": \"PRD-C484D2053A3C4E06A4A310C3BED8F47F\",\n        \"location_id\": \"LOC-MAIN-STOCK\",\n        \"lot_id\": \"\",\n        \"on_hand\": 5,\n        \"reserved\": 0,\n        \"incoming\": 0,\n        \"outgoing\": 0,\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 2\n      },\n      {\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"product_id\": \"PRD-808B595F193144C6B59D4C62054CF89F\",\n        \"location_id\": \"LOC-MAIN-STOCK\",\n        \"lot_id\": \"\",\n        \"on_hand\": 5,\n        \"reserved\": 0,\n        \"incoming\": 0,\n        \"outgoing\": 0,\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 2\n      }\n    ],\n    \"stock_reservations\": [],\n    \"sales_document_lines\": [\n      {\n        \"id\": \"SOL-0935627A52AA43BE83BC2922CB4D2BAF\",\n        \"document_id\": \"SAL-3B180C3CA33A48909FDDA97219C42B51\",\n        \"line_number\": 1,\n        \"product_id\": \"PRD-C484D2053A3C4E06A4A310C3BED8F47F\",\n        \"description\": \"A\",\n        \"ordered_quantity\": 2,\n        \"reserved_quantity\": 0,\n        \"shipped_quantity\": 0,\n        \"returned_quantity\": 0,\n        \"unit_price_cents\": 1000,\n        \"discount_basis_points\": 0,\n        \"tax_rate_basis_points\": 1300,\n        \"net_cents\": 2000,\n        \"tax_cents\": 260,\n        \"total_cents\": 2260,\n        \"warehouse_id\": \"SITE-MAIN\"\n      },\n      {\n        \"id\": \"SOL-CA2BEC4BA1924A94AE9B52F77D03D879\",\n        \"document_id\": \"SAL-3B180C3CA33A48909FDDA97219C42B51\",\n        \"line_number\": 2,\n        \"product_id\": \"PRD-808B595F193144C6B59D4C62054CF89F\",\n        \"description\": \"B\",\n        \"ordered_quantity\": 3,\n        \"reserved_quantity\": 0,\n        \"shipped_quantity\": 0,\n        \"returned_quantity\": 0,\n        \"unit_price_cents\": 1000,\n        \"discount_basis_points\": 0,\n        \"tax_rate_basis_points\": 1300,\n        \"net_cents\": 3000,\n        \"tax_cents\": 390,\n        \"total_cents\": 3390,\n        \"warehouse_id\": \"SITE-MAIN\"\n      }\n    ],\n    \"sales_documents\": [\n      {\n        \"id\": \"SAL-3B180C3CA33A48909FDDA97219C42B51\",\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"document_number\": \"SO-20260909-00001\",\n        \"document_type\": \"order\",\n        \"customer_id\": \"CUS-E8709E4A014047CBAB257A39163D20E0\",\n        \"status\": \"confirmed\",\n        \"order_date\": \"2026-09-09\",\n        \"requested_delivery_date\": null,\n        \"currency\": \"CNY\",\n        \"exchange_rate_micros\": 1000000,\n        \"subtotal_cents\": 5000,\n        \"discount_cents\": 0,\n        \"tax_cents\": 650,\n        \"freight_cents\": 0,\n        \"total_cents\": 5650,\n        \"paid_cents\": 0,\n        \"shipping_address\": \"\",\n        \"billing_address\": \"\",\n        \"channel\": \"direct\",\n        \"external_reference\": \"__internal__:SAL-3B180C3CA33A48909FDDA97219C42B51\",\n        \"notes\": \"\",\n        \"cancellation_reason\": \"\",\n        \"confirmed_at\": \"2026-09-08 16:16:12\",\n        \"shipped_at\": null,\n        \"cancelled_at\": null,\n        \"created_by\": \"system\",\n        \"created_at\": \"2026-09-08 16:16:12\",\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 2\n      }\n    ]\n  },\n  \"after\": {\n    \"stock_balance\": [\n      {\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"product_id\": \"PRD-C484D2053A3C4E06A4A310C3BED8F47F\",\n        \"location_id\": \"LOC-MAIN-STOCK\",\n        \"lot_id\": \"\",\n        \"on_hand\": 5,\n        \"reserved\": 2,\n        \"incoming\": 0,\n        \"outgoing\": 2,\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 3\n      },\n      {\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"product_id\": \"PRD-808B595F193144C6B59D4C62054CF89F\",\n        \"location_id\": \"LOC-MAIN-STOCK\",\n        \"lot_id\": \"\",\n        \"on_hand\": 5,\n        \"reserved\": 3,\n        \"incoming\": 0,\n        \"outgoing\": 3,\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 3\n      }\n    ],\n    \"stock_reservations\": [\n      {\n        \"id\": \"RSV-689E1C35118F4470BDD2BE9820344D06\",\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"product_id\": \"PRD-C484D2053A3C4E06A4A310C3BED8F47F\",\n        \"location_id\": \"LOC-MAIN-STOCK\",\n        \"lot_id\": \"\",\n        \"reference_type\": \"sales_order\",\n        \"reference_id\": \"SAL-3B180C3CA33A48909FDDA97219C42B51\",\n        \"reference_line_id\": \"SOL-0935627A52AA43BE83BC2922CB4D2BAF\",\n        \"quantity\": 2,\n        \"status\": \"active\",\n        \"created_at\": \"2026-09-08 16:16:12\",\n        \"released_at\": null,\n        \"claimed_by_shipment_id\": null\n      },\n      {\n        \"id\": \"RSV-605D5F8FF6F04121A8679AA9E2F6A17E\",\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"product_id\": \"PRD-808B595F193144C6B59D4C62054CF89F\",\n        \"location_id\": \"LOC-MAIN-STOCK\",\n        \"lot_id\": \"\",\n        \"reference_type\": \"sales_order\",\n        \"reference_id\": \"SAL-3B180C3CA33A48909FDDA97219C42B51\",\n        \"reference_line_id\": \"SOL-CA2BEC4BA1924A94AE9B52F77D03D879\",\n        \"quantity\": 3,\n        \"status\": \"active\",\n        \"created_at\": \"2026-09-08 16:16:12\",\n        \"released_at\": null,\n        \"claimed_by_shipment_id\": null\n      }\n    ],\n    \"sales_document_lines\": [\n      {\n        \"id\": \"SOL-0935627A52AA43BE83BC2922CB4D2BAF\",\n        \"document_id\": \"SAL-3B180C3CA33A48909FDDA97219C42B51\",\n        \"line_number\": 1,\n        \"product_id\": \"PRD-C484D2053A3C4E06A4A310C3BED8F47F\",\n        \"description\": \"A\",\n        \"ordered_quantity\": 2,\n        \"reserved_quantity\": 2,\n        \"shipped_quantity\": 0,\n        \"returned_quantity\": 0,\n        \"unit_price_cents\": 1000,\n        \"discount_basis_points\": 0,\n        \"tax_rate_basis_points\": 1300,\n        \"net_cents\": 2000,\n        \"tax_cents\": 260,\n        \"total_cents\": 2260,\n        \"warehouse_id\": \"SITE-MAIN\"\n      },\n      {\n        \"id\": \"SOL-CA2BEC4BA1924A94AE9B52F77D03D879\",\n        \"document_id\": \"SAL-3B180C3CA33A48909FDDA97219C42B51\",\n        \"line_number\": 2,\n        \"product_id\": \"PRD-808B595F193144C6B59D4C62054CF89F\",\n        \"description\": \"B\",\n        \"ordered_quantity\": 3,\n        \"reserved_quantity\": 3,\n        \"shipped_quantity\": 0,\n        \"returned_quantity\": 0,\n        \"unit_price_cents\": 1000,\n        \"discount_basis_points\": 0,\n        \"tax_rate_basis_points\": 1300,\n        \"net_cents\": 3000,\n        \"tax_cents\": 390,\n        \"total_cents\": 3390,\n        \"warehouse_id\": \"SITE-MAIN\"\n      }\n    ],\n    \"sales_documents\": [\n      {\n        \"id\": \"SAL-3B180C3CA33A48909FDDA97219C42B51\",\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"document_number\": \"SO-20260909-00001\",\n        \"document_type\": \"order\",\n        \"customer_id\": \"CUS-E8709E4A014047CBAB257A39163D20E0\",\n        \"status\": \"reserved\",\n        \"order_date\": \"2026-09-09\",\n        \"requested_delivery_date\": null,\n        \"currency\": \"CNY\",\n        \"exchange_rate_micros\": 1000000,\n        \"subtotal_cents\": 5000,\n        \"discount_cents\": 0,\n        \"tax_cents\": 650,\n        \"freight_cents\": 0,\n        \"total_cents\": 5650,\n        \"paid_cents\": 0,\n        \"shipping_address\": \"\",\n        \"billing_address\": \"\",\n        \"channel\": \"direct\",\n        \"external_reference\": \"__internal__:SAL-3B180C3CA33A48909FDDA97219C42B51\",\n        \"notes\": \"\",\n        \"cancellation_reason\": \"\",\n        \"confirmed_at\": \"2026-09-08 16:16:12\",\n        \"shipped_at\": null,\n        \"cancelled_at\": null,\n        \"created_by\": \"system\",\n        \"created_at\": \"2026-09-08 16:16:12\",\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 3\n      }\n    ]\n  },\n  \"real_remote_run\": false\n}\n",
    "observed-shortage.txt": "{\n  \"mode\": \"shortage\",\n  \"evidence_kind\": \"actual_service_temporary_database\",\n  \"status\": \"confirmed\",\n  \"reserved\": [\n    0,\n    0\n  ],\n  \"available\": [\n    5,\n    2\n  ],\n  \"error\": {\n    \"type\": \"InsufficientStock\",\n    \"message\": \"SKU L08-B 库存不足：需要 3，可用 2，缺口 1\"\n  },\n  \"all_observed_tables_unchanged\": true,\n  \"observed_tables\": [\n    \"stock_balance\",\n    \"stock_reservations\",\n    \"sales_document_lines\",\n    \"sales_documents\"\n  ],\n  \"before\": {\n    \"stock_balance\": [\n      {\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"product_id\": \"PRD-A193F0A8009C45AB859F3D2A628AF605\",\n        \"location_id\": \"LOC-MAIN-STOCK\",\n        \"lot_id\": \"\",\n        \"on_hand\": 5,\n        \"reserved\": 0,\n        \"incoming\": 0,\n        \"outgoing\": 0,\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 2\n      },\n      {\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"product_id\": \"PRD-D8BAF9D7CF194275B8383B987E940AC6\",\n        \"location_id\": \"LOC-MAIN-STOCK\",\n        \"lot_id\": \"\",\n        \"on_hand\": 2,\n        \"reserved\": 0,\n        \"incoming\": 0,\n        \"outgoing\": 0,\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 2\n      }\n    ],\n    \"stock_reservations\": [],\n    \"sales_document_lines\": [\n      {\n        \"id\": \"SOL-D56098033C1948CC9F7E10DC17FEC47D\",\n        \"document_id\": \"SAL-2EF249CFE51047DD938DD49F8B8ED675\",\n        \"line_number\": 1,\n        \"product_id\": \"PRD-A193F0A8009C45AB859F3D2A628AF605\",\n        \"description\": \"A\",\n        \"ordered_quantity\": 2,\n        \"reserved_quantity\": 0,\n        \"shipped_quantity\": 0,\n        \"returned_quantity\": 0,\n        \"unit_price_cents\": 1000,\n        \"discount_basis_points\": 0,\n        \"tax_rate_basis_points\": 1300,\n        \"net_cents\": 2000,\n        \"tax_cents\": 260,\n        \"total_cents\": 2260,\n        \"warehouse_id\": \"SITE-MAIN\"\n      },\n      {\n        \"id\": \"SOL-889BEBFF74814C5BBB378315C5B673E9\",\n        \"document_id\": \"SAL-2EF249CFE51047DD938DD49F8B8ED675\",\n        \"line_number\": 2,\n        \"product_id\": \"PRD-D8BAF9D7CF194275B8383B987E940AC6\",\n        \"description\": \"B\",\n        \"ordered_quantity\": 3,\n        \"reserved_quantity\": 0,\n        \"shipped_quantity\": 0,\n        \"returned_quantity\": 0,\n        \"unit_price_cents\": 1000,\n        \"discount_basis_points\": 0,\n        \"tax_rate_basis_points\": 1300,\n        \"net_cents\": 3000,\n        \"tax_cents\": 390,\n        \"total_cents\": 3390,\n        \"warehouse_id\": \"SITE-MAIN\"\n      }\n    ],\n    \"sales_documents\": [\n      {\n        \"id\": \"SAL-2EF249CFE51047DD938DD49F8B8ED675\",\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"document_number\": \"SO-20260909-00001\",\n        \"document_type\": \"order\",\n        \"customer_id\": \"CUS-947BF25AE6BE4833B739A5A5F35D5BDA\",\n        \"status\": \"confirmed\",\n        \"order_date\": \"2026-09-09\",\n        \"requested_delivery_date\": null,\n        \"currency\": \"CNY\",\n        \"exchange_rate_micros\": 1000000,\n        \"subtotal_cents\": 5000,\n        \"discount_cents\": 0,\n        \"tax_cents\": 650,\n        \"freight_cents\": 0,\n        \"total_cents\": 5650,\n        \"paid_cents\": 0,\n        \"shipping_address\": \"\",\n        \"billing_address\": \"\",\n        \"channel\": \"direct\",\n        \"external_reference\": \"__internal__:SAL-2EF249CFE51047DD938DD49F8B8ED675\",\n        \"notes\": \"\",\n        \"cancellation_reason\": \"\",\n        \"confirmed_at\": \"2026-09-08 16:16:12\",\n        \"shipped_at\": null,\n        \"cancelled_at\": null,\n        \"created_by\": \"system\",\n        \"created_at\": \"2026-09-08 16:16:12\",\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 2\n      }\n    ]\n  },\n  \"after\": {\n    \"stock_balance\": [\n      {\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"product_id\": \"PRD-A193F0A8009C45AB859F3D2A628AF605\",\n        \"location_id\": \"LOC-MAIN-STOCK\",\n        \"lot_id\": \"\",\n        \"on_hand\": 5,\n        \"reserved\": 0,\n        \"incoming\": 0,\n        \"outgoing\": 0,\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 2\n      },\n      {\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"product_id\": \"PRD-D8BAF9D7CF194275B8383B987E940AC6\",\n        \"location_id\": \"LOC-MAIN-STOCK\",\n        \"lot_id\": \"\",\n        \"on_hand\": 2,\n        \"reserved\": 0,\n        \"incoming\": 0,\n        \"outgoing\": 0,\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 2\n      }\n    ],\n    \"stock_reservations\": [],\n    \"sales_document_lines\": [\n      {\n        \"id\": \"SOL-D56098033C1948CC9F7E10DC17FEC47D\",\n        \"document_id\": \"SAL-2EF249CFE51047DD938DD49F8B8ED675\",\n        \"line_number\": 1,\n        \"product_id\": \"PRD-A193F0A8009C45AB859F3D2A628AF605\",\n        \"description\": \"A\",\n        \"ordered_quantity\": 2,\n        \"reserved_quantity\": 0,\n        \"shipped_quantity\": 0,\n        \"returned_quantity\": 0,\n        \"unit_price_cents\": 1000,\n        \"discount_basis_points\": 0,\n        \"tax_rate_basis_points\": 1300,\n        \"net_cents\": 2000,\n        \"tax_cents\": 260,\n        \"total_cents\": 2260,\n        \"warehouse_id\": \"SITE-MAIN\"\n      },\n      {\n        \"id\": \"SOL-889BEBFF74814C5BBB378315C5B673E9\",\n        \"document_id\": \"SAL-2EF249CFE51047DD938DD49F8B8ED675\",\n        \"line_number\": 2,\n        \"product_id\": \"PRD-D8BAF9D7CF194275B8383B987E940AC6\",\n        \"description\": \"B\",\n        \"ordered_quantity\": 3,\n        \"reserved_quantity\": 0,\n        \"shipped_quantity\": 0,\n        \"returned_quantity\": 0,\n        \"unit_price_cents\": 1000,\n        \"discount_basis_points\": 0,\n        \"tax_rate_basis_points\": 1300,\n        \"net_cents\": 3000,\n        \"tax_cents\": 390,\n        \"total_cents\": 3390,\n        \"warehouse_id\": \"SITE-MAIN\"\n      }\n    ],\n    \"sales_documents\": [\n      {\n        \"id\": \"SAL-2EF249CFE51047DD938DD49F8B8ED675\",\n        \"organization_id\": \"ORG-DEFAULT\",\n        \"document_number\": \"SO-20260909-00001\",\n        \"document_type\": \"order\",\n        \"customer_id\": \"CUS-947BF25AE6BE4833B739A5A5F35D5BDA\",\n        \"status\": \"confirmed\",\n        \"order_date\": \"2026-09-09\",\n        \"requested_delivery_date\": null,\n        \"currency\": \"CNY\",\n        \"exchange_rate_micros\": 1000000,\n        \"subtotal_cents\": 5000,\n        \"discount_cents\": 0,\n        \"tax_cents\": 650,\n        \"freight_cents\": 0,\n        \"total_cents\": 5650,\n        \"paid_cents\": 0,\n        \"shipping_address\": \"\",\n        \"billing_address\": \"\",\n        \"channel\": \"direct\",\n        \"external_reference\": \"__internal__:SAL-2EF249CFE51047DD938DD49F8B8ED675\",\n        \"notes\": \"\",\n        \"cancellation_reason\": \"\",\n        \"confirmed_at\": \"2026-09-08 16:16:12\",\n        \"shipped_at\": null,\n        \"cancelled_at\": null,\n        \"created_by\": \"system\",\n        \"created_at\": \"2026-09-08 16:16:12\",\n        \"updated_at\": \"2026-09-08 16:16:12\",\n        \"version\": 2\n      }\n    ]\n  },\n  \"real_remote_run\": false\n}\n",
    "observed-write-error.txt": "Traceback (most recent call last):\n  File \"D:\\work\\CodexFDE\\.course-authoring\\L08\\deep\\candidate-r2\\atomic_lab.py\", line 79, in <module>\n    print(json.dumps(run(parser.parse_args().mode), ensure_ascii=False, indent=2))\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"D:\\work\\CodexFDE\\.course-authoring\\L08\\deep\\candidate-r2\\atomic_lab.py\", line 60, in run\n    assert error is not None and before == after, (error, before, after)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: ({'type': 'IntegrityError', 'message': 'L08 injected second-write failure'}, {'stock_balance': [{'organization_id': 'ORG-DEFAULT', 'product_id': 'PRD-8F6E147DFA0641348896D55A226AE7AD', 'location_id': 'LOC-MAIN-STOCK', 'lot_id': '', 'on_hand': 5, 'reserved': 0, 'incoming': 0, 'outgoing': 0, 'updated_at': '2026-09-08 16:16:13', 'version': 2}, {'organization_id': 'ORG-DEFAULT', 'product_id': 'PRD-95E3ADB4DB764D7CAC8E7750CBEB7DF9', 'location_id': 'LOC-MAIN-STOCK', 'lot_id': '', 'on_hand': 5, 'reserved': 0, 'incoming': 0, 'outgoing': 0, 'updated_at': '2026-09-08 16:16:13', 'version': 2}], 'stock_reservations': [], 'sales_document_lines': [{'id': 'SOL-E72A2DA211224CFD97E18E97536A683A', 'document_id': 'SAL-808DC1079082477AB2A06808274BC3F9', 'line_number': 1, 'product_id': 'PRD-8F6E147DFA0641348896D55A226AE7AD', 'description': 'A', 'ordered_quantity': 2, 'reserved_quantity': 0, 'shipped_quantity': 0, 'returned_quantity': 0, 'unit_price_cents': 1000, 'discount_basis_points': 0, 'tax_rate_basis_points': 1300, 'net_cents': 2000, 'tax_cents': 260, 'total_cents': 2260, 'warehouse_id': 'SITE-MAIN'}, {'id': 'SOL-879BE2D904294091BC3438EF86F27C0E', 'document_id': 'SAL-808DC1079082477AB2A06808274BC3F9', 'line_number': 2, 'product_id': 'PRD-95E3ADB4DB764D7CAC8E7750CBEB7DF9', 'description': 'B', 'ordered_quantity': 3, 'reserved_quantity': 0, 'shipped_quantity': 0, 'returned_quantity': 0, 'unit_price_cents': 1000, 'discount_basis_points': 0, 'tax_rate_basis_points': 1300, 'net_cents': 3000, 'tax_cents': 390, 'total_cents': 3390, 'warehouse_id': 'SITE-MAIN'}], 'sales_documents': [{'id': 'SAL-808DC1079082477AB2A06808274BC3F9', 'organization_id': 'ORG-DEFAULT', 'document_number': 'SO-20260909-00001', 'document_type': 'order', 'customer_id': 'CUS-7D9827CF1EF3492DA0A6ACCECE6E6DBA', 'status': 'confirmed', 'order_date': '2026-09-09', 'requested_delivery_date': None, 'currency': 'CNY', 'exchange_rate_micros': 1000000, 'subtotal_cents': 5000, 'discount_cents': 0, 'tax_cents': 650, 'freight_cents': 0, 'total_cents': 5650, 'paid_cents': 0, 'shipping_address': '', 'billing_address': '', 'channel': 'direct', 'external_reference': '__internal__:SAL-808DC1079082477AB2A06808274BC3F9', 'notes': '', 'cancellation_reason': '', 'confirmed_at': '2026-09-08 16:16:13', 'shipped_at': None, 'cancelled_at': None, 'created_by': 'system', 'created_at': '2026-09-08 16:16:13', 'updated_at': '2026-09-08 16:16:13', 'version': 2}]}, {'stock_balance': [{'organization_id': 'ORG-DEFAULT', 'product_id': 'PRD-8F6E147DFA0641348896D55A226AE7AD', 'location_id': 'LOC-MAIN-STOCK', 'lot_id': '', 'on_hand': 5, 'reserved': 2, 'incoming': 0, 'outgoing': 2, 'updated_at': '2026-09-08 16:16:13', 'version': 3}, {'organization_id': 'ORG-DEFAULT', 'product_id': 'PRD-95E3ADB4DB764D7CAC8E7750CBEB7DF9', 'location_id': 'LOC-MAIN-STOCK', 'lot_id': '', 'on_hand': 5, 'reserved': 0, 'incoming': 0, 'outgoing': 0, 'updated_at': '2026-09-08 16:16:13', 'version': 2}], 'stock_reservations': [{'id': 'RSV-5FA130EB13F343D4B02EC38A8FCCB206', 'organization_id': 'ORG-DEFAULT', 'product_id': 'PRD-8F6E147DFA0641348896D55A226AE7AD', 'location_id': 'LOC-MAIN-STOCK', 'lot_id': '', 'reference_type': 'sales_order', 'reference_id': 'SAL-808DC1079082477AB2A06808274BC3F9', 'reference_line_id': 'SOL-E72A2DA211224CFD97E18E97536A683A', 'quantity': 2, 'status': 'active', 'created_at': '2026-09-08 16:16:13', 'released_at': None, 'claimed_by_shipment_id': None}], 'sales_document_lines': [{'id': 'SOL-E72A2DA211224CFD97E18E97536A683A', 'document_id': 'SAL-808DC1079082477AB2A06808274BC3F9', 'line_number': 1, 'product_id': 'PRD-8F6E147DFA0641348896D55A226AE7AD', 'description': 'A', 'ordered_quantity': 2, 'reserved_quantity': 2, 'shipped_quantity': 0, 'returned_quantity': 0, 'unit_price_cents': 1000, 'discount_basis_points': 0, 'tax_rate_basis_points': 1300, 'net_cents': 2000, 'tax_cents': 260, 'total_cents': 2260, 'warehouse_id': 'SITE-MAIN'}, {'id': 'SOL-879BE2D904294091BC3438EF86F27C0E', 'document_id': 'SAL-808DC1079082477AB2A06808274BC3F9', 'line_number': 2, 'product_id': 'PRD-95E3ADB4DB764D7CAC8E7750CBEB7DF9', 'description': 'B', 'ordered_quantity': 3, 'reserved_quantity': 0, 'shipped_quantity': 0, 'returned_quantity': 0, 'unit_price_cents': 1000, 'discount_basis_points': 0, 'tax_rate_basis_points': 1300, 'net_cents': 3000, 'tax_cents': 390, 'total_cents': 3390, 'warehouse_id': 'SITE-MAIN'}], 'sales_documents': [{'id': 'SAL-808DC1079082477AB2A06808274BC3F9', 'organization_id': 'ORG-DEFAULT', 'document_number': 'SO-20260909-00001', 'document_type': 'order', 'customer_id': 'CUS-7D9827CF1EF3492DA0A6ACCECE6E6DBA', 'status': 'confirmed', 'order_date': '2026-09-09', 'requested_delivery_date': None, 'currency': 'CNY', 'exchange_rate_micros': 1000000, 'subtotal_cents': 5000, 'discount_cents': 0, 'tax_cents': 650, 'freight_cents': 0, 'total_cents': 5650, 'paid_cents': 0, 'shipping_address': '', 'billing_address': '', 'channel': 'direct', 'external_reference': '__internal__:SAL-808DC1079082477AB2A06808274BC3F9', 'notes': '', 'cancellation_reason': '', 'confirmed_at': '2026-09-08 16:16:13', 'shipped_at': None, 'cancelled_at': None, 'created_by': 'system', 'created_at': '2026-09-08 16:16:13', 'updated_at': '2026-09-08 16:16:13', 'version': 2}]})\n"
  },
  "product_sha256": "5b0e38ab97ff236c7e79bc5e8ffe55eab3a815d3614aa10761fd919126050322",
  "check_sha256": "b657e1971886c067325bca24ca8e44ffa592456ca535a8d81f543c0da2eb2d61",
  "real_remote_run": false,
  "evidence_kind": "local real candidate product and Harness; explicit teaching outer exit adapter",
  "adapter_command": [
    "D:\\work\\CodexFDE\\.venv\\Scripts\\python.exe",
    "-X",
    "utf8",
    "ci_adapter.py",
    "swallow",
    "D:\\work\\CodexFDE\\.course-authoring\\L08\\deep\\candidate-r2\\A-false-green.json"
  ]
}