{
  "$schema": "https://sous.pras.ai/schema/v0/run.schema.json",
  "sous_version": "0.7.0",
  "run_id": "dal-tadka--home-kitchen",
  "schedule": {
    "recipe": "sous.example/dal-tadka",
    "kitchen": "sous.example/home-kitchen",
    "title": "Dal Tadka",
    "makespan_s": 2880,
    "digest": "sha256:e8c5664cd30a52c5"
  },
  "executor": {
    "name": "sous_run",
    "version": "1.0",
    "clock": "simulated"
  },
  "status": "aborted",
  "makespan_s": 2796,
  "steps": [
    {
      "id": "t_boil_dal",
      "op": "boil",
      "status": "done",
      "planned_start_s": 0,
      "planned_end_s": 2400,
      "actual_start_s": 0,
      "actual_end_s": 1980,
      "ended_by": "until_satisfied",
      "start_delta_s": 0,
      "duration_delta_s": -420
    },
    {
      "id": "t_preheat_tadka",
      "op": "preheat",
      "status": "done",
      "planned_start_s": 0,
      "planned_end_s": 600,
      "actual_start_s": 0,
      "actual_end_s": 235,
      "ended_by": "until_satisfied",
      "start_delta_s": 0,
      "duration_delta_s": -365
    },
    {
      "id": "t_melt_ghee",
      "op": "melt",
      "status": "done",
      "planned_start_s": 600,
      "planned_end_s": 780,
      "actual_start_s": 600,
      "actual_end_s": 695,
      "ended_by": "until_satisfied",
      "start_delta_s": 0,
      "duration_delta_s": -85
    },
    {
      "id": "t_add_tomato",
      "op": "mix",
      "status": "done",
      "planned_start_s": 2400,
      "planned_end_s": 2700,
      "actual_start_s": 2400,
      "actual_end_s": 2700,
      "ended_by": "planned_duration",
      "start_delta_s": 0,
      "duration_delta_s": 0
    },
    {
      "id": "t_temper",
      "op": "fry",
      "status": "failed",
      "planned_start_s": 2700,
      "planned_end_s": 2790,
      "actual_start_s": 2700,
      "actual_end_s": 2796,
      "ended_by": "escalation",
      "start_delta_s": 0,
      "duration_delta_s": 6
    },
    {
      "id": "t_pour_tadka",
      "op": "transfer",
      "status": "skipped"
    },
    {
      "id": "t_garnish",
      "op": "garnish",
      "status": "skipped"
    }
  ],
  "events": [
    {
      "seq": 0,
      "at_s": 0,
      "type": "run_started",
      "detail": "Dal Tadka in sous.example/home-kitchen"
    },
    {
      "seq": 1,
      "at_s": 0,
      "type": "step_started",
      "step": "t_preheat_tadka",
      "detail": "Set the small pan over medium-high heat."
    },
    {
      "seq": 2,
      "at_s": 0,
      "type": "step_started",
      "step": "t_boil_dal",
      "detail": "Simmer the lentils with water and turmeric until they collapse."
    },
    {
      "seq": 3,
      "at_s": 235,
      "type": "observation",
      "step": "t_preheat_tadka",
      "observation": {
        "observable": "equipment_temperature",
        "value": 191,
        "unit": "Cel",
        "satisfied": true,
        "source": "sensor"
      }
    },
    {
      "seq": 4,
      "at_s": 235,
      "type": "deviation",
      "step": "t_preheat_tadka",
      "deviation": {
        "kind": "ran_short",
        "planned_s": 600,
        "actual_s": 235,
        "delta_s": -365,
        "detail": "t_preheat_tadka took 235s against a planned 600s"
      }
    },
    {
      "seq": 5,
      "at_s": 235,
      "type": "step_finished",
      "step": "t_preheat_tadka",
      "detail": "ended by until_satisfied"
    },
    {
      "seq": 6,
      "at_s": 600,
      "type": "step_started",
      "step": "t_melt_ghee",
      "detail": "Heat the ghee in a small pan until shimmering."
    },
    {
      "seq": 7,
      "at_s": 695,
      "type": "observation",
      "step": "t_melt_ghee",
      "observation": {
        "observable": "facet",
        "facet": "form",
        "value": "liquid",
        "satisfied": true,
        "source": "human"
      }
    },
    {
      "seq": 8,
      "at_s": 695,
      "type": "deviation",
      "step": "t_melt_ghee",
      "deviation": {
        "kind": "ran_short",
        "planned_s": 180,
        "actual_s": 95,
        "delta_s": -85,
        "detail": "t_melt_ghee took 95s against a planned 180s"
      }
    },
    {
      "seq": 9,
      "at_s": 695,
      "type": "step_finished",
      "step": "t_melt_ghee",
      "detail": "ended by until_satisfied"
    },
    {
      "seq": 10,
      "at_s": 1980,
      "type": "observation",
      "step": "t_boil_dal",
      "observation": {
        "observable": "facet",
        "facet": "texture",
        "value": "soft",
        "satisfied": true,
        "source": "human"
      }
    },
    {
      "seq": 11,
      "at_s": 1980,
      "type": "deviation",
      "step": "t_boil_dal",
      "deviation": {
        "kind": "ran_short",
        "planned_s": 2400,
        "actual_s": 1980,
        "delta_s": -420,
        "detail": "t_boil_dal took 1980s against a planned 2400s"
      }
    },
    {
      "seq": 12,
      "at_s": 1980,
      "type": "step_finished",
      "step": "t_boil_dal",
      "detail": "ended by until_satisfied"
    },
    {
      "seq": 13,
      "at_s": 2400,
      "type": "step_started",
      "step": "t_add_tomato",
      "detail": "Stir in the chopped tomato and salt."
    },
    {
      "seq": 14,
      "at_s": 2700,
      "type": "step_finished",
      "step": "t_add_tomato",
      "detail": "ended by planned_duration"
    },
    {
      "seq": 15,
      "at_s": 2700,
      "type": "step_started",
      "step": "t_temper",
      "detail": "Add mustard seeds; when they pop, add cumin, chili, garlic and a pinch of asafoetida and fry until fragrant."
    },
    {
      "seq": 16,
      "at_s": 2771,
      "type": "observation",
      "step": "t_temper",
      "observation": {
        "observable": "sound",
        "value": "popping stopped",
        "satisfied": true,
        "source": "human"
      }
    },
    {
      "seq": 17,
      "at_s": 2796,
      "type": "escalation",
      "step": "t_temper",
      "escalation": {
        "kind": "control_point",
        "control_point_type": "control",
        "on_failure": "discard",
        "action_taken": "discarded",
        "detail": "t_temper ran 96s against a control point capping it at 90s: Whole spices go from fragrant to acrid in seconds; past 90 s the tadka is unusable."
      }
    },
    {
      "seq": 18,
      "at_s": 2796,
      "type": "run_finished",
      "detail": "ABORTED: t_temper breached a control point; the recipe says discard"
    }
  ],
  "warnings": []
}
