diff --git a/goldens/2026-06-10-interrupt/baseline-one-shot/native.stderr.log b/goldens/2026-06-10-interrupt/baseline-one-shot/native.stderr.log new file mode 100644 index 0000000..e69de29 diff --git a/goldens/2026-06-10-interrupt/baseline-one-shot/native.stdout.jsonl b/goldens/2026-06-10-interrupt/baseline-one-shot/native.stdout.jsonl new file mode 100644 index 0000000..d1a55a5 --- /dev/null +++ b/goldens/2026-06-10-interrupt/baseline-one-shot/native.stdout.jsonl @@ -0,0 +1,9 @@ +{"type":"system","subtype":"init","cwd":"","session_id":"49e7c3a4-f4f0-4faa-b063-f775c59ec6ad","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.170","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"5366d89c-8f91-4683-a6a6-adbb9680b09a","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"rate_limit_event","rate_limit_info":{"status":"allowed","resetsAt":1781137800,"rateLimitType":"five_hour","overageStatus":"rejected","overageDisabledReason":"out_of_credits","isUsingOverage":false},"uuid":"4ff400cf-1ccd-434c-870d-42c42620b841","session_id":"49e7c3a4-f4f0-4faa-b063-f775c59ec6ad"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":4,"estimated_tokens_delta":4,"uuid":"49e7b137-2017-44fb-aaf7-32b9c66978b2","session_id":"49e7c3a4-f4f0-4faa-b063-f775c59ec6ad"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":11,"estimated_tokens_delta":7,"uuid":"085abd74-ad06-4e0c-8e53-75662d5e0faa","session_id":"49e7c3a4-f4f0-4faa-b063-f775c59ec6ad"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":62,"estimated_tokens_delta":51,"uuid":"4101cc8a-3e68-42e9-9c81-68b9abf46c60","session_id":"49e7c3a4-f4f0-4faa-b063-f775c59ec6ad"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_013teSYW3YF8MAJ83A7zNJ6r","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"The user wants me to say exactly \"READY\".","signature":"EvABCmUIDhgCKkB9dXjHVnLUV/wwym/6NkF4igH47DOM/rACyMkYXnZHI/XCvXdub9ox/CkvYuupcUWv/w4iLuj+FwveI0wOOYXBMhFjbGF1ZGUtc29ubmV0LTQtNjgAQgh0aGlua2luZxIMTj5c5fwyMSZhz5yUGgwbOaxALkPSveu+CHUiMOapjV2yBIUCat43XqJ8i49sFO9LScPMVVj0F4uzI8ljm8egRVceMOUbIASSwnAn7io5sFXBn6z9AIm27SIm+PlGrR8Ma1M9BmsP83kg+OPeuASJs9ZdqhRbtmkOFknI2KjGsyfdWEL1oBemGAE="}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":6834,"cache_read_input_tokens":17161,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":6834},"output_tokens":3,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"49e7c3a4-f4f0-4faa-b063-f775c59ec6ad","uuid":"03cc698a-7aad-4ec4-9a39-91fe60c1a842","request_id":"req_011CbvCKN6Uuc8FxxVK2sFH6"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_013teSYW3YF8MAJ83A7zNJ6r","type":"message","role":"assistant","content":[{"type":"text","text":"READY"}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":6834,"cache_read_input_tokens":17161,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":6834},"output_tokens":3,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"49e7c3a4-f4f0-4faa-b063-f775c59ec6ad","uuid":"c21d7aef-5c42-4cbd-8e71-bae63e484414","request_id":"req_011CbvCKN6Uuc8FxxVK2sFH6"} +{"type":"system","subtype":"notification","key":"stop-hook-error","text":"Stop hook error occurred · ctrl+o to see","priority":"immediate","uuid":"24f4596e-fe2f-4651-bd07-f582ac9821ca","session_id":"49e7c3a4-f4f0-4faa-b063-f775c59ec6ad"} +{"type":"result","subtype":"success","is_error":false,"api_error_status":null,"duration_ms":1856,"duration_api_ms":2885,"ttft_ms":1838,"ttft_stream_ms":1837,"time_to_request_ms":23,"num_turns":1,"result":"READY","stop_reason":"end_turn","session_id":"49e7c3a4-f4f0-4faa-b063-f775c59ec6ad","total_cost_usd":0.0316718,"usage":{"input_tokens":10,"cache_creation_input_tokens":6834,"cache_read_input_tokens":17161,"output_tokens":24,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":6834,"ephemeral_5m_input_tokens":0},"inference_geo":"not_available","iterations":[{"input_tokens":10,"output_tokens":24,"cache_read_input_tokens":17161,"cache_creation_input_tokens":6834,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":6834},"type":"message"}],"speed":"standard"},"modelUsage":{"claude-haiku-4-5-20251001":{"inputTokens":441,"outputTokens":13,"cacheReadInputTokens":0,"cacheCreationInputTokens":0,"webSearchRequests":0,"costUSD":0.0005059999999999999,"contextWindow":200000,"maxOutputTokens":32000},"claude-sonnet-4-6":{"inputTokens":10,"outputTokens":24,"cacheReadInputTokens":17161,"cacheCreationInputTokens":6834,"webSearchRequests":0,"costUSD":0.031165799999999997,"contextWindow":200000,"maxOutputTokens":32000}},"permission_denials":[],"terminal_reason":"completed","fast_mode_state":"off","uuid":"11ea1bd9-e94c-44ec-b35b-041d77387d63"} diff --git a/goldens/2026-06-10-interrupt/baseline-one-shot/native.timeline.jsonl b/goldens/2026-06-10-interrupt/baseline-one-shot/native.timeline.jsonl new file mode 100644 index 0000000..530c130 --- /dev/null +++ b/goldens/2026-06-10-interrupt/baseline-one-shot/native.timeline.jsonl @@ -0,0 +1,17 @@ +{"t":2,"action":"sequence_start","steps":3} +{"t":2,"action":"send_prompt","index":0,"content":"Say exactly: READY"} +{"t":2,"action":"wait_result_start"} +{"t":929,"action":"event","type":"system","subtype":"init"} +{"t":1972,"action":"event","type":"rate_limit_event"} +{"t":2748,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":2748,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":2748,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":2748,"action":"event","type":"assistant"} +{"t":2748,"action":"event","type":"assistant"} +{"t":2766,"action":"event","type":"system","subtype":"notification"} +{"t":2766,"action":"event","type":"result","subtype":"success"} +{"t":2766,"action":"result","subtype":"success"} +{"t":2811,"action":"wait_result_end","results":1} +{"t":2811,"action":"close_stdin"} +{"t":2811,"action":"sequence_done_closing_stdin"} +{"t":3134,"action":"exit","code":0,"signal":null} diff --git a/goldens/2026-06-10-interrupt/double-interrupt/native.stderr.log b/goldens/2026-06-10-interrupt/double-interrupt/native.stderr.log new file mode 100644 index 0000000..e69de29 diff --git a/goldens/2026-06-10-interrupt/double-interrupt/native.stdout.jsonl b/goldens/2026-06-10-interrupt/double-interrupt/native.stdout.jsonl new file mode 100644 index 0000000..fad466b --- /dev/null +++ b/goldens/2026-06-10-interrupt/double-interrupt/native.stdout.jsonl @@ -0,0 +1,6 @@ +{"type":"system","subtype":"init","cwd":"","session_id":"f3339856-207e-49fd-adcf-592e555b6fde","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.170","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"e5829a6c-e1bc-4830-8e35-0ba63425aa8d","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"control_response","response":{"subtype":"success","request_id":"parity-3"}} +{"type":"user","message":{"role":"user","content":[{"type":"text","text":"[Request interrupted by user]"}]},"parent_tool_use_id":null,"session_id":"f3339856-207e-49fd-adcf-592e555b6fde","uuid":"183b5897-0a06-464c-a9fd-e7a525d7dbd8","timestamp":"2026-06-10T20:18:10.902Z"} +{"type":"result","subtype":"error_during_execution","duration_ms":759,"duration_api_ms":0,"is_error":true,"num_turns":2,"stop_reason":null,"session_id":"f3339856-207e-49fd-adcf-592e555b6fde","total_cost_usd":0,"usage":{"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":"","iterations":[],"speed":"standard"},"modelUsage":{},"permission_denials":[],"terminal_reason":"aborted_streaming","fast_mode_state":"off","uuid":"f5e2f863-2781-455d-8cb1-38fd42226b0d","errors":["[ede_diagnostic] result_type=user last_content_type=n/a stop_reason=null"]} +{"type":"rate_limit_event","rate_limit_info":{"status":"allowed","resetsAt":1781137800,"rateLimitType":"five_hour","overageStatus":"rejected","overageDisabledReason":"out_of_credits","isUsingOverage":false},"uuid":"f5422e96-7331-4f12-af2f-2c419a457e67","session_id":"f3339856-207e-49fd-adcf-592e555b6fde"} +{"type":"control_response","response":{"subtype":"success","request_id":"parity-4"}} diff --git a/goldens/2026-06-10-interrupt/double-interrupt/native.timeline.jsonl b/goldens/2026-06-10-interrupt/double-interrupt/native.timeline.jsonl new file mode 100644 index 0000000..2614b98 --- /dev/null +++ b/goldens/2026-06-10-interrupt/double-interrupt/native.timeline.jsonl @@ -0,0 +1,20 @@ +{"t":2,"action":"sequence_start","steps":5} +{"t":2,"action":"send_prompt","index":0,"content":"Write a 500 word essay about testing."} +{"t":2,"action":"delay_start","ms":1500} +{"t":771,"action":"event","type":"system","subtype":"init"} +{"t":1504,"action":"delay_end"} +{"t":1504,"action":"send_control","subtype":"interrupt"} +{"t":1504,"action":"delay_start","ms":500} +{"t":1504,"action":"event","type":"control_response"} +{"t":1509,"action":"event","type":"user"} +{"t":1509,"action":"event","type":"result","subtype":"error_during_execution"} +{"t":1509,"action":"result","subtype":"error_during_execution"} +{"t":1576,"action":"event","type":"rate_limit_event"} +{"t":2005,"action":"delay_end"} +{"t":2005,"action":"send_control","subtype":"interrupt"} +{"t":2005,"action":"wait_result_start"} +{"t":2007,"action":"event","type":"control_response"} +{"t":17007,"action":"wait_result_end","results":1} +{"t":17007,"action":"close_stdin"} +{"t":17007,"action":"sequence_done_closing_stdin"} +{"t":17180,"action":"exit","code":0,"signal":null} diff --git a/goldens/2026-06-10-interrupt/interrupt-during-long-task/native.stderr.log b/goldens/2026-06-10-interrupt/interrupt-during-long-task/native.stderr.log new file mode 100644 index 0000000..e69de29 diff --git a/goldens/2026-06-10-interrupt/interrupt-during-long-task/native.stdout.jsonl b/goldens/2026-06-10-interrupt/interrupt-during-long-task/native.stdout.jsonl new file mode 100644 index 0000000..3495b08 --- /dev/null +++ b/goldens/2026-06-10-interrupt/interrupt-during-long-task/native.stdout.jsonl @@ -0,0 +1,5 @@ +{"type":"system","subtype":"init","cwd":"","session_id":"d2f5e5fd-fd24-47a8-8496-0cf83eaad868","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.170","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"19a34908-c82d-4bf9-bed7-49f638e68aae","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"rate_limit_event","rate_limit_info":{"status":"allowed","resetsAt":1781137800,"rateLimitType":"five_hour","overageStatus":"rejected","overageDisabledReason":"out_of_credits","isUsingOverage":false},"uuid":"c35eef21-7b15-4157-9b75-622c49a2adac","session_id":"d2f5e5fd-fd24-47a8-8496-0cf83eaad868"} +{"type":"control_response","response":{"subtype":"success","request_id":"parity-1"}} +{"type":"user","message":{"role":"user","content":[{"type":"text","text":"[Request interrupted by user]"}]},"parent_tool_use_id":null,"session_id":"d2f5e5fd-fd24-47a8-8496-0cf83eaad868","uuid":"371856d9-0106-4d79-8b68-65ec014a1cd8","timestamp":"2026-06-10T20:17:32.491Z"} +{"type":"result","subtype":"error_during_execution","duration_ms":1292,"duration_api_ms":1018,"is_error":true,"num_turns":2,"stop_reason":null,"session_id":"d2f5e5fd-fd24-47a8-8496-0cf83eaad868","total_cost_usd":0.000531,"usage":{"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":"","iterations":[],"speed":"standard"},"modelUsage":{"claude-haiku-4-5-20251001":{"inputTokens":451,"outputTokens":16,"cacheReadInputTokens":0,"cacheCreationInputTokens":0,"webSearchRequests":0,"costUSD":0.000531,"contextWindow":200000,"maxOutputTokens":32000}},"permission_denials":[],"terminal_reason":"aborted_streaming","fast_mode_state":"off","uuid":"f6e0ec9c-a0f9-4221-81e0-f14d31b47e9a","errors":["[ede_diagnostic] result_type=user last_content_type=n/a stop_reason=null"]} diff --git a/goldens/2026-06-10-interrupt/interrupt-during-long-task/native.timeline.jsonl b/goldens/2026-06-10-interrupt/interrupt-during-long-task/native.timeline.jsonl new file mode 100644 index 0000000..ead14d1 --- /dev/null +++ b/goldens/2026-06-10-interrupt/interrupt-during-long-task/native.timeline.jsonl @@ -0,0 +1,16 @@ +{"t":2,"action":"sequence_start","steps":4} +{"t":2,"action":"send_prompt","index":0,"content":"Count slowly from 1 to 100, one number per line."} +{"t":2,"action":"delay_start","ms":2000} +{"t":738,"action":"event","type":"system","subtype":"init"} +{"t":1735,"action":"event","type":"rate_limit_event"} +{"t":2003,"action":"delay_end"} +{"t":2003,"action":"send_control","subtype":"interrupt"} +{"t":2003,"action":"wait_result_start"} +{"t":2004,"action":"event","type":"control_response"} +{"t":2011,"action":"event","type":"user"} +{"t":2012,"action":"event","type":"result","subtype":"error_during_execution"} +{"t":2012,"action":"result","subtype":"error_during_execution"} +{"t":2053,"action":"wait_result_end","results":1} +{"t":2053,"action":"close_stdin"} +{"t":2053,"action":"sequence_done_closing_stdin"} +{"t":2335,"action":"exit","code":1,"signal":null} diff --git a/goldens/2026-06-10-interrupt/interrupt-then-immediate-prompt/native.stderr.log b/goldens/2026-06-10-interrupt/interrupt-then-immediate-prompt/native.stderr.log new file mode 100644 index 0000000..e69de29 diff --git a/goldens/2026-06-10-interrupt/interrupt-then-immediate-prompt/native.stdout.jsonl b/goldens/2026-06-10-interrupt/interrupt-then-immediate-prompt/native.stdout.jsonl new file mode 100644 index 0000000..b79a340 --- /dev/null +++ b/goldens/2026-06-10-interrupt/interrupt-then-immediate-prompt/native.stdout.jsonl @@ -0,0 +1,13 @@ +{"type":"system","subtype":"init","cwd":"","session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.170","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"d7d7927f-fd15-43e8-a83d-f06400a8c489","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"rate_limit_event","rate_limit_info":{"status":"allowed","resetsAt":1781137800,"rateLimitType":"five_hour","overageStatus":"rejected","overageDisabledReason":"out_of_credits","isUsingOverage":false},"uuid":"fef1f167-dadb-4c4b-8821-e312b77fa0c9","session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd"} +{"type":"control_response","response":{"subtype":"success","request_id":"parity-2"}} +{"type":"user","message":{"role":"user","content":[{"type":"text","text":"[Request interrupted by user]"}]},"parent_tool_use_id":null,"session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd","uuid":"599e1e2f-0c6d-4b4e-8ecc-9f997d4f385d","timestamp":"2026-06-10T20:17:34.825Z"} +{"type":"result","subtype":"error_during_execution","duration_ms":1224,"duration_api_ms":1163,"is_error":true,"num_turns":2,"stop_reason":null,"session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd","total_cost_usd":0.000536,"usage":{"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":"","iterations":[],"speed":"standard"},"modelUsage":{"claude-haiku-4-5-20251001":{"inputTokens":451,"outputTokens":17,"cacheReadInputTokens":0,"cacheCreationInputTokens":0,"webSearchRequests":0,"costUSD":0.000536,"contextWindow":200000,"maxOutputTokens":32000}},"permission_denials":[],"terminal_reason":"aborted_streaming","fast_mode_state":"off","uuid":"182e6a10-e0f3-4195-ab98-f669cb2dff84","errors":["[ede_diagnostic] result_type=user last_content_type=n/a stop_reason=null"]} +{"type":"system","subtype":"init","cwd":"","session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.170","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"ae715b21-9967-4f57-90d6-1002f98e29bb","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":5,"estimated_tokens_delta":5,"uuid":"184337b6-a675-4a76-800d-3e0e7269b23e","session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":20,"estimated_tokens_delta":15,"uuid":"84975aa4-f4dd-4e94-961a-b755a168a111","session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":72,"estimated_tokens_delta":52,"uuid":"ca4023db-f073-4f95-aa72-50f6b9d3e361","session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_01YGc5rG5iYxUbTpM8N1qFCg","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"The user interrupted my counting and wants me to say exactly \"AFTER_INTERRUPT\".","signature":"EpYCCmUIDhgCKkB6Vv7TFrp3kq+jaK1FLMvG1W4NjOSLbhvVg1NLZkIJuBLq3yXgaxIraNIvcqpDk79T8LAG2j4elUZfOuj+Lj9qMhFjbGF1ZGUtc29ubmV0LTQtNjgAQgh0aGlua2luZxIMt+C6H4iuGfa8ARWQGgwacR8om74D3kNekUgiMGqaNJUTnQIFy/Hu4YWXlOwi2nhHd5IWhWMsduH8x19bPEAgFz8mI4l2wV3hjHLOkSpf6HC5eC3/noWV9dFlINSG2sILGgmvlV/IrLMRqpB1A5a+cmWi6Fpy5MSglRVi0ow4A/cMazccedTuHQ+AjdqgUMYpn3Hjl27mZmEPm0uWK6dAEf9N2N+7aexOPk8+GyAYAQ=="}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":7096,"cache_read_input_tokens":17161,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":7096},"output_tokens":3,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd","uuid":"bb4424f4-20aa-4b5e-9b2c-d9da790a3196","request_id":"req_011CbvCKrP5x9BMwRmKyxvzk"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_01YGc5rG5iYxUbTpM8N1qFCg","type":"message","role":"assistant","content":[{"type":"text","text":"AFTER_INTERRUPT"}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":7096,"cache_read_input_tokens":17161,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":7096},"output_tokens":3,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd","uuid":"0a3388e5-c394-4646-ae29-9e7a0d8b7094","request_id":"req_011CbvCKrP5x9BMwRmKyxvzk"} +{"type":"system","subtype":"notification","key":"stop-hook-error","text":"Stop hook error occurred · ctrl+o to see","priority":"immediate","uuid":"9e8b5a0e-56ea-4808-8d2d-a3b814138756","session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd"} +{"type":"result","subtype":"success","is_error":false,"api_error_status":null,"duration_ms":1947,"duration_api_ms":3087,"ttft_ms":1870,"ttft_stream_ms":1869,"time_to_request_ms":3,"num_turns":1,"result":"AFTER_INTERRUPT","stop_reason":"end_turn","session_id":"40d0ca8b-9df8-4efb-ada7-f59974129bbd","total_cost_usd":0.0328343,"usage":{"input_tokens":10,"cache_creation_input_tokens":7096,"cache_read_input_tokens":17161,"output_tokens":34,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":7096,"ephemeral_5m_input_tokens":0},"inference_geo":"not_available","iterations":[{"input_tokens":10,"output_tokens":34,"cache_read_input_tokens":17161,"cache_creation_input_tokens":7096,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":7096},"type":"message"}],"speed":"standard"},"modelUsage":{"claude-haiku-4-5-20251001":{"inputTokens":451,"outputTokens":17,"cacheReadInputTokens":0,"cacheCreationInputTokens":0,"webSearchRequests":0,"costUSD":0.000536,"contextWindow":200000,"maxOutputTokens":32000},"claude-sonnet-4-6":{"inputTokens":10,"outputTokens":34,"cacheReadInputTokens":17161,"cacheCreationInputTokens":7096,"webSearchRequests":0,"costUSD":0.032298299999999995,"contextWindow":200000,"maxOutputTokens":32000}},"permission_denials":[],"terminal_reason":"completed","fast_mode_state":"off","uuid":"2d918147-e79a-4fde-9f03-c6a65d71ac41"} diff --git a/goldens/2026-06-10-interrupt/interrupt-then-immediate-prompt/native.timeline.jsonl b/goldens/2026-06-10-interrupt/interrupt-then-immediate-prompt/native.timeline.jsonl new file mode 100644 index 0000000..0b17962 --- /dev/null +++ b/goldens/2026-06-10-interrupt/interrupt-then-immediate-prompt/native.timeline.jsonl @@ -0,0 +1,30 @@ +{"t":2,"action":"sequence_start","steps":6} +{"t":2,"action":"send_prompt","index":0,"content":"Count slowly from 1 to 100, one number per line."} +{"t":2,"action":"delay_start","ms":2000} +{"t":806,"action":"event","type":"system","subtype":"init"} +{"t":1945,"action":"event","type":"rate_limit_event"} +{"t":2003,"action":"delay_end"} +{"t":2003,"action":"send_control","subtype":"interrupt"} +{"t":2003,"action":"delay_start","ms":50} +{"t":2004,"action":"event","type":"control_response"} +{"t":2009,"action":"event","type":"user"} +{"t":2009,"action":"event","type":"result","subtype":"error_during_execution"} +{"t":2009,"action":"result","subtype":"error_during_execution"} +{"t":2054,"action":"delay_end"} +{"t":2054,"action":"send_prompt","index":1,"content":"Say exactly: AFTER_INTERRUPT"} +{"t":2055,"action":"wait_result_start"} +{"t":2058,"action":"event","type":"system","subtype":"init"} +{"t":3926,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":3926,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":3927,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":3927,"action":"event","type":"assistant"} +{"t":3927,"action":"event","type":"assistant"} +{"t":4003,"action":"event","type":"system","subtype":"notification"} +{"t":4003,"action":"event","type":"result","subtype":"success"} +{"t":4003,"action":"result","subtype":"success"} +{"t":4044,"action":"wait_result_end","results":2} +{"t":4044,"action":"wait_result_start"} +{"t":34046,"action":"wait_result_end","results":2} +{"t":34046,"action":"close_stdin"} +{"t":34046,"action":"sequence_done_closing_stdin"} +{"t":34274,"action":"exit","code":0,"signal":null} diff --git a/goldens/2026-06-10-interrupt/interrupt-then-two-prompts/native.stderr.log b/goldens/2026-06-10-interrupt/interrupt-then-two-prompts/native.stderr.log new file mode 100644 index 0000000..e69de29 diff --git a/goldens/2026-06-10-interrupt/interrupt-then-two-prompts/native.stdout.jsonl b/goldens/2026-06-10-interrupt/interrupt-then-two-prompts/native.stdout.jsonl new file mode 100644 index 0000000..d86019d --- /dev/null +++ b/goldens/2026-06-10-interrupt/interrupt-then-two-prompts/native.stdout.jsonl @@ -0,0 +1,21 @@ +{"type":"system","subtype":"init","cwd":"","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.170","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"73b4a86e-d045-4aa1-b826-83974d830289","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"rate_limit_event","rate_limit_info":{"status":"allowed","resetsAt":1781137800,"rateLimitType":"five_hour","overageStatus":"rejected","overageDisabledReason":"out_of_credits","isUsingOverage":false},"uuid":"3615444d-35bb-4670-9542-c936f0205c35","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56"} +{"type":"control_response","response":{"subtype":"success","request_id":"parity-6"}} +{"type":"user","message":{"role":"user","content":[{"type":"text","text":"[Request interrupted by user]"}]},"parent_tool_use_id":null,"session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56","uuid":"5648b906-63eb-4a85-a234-735e11744b17","timestamp":"2026-06-10T20:18:35.065Z"} +{"type":"result","subtype":"error_during_execution","duration_ms":1279,"duration_api_ms":898,"is_error":true,"num_turns":2,"stop_reason":null,"session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56","total_cost_usd":0.000531,"usage":{"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":"","iterations":[],"speed":"standard"},"modelUsage":{"claude-haiku-4-5-20251001":{"inputTokens":451,"outputTokens":16,"cacheReadInputTokens":0,"cacheCreationInputTokens":0,"webSearchRequests":0,"costUSD":0.000531,"contextWindow":200000,"maxOutputTokens":32000}},"permission_denials":[],"terminal_reason":"aborted_streaming","fast_mode_state":"off","uuid":"e995fd39-5b6d-4a6d-bc50-834407ade1aa","errors":["[ede_diagnostic] result_type=user last_content_type=n/a stop_reason=null"]} +{"type":"system","subtype":"init","cwd":"","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.170","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"4307bf2e-101a-4505-925c-00a92deae267","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":6,"estimated_tokens_delta":6,"uuid":"8b746bcd-099c-474c-a841-90e311ec97cf","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":11,"estimated_tokens_delta":5,"uuid":"f514e1e1-5a43-4b76-b7eb-4050a4c07a11","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":63,"estimated_tokens_delta":52,"uuid":"a57f0552-c789-4690-b2d9-4258b4e7d1cc","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_017Jf5CVR8XtP3PhVkPd5A4W","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"The user wants me to say exactly \"PROMPT_B\".","signature":"EvMBCmUIDhgCKkAdQmwUwH5dowGcnNdV3GDS0vrh5LsZSPqINFFTRgvNkw1KfrHMHvBki8UsJwd6c5rniMB6WCTfBcEo/bBinWZ2MhFjbGF1ZGUtc29ubmV0LTQtNjgAQgh0aGlua2luZxIMvpeLInVeXpXZEnGKGgwOsVxCemd55nkB6l0iMJ/x2ptuhhECQHrgyDJs7n8nG4RfWXF1zqGMePzYy+8r4J4uyWxSE5FQA8LqvcE5FSo8cfWBLiwrdLqP6uM0omfsSbgFUjswi7k+EJY+9jo8AnEnlULuwLtRNMP9ZOmrqAkG1Rr4Xr1enWvv2L00GAE="}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":7108,"cache_read_input_tokens":17161,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":7108},"output_tokens":6,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56","uuid":"aee05b52-b1c1-46eb-b3ff-1db924c9dd19","request_id":"req_011CbvCQHrt4fc8CDmBur34o"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_017Jf5CVR8XtP3PhVkPd5A4W","type":"message","role":"assistant","content":[{"type":"text","text":"PROMPT_B"}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":7108,"cache_read_input_tokens":17161,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":7108},"output_tokens":6,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56","uuid":"5a902230-84a6-4c4c-b0f6-5d7a773cccae","request_id":"req_011CbvCQHrt4fc8CDmBur34o"} +{"type":"system","subtype":"notification","key":"stop-hook-error","text":"Stop hook error occurred · ctrl+o to see","priority":"immediate","uuid":"915ac429-2a80-4040-9af4-ee74dc7601cf","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56"} +{"type":"result","subtype":"success","is_error":false,"api_error_status":null,"duration_ms":2108,"duration_api_ms":2985,"ttft_ms":2012,"ttft_stream_ms":2009,"time_to_request_ms":4,"num_turns":1,"result":"PROMPT_B","stop_reason":"end_turn","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56","total_cost_usd":0.032784299999999995,"usage":{"input_tokens":10,"cache_creation_input_tokens":7108,"cache_read_input_tokens":17161,"output_tokens":28,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":7108,"ephemeral_5m_input_tokens":0},"inference_geo":"not_available","iterations":[{"input_tokens":10,"output_tokens":28,"cache_read_input_tokens":17161,"cache_creation_input_tokens":7108,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":7108},"type":"message"}],"speed":"standard"},"modelUsage":{"claude-haiku-4-5-20251001":{"inputTokens":451,"outputTokens":16,"cacheReadInputTokens":0,"cacheCreationInputTokens":0,"webSearchRequests":0,"costUSD":0.000531,"contextWindow":200000,"maxOutputTokens":32000},"claude-sonnet-4-6":{"inputTokens":10,"outputTokens":28,"cacheReadInputTokens":17161,"cacheCreationInputTokens":7108,"webSearchRequests":0,"costUSD":0.0322533,"contextWindow":200000,"maxOutputTokens":32000}},"permission_denials":[],"terminal_reason":"completed","fast_mode_state":"off","uuid":"b50291ee-9d54-4f4e-9586-23eeebebbb74"} +{"type":"system","subtype":"init","cwd":"","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.170","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"ae6ab822-a23f-4bea-af98-501a7ca211ce","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":9,"estimated_tokens_delta":9,"uuid":"e08e8bd7-02b0-4ce5-9edf-251efd4c23e5","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":12,"estimated_tokens_delta":3,"uuid":"09f3f9ca-7727-42e5-bf2a-2c33ad83dc60","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":63,"estimated_tokens_delta":51,"uuid":"c56ca0c4-c7db-4d7a-ad0b-c518cb144338","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_01MAtPrGas82GyjCTU6WQeoA","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"The user wants me to say exactly \"PROMPT_C\".","signature":"EvMBCmUIDhgCKkC01/E9FtnlS0zrYlStGG+4nti63IxT1ZxkpBrJk0DLUtbamQx9+GNXy6IZ2nYhmG5Tl20+vtUEibLMJkVMk1WMMhFjbGF1ZGUtc29ubmV0LTQtNjgAQgh0aGlua2luZxIMnO6T4nH6ShpmI4PqGgxelQUSsp3b6Gv1WJIiMA40Sxorc286JaH9BLdFbxLKYkNuBbNlMixL/eY7B13Y1XQ2qo8GZOU2Kv+TOOQyFCo8g4t2UhiS6DeCxSrZkUtLIMJiY2JGFDJkFPR19jvNUWeGtgJAJOJexUQIWa9ohfaa2BtvNFCKwNM+NKdbGAE="}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":45,"cache_read_input_tokens":24269,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":45},"output_tokens":8,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56","uuid":"d3c3b503-5e32-4826-b3b8-0ebab28aa9fd","request_id":"req_011CbvCQT2YE4wybh5jUV3Ns"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_01MAtPrGas82GyjCTU6WQeoA","type":"message","role":"assistant","content":[{"type":"text","text":"PROMPT_C"}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":45,"cache_read_input_tokens":24269,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":45},"output_tokens":8,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56","uuid":"1b140709-5d0a-430a-adf6-1415dc69776b","request_id":"req_011CbvCQT2YE4wybh5jUV3Ns"} +{"type":"system","subtype":"notification","key":"stop-hook-error","text":"Stop hook error occurred · ctrl+o to see","priority":"immediate","uuid":"80faec28-967d-4ce7-a51d-69be7b919371","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56"} +{"type":"result","subtype":"success","is_error":false,"api_error_status":null,"duration_ms":1649,"duration_api_ms":4620,"ttft_ms":1579,"ttft_stream_ms":1414,"time_to_request_ms":3,"num_turns":1,"result":"PROMPT_C","stop_reason":"end_turn","session_id":"ed60a689-66c2-47c3-a6c0-a29b929c9d56","total_cost_usd":0.04068374999999999,"usage":{"input_tokens":10,"cache_creation_input_tokens":45,"cache_read_input_tokens":24269,"output_tokens":28,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":45,"ephemeral_5m_input_tokens":0},"inference_geo":"not_available","iterations":[{"input_tokens":10,"output_tokens":28,"cache_read_input_tokens":24269,"cache_creation_input_tokens":45,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":45},"type":"message"}],"speed":"standard"},"modelUsage":{"claude-haiku-4-5-20251001":{"inputTokens":451,"outputTokens":16,"cacheReadInputTokens":0,"cacheCreationInputTokens":0,"webSearchRequests":0,"costUSD":0.000531,"contextWindow":200000,"maxOutputTokens":32000},"claude-sonnet-4-6":{"inputTokens":20,"outputTokens":56,"cacheReadInputTokens":41430,"cacheCreationInputTokens":7153,"webSearchRequests":0,"costUSD":0.04015275,"contextWindow":200000,"maxOutputTokens":32000}},"permission_denials":[],"terminal_reason":"completed","fast_mode_state":"off","uuid":"e81fa970-8227-4666-902d-5818672b35f3"} diff --git a/goldens/2026-06-10-interrupt/interrupt-then-two-prompts/native.timeline.jsonl b/goldens/2026-06-10-interrupt/interrupt-then-two-prompts/native.timeline.jsonl new file mode 100644 index 0000000..8c7e95c --- /dev/null +++ b/goldens/2026-06-10-interrupt/interrupt-then-two-prompts/native.timeline.jsonl @@ -0,0 +1,40 @@ +{"t":2,"action":"sequence_start","steps":7} +{"t":2,"action":"send_prompt","index":0,"content":"Count slowly from 1 to 100, one number per line."} +{"t":2,"action":"delay_start","ms":2000} +{"t":757,"action":"event","type":"system","subtype":"init"} +{"t":1634,"action":"event","type":"rate_limit_event"} +{"t":2007,"action":"delay_end"} +{"t":2007,"action":"send_control","subtype":"interrupt"} +{"t":2007,"action":"delay_start","ms":50} +{"t":2008,"action":"event","type":"control_response"} +{"t":2017,"action":"event","type":"user"} +{"t":2018,"action":"event","type":"result","subtype":"error_during_execution"} +{"t":2018,"action":"result","subtype":"error_during_execution"} +{"t":2057,"action":"delay_end"} +{"t":2057,"action":"send_prompt","index":1,"content":"Say exactly: PROMPT_B"} +{"t":2057,"action":"wait_result_start"} +{"t":2061,"action":"event","type":"system","subtype":"init"} +{"t":4070,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":4070,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":4070,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":4071,"action":"event","type":"assistant"} +{"t":4071,"action":"event","type":"assistant"} +{"t":4166,"action":"event","type":"system","subtype":"notification"} +{"t":4172,"action":"event","type":"result","subtype":"success"} +{"t":4172,"action":"result","subtype":"success"} +{"t":4200,"action":"wait_result_end","results":2} +{"t":4200,"action":"send_prompt","index":2,"content":"Say exactly: PROMPT_C"} +{"t":4200,"action":"wait_result_start"} +{"t":4203,"action":"event","type":"system","subtype":"init"} +{"t":5616,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":5779,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":5780,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":5780,"action":"event","type":"assistant"} +{"t":5782,"action":"event","type":"assistant"} +{"t":5851,"action":"event","type":"system","subtype":"notification"} +{"t":5851,"action":"event","type":"result","subtype":"success"} +{"t":5851,"action":"result","subtype":"success"} +{"t":5896,"action":"wait_result_end","results":3} +{"t":5896,"action":"close_stdin"} +{"t":5896,"action":"sequence_done_closing_stdin"} +{"t":6329,"action":"exit","code":0,"signal":null} diff --git a/goldens/2026-06-10-interrupt/interrupt-zero-delay-prompt/native.stderr.log b/goldens/2026-06-10-interrupt/interrupt-zero-delay-prompt/native.stderr.log new file mode 100644 index 0000000..e69de29 diff --git a/goldens/2026-06-10-interrupt/interrupt-zero-delay-prompt/native.stdout.jsonl b/goldens/2026-06-10-interrupt/interrupt-zero-delay-prompt/native.stdout.jsonl new file mode 100644 index 0000000..5e50f5c --- /dev/null +++ b/goldens/2026-06-10-interrupt/interrupt-zero-delay-prompt/native.stdout.jsonl @@ -0,0 +1,13 @@ +{"type":"system","subtype":"init","cwd":"","session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.170","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"2071049e-67d7-4801-b889-3a0c38d17fe2","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"control_response","response":{"subtype":"success","request_id":"parity-5"}} +{"type":"user","message":{"role":"user","content":[{"type":"text","text":"[Request interrupted by user]"}]},"parent_tool_use_id":null,"session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae","uuid":"11e1693c-0001-4212-902c-e7b00816f9a9","timestamp":"2026-06-10T20:18:28.585Z"} +{"type":"result","subtype":"error_during_execution","duration_ms":1113,"duration_api_ms":0,"is_error":true,"num_turns":2,"stop_reason":null,"session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae","total_cost_usd":0,"usage":{"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":"","iterations":[],"speed":"standard"},"modelUsage":{},"permission_denials":[],"terminal_reason":"aborted_streaming","fast_mode_state":"off","uuid":"5fdde968-9635-4b6d-8a50-8972c2972c09","errors":["[ede_diagnostic] result_type=user last_content_type=n/a stop_reason=null"]} +{"type":"system","subtype":"init","cwd":"","session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.170","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"52e503bf-62a0-4c32-bb9a-b4d46fd76bf6","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"rate_limit_event","rate_limit_info":{"status":"allowed","resetsAt":1781137800,"rateLimitType":"five_hour","overageStatus":"rejected","overageDisabledReason":"out_of_credits","isUsingOverage":false},"uuid":"9784a9e8-4aeb-4fba-b7e2-c6bcb5de5181","session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":6,"estimated_tokens_delta":6,"uuid":"698c9527-d551-422a-8b6e-c440a3a59041","session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":12,"estimated_tokens_delta":6,"uuid":"45a33968-2d58-4055-8453-aa88c3020f55","session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":63,"estimated_tokens_delta":51,"uuid":"70dba455-78e3-4125-b5eb-18cbdbed1ec0","session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_01CZBxV7ofQuBHdUGPycLLJn","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"The user wants me to say exactly \"ZERO_DELAY_B\".","signature":"EvcBCmUIDhgCKkCi5hgWkIXEZ7iBuJ6pJvxBHq3UfcUg2mReTcKrR5oCpuMdgcXCHLWPmp6/vqea5eomHEQBITO1ZUZOPiCgPLbNMhFjbGF1ZGUtc29ubmV0LTQtNjgAQgh0aGlua2luZxIM8mVJNBurL6VU2eqkGgwO2Sr3usW1o0Gq/XAiMM9qjlfFJj/SMZZIysyW2nTlkfbZqqN1VFbn9+vY7/6tXLWi4HshunEy9+s9Zixn2ipAMG8FeIGymPomo7c6c8uz8N5gJ8Mp3+lFkkhQKuA6iPjctx7hPM1T3l+3ICQKIXJwQgFIgTnofwkH5tRucGJGeBgB"}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":7111,"cache_read_input_tokens":17161,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":7111},"output_tokens":6,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae","uuid":"8cf0f55d-a87c-4fd6-b2e6-bb20f78adb15","request_id":"req_011CbvCPozpqskXJ5s6WFG6s"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_01CZBxV7ofQuBHdUGPycLLJn","type":"message","role":"assistant","content":[{"type":"text","text":"ZERO_DELAY_B"}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":7111,"cache_read_input_tokens":17161,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":7111},"output_tokens":6,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae","uuid":"6c007a96-8da6-4786-9462-f6f3ae0b93c6","request_id":"req_011CbvCPozpqskXJ5s6WFG6s"} +{"type":"system","subtype":"notification","key":"stop-hook-error","text":"Stop hook error occurred · ctrl+o to see","priority":"immediate","uuid":"616e1996-1001-4774-a5a4-023bb1027b75","session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae"} +{"type":"result","subtype":"success","is_error":false,"api_error_status":null,"duration_ms":3924,"duration_api_ms":5030,"ttft_ms":3852,"ttft_stream_ms":3850,"time_to_request_ms":3,"num_turns":1,"result":"ZERO_DELAY_B","stop_reason":"end_turn","session_id":"786656c6-2361-479b-83f9-6c8794b2c3ae","total_cost_usd":0.03288554999999999,"usage":{"input_tokens":10,"cache_creation_input_tokens":7111,"cache_read_input_tokens":17161,"output_tokens":34,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":7111,"ephemeral_5m_input_tokens":0},"inference_geo":"not_available","iterations":[{"input_tokens":10,"output_tokens":34,"cache_read_input_tokens":17161,"cache_creation_input_tokens":7111,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":7111},"type":"message"}],"speed":"standard"},"modelUsage":{"claude-haiku-4-5-20251001":{"inputTokens":451,"outputTokens":16,"cacheReadInputTokens":0,"cacheCreationInputTokens":0,"webSearchRequests":0,"costUSD":0.000531,"contextWindow":200000,"maxOutputTokens":32000},"claude-sonnet-4-6":{"inputTokens":10,"outputTokens":34,"cacheReadInputTokens":17161,"cacheCreationInputTokens":7111,"webSearchRequests":0,"costUSD":0.032354549999999996,"contextWindow":200000,"maxOutputTokens":32000}},"permission_denials":[],"terminal_reason":"completed","fast_mode_state":"off","uuid":"0a07731e-3239-4d2c-b7eb-a2d8b20ce503"} diff --git a/goldens/2026-06-10-interrupt/interrupt-zero-delay-prompt/native.timeline.jsonl b/goldens/2026-06-10-interrupt/interrupt-zero-delay-prompt/native.timeline.jsonl new file mode 100644 index 0000000..c55ab65 --- /dev/null +++ b/goldens/2026-06-10-interrupt/interrupt-zero-delay-prompt/native.timeline.jsonl @@ -0,0 +1,28 @@ +{"t":2,"action":"sequence_start","steps":6} +{"t":2,"action":"send_prompt","index":0,"content":"Count slowly from 1 to 100, one number per line."} +{"t":2,"action":"delay_start","ms":2000} +{"t":913,"action":"event","type":"system","subtype":"init"} +{"t":2004,"action":"delay_end"} +{"t":2004,"action":"send_control","subtype":"interrupt"} +{"t":2004,"action":"send_prompt","index":1,"content":"Say exactly: ZERO_DELAY_B"} +{"t":2004,"action":"wait_result_start"} +{"t":2004,"action":"event","type":"control_response"} +{"t":2010,"action":"event","type":"user"} +{"t":2010,"action":"event","type":"result","subtype":"error_during_execution"} +{"t":2010,"action":"result","subtype":"error_during_execution"} +{"t":2013,"action":"event","type":"system","subtype":"init"} +{"t":2030,"action":"event","type":"rate_limit_event"} +{"t":2055,"action":"wait_result_end","results":1} +{"t":2055,"action":"wait_result_start"} +{"t":5865,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":5865,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":5866,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":5867,"action":"event","type":"assistant"} +{"t":5867,"action":"event","type":"assistant"} +{"t":5935,"action":"event","type":"system","subtype":"notification"} +{"t":5936,"action":"event","type":"result","subtype":"success"} +{"t":5936,"action":"result","subtype":"success"} +{"t":5948,"action":"wait_result_end","results":2} +{"t":5948,"action":"close_stdin"} +{"t":5948,"action":"sequence_done_closing_stdin"} +{"t":6471,"action":"exit","code":0,"signal":null} diff --git a/goldens/2026-06-10-interrupt/report.json b/goldens/2026-06-10-interrupt/report.json new file mode 100644 index 0000000..d582a2c --- /dev/null +++ b/goldens/2026-06-10-interrupt/report.json @@ -0,0 +1,1163 @@ +{ + "model": "sonnet", + "captured_at": "2026-06-10T20:17:27.329Z", + "native_version": "2.1.170 (Claude Code)", + "out_dir": "goldens/2026-06-10-interrupt", + "cases": { + "baseline-one-shot": { + "args": [], + "prompts_sent": 1, + "mode": "sequence", + "out_dir": "goldens/2026-06-10-interrupt/baseline-one-shot", + "runs": { + "native": { + "exit": { + "code": 0, + "signal": null + }, + "sent": 1, + "results_seen": 1, + "assistant_count": 2, + "result_count": 1, + "event_counts": { + "assistant": 2, + "rate_limit_event": 1, + "result.success": 1, + "system.init": 1, + "system.notification": 1, + "system.thinking_tokens": 3 + }, + "non_assistant_counts": { + "rate_limit_event": 1, + "system.init": 1, + "system.notification": 1, + "system.thinking_tokens": 3 + }, + "system_subtypes": [ + "init", + "notification", + "thinking_tokens" + ], + "suspicious_assistant_texts": [] + } + }, + "timelines": { + "native": [ + { + "t": 2, + "action": "sequence_start", + "steps": 3 + }, + { + "t": 2, + "action": "send_prompt", + "index": 0, + "content": "Say exactly: READY" + }, + { + "t": 2, + "action": "wait_result_start" + }, + { + "t": 929, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 1972, + "action": "event", + "type": "rate_limit_event" + }, + { + "t": 2748, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 2748, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 2748, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 2748, + "action": "event", + "type": "assistant" + }, + { + "t": 2748, + "action": "event", + "type": "assistant" + }, + { + "t": 2766, + "action": "event", + "type": "system", + "subtype": "notification" + }, + { + "t": 2766, + "action": "event", + "type": "result", + "subtype": "success" + }, + { + "t": 2766, + "action": "result", + "subtype": "success" + }, + { + "t": 2811, + "action": "wait_result_end", + "results": 1 + }, + { + "t": 2811, + "action": "close_stdin" + }, + { + "t": 2811, + "action": "sequence_done_closing_stdin" + }, + { + "t": 3134, + "action": "exit", + "code": 0, + "signal": null + } + ] + } + }, + "interrupt-during-long-task": { + "args": [], + "prompts_sent": 1, + "mode": "sequence", + "out_dir": "goldens/2026-06-10-interrupt/interrupt-during-long-task", + "runs": { + "native": { + "exit": { + "code": 1, + "signal": null + }, + "sent": 1, + "results_seen": 1, + "assistant_count": 0, + "result_count": 1, + "event_counts": { + "control_response": 1, + "rate_limit_event": 1, + "result.error_during_execution": 1, + "system.init": 1, + "user": 1 + }, + "non_assistant_counts": { + "control_response": 1, + "rate_limit_event": 1, + "system.init": 1, + "user": 1 + }, + "system_subtypes": [ + "init" + ], + "suspicious_assistant_texts": [] + } + }, + "timelines": { + "native": [ + { + "t": 2, + "action": "sequence_start", + "steps": 4 + }, + { + "t": 2, + "action": "send_prompt", + "index": 0, + "content": "Count slowly from 1 to 100, one number per line." + }, + { + "t": 2, + "action": "delay_start", + "ms": 2000 + }, + { + "t": 738, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 1735, + "action": "event", + "type": "rate_limit_event" + }, + { + "t": 2003, + "action": "delay_end" + }, + { + "t": 2003, + "action": "send_control", + "subtype": "interrupt" + }, + { + "t": 2003, + "action": "wait_result_start" + }, + { + "t": 2004, + "action": "event", + "type": "control_response" + }, + { + "t": 2011, + "action": "event", + "type": "user" + }, + { + "t": 2012, + "action": "event", + "type": "result", + "subtype": "error_during_execution" + }, + { + "t": 2012, + "action": "result", + "subtype": "error_during_execution" + }, + { + "t": 2053, + "action": "wait_result_end", + "results": 1 + }, + { + "t": 2053, + "action": "close_stdin" + }, + { + "t": 2053, + "action": "sequence_done_closing_stdin" + }, + { + "t": 2335, + "action": "exit", + "code": 1, + "signal": null + } + ] + } + }, + "interrupt-then-immediate-prompt": { + "args": [], + "prompts_sent": 2, + "mode": "sequence", + "out_dir": "goldens/2026-06-10-interrupt/interrupt-then-immediate-prompt", + "runs": { + "native": { + "exit": { + "code": 0, + "signal": null + }, + "sent": 2, + "results_seen": 2, + "assistant_count": 2, + "result_count": 2, + "event_counts": { + "assistant": 2, + "control_response": 1, + "rate_limit_event": 1, + "result.error_during_execution": 1, + "result.success": 1, + "system.init": 2, + "system.notification": 1, + "system.thinking_tokens": 3, + "user": 1 + }, + "non_assistant_counts": { + "control_response": 1, + "rate_limit_event": 1, + "system.init": 2, + "system.notification": 1, + "system.thinking_tokens": 3, + "user": 1 + }, + "system_subtypes": [ + "init", + "notification", + "thinking_tokens" + ], + "suspicious_assistant_texts": [] + } + }, + "timelines": { + "native": [ + { + "t": 2, + "action": "sequence_start", + "steps": 6 + }, + { + "t": 2, + "action": "send_prompt", + "index": 0, + "content": "Count slowly from 1 to 100, one number per line." + }, + { + "t": 2, + "action": "delay_start", + "ms": 2000 + }, + { + "t": 806, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 1945, + "action": "event", + "type": "rate_limit_event" + }, + { + "t": 2003, + "action": "delay_end" + }, + { + "t": 2003, + "action": "send_control", + "subtype": "interrupt" + }, + { + "t": 2003, + "action": "delay_start", + "ms": 50 + }, + { + "t": 2004, + "action": "event", + "type": "control_response" + }, + { + "t": 2009, + "action": "event", + "type": "user" + }, + { + "t": 2009, + "action": "event", + "type": "result", + "subtype": "error_during_execution" + }, + { + "t": 2009, + "action": "result", + "subtype": "error_during_execution" + }, + { + "t": 2054, + "action": "delay_end" + }, + { + "t": 2054, + "action": "send_prompt", + "index": 1, + "content": "Say exactly: AFTER_INTERRUPT" + }, + { + "t": 2055, + "action": "wait_result_start" + }, + { + "t": 2058, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 3926, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 3926, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 3927, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 3927, + "action": "event", + "type": "assistant" + }, + { + "t": 3927, + "action": "event", + "type": "assistant" + }, + { + "t": 4003, + "action": "event", + "type": "system", + "subtype": "notification" + }, + { + "t": 4003, + "action": "event", + "type": "result", + "subtype": "success" + }, + { + "t": 4003, + "action": "result", + "subtype": "success" + }, + { + "t": 4044, + "action": "wait_result_end", + "results": 2 + }, + { + "t": 4044, + "action": "wait_result_start" + }, + { + "t": 34046, + "action": "wait_result_end", + "results": 2 + }, + { + "t": 34046, + "action": "close_stdin" + }, + { + "t": 34046, + "action": "sequence_done_closing_stdin" + }, + { + "t": 34274, + "action": "exit", + "code": 0, + "signal": null + } + ] + } + }, + "sigint-during-long-task": { + "args": [], + "prompts_sent": 1, + "mode": "sequence", + "out_dir": "goldens/2026-06-10-interrupt/sigint-during-long-task", + "runs": { + "native": { + "exit": { + "code": 0, + "signal": null + }, + "sent": 1, + "results_seen": 1, + "assistant_count": 0, + "result_count": 1, + "event_counts": { + "rate_limit_event": 1, + "result.error_during_execution": 1, + "system.init": 1, + "user": 1 + }, + "non_assistant_counts": { + "rate_limit_event": 1, + "system.init": 1, + "user": 1 + }, + "system_subtypes": [ + "init" + ], + "suspicious_assistant_texts": [] + } + }, + "timelines": { + "native": [ + { + "t": 2, + "action": "sequence_start", + "steps": 4 + }, + { + "t": 2, + "action": "send_prompt", + "index": 0, + "content": "Count slowly from 1 to 100, one number per line." + }, + { + "t": 2, + "action": "delay_start", + "ms": 2000 + }, + { + "t": 787, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 1869, + "action": "event", + "type": "rate_limit_event" + }, + { + "t": 2003, + "action": "delay_end" + }, + { + "t": 2003, + "action": "send_signal", + "signal": "SIGINT" + }, + { + "t": 2003, + "action": "wait_result_start" + }, + { + "t": 2023, + "action": "event", + "type": "user" + }, + { + "t": 2023, + "action": "event", + "type": "result", + "subtype": "error_during_execution" + }, + { + "t": 2023, + "action": "result", + "subtype": "error_during_execution" + }, + { + "t": 2054, + "action": "wait_result_end", + "results": 1 + }, + { + "t": 2054, + "action": "close_stdin" + }, + { + "t": 2054, + "action": "sequence_done_closing_stdin" + }, + { + "t": 2299, + "action": "exit", + "code": 0, + "signal": null + } + ] + } + }, + "double-interrupt": { + "args": [], + "prompts_sent": 1, + "mode": "sequence", + "out_dir": "goldens/2026-06-10-interrupt/double-interrupt", + "runs": { + "native": { + "exit": { + "code": 0, + "signal": null + }, + "sent": 1, + "results_seen": 1, + "assistant_count": 0, + "result_count": 1, + "event_counts": { + "control_response": 2, + "rate_limit_event": 1, + "result.error_during_execution": 1, + "system.init": 1, + "user": 1 + }, + "non_assistant_counts": { + "control_response": 2, + "rate_limit_event": 1, + "system.init": 1, + "user": 1 + }, + "system_subtypes": [ + "init" + ], + "suspicious_assistant_texts": [] + } + }, + "timelines": { + "native": [ + { + "t": 2, + "action": "sequence_start", + "steps": 5 + }, + { + "t": 2, + "action": "send_prompt", + "index": 0, + "content": "Write a 500 word essay about testing." + }, + { + "t": 2, + "action": "delay_start", + "ms": 1500 + }, + { + "t": 771, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 1504, + "action": "delay_end" + }, + { + "t": 1504, + "action": "send_control", + "subtype": "interrupt" + }, + { + "t": 1504, + "action": "delay_start", + "ms": 500 + }, + { + "t": 1504, + "action": "event", + "type": "control_response" + }, + { + "t": 1509, + "action": "event", + "type": "user" + }, + { + "t": 1509, + "action": "event", + "type": "result", + "subtype": "error_during_execution" + }, + { + "t": 1509, + "action": "result", + "subtype": "error_during_execution" + }, + { + "t": 1576, + "action": "event", + "type": "rate_limit_event" + }, + { + "t": 2005, + "action": "delay_end" + }, + { + "t": 2005, + "action": "send_control", + "subtype": "interrupt" + }, + { + "t": 2005, + "action": "wait_result_start" + }, + { + "t": 2007, + "action": "event", + "type": "control_response" + }, + { + "t": 17007, + "action": "wait_result_end", + "results": 1 + }, + { + "t": 17007, + "action": "close_stdin" + }, + { + "t": 17007, + "action": "sequence_done_closing_stdin" + }, + { + "t": 17180, + "action": "exit", + "code": 0, + "signal": null + } + ] + } + }, + "interrupt-zero-delay-prompt": { + "args": [], + "prompts_sent": 2, + "mode": "sequence", + "out_dir": "goldens/2026-06-10-interrupt/interrupt-zero-delay-prompt", + "runs": { + "native": { + "exit": { + "code": 0, + "signal": null + }, + "sent": 2, + "results_seen": 2, + "assistant_count": 2, + "result_count": 2, + "event_counts": { + "assistant": 2, + "control_response": 1, + "rate_limit_event": 1, + "result.error_during_execution": 1, + "result.success": 1, + "system.init": 2, + "system.notification": 1, + "system.thinking_tokens": 3, + "user": 1 + }, + "non_assistant_counts": { + "control_response": 1, + "rate_limit_event": 1, + "system.init": 2, + "system.notification": 1, + "system.thinking_tokens": 3, + "user": 1 + }, + "system_subtypes": [ + "init", + "notification", + "thinking_tokens" + ], + "suspicious_assistant_texts": [] + } + }, + "timelines": { + "native": [ + { + "t": 2, + "action": "sequence_start", + "steps": 6 + }, + { + "t": 2, + "action": "send_prompt", + "index": 0, + "content": "Count slowly from 1 to 100, one number per line." + }, + { + "t": 2, + "action": "delay_start", + "ms": 2000 + }, + { + "t": 913, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 2004, + "action": "delay_end" + }, + { + "t": 2004, + "action": "send_control", + "subtype": "interrupt" + }, + { + "t": 2004, + "action": "send_prompt", + "index": 1, + "content": "Say exactly: ZERO_DELAY_B" + }, + { + "t": 2004, + "action": "wait_result_start" + }, + { + "t": 2004, + "action": "event", + "type": "control_response" + }, + { + "t": 2010, + "action": "event", + "type": "user" + }, + { + "t": 2010, + "action": "event", + "type": "result", + "subtype": "error_during_execution" + }, + { + "t": 2010, + "action": "result", + "subtype": "error_during_execution" + }, + { + "t": 2013, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 2030, + "action": "event", + "type": "rate_limit_event" + }, + { + "t": 2055, + "action": "wait_result_end", + "results": 1 + }, + { + "t": 2055, + "action": "wait_result_start" + }, + { + "t": 5865, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 5865, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 5866, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 5867, + "action": "event", + "type": "assistant" + }, + { + "t": 5867, + "action": "event", + "type": "assistant" + }, + { + "t": 5935, + "action": "event", + "type": "system", + "subtype": "notification" + }, + { + "t": 5936, + "action": "event", + "type": "result", + "subtype": "success" + }, + { + "t": 5936, + "action": "result", + "subtype": "success" + }, + { + "t": 5948, + "action": "wait_result_end", + "results": 2 + }, + { + "t": 5948, + "action": "close_stdin" + }, + { + "t": 5948, + "action": "sequence_done_closing_stdin" + }, + { + "t": 6471, + "action": "exit", + "code": 0, + "signal": null + } + ] + } + }, + "interrupt-then-two-prompts": { + "args": [], + "prompts_sent": 3, + "mode": "sequence", + "out_dir": "goldens/2026-06-10-interrupt/interrupt-then-two-prompts", + "runs": { + "native": { + "exit": { + "code": 0, + "signal": null + }, + "sent": 3, + "results_seen": 3, + "assistant_count": 4, + "result_count": 3, + "event_counts": { + "assistant": 4, + "control_response": 1, + "rate_limit_event": 1, + "result.error_during_execution": 1, + "result.success": 2, + "system.init": 3, + "system.notification": 2, + "system.thinking_tokens": 6, + "user": 1 + }, + "non_assistant_counts": { + "control_response": 1, + "rate_limit_event": 1, + "system.init": 3, + "system.notification": 2, + "system.thinking_tokens": 6, + "user": 1 + }, + "system_subtypes": [ + "init", + "notification", + "thinking_tokens" + ], + "suspicious_assistant_texts": [] + } + }, + "timelines": { + "native": [ + { + "t": 2, + "action": "sequence_start", + "steps": 7 + }, + { + "t": 2, + "action": "send_prompt", + "index": 0, + "content": "Count slowly from 1 to 100, one number per line." + }, + { + "t": 2, + "action": "delay_start", + "ms": 2000 + }, + { + "t": 757, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 1634, + "action": "event", + "type": "rate_limit_event" + }, + { + "t": 2007, + "action": "delay_end" + }, + { + "t": 2007, + "action": "send_control", + "subtype": "interrupt" + }, + { + "t": 2007, + "action": "delay_start", + "ms": 50 + }, + { + "t": 2008, + "action": "event", + "type": "control_response" + }, + { + "t": 2017, + "action": "event", + "type": "user" + }, + { + "t": 2018, + "action": "event", + "type": "result", + "subtype": "error_during_execution" + }, + { + "t": 2018, + "action": "result", + "subtype": "error_during_execution" + }, + { + "t": 2057, + "action": "delay_end" + }, + { + "t": 2057, + "action": "send_prompt", + "index": 1, + "content": "Say exactly: PROMPT_B" + }, + { + "t": 2057, + "action": "wait_result_start" + }, + { + "t": 2061, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 4070, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 4070, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 4070, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 4071, + "action": "event", + "type": "assistant" + }, + { + "t": 4071, + "action": "event", + "type": "assistant" + }, + { + "t": 4166, + "action": "event", + "type": "system", + "subtype": "notification" + }, + { + "t": 4172, + "action": "event", + "type": "result", + "subtype": "success" + }, + { + "t": 4172, + "action": "result", + "subtype": "success" + }, + { + "t": 4200, + "action": "wait_result_end", + "results": 2 + }, + { + "t": 4200, + "action": "send_prompt", + "index": 2, + "content": "Say exactly: PROMPT_C" + }, + { + "t": 4200, + "action": "wait_result_start" + }, + { + "t": 4203, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 5616, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 5779, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 5780, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 5780, + "action": "event", + "type": "assistant" + }, + { + "t": 5782, + "action": "event", + "type": "assistant" + }, + { + "t": 5851, + "action": "event", + "type": "system", + "subtype": "notification" + }, + { + "t": 5851, + "action": "event", + "type": "result", + "subtype": "success" + }, + { + "t": 5851, + "action": "result", + "subtype": "success" + }, + { + "t": 5896, + "action": "wait_result_end", + "results": 3 + }, + { + "t": 5896, + "action": "close_stdin" + }, + { + "t": 5896, + "action": "sequence_done_closing_stdin" + }, + { + "t": 6329, + "action": "exit", + "code": 0, + "signal": null + } + ] + } + } + } +} diff --git a/goldens/2026-06-10-interrupt/sigint-during-long-task/native.stderr.log b/goldens/2026-06-10-interrupt/sigint-during-long-task/native.stderr.log new file mode 100644 index 0000000..e69de29 diff --git a/goldens/2026-06-10-interrupt/sigint-during-long-task/native.stdout.jsonl b/goldens/2026-06-10-interrupt/sigint-during-long-task/native.stdout.jsonl new file mode 100644 index 0000000..53bea4a --- /dev/null +++ b/goldens/2026-06-10-interrupt/sigint-during-long-task/native.stdout.jsonl @@ -0,0 +1,4 @@ +{"type":"system","subtype":"init","cwd":"","session_id":"193781c0-cd7d-4f80-a9da-c9537de78c0b","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.170","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"fb749c47-348a-4509-a60b-2b532cfc7a17","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"rate_limit_event","rate_limit_info":{"status":"allowed","resetsAt":1781137800,"rateLimitType":"five_hour","overageStatus":"rejected","overageDisabledReason":"out_of_credits","isUsingOverage":false},"uuid":"288395b2-00fb-4db9-8e26-f9ec2f7931dc","session_id":"193781c0-cd7d-4f80-a9da-c9537de78c0b"} +{"type":"user","message":{"role":"user","content":[{"type":"text","text":"[Request interrupted by user]"}]},"parent_tool_use_id":null,"session_id":"193781c0-cd7d-4f80-a9da-c9537de78c0b","uuid":"0a89441f-2be3-4a63-b0b3-b622cd26a00e","timestamp":"2026-06-10T20:18:09.116Z"} +{"type":"result","subtype":"error_during_execution","duration_ms":1256,"duration_api_ms":1105,"is_error":true,"num_turns":2,"stop_reason":null,"session_id":"193781c0-cd7d-4f80-a9da-c9537de78c0b","total_cost_usd":0.000531,"usage":{"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":"","iterations":[],"speed":"standard"},"modelUsage":{"claude-haiku-4-5-20251001":{"inputTokens":451,"outputTokens":16,"cacheReadInputTokens":0,"cacheCreationInputTokens":0,"webSearchRequests":0,"costUSD":0.000531,"contextWindow":200000,"maxOutputTokens":32000}},"permission_denials":[],"terminal_reason":"aborted_streaming","fast_mode_state":"off","uuid":"cd5d8665-11a3-44ca-a7b1-811e8bfe71b0","errors":["[ede_diagnostic] result_type=user last_content_type=n/a stop_reason=null"]} diff --git a/goldens/2026-06-10-interrupt/sigint-during-long-task/native.timeline.jsonl b/goldens/2026-06-10-interrupt/sigint-during-long-task/native.timeline.jsonl new file mode 100644 index 0000000..7a1a6d0 --- /dev/null +++ b/goldens/2026-06-10-interrupt/sigint-during-long-task/native.timeline.jsonl @@ -0,0 +1,15 @@ +{"t":2,"action":"sequence_start","steps":4} +{"t":2,"action":"send_prompt","index":0,"content":"Count slowly from 1 to 100, one number per line."} +{"t":2,"action":"delay_start","ms":2000} +{"t":787,"action":"event","type":"system","subtype":"init"} +{"t":1869,"action":"event","type":"rate_limit_event"} +{"t":2003,"action":"delay_end"} +{"t":2003,"action":"send_signal","signal":"SIGINT"} +{"t":2003,"action":"wait_result_start"} +{"t":2023,"action":"event","type":"user"} +{"t":2023,"action":"event","type":"result","subtype":"error_during_execution"} +{"t":2023,"action":"result","subtype":"error_during_execution"} +{"t":2054,"action":"wait_result_end","results":1} +{"t":2054,"action":"close_stdin"} +{"t":2054,"action":"sequence_done_closing_stdin"} +{"t":2299,"action":"exit","code":0,"signal":null} diff --git a/goldens/2026-06-10-task-subagent/native.stderr.log b/goldens/2026-06-10-task-subagent/native.stderr.log new file mode 100644 index 0000000..e69de29 diff --git a/goldens/2026-06-10-task-subagent/native.stdout.jsonl b/goldens/2026-06-10-task-subagent/native.stdout.jsonl new file mode 100644 index 0000000..7ca779f --- /dev/null +++ b/goldens/2026-06-10-task-subagent/native.stdout.jsonl @@ -0,0 +1,42 @@ +{"type":"system","subtype":"init","cwd":"/goldens/2026-06-10-task-subagent/cwd/native","session_id":"8387977b-a1e2-4628-853c-afec6970a292","tools":["Task","AskUserQuestion","Bash","CronCreate","CronDelete","CronList","Edit","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","LSP","Monitor","NotebookEdit","PushNotification","Read","RemoteTrigger","ScheduleWakeup","Skill","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","ToolSearch","WebFetch","WebSearch","Workflow","Write","mcp__redacted__tool"],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"default","slash_commands":[""],"apiKeySource":"none","claude_code_version":"2.1.172","output_style":"default","agents":[""],"skills":[""],"plugins":[],"analytics_disabled":false,"product_feedback_disabled":false,"uuid":"b81e3e24-636c-46ee-8225-646771b8b1bb","memory_paths":{"auto":"~/.claude/projects/-repo/memory/"},"fast_mode_state":"off"} +{"type":"rate_limit_event","rate_limit_info":{"status":"allowed","resetsAt":1781137800,"rateLimitType":"five_hour","overageStatus":"rejected","overageDisabledReason":"out_of_credits","isUsingOverage":false},"uuid":"d3d3ea89-c4c6-4a65-a4be-2a8f93f3cbd1","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":4,"estimated_tokens_delta":4,"uuid":"3c0cbdf2-a0af-414c-8238-c8a7adfd04e1","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":35,"estimated_tokens_delta":31,"uuid":"79f8326c-bf46-488f-83a6-983586a41fb7","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":39,"estimated_tokens_delta":4,"uuid":"443a1900-4aa0-42e6-b28b-5bcef0b07bc7","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":90,"estimated_tokens_delta":51,"uuid":"65b2b062-677d-4617-9c92-681e9b411068","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_014Yx7D3ULnTYckowzCygpPw","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"The user wants me to use the Task tool to launch a subagent that answers \"what is 7 times 6?\" I need to first fetch the Task tool schema via ToolSearch.","signature":"EuACCmUIDhgCKkAJFpzo0XuB5TZ0ODj11A663/ufxoMWUmmZanssthVXCNHsTnWvN8UFWBF2itA8avbnQhLwUyQ+6gAHZhJYK6XpMhFjbGF1ZGUtc29ubmV0LTQtNjgAQgh0aGlua2luZxIMHLDyxyZGNSvVeelvGgxo0RjMVP6YISYWO0YiMFPvRyLRKqIOdjDOhegAaw3NcKuBxs5cxoLEbqeesDVeD7G1+ofcDXzTjg6bxM5layqoAQSwH6xm1TYnwcra1hi132qd2r/0yUJkDw+PShaOfHAvPkBq8s53a8Oa4yESaXtlUWpgt5kZy4SRsW570739V91XcYNaLVo2Uay/fIDxWn+jLySpiUyeSs/pWe3Ndyw7SoDDgeL9edLpiHqBbqJfY0gYJRiMa6Z4c2lxlB8blaXVi6ke8Qns/jaAq6H11gUSb4hMyCVjVZnOco9C6e4lxbnFvHqf0QtnQhgB"}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":6923,"cache_read_input_tokens":17161,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":6923},"output_tokens":3,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"8387977b-a1e2-4628-853c-afec6970a292","uuid":"02795732-a00e-4fb5-bf4c-1d1af2f2276b","request_id":"req_011CbvEpxUjiyTVikkNWjGzs"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_014Yx7D3ULnTYckowzCygpPw","type":"message","role":"assistant","content":[{"type":"text","text":"I'll fetch the TaskCreate tool schema first, then launch the subagent."}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":6923,"cache_read_input_tokens":17161,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":6923},"output_tokens":3,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"8387977b-a1e2-4628-853c-afec6970a292","uuid":"eaaedec8-2909-4cfb-a34a-539328ef1cf3","request_id":"req_011CbvEpxUjiyTVikkNWjGzs"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_014Yx7D3ULnTYckowzCygpPw","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_01VEAnboe2mN5VTQpezqBnp7","name":"ToolSearch","input":{"query":"select:TaskCreate","max_results":1},"caller":{"type":"direct"}}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":6923,"cache_read_input_tokens":17161,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":6923},"output_tokens":3,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"8387977b-a1e2-4628-853c-afec6970a292","uuid":"22959ffe-cda4-4dda-8319-53ddcdfec0b4","request_id":"req_011CbvEpxUjiyTVikkNWjGzs"} +{"type":"user","message":{"role":"user","content":[{"type":"tool_result","tool_use_id":"toolu_01VEAnboe2mN5VTQpezqBnp7","content":[{"type":"tool_reference","tool_name":"TaskCreate"}]}]},"parent_tool_use_id":null,"session_id":"8387977b-a1e2-4628-853c-afec6970a292","uuid":"f6e15523-c49f-46b8-88f0-df2769bc4f02","timestamp":"2026-06-10T20:50:27.697Z","tool_use_result":{"matches":["TaskCreate"],"query":"select:TaskCreate","total_deferred_tools":36}} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":2,"estimated_tokens_delta":2,"uuid":"cef4a923-8835-4717-9e28-2fab49288227","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":24,"estimated_tokens_delta":22,"uuid":"fde3966d-df19-4e70-b518-86efe84450c2","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":48,"estimated_tokens_delta":24,"uuid":"0a070412-85b8-4a47-bb4e-06c7676308bf","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":69,"estimated_tokens_delta":21,"uuid":"498b4942-e62c-40ba-841c-7163947a1294","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":94,"estimated_tokens_delta":25,"uuid":"048da3e2-13bb-4879-abd2-b277666f36ab","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":112,"estimated_tokens_delta":18,"uuid":"3b3e1be9-9ad7-4131-ba6b-2a82b7bd47a3","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":140,"estimated_tokens_delta":28,"uuid":"38a0b5ba-d095-43ad-a2ee-cbca34037380","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":144,"estimated_tokens_delta":4,"uuid":"9f06b82b-8db4-4b45-8e14-061262d0e2b6","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":145,"estimated_tokens_delta":1,"uuid":"e482bf40-237f-4203-8642-2d29cbe83fea","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":166,"estimated_tokens_delta":21,"uuid":"f6210255-730d-4d49-bcbd-3a395db1b8cb","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":192,"estimated_tokens_delta":26,"uuid":"ff6b0168-c686-49a7-9d10-7bb47f57aab0","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":210,"estimated_tokens_delta":18,"uuid":"4db8b008-eaac-49b0-8612-a51c33b88dc6","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":239,"estimated_tokens_delta":29,"uuid":"257f2d3d-dbe8-4ec5-99e6-9a4f3f302815","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":240,"estimated_tokens_delta":1,"uuid":"6cacd93b-0d14-4045-ab9b-2c446d640eeb","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":259,"estimated_tokens_delta":19,"uuid":"6bf83992-620b-409d-b98e-585a435e0cb6","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":280,"estimated_tokens_delta":21,"uuid":"53aa4ae8-aa1a-41ea-af12-1d9e7b670367","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":298,"estimated_tokens_delta":18,"uuid":"efbba6d5-5ffd-479d-970a-78d769d2df67","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":884,"estimated_tokens_delta":586,"uuid":"da1e54f1-9ca1-496e-815c-2ae4b4e7934f","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_0192WEz39gef5gdx71PzD26K","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"The TaskCreate tool is for creating structured task lists for coding sessions, not for launching subagents. The user asked me to \"use the Task tool to launch a subagent.\" But looking at TaskCreate, it's just a task tracking tool, not a subagent launcher.\n\nLet me reconsider. The user said \"Use the Task tool to launch a subagent.\" The \"Task tool\" might refer to something else. Let me check if there are other Task-related tools. I see TaskGet, TaskList, TaskOutput, TaskStop, TaskUpdate in the deferred tools list. But none of these seem to be a subagent launcher.\n \nActually, I'm realizing there's no Task tool designed to launch subagents at all—that's what the Agent tool does. This appears to be a test scenario where the user is asking me to use a tool that doesn't exist for that purpose. I should clarify that TaskCreate is for task tracking, not subagent launching, and that the Agent tool is what actually launches subagents. The TaskCreate tool is clearly for task management, not launching subagents, so I should use the Agent tool instead to actually execute the subagent request. Let me proceed with that approach and clarify the distinction if needed.","signature":"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"}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":886,"cache_read_input_tokens":24084,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":886},"output_tokens":2,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"8387977b-a1e2-4628-853c-afec6970a292","uuid":"6c521898-5bd1-40f3-961e-9037ffc77775","request_id":"req_011CbvEqHykUyn7XqvVXS4QG"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_0192WEz39gef5gdx71PzD26K","type":"message","role":"assistant","content":[{"type":"text","text":"The `TaskCreate` tool is a task-tracking tool, not a subagent launcher — the correct tool for launching subagents is `Agent`. I'll use that now."}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":886,"cache_read_input_tokens":24084,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":886},"output_tokens":2,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"8387977b-a1e2-4628-853c-afec6970a292","uuid":"1df27ce6-52ca-496d-a485-d967cf20749d","request_id":"req_011CbvEqHykUyn7XqvVXS4QG"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_0192WEz39gef5gdx71PzD26K","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_01JUcTEHndYK4adFBvZn1s7P","name":"Agent","input":{"description":"Math calculation subagent","prompt":"What is 7 times 6? Reply with only the numeric answer."},"caller":{"type":"direct"}}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":886,"cache_read_input_tokens":24084,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":886},"output_tokens":2,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"8387977b-a1e2-4628-853c-afec6970a292","uuid":"34ec5319-b2a2-41e0-96f2-90f4beb4413d","request_id":"req_011CbvEqHykUyn7XqvVXS4QG"} +{"type":"system","subtype":"task_started","task_id":"a44a9ccb01fe5db00","tool_use_id":"toolu_01JUcTEHndYK4adFBvZn1s7P","description":"Math calculation subagent","subagent_type":"general-purpose","task_type":"local_agent","prompt":"What is 7 times 6? Reply with only the numeric answer.","uuid":"3f5e0890-58a3-43bc-a97c-38409ed80693","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"user","message":{"role":"user","content":[{"type":"text","text":"What is 7 times 6? Reply with only the numeric answer."}]},"parent_tool_use_id":"toolu_01JUcTEHndYK4adFBvZn1s7P","session_id":"8387977b-a1e2-4628-853c-afec6970a292","uuid":"6fcc659b-df3c-48c4-8af4-d79f8fe212b0","timestamp":"2026-06-10T20:50:55.027Z","subagent_type":"general-purpose","task_description":"Math calculation subagent"} +{"type":"system","subtype":"task_notification","task_id":"a44a9ccb01fe5db00","tool_use_id":"toolu_01JUcTEHndYK4adFBvZn1s7P","status":"completed","output_file":"","summary":"Math calculation subagent","usage":{"total_tokens":10834,"tool_uses":0,"duration_ms":1298},"uuid":"0889f74c-b93e-4249-9ede-9cefbfdff46b","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"user","message":{"role":"user","content":[{"tool_use_id":"toolu_01JUcTEHndYK4adFBvZn1s7P","type":"tool_result","content":[{"type":"text","text":"42"},{"type":"text","text":"agentId: a44a9ccb01fe5db00 (use SendMessage with to: 'a44a9ccb01fe5db00' to continue this agent)\nsubagent_tokens: 10837\ntool_uses: 0\nduration_ms: 1302"}]}]},"parent_tool_use_id":null,"session_id":"8387977b-a1e2-4628-853c-afec6970a292","uuid":"dc49e572-659d-4bbc-8a3d-a37f0edd8120","timestamp":"2026-06-10T20:50:56.329Z","tool_use_result":{"status":"completed","prompt":"What is 7 times 6? Reply with only the numeric answer.","agentId":"a44a9ccb01fe5db00","agentType":"general-purpose","content":[{"type":"text","text":"42"}],"totalDurationMs":1302,"totalTokens":10837,"totalToolUseCount":0,"usage":{"input_tokens":3,"cache_creation_input_tokens":10829,"cache_read_input_tokens":0,"output_tokens":5,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":10829},"inference_geo":"not_available","iterations":[{"input_tokens":3,"output_tokens":5,"cache_read_input_tokens":0,"cache_creation_input_tokens":10829,"cache_creation":{"ephemeral_5m_input_tokens":10829,"ephemeral_1h_input_tokens":0},"type":"message"}],"speed":"standard"}}} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":2,"estimated_tokens_delta":2,"uuid":"283ca9d5-2280-43b9-acff-5a9e244c70d4","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":7,"estimated_tokens_delta":5,"uuid":"43e3f2b6-27f5-4955-9030-88fabae49151","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"system","subtype":"thinking_tokens","estimated_tokens":58,"estimated_tokens_delta":51,"uuid":"94c3d3f4-308a-4db7-b07b-03d4ea61e61b","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_01RZRM7Y78jNe7BB4KCpMsgg","type":"message","role":"assistant","content":[{"type":"thinking","thinking":"The subagent answered 42.","signature":"EuABCmUIDhgCKkAYeXJxHjEy1bwyGwmePMidzQRaqXWpXuP08kB6LGNjp/EgI7m2IzjaVGoHHW7S6+nlbaiC2csgxJiVmvE5VuIyMhFjbGF1ZGUtc29ubmV0LTQtNjgAQgh0aGlua2luZxIM2xorYu6ExazM2XeqGgxxvScIj/YwfYaH4PciMN4ye3DQvhJgPvBpvm6g12zI1AO70+dM+KlMleGLgyaDJXHqQondBR8vGyr2FgBlnyopA9IOTI4UL2dDl7hZL9XwssDCzRgZVxXPt+XbPSw8lJZcgPKW00uw5ZUYAQ=="}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":1251,"cache_read_input_tokens":24970,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":1251},"output_tokens":2,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"8387977b-a1e2-4628-853c-afec6970a292","uuid":"3f0063f8-2541-45e0-916e-925dbed51457","request_id":"req_011CbvEsPf7c5k3Ao4SQtXjF"} +{"type":"assistant","message":{"model":"claude-sonnet-4-6","id":"msg_01RZRM7Y78jNe7BB4KCpMsgg","type":"message","role":"assistant","content":[{"type":"text","text":"**42**"}],"stop_reason":null,"stop_sequence":null,"stop_details":null,"usage":{"input_tokens":10,"cache_creation_input_tokens":1251,"cache_read_input_tokens":24970,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":1251},"output_tokens":2,"service_tier":"standard","inference_geo":"not_available"},"diagnostics":null,"context_management":null},"parent_tool_use_id":null,"session_id":"8387977b-a1e2-4628-853c-afec6970a292","uuid":"c7644b23-b084-4821-b5cf-780981f7f22d","request_id":"req_011CbvEsPf7c5k3Ao4SQtXjF"} +{"type":"system","subtype":"notification","key":"stop-hook-error","text":"Stop hook error occurred · ctrl+o to see","priority":"immediate","uuid":"161c3caa-2916-4351-a923-1a542d818a94","session_id":"8387977b-a1e2-4628-853c-afec6970a292"} +{"type":"result","subtype":"success","is_error":false,"api_error_status":null,"duration_ms":35032,"duration_api_ms":37231,"ttft_ms":3762,"ttft_stream_ms":2588,"time_to_request_ms":22,"num_turns":3,"result":"**42**","stop_reason":"end_turn","session_id":"8387977b-a1e2-4628-853c-afec6970a292","total_cost_usd":0.13195625000000002,"usage":{"input_tokens":30,"cache_creation_input_tokens":9060,"cache_read_input_tokens":66215,"output_tokens":1092,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":9060,"ephemeral_5m_input_tokens":0},"inference_geo":"not_available","iterations":[{"input_tokens":10,"output_tokens":22,"cache_read_input_tokens":24970,"cache_creation_input_tokens":1251,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":1251},"type":"message"}],"speed":"standard"},"modelUsage":{"claude-haiku-4-5-20251001":{"inputTokens":469,"outputTokens":20,"cacheReadInputTokens":0,"cacheCreationInputTokens":0,"webSearchRequests":0,"costUSD":0.0005690000000000001,"contextWindow":200000,"maxOutputTokens":32000},"claude-sonnet-4-6":{"inputTokens":33,"outputTokens":1097,"cacheReadInputTokens":66215,"cacheCreationInputTokens":19889,"webSearchRequests":0,"costUSD":0.13138725,"contextWindow":200000,"maxOutputTokens":32000}},"permission_denials":[],"terminal_reason":"completed","fast_mode_state":"off","uuid":"26f2355a-f511-45a3-acf8-74e374763946"} diff --git a/goldens/2026-06-10-task-subagent/native.timeline.jsonl b/goldens/2026-06-10-task-subagent/native.timeline.jsonl new file mode 100644 index 0000000..c784397 --- /dev/null +++ b/goldens/2026-06-10-task-subagent/native.timeline.jsonl @@ -0,0 +1,50 @@ +{"t":3,"action":"sequence_start","steps":3} +{"t":3,"action":"send_prompt","index":0,"content":"Use the Task tool to launch a subagent that answers this question: what is 7 times 6? Report only the subagent's answer."} +{"t":3,"action":"wait_result_start"} +{"t":961,"action":"event","type":"system","subtype":"init"} +{"t":2637,"action":"event","type":"rate_limit_event"} +{"t":3533,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":3970,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":4628,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":4691,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":4704,"action":"event","type":"assistant"} +{"t":5268,"action":"event","type":"assistant"} +{"t":5326,"action":"event","type":"assistant"} +{"t":5331,"action":"event","type":"user"} +{"t":7392,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":7393,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":7791,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":8219,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":8651,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":9043,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":9494,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":9948,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":13126,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":13245,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":13469,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":13665,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":13810,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":25989,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":26334,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":26525,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":26835,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":32483,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":32484,"action":"event","type":"assistant"} +{"t":32484,"action":"event","type":"assistant"} +{"t":32655,"action":"event","type":"assistant"} +{"t":32664,"action":"event","type":"system","subtype":"task_started"} +{"t":32668,"action":"event","type":"user"} +{"t":33962,"action":"event","type":"system","subtype":"task_notification"} +{"t":33964,"action":"event","type":"user"} +{"t":35337,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":35807,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":35807,"action":"event","type":"system","subtype":"thinking_tokens"} +{"t":35808,"action":"event","type":"assistant"} +{"t":35817,"action":"event","type":"assistant"} +{"t":35974,"action":"event","type":"system","subtype":"notification"} +{"t":35974,"action":"event","type":"result","subtype":"success"} +{"t":35974,"action":"result","subtype":"success"} +{"t":36018,"action":"wait_result_end","results":1} +{"t":36018,"action":"close_stdin"} +{"t":36018,"action":"sequence_done_closing_stdin"} +{"t":36231,"action":"exit","code":0,"signal":null} diff --git a/goldens/2026-06-10-task-subagent/report.json b/goldens/2026-06-10-task-subagent/report.json new file mode 100644 index 0000000..9ca6467 --- /dev/null +++ b/goldens/2026-06-10-task-subagent/report.json @@ -0,0 +1,381 @@ +{ + "model": "sonnet", + "captured_at": "2026-06-10T20:50:22.365Z", + "native_version": "2.1.172 (Claude Code)", + "out_dir": "goldens/2026-06-10-task-subagent", + "cases": { + "task-subagent": { + "args": [ + "--permission-prompt-tool", + "stdio" + ], + "prompts_sent": 1, + "mode": "sequence", + "out_dir": "goldens/2026-06-10-task-subagent", + "runs": { + "native": { + "exit": { + "code": 0, + "signal": null + }, + "sent": 1, + "results_seen": 1, + "assistant_count": 8, + "result_count": 1, + "event_counts": { + "assistant": 8, + "rate_limit_event": 1, + "result.success": 1, + "system.init": 1, + "system.notification": 1, + "system.task_notification": 1, + "system.task_started": 1, + "system.thinking_tokens": 25, + "user": 3 + }, + "non_assistant_counts": { + "rate_limit_event": 1, + "system.init": 1, + "system.notification": 1, + "system.task_notification": 1, + "system.task_started": 1, + "system.thinking_tokens": 25, + "user": 3 + }, + "system_subtypes": [ + "init", + "notification", + "task_notification", + "task_started", + "thinking_tokens" + ], + "suspicious_assistant_texts": [] + } + }, + "timelines": { + "native": [ + { + "t": 3, + "action": "sequence_start", + "steps": 3 + }, + { + "t": 3, + "action": "send_prompt", + "index": 0, + "content": "Use the Task tool to launch a subagent that answers this question: what is 7 times 6? Report only the subagent's answer." + }, + { + "t": 3, + "action": "wait_result_start" + }, + { + "t": 961, + "action": "event", + "type": "system", + "subtype": "init" + }, + { + "t": 2637, + "action": "event", + "type": "rate_limit_event" + }, + { + "t": 3533, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 3970, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 4628, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 4691, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 4704, + "action": "event", + "type": "assistant" + }, + { + "t": 5268, + "action": "event", + "type": "assistant" + }, + { + "t": 5326, + "action": "event", + "type": "assistant" + }, + { + "t": 5331, + "action": "event", + "type": "user" + }, + { + "t": 7392, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 7393, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 7791, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 8219, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 8651, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 9043, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 9494, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 9948, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 13126, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 13245, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 13469, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 13665, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 13810, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 25989, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 26334, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 26525, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 26835, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 32483, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 32484, + "action": "event", + "type": "assistant" + }, + { + "t": 32484, + "action": "event", + "type": "assistant" + }, + { + "t": 32655, + "action": "event", + "type": "assistant" + }, + { + "t": 32664, + "action": "event", + "type": "system", + "subtype": "task_started" + }, + { + "t": 32668, + "action": "event", + "type": "user" + }, + { + "t": 33962, + "action": "event", + "type": "system", + "subtype": "task_notification" + }, + { + "t": 33964, + "action": "event", + "type": "user" + }, + { + "t": 35337, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 35807, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 35807, + "action": "event", + "type": "system", + "subtype": "thinking_tokens" + }, + { + "t": 35808, + "action": "event", + "type": "assistant" + }, + { + "t": 35817, + "action": "event", + "type": "assistant" + }, + { + "t": 35974, + "action": "event", + "type": "system", + "subtype": "notification" + }, + { + "t": 35974, + "action": "event", + "type": "result", + "subtype": "success" + }, + { + "t": 35974, + "action": "result", + "subtype": "success" + }, + { + "t": 36018, + "action": "wait_result_end", + "results": 1 + }, + { + "t": 36018, + "action": "close_stdin" + }, + { + "t": 36018, + "action": "sequence_done_closing_stdin" + }, + { + "t": 36231, + "action": "exit", + "code": 0, + "signal": null + } + ] + } + } + }, + "prompts_sent": 1, + "runs": { + "native": { + "exit": { + "code": 0, + "signal": null + }, + "sent": 1, + "results_seen": 1, + "assistant_count": 8, + "result_count": 1, + "event_counts": { + "assistant": 8, + "rate_limit_event": 1, + "result.success": 1, + "system.init": 1, + "system.notification": 1, + "system.task_notification": 1, + "system.task_started": 1, + "system.thinking_tokens": 25, + "user": 3 + }, + "non_assistant_counts": { + "rate_limit_event": 1, + "system.init": 1, + "system.notification": 1, + "system.task_notification": 1, + "system.task_started": 1, + "system.thinking_tokens": 25, + "user": 3 + }, + "system_subtypes": [ + "init", + "notification", + "task_notification", + "task_started", + "thinking_tokens" + ], + "suspicious_assistant_texts": [] + } + } +} diff --git a/goldens/README.md b/goldens/README.md index 6973b09..eb80089 100644 --- a/goldens/README.md +++ b/goldens/README.md @@ -27,6 +27,19 @@ exhaustion, invalid-model error shapes, `--session-id`/`--resume`/`--continue`, the `initialize`/`set_permission_mode` control protocol, and `json`/`text` output formats. +Two additional capture sets use their own case files: + +- `2026-06-10-interrupt/` — `scripts/cases-interrupt.json`: interrupt during a + long task (control-protocol and SIGINT), double interrupt, and + interrupt-then-prompt pipelines. Native answers an interrupted turn with + `result.error_during_execution`; follow-up prompts produce normal + `result.success`. +- `2026-06-10-task-subagent/` — `scripts/cases-task-subagent.json`: a Task + subagent round-trip (tool name `Agent` in 2.1.170). Notable ground truth: + native emits **zero** sidechain lines on stdout, and emits + `system.task_started` / `system.task_notification` events for the subagent + lifecycle. + ## How to use Check clarp against the goldens (free — never spawns native): diff --git a/scripts/cases-task-subagent.json b/scripts/cases-task-subagent.json new file mode 100644 index 0000000..dc87868 --- /dev/null +++ b/scripts/cases-task-subagent.json @@ -0,0 +1,15 @@ +[ + { + "name": "task-subagent", + "args": ["--permission-prompt-tool", "stdio"], + "sequence": [ + { + "type": "user", + "content": "Use the Task tool to launch a subagent that answers this question: what is 7 times 6? Report only the subagent's answer." + }, + { "type": "wait_result", "timeoutMs": 180000 }, + { "type": "close_stdin" } + ], + "cwd": ".parity-runs/golden-cwd" + } +]