{
  "id": "agent-deterministic-execution-trace",
  "chapter": "ai-agent",
  "title": "Deterministic local agent-like execution trace",
  "synthetic": true,
  "executionId": "demo-run-001",
  "runtime": "Python 3 standard library",
  "seed": 17,
  "networkCalls": 0,
  "credentialsUsed": false,
  "paidServicesUsed": false,
  "input": {
    "taskId": "DEMO-AGENT-01",
    "event": {
      "event": "auth_failed",
      "host": "lab-02",
      "src_ip": "203.0.113.42",
      "user": "demo",
      "trace": "T-0007"
    },
    "mode": "dry-run"
  },
  "inputSha256": "80f9115f86ea1a7250df44d133979474dfae26763c751951cfe4a9283a403a9b",
  "trace": [
    {
      "seq": 1,
      "action": "read-synthetic-fixture",
      "result": "PASS",
      "taskId": "DEMO-AGENT-01"
    },
    {
      "seq": 2,
      "action": "validate-required-fields",
      "result": "PASS",
      "fields": [
        "event",
        "host",
        "src_ip",
        "user",
        "trace"
      ]
    },
    {
      "seq": 3,
      "action": "classify-source-address",
      "result": "PASS",
      "classification": "documentation-only test range"
    },
    {
      "seq": 4,
      "action": "choose-next-step",
      "result": "REVIEW",
      "decision": "show local educational explanation"
    },
    {
      "seq": 5,
      "action": "external-action-gate",
      "result": "NOT-RUN",
      "reason": "dry-run fixture; no external service or account"
    }
  ],
  "finalStatus": "REVIEW",
  "policy": "The demonstration stops before any external action; the synthetic record is not a real incident."
}
