{
  "schemaVersion": 1,
  "kind": "acceptance-specification-not-execution",
  "firstFlow": "edit-draft-order",
  "initialCounts": {
    "orders": 3,
    "items": 6
  },
  "noteReads": [
    {
      "order": "ORD-2026-1001",
      "selected": true,
      "state": "Value",
      "value": "Leave at reception",
      "withNullDefault": "Leave at reception"
    },
    {
      "order": "ORD-2026-1002",
      "selected": true,
      "state": "Null",
      "value": null,
      "withNullDefault": "No note"
    },
    {
      "order": "ORD-2026-1003",
      "selected": true,
      "state": "Value",
      "value": "",
      "withNullDefault": ""
    },
    {
      "order": "ORD-2026-1001",
      "selected": false,
      "state": "NotLoaded",
      "evalOutcome": "missing-field-error",
      "withNullDefaultOutcome": "missing-field-error"
    }
  ],
  "edit": {
    "order": "ORD-2026-1001",
    "sku": "SKU-NOTEBOOK",
    "newQuantity": 3,
    "expectedLineTotalMinor": 3750,
    "expectedOrderTotalMinor": 5100,
    "unchangedSkus": [
      "SKU-PEN"
    ],
    "unchangedOrders": [
      "ORD-2026-1002",
      "ORD-2026-1003"
    ],
    "orderVersionBefore": 1,
    "orderVersionAfter": 2,
    "changedItemVersionBefore": 1,
    "changedItemVersionAfter": 2,
    "unchangedItemVersion": 1
  },
  "invalidQuantities": [
    0,
    -1,
    1.5,
    101
  ],
  "invalidWriteExpectation": "validation rejection before save; all persisted business fields, versions and timestamps unchanged",
  "readback": "new native process and independent read-only SQLite comparison; compare all business fields, relations, row counts and versions; allow only changed entities update_time to advance",
  "evidenceBoundary": "This file declares expected outcomes. It is not a native application or a database verification receipt."
}
