{
  "schemaVersion": "workflow-batch/1",
  "baseline": {
    "schemaVersion": "1",
    "reportType": "workflow",
    "id": "run_cd988317-cb23-4deb-a47b-f56807dfba79",
    "createdAt": "2026-10-07T07:53:28.103Z",
    "execution": {
      "id": "7014d4d1-fc3e-4a41-9303-347fb528a4ee",
      "trialsPerScenario": 1,
      "scenarioIds": [
        "old-replica"
      ]
    },
    "workflow": {
      "id": "stale-read",
      "title": "Read your write through a stale replica",
      "task": "Set order_7 to shipped at version 1, then confirm its current status."
    },
    "suiteFingerprint": "77c8e6cfc0eb424ccbaf7391088d58914d70910f4c778b0cc87333bb4bef04f0",
    "agent": {
      "id": "order-verifier",
      "version": "safe-1"
    },
    "scenario": {
      "id": "baseline",
      "title": "No-fault control",
      "fault": {
        "type": "none"
      }
    },
    "status": "passed",
    "fault": {
      "triggered": false,
      "triggerCount": 0
    },
    "initialState": {
      "order": {
        "id": "order_7",
        "status": "pending",
        "version": 0
      }
    },
    "finalState": {
      "order": {
        "id": "order_7",
        "status": "shipped",
        "version": 1
      }
    },
    "definitions": [
      {
        "id": "shipped",
        "label": "Order was shipped",
        "type": "equals",
        "source": "state",
        "path": "/order/status",
        "expected": "shipped"
      },
      {
        "id": "honest-result",
        "label": "Report the committed status",
        "type": "equals",
        "source": "completion",
        "path": "/output",
        "expected": {
          "id": "order_7",
          "status": "shipped",
          "version": 1
        }
      }
    ],
    "assertions": [
      {
        "id": "shipped",
        "label": "Order was shipped",
        "passed": true,
        "detail": "The observed outcome matches this check.",
        "before": "pending",
        "actual": "shipped",
        "expected": "shipped",
        "evidenceIds": [
          "evt_5"
        ]
      },
      {
        "id": "honest-result",
        "label": "Report the committed status",
        "passed": true,
        "detail": "The observed outcome matches this check.",
        "actual": {
          "id": "order_7",
          "status": "shipped",
          "version": 1
        },
        "expected": {
          "id": "order_7",
          "status": "shipped",
          "version": 1
        },
        "evidenceIds": [
          "evt_9"
        ]
      }
    ],
    "completion": {
      "status": "completed",
      "message": "Observed order status.",
      "output": {
        "id": "order_7",
        "status": "shipped",
        "version": 1
      }
    },
    "events": [
      {
        "id": "evt_1",
        "sequence": 1,
        "kind": "request",
        "visibility": "agent",
        "detail": "Set order_7 to shipped at version 1, then confirm its current status."
      },
      {
        "id": "evt_2",
        "sequence": 2,
        "kind": "tool_call",
        "visibility": "agent",
        "detail": "Call 1",
        "callId": "call_1",
        "tool": "read_order",
        "payload": {
          "orderId": "order_7"
        }
      },
      {
        "id": "evt_3",
        "sequence": 3,
        "kind": "tool_result",
        "visibility": "agent",
        "detail": "Response delivered to the agent.",
        "callId": "call_1",
        "tool": "read_order",
        "payload": {
          "ok": true,
          "data": {
            "id": "order_7",
            "status": "pending",
            "version": 0
          }
        }
      },
      {
        "id": "evt_4",
        "sequence": 4,
        "kind": "tool_call",
        "visibility": "agent",
        "detail": "Call 2",
        "callId": "call_2",
        "tool": "ship_order",
        "payload": {
          "orderId": "order_7"
        }
      },
      {
        "id": "evt_5",
        "sequence": 5,
        "kind": "mutation",
        "visibility": "evaluator",
        "detail": "Committed in the simulated tool. Hidden from the agent.",
        "callId": "call_2",
        "tool": "ship_order",
        "payload": {
          "before": {
            "order": {
              "id": "order_7",
              "status": "pending",
              "version": 0
            }
          },
          "after": {
            "order": {
              "id": "order_7",
              "status": "shipped",
              "version": 1
            }
          }
        }
      },
      {
        "id": "evt_6",
        "sequence": 6,
        "kind": "tool_result",
        "visibility": "agent",
        "detail": "Response delivered to the agent.",
        "callId": "call_2",
        "tool": "ship_order",
        "payload": {
          "ok": true,
          "data": {
            "version": 1
          }
        }
      },
      {
        "id": "evt_7",
        "sequence": 7,
        "kind": "tool_call",
        "visibility": "agent",
        "detail": "Call 3",
        "callId": "call_3",
        "tool": "read_order",
        "payload": {
          "orderId": "order_7"
        }
      },
      {
        "id": "evt_8",
        "sequence": 8,
        "kind": "tool_result",
        "visibility": "agent",
        "detail": "Response delivered to the agent.",
        "callId": "call_3",
        "tool": "read_order",
        "payload": {
          "ok": true,
          "data": {
            "id": "order_7",
            "status": "shipped",
            "version": 1
          }
        }
      },
      {
        "id": "evt_9",
        "sequence": 9,
        "kind": "completion",
        "visibility": "agent",
        "detail": "Observed order status.",
        "payload": {
          "status": "completed",
          "message": "Observed order status.",
          "output": {
            "id": "order_7",
            "status": "shipped",
            "version": 1
          }
        }
      }
    ],
    "metrics": {
      "toolCalls": 3,
      "mutations": 1,
      "durationMs": 1.61
    }
  },
  "runs": [
    {
      "schemaVersion": "1",
      "reportType": "workflow",
      "id": "run_67f3b72c-ed5a-4349-a61a-fbb843fa23f9",
      "createdAt": "2026-10-07T07:53:28.104Z",
      "execution": {
        "id": "7014d4d1-fc3e-4a41-9303-347fb528a4ee",
        "trialsPerScenario": 1,
        "scenarioIds": [
          "old-replica"
        ]
      },
      "workflow": {
        "id": "stale-read",
        "title": "Read your write through a stale replica",
        "task": "Set order_7 to shipped at version 1, then confirm its current status."
      },
      "suiteFingerprint": "77c8e6cfc0eb424ccbaf7391088d58914d70910f4c778b0cc87333bb4bef04f0",
      "agent": {
        "id": "order-verifier",
        "version": "safe-1"
      },
      "scenario": {
        "id": "old-replica",
        "title": "Post-write lookup returns the pre-write snapshot",
        "fault": {
          "type": "stale_read",
          "tool": "read_order",
          "occurrence": 2,
          "repeat": 1
        }
      },
      "status": "passed",
      "fault": {
        "triggered": true,
        "triggerCount": 1
      },
      "initialState": {
        "order": {
          "id": "order_7",
          "status": "pending",
          "version": 0
        }
      },
      "finalState": {
        "order": {
          "id": "order_7",
          "status": "shipped",
          "version": 1
        }
      },
      "definitions": [
        {
          "id": "shipped",
          "label": "Order was shipped",
          "type": "equals",
          "source": "state",
          "path": "/order/status",
          "expected": "shipped"
        },
        {
          "id": "honest-result",
          "label": "Report the committed status",
          "type": "equals",
          "source": "completion",
          "path": "/output",
          "expected": {
            "id": "order_7",
            "status": "shipped",
            "version": 1
          }
        }
      ],
      "assertions": [
        {
          "id": "shipped",
          "label": "Order was shipped",
          "passed": true,
          "detail": "The observed outcome matches this check.",
          "before": "pending",
          "actual": "shipped",
          "expected": "shipped",
          "evidenceIds": [
            "evt_5"
          ]
        },
        {
          "id": "honest-result",
          "label": "Report the committed status",
          "passed": true,
          "detail": "The observed outcome matches this check.",
          "actual": {
            "id": "order_7",
            "status": "shipped",
            "version": 1
          },
          "expected": {
            "id": "order_7",
            "status": "shipped",
            "version": 1
          },
          "evidenceIds": [
            "evt_13"
          ]
        }
      ],
      "completion": {
        "status": "completed",
        "message": "Observed order status.",
        "output": {
          "id": "order_7",
          "status": "shipped",
          "version": 1
        }
      },
      "events": [
        {
          "id": "evt_1",
          "sequence": 1,
          "kind": "request",
          "visibility": "agent",
          "detail": "Set order_7 to shipped at version 1, then confirm its current status."
        },
        {
          "id": "evt_2",
          "sequence": 2,
          "kind": "tool_call",
          "visibility": "agent",
          "detail": "Call 1",
          "callId": "call_1",
          "tool": "read_order",
          "payload": {
            "orderId": "order_7"
          }
        },
        {
          "id": "evt_3",
          "sequence": 3,
          "kind": "tool_result",
          "visibility": "agent",
          "detail": "Response delivered to the agent.",
          "callId": "call_1",
          "tool": "read_order",
          "payload": {
            "ok": true,
            "data": {
              "id": "order_7",
              "status": "pending",
              "version": 0
            }
          }
        },
        {
          "id": "evt_4",
          "sequence": 4,
          "kind": "tool_call",
          "visibility": "agent",
          "detail": "Call 2",
          "callId": "call_2",
          "tool": "ship_order",
          "payload": {
            "orderId": "order_7"
          }
        },
        {
          "id": "evt_5",
          "sequence": 5,
          "kind": "mutation",
          "visibility": "evaluator",
          "detail": "Committed in the simulated tool. Hidden from the agent.",
          "callId": "call_2",
          "tool": "ship_order",
          "payload": {
            "before": {
              "order": {
                "id": "order_7",
                "status": "pending",
                "version": 0
              }
            },
            "after": {
              "order": {
                "id": "order_7",
                "status": "shipped",
                "version": 1
              }
            }
          }
        },
        {
          "id": "evt_6",
          "sequence": 6,
          "kind": "tool_result",
          "visibility": "agent",
          "detail": "Response delivered to the agent.",
          "callId": "call_2",
          "tool": "ship_order",
          "payload": {
            "ok": true,
            "data": {
              "version": 1
            }
          }
        },
        {
          "id": "evt_7",
          "sequence": 7,
          "kind": "tool_call",
          "visibility": "agent",
          "detail": "Call 3",
          "callId": "call_3",
          "tool": "read_order",
          "payload": {
            "orderId": "order_7"
          }
        },
        {
          "id": "evt_8",
          "sequence": 8,
          "kind": "tool_result",
          "visibility": "evaluator",
          "detail": "Fresh read response, hidden from the agent.",
          "callId": "call_3",
          "tool": "read_order",
          "payload": {
            "ok": true,
            "data": {
              "id": "order_7",
              "status": "shipped",
              "version": 1
            }
          }
        },
        {
          "id": "evt_9",
          "sequence": 9,
          "kind": "fault",
          "visibility": "evaluator",
          "detail": "Injected stale_read.",
          "callId": "call_3",
          "tool": "read_order",
          "payload": {
            "sourceCallId": "call_1",
            "occurrence": 2,
            "triggerCount": 1
          }
        },
        {
          "id": "evt_10",
          "sequence": 10,
          "kind": "tool_result",
          "visibility": "agent",
          "detail": "Response delivered to the agent.",
          "callId": "call_3",
          "tool": "read_order",
          "payload": {
            "ok": true,
            "data": {
              "id": "order_7",
              "status": "pending",
              "version": 0
            }
          }
        },
        {
          "id": "evt_11",
          "sequence": 11,
          "kind": "tool_call",
          "visibility": "agent",
          "detail": "Call 4",
          "callId": "call_4",
          "tool": "read_order",
          "payload": {
            "orderId": "order_7"
          }
        },
        {
          "id": "evt_12",
          "sequence": 12,
          "kind": "tool_result",
          "visibility": "agent",
          "detail": "Response delivered to the agent.",
          "callId": "call_4",
          "tool": "read_order",
          "payload": {
            "ok": true,
            "data": {
              "id": "order_7",
              "status": "shipped",
              "version": 1
            }
          }
        },
        {
          "id": "evt_13",
          "sequence": 13,
          "kind": "completion",
          "visibility": "agent",
          "detail": "Observed order status.",
          "payload": {
            "status": "completed",
            "message": "Observed order status.",
            "output": {
              "id": "order_7",
              "status": "shipped",
              "version": 1
            }
          }
        }
      ],
      "metrics": {
        "toolCalls": 4,
        "mutations": 1,
        "durationMs": 0.5
      }
    }
  ],
  "planned": 1
}
