)]}'
{
  "commit": "96b60dd7e71c7db55dfe4cff86265eab02e54e9f",
  "tree": "3ee9ddbbe4b260b7000f194e369b527ce658cd66",
  "parents": [
    "bce3a13a7c16ffdb602b66550e6b3479d34fb9b0"
  ],
  "author": {
    "name": "Sean McCullough",
    "email": "banksean@gmail.com",
    "time": "Wed Apr 30 09:49:10 2025 -0700"
  },
  "committer": {
    "name": "Sean McCullough",
    "email": "banksean@gmail.com",
    "time": "Wed Apr 30 15:20:35 2025 -0700"
  },
  "message": "Add StateMachine tracking to Agent control flow\n\nThis commit integrates the existing StateMachine type with the Agent\nto provide state tracking and validation throughout the conversation\ncontrol flow. This allows for better monitoring and debugging of the\nAgent\u0027s behavior during execution.\n\nThis commit adds tests to verify the correct behavior of the state\nmachine integration with the Agent type:\n\n1. A test for basic state transitions\n2. A test for a complete processTurn flow with a simple response\n3. A test for a processTurn flow with tool use\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b698d22fb25389e1aff48641c0527402c9f71d4f",
      "old_mode": 33188,
      "old_path": "loop/agent.go",
      "new_id": "b12a5f5935a64920369152f39b125ff51383a7a4",
      "new_mode": 33188,
      "new_path": "loop/agent.go"
    },
    {
      "type": "modify",
      "old_id": "bde0d2041da406538ec0a333ad529e817bab2d50",
      "old_mode": 33188,
      "old_path": "loop/agent_test.go",
      "new_id": "c62fd21554b9e029e6e2d0f0428b07c74835b69d",
      "new_mode": 33188,
      "new_path": "loop/agent_test.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9a520f670a1c7dc3dd31e15f7f50e3b329c6e1a4",
      "new_mode": 33188,
      "new_path": "loop/statemachine.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "82a160ce6d9d09221b306a59cb57454e97dd45d2",
      "new_mode": 33188,
      "new_path": "loop/statemachine_diagram.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "70b5c9b4d735aa480b33940f4670eedb8eac26e1",
      "new_mode": 33188,
      "new_path": "loop/statemachine_test.go"
    }
  ]
}
