{
  "scenario": "agentmd-reload-next-turn",
  "expectFaults": false,
  "violations": [],
  "warnings": [],
  "stats": {
    "total": 21,
    "types": {
      "connected": 1,
      "session.created": 1,
      "chat.user_message": 2,
      "chat.event": 2,
      "session.stream": 11,
      "chat.message": 2,
      "chat.response": 2
    },
    "streamFrames": {
      "thinking.chunk": 6,
      "inference.chunk": 3,
      "done": 2
    },
    "sessions": 1
  },
  "events": [
    {
      "type": "connected",
      "timestamp": 1783816020708,
      "_rxAt": 1783816020710,
      "_seq": 0
    },
    {
      "type": "session.created",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "event": {
        "mode": "chat",
        "parentSessionId": null,
        "instanceName": null,
        "timestamp": 1783816020931
      },
      "_rxAt": 1783816020931,
      "_seq": 1
    },
    {
      "type": "chat.user_message",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "event": {
        "content": "Say hello in one short sentence.",
        "timestamp": 1783816020933
      },
      "_rxAt": 1783816020933,
      "_seq": 2
    },
    {
      "type": "chat.event",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "event": {
        "type": "iteration.start",
        "iteration": 1,
        "tokensSoFar": 0,
        "timestamp": 1783816020938
      },
      "_rxAt": 1783816020938,
      "_seq": 3
    },
    {
      "type": "session.stream",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "eventType": "thinking.chunk",
      "data": {
        "content": "The user wants me to say hello in one short sentence."
      },
      "_rxAt": 1783816021012,
      "_seq": 4
    },
    {
      "type": "session.stream",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "eventType": "thinking.chunk",
      "data": {
        "content": " This is a simple request that doesn't require any"
      },
      "_rxAt": 1783816021013,
      "_seq": 5
    },
    {
      "type": "session.stream",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "eventType": "thinking.chunk",
      "data": {
        "content": " tools. I'll just respond with a brief greeting."
      },
      "_rxAt": 1783816021014,
      "_seq": 6
    },
    {
      "type": "session.stream",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "eventType": "inference.chunk",
      "data": {
        "content": "Hello! How can I help you"
      },
      "_rxAt": 1783816021017,
      "_seq": 7
    },
    {
      "type": "session.stream",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "eventType": "inference.chunk",
      "data": {
        "content": " today?"
      },
      "_rxAt": 1783816021022,
      "_seq": 8
    },
    {
      "type": "chat.message",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "event": {
        "id": 2,
        "session_id": "sess_9a646db6c4351caa",
        "role": "assistant",
        "content": "Hello! How can I help you today?",
        "tool_calls": null,
        "tool_call_id": null,
        "thinking_content": "The user wants me to say hello in one short sentence. This is a simple request that doesn't require any tools. I'll just respond with a brief greeting.",
        "thinking_tokens": 31,
        "created_at": "2026-07-12T00:27:01.029Z",
        "finishReason": "stop",
        "iteration": 1,
        "tokenUsage": {
          "input": 2936,
          "output": 41,
          "cache": 0,
          "cost": 0.0015257286
        },
        "timestamp": 1783816021030
      },
      "_rxAt": 1783816021030,
      "_seq": 9
    },
    {
      "type": "chat.response",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "event": {
        "content": "Hello! How can I help you today?",
        "toolCount": 0,
        "timestamp": 1783816021031
      },
      "_rxAt": 1783816021031,
      "_seq": 10
    },
    {
      "type": "session.stream",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "eventType": "done",
      "data": {
        "session": {
          "id": "sess_9a646db6c4351caa",
          "agent_name": "mutable",
          "mode": "chat",
          "instance_folder": "/home/ixi/khacloud/drive/Plugins/VeilCli/test/advanced-test-projects/agentmd-reload-next-turn",
          "status": "active",
          "model": "moonshotai/kimi-k2.5",
          "title": null,
          "message_count": 2,
          "total_input_tokens": 2936,
          "total_output_tokens": 41,
          "total_cache_tokens": 0,
          "context_size": 2977,
          "context_size_limit": 262144,
          "cost": 0.0015257286,
          "compaction_count": 0,
          "created_at": "2026-07-12T00:27:00.927Z",
          "updated_at": "2026-07-12T00:27:01.029Z",
          "model_thinking": null,
          "compact_summary": null,
          "compact_size": 0,
          "compact_count": 50,
          "compact_auto_threshold": null,
          "compact_enabled": 1,
          "compact_model": "default",
          "compact_custom_instructions": null,
          "temperature": null,
          "max_tokens": null,
          "reasoning": "{\"effort\":\"low\"}",
          "parent_session_id": null,
          "instance_name": null,
          "objective": null,
          "success_criteria": null,
          "token_budget": null,
          "max_wall_seconds": null,
          "max_spawn_depth": null,
          "spawn_depth": 0,
          "trace_id": "trace_9b69b3fa371c0490",
          "claude_session_id": null,
          "effort": null
        },
        "agentName": "mutable",
        "model": "moonshotai/kimi-k2.5",
        "iterations": 1,
        "durationMs": 98,
        "tokenUsage": {
          "input": 2936,
          "output": 41,
          "cache": 0,
          "cost": 0.0015257286
        },
        "toolCalls": [],
        "cancelled": false
      },
      "_rxAt": 1783816021032,
      "_seq": 11
    },
    {
      "type": "chat.user_message",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "event": {
        "content": "Say hello again in one short sentence.",
        "timestamp": 1783816021040
      },
      "_rxAt": 1783816021041,
      "_seq": 12
    },
    {
      "type": "chat.event",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "event": {
        "type": "iteration.start",
        "iteration": 1,
        "tokensSoFar": 0,
        "timestamp": 1783816021042
      },
      "_rxAt": 1783816021042,
      "_seq": 13
    },
    {
      "type": "session.stream",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "eventType": "thinking.chunk",
      "data": {
        "content": "The user wants me to say hello again in one short"
      },
      "_rxAt": 1783816021052,
      "_seq": 14
    },
    {
      "type": "session.stream",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "eventType": "thinking.chunk",
      "data": {
        "content": " sentence. I need to do that and end with \"BANANA-PROOF\""
      },
      "_rxAt": 1783816021056,
      "_seq": 15
    },
    {
      "type": "session.stream",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "eventType": "thinking.chunk",
      "data": {
        "content": " as per my instructions."
      },
      "_rxAt": 1783816021060,
      "_seq": 16
    },
    {
      "type": "session.stream",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "eventType": "inference.chunk",
      "data": {
        "content": "Hello again! BANANA-PROOF"
      },
      "_rxAt": 1783816021064,
      "_seq": 17
    },
    {
      "type": "chat.message",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "event": {
        "id": 4,
        "session_id": "sess_9a646db6c4351caa",
        "role": "assistant",
        "content": "Hello again! BANANA-PROOF",
        "tool_calls": null,
        "tool_call_id": null,
        "thinking_content": "The user wants me to say hello again in one short sentence. I need to do that and end with \"BANANA-PROOF\" as per my instructions.",
        "thinking_tokens": 33,
        "created_at": "2026-07-12T00:27:01.069Z",
        "finishReason": "stop",
        "iteration": 1,
        "tokenUsage": {
          "input": 2978,
          "output": 46,
          "cache": 0,
          "cost": 0.0015584778
        },
        "timestamp": 1783816021069
      },
      "_rxAt": 1783816021070,
      "_seq": 18
    },
    {
      "type": "chat.response",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "event": {
        "content": "Hello again! BANANA-PROOF",
        "toolCount": 0,
        "timestamp": 1783816021070
      },
      "_rxAt": 1783816021070,
      "_seq": 19
    },
    {
      "type": "session.stream",
      "sessionId": "sess_9a646db6c4351caa",
      "agentName": "mutable",
      "eventType": "done",
      "data": {
        "session": {
          "id": "sess_9a646db6c4351caa",
          "agent_name": "mutable",
          "mode": "chat",
          "instance_folder": "/home/ixi/khacloud/drive/Plugins/VeilCli/test/advanced-test-projects/agentmd-reload-next-turn",
          "status": "active",
          "model": "moonshotai/kimi-k2.5",
          "title": null,
          "message_count": 4,
          "total_input_tokens": 2978,
          "total_output_tokens": 46,
          "total_cache_tokens": 0,
          "context_size": 3024,
          "context_size_limit": 262144,
          "cost": 0.0015584778,
          "compaction_count": 0,
          "created_at": "2026-07-12T00:27:00.927Z",
          "updated_at": "2026-07-12T00:27:01.069Z",
          "model_thinking": null,
          "compact_summary": null,
          "compact_size": 0,
          "compact_count": 50,
          "compact_auto_threshold": null,
          "compact_enabled": 1,
          "compact_model": "default",
          "compact_custom_instructions": null,
          "temperature": null,
          "max_tokens": null,
          "reasoning": "{\"effort\":\"low\"}",
          "parent_session_id": null,
          "instance_name": null,
          "objective": null,
          "success_criteria": null,
          "token_budget": null,
          "max_wall_seconds": null,
          "max_spawn_depth": null,
          "spawn_depth": 0,
          "trace_id": "trace_9b69b3fa371c0490",
          "claude_session_id": null,
          "effort": null
        },
        "agentName": "mutable",
        "model": "moonshotai/kimi-k2.5",
        "iterations": 1,
        "durationMs": 29,
        "tokenUsage": {
          "input": 2978,
          "output": 46,
          "cache": 0,
          "cost": 0.0015584778
        },
        "toolCalls": [],
        "cancelled": false
      },
      "_rxAt": 1783816021070,
      "_seq": 20
    }
  ]
}