Files
deepseek-harness/scripts/snapshots/python-sdk-single-exe/advanced/result.json
T
Dudu-0223 764a51d507 refactor(subagent): expose model selection only on settings-owning tools
Route fields and list_subagent_models are now registered only by the
tool-subagent instance configured with modelSelectionSettings, which keeps
one fixed definition per composition for Web presets while headless and SDK
profiles return to their previous schemas. Discovery registers with that
instance instead of a separate list-models plugin entry, so the delegation
description never references an absent tool. modelSelectionSettings on a
provider that inherits the parent conversation now fails the mount.
2026-10-12 18:37:26 +08:00

4393 lines
111 KiB
JSON

{
"session_id": "{{parent}}",
"final_response": "ADVANCED_EXECUTABLE_OK",
"events": [
{
"type": "agent/inbox/spliced",
"seq": 4,
"time": 0,
"data": {
"target": "next-turn",
"start": 0,
"inserted": [
{
"content": [
{
"type": "text",
"text": "Run the advanced packaged-runtime snapshot scenario."
}
],
"source": {
"kind": "user"
},
"role": "user",
"id": "{{messageId}}"
}
]
}
},
{
"type": "turn/start",
"seq": 5,
"time": 0,
"data": {
"turn": 1
}
},
{
"type": "agent/inbox/spliced",
"seq": 6,
"time": 0,
"data": {
"target": "next-step",
"start": 0,
"removedCount": 1,
"inserted": []
}
},
{
"type": "agent/inbox/spliced",
"seq": 7,
"time": 0,
"data": {
"target": "next-turn",
"start": 0,
"removedCount": 1,
"inserted": []
}
},
{
"type": "step/start",
"seq": 8,
"time": 0,
"data": {
"turn": 1,
"step": 1
}
},
{
"type": "system/message",
"seq": 9,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"message": {
"role": "system",
"content": [
{
"type": "text",
"text": "{{system}}"
}
],
"source": {
"kind": "system-prompt"
},
"id": "{{messageId}}"
}
},
"surfaceOp": "append"
},
{
"type": "user/message",
"seq": 10,
"time": 0,
"data": {
"id": "{{messageId}}",
"role": "user",
"content": [
{
"type": "text",
"text": "Serial agent creation completed."
}
],
"source": {
"kind": "plugin:serial-created-fixture"
}
},
"surfaceOp": "append"
},
{
"type": "user/message",
"seq": 11,
"time": 0,
"data": {
"content": [
{
"type": "text",
"text": "Run the advanced packaged-runtime snapshot scenario."
}
],
"source": {
"kind": "user"
},
"role": "user",
"id": "{{messageId}}"
},
"surfaceOp": "append"
},
{
"type": "user/message",
"seq": 12,
"time": 0,
"data": {
"content": [
{
"type": "text",
"text": "Current runtime context. This snapshot supersedes earlier runtime-context snapshots.\n\nCurrent working directory: \"{{cwd}}\".\n\nCurrent DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations.\n\nApproval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)."
}
],
"source": {
"kind": "runtime-context",
"form": "snapshot",
"sections": [
{
"name": "working-directory:current",
"text": "Current working directory: \"{{cwd}}\"."
},
{
"name": "sandbox:policy",
"text": "Current DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations."
},
{
"name": "approval:policy",
"text": "Approval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)."
}
]
},
"role": "user",
"id": "{{messageId}}"
},
"surfaceOp": "append"
},
{
"type": "user/message",
"seq": 13,
"time": 0,
"data": {
"id": "{{messageId}}",
"role": "user",
"content": [
{
"type": "image",
"attachment": {
"attachmentId": "sha256:b1ff9c8ea3a780bad09b346c423d2d0e46815926879b18e841d928376a946640",
"mediaType": "image/png",
"width": 1,
"height": 1,
"bytes": 69
}
}
],
"source": {
"kind": "python-snapshot-image-offload"
}
},
"surfaceOp": "append"
},
{
"type": "request/header",
"seq": 14,
"time": 0,
"data": {
"header": {
"config": {
"provider": "deepseek-official",
"model": "smoke-model",
"maxTokens": 256000,
"reasoningEffort": "high"
},
"adapterDefaults": {
"reasoningEffort": true,
"maxTokens": true
},
"tools": [
"cordis_inspect_list",
"cordis_inspect_query",
"job_kill",
"job_list",
"job_output",
"snapshot_double",
"subagent",
"workflow",
"working_directory"
]
},
"reason": "initial"
}
},
{
"type": "request/context",
"seq": 15,
"time": 0,
"data": {
"provider": "deepseek-official",
"model": "smoke-model",
"contextWindow": 1000000
}
},
{
"type": "session/title",
"seq": 16,
"time": 0,
"data": {
"title": "Run the advanced packaged-runtime snapsh",
"messageSeqs": [
11
],
"source": {
"kind": "fallback"
}
}
},
{
"type": "assistant/attempt",
"seq": 17,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "error",
"failure": {
"code": "IMAGE_OFFLOAD_REQUIRED",
"message": "authored image budget failure",
"offloadImages": 1
}
}
}
}
]
}
},
{
"type": "image/offload",
"seq": 18,
"time": 0,
"data": {
"targets": [
{
"seq": 13,
"imageIndexes": [
0
]
}
]
}
},
{
"type": "request/header",
"seq": 19,
"time": 0,
"data": {
"header": {
"config": {
"provider": "deepseek-official",
"model": "smoke-model",
"maxTokens": 256000,
"reasoningEffort": "high"
},
"adapterDefaults": {
"reasoningEffort": true,
"maxTokens": true
},
"tools": [
"cordis_inspect_list",
"cordis_inspect_query",
"job_kill",
"job_list",
"job_output",
"snapshot_double",
"subagent",
"workflow",
"working_directory"
]
},
"reason": "series"
}
},
{
"type": "session-log-deepseek/delivery-accepted",
"seq": 20,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"sessionFormatVersion": 4,
"throughSeq": 19
}
},
{
"type": "assistant/message",
"seq": 21,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"message": {
"role": "assistant",
"content": [
{
"type": "tool-call",
"id": "advanced-native",
"name": "snapshot_double",
"arguments": "{\"value\": 21}"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
},
"id": "{{messageId}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "tool-call"
}
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-native",
"name": "snapshot_double",
"args": [
""
]
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-native",
"args": [
"{\"value\": 21}"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "tool-call",
"id": "advanced-native",
"name": "snapshot_double",
"arguments": "{\"value\": 21}"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "tool-calls"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
}
}
]
},
"surfaceOp": "append"
},
{
"type": "tool/call",
"seq": 22,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"callId": "advanced-native",
"name": "snapshot_double",
"arguments": "{\"value\": 21}"
}
},
{
"type": "job/registered",
"seq": 23,
"time": 0,
"data": {
"jobId": "{{id:1}}",
"owner": "{{parent}}",
"kind": "snapshot",
"label": "snapshot_double",
"startedAt": 0,
"toolCall": {
"callId": "advanced-native",
"rootCallId": "advanced-native"
}
}
},
{
"type": "job/settled",
"seq": 24,
"time": 0,
"data": {
"jobId": "{{id:1}}",
"owner": "{{parent}}",
"kind": "snapshot",
"label": "snapshot_double",
"startedAt": 0,
"toolCall": {
"callId": "advanced-native",
"rootCallId": "advanced-native"
},
"finishedAt": 0,
"status": "completed",
"cause": "producer",
"producerReported": true
}
},
{
"type": "tool/result",
"seq": 25,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"message": {
"role": "tool",
"source": {
"kind": "tool",
"callId": "advanced-native"
},
"toolCallId": "advanced-native",
"content": [
{
"type": "text",
"text": "42"
}
],
"isError": false,
"id": "{{messageId}}"
}
},
"sourceEventSeqs": [
22
],
"surfaceOp": "append"
},
{
"type": "step/end",
"seq": 26,
"time": 0,
"data": {
"turn": 1,
"step": 1
}
},
{
"type": "step/start",
"seq": 27,
"time": 0,
"data": {
"turn": 1,
"step": 2
}
},
{
"type": "session-log-deepseek/delivery-accepted",
"seq": 28,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"sessionFormatVersion": 4,
"throughSeq": 27
}
},
{
"type": "assistant/message",
"seq": 29,
"time": 0,
"data": {
"turn": 1,
"step": 2,
"message": {
"role": "assistant",
"content": [
{
"type": "tool-call",
"id": "advanced-denied-native",
"name": "snapshot_double",
"arguments": "{\"value\": -1}"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
},
"id": "{{messageId}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "tool-call"
}
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-denied-native",
"name": "snapshot_double",
"args": [
""
]
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-denied-native",
"args": [
"{\"value\": -1}"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "tool-call",
"id": "advanced-denied-native",
"name": "snapshot_double",
"arguments": "{\"value\": -1}"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "tool-calls"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
}
}
]
},
"surfaceOp": "append"
},
{
"type": "tool/call",
"seq": 30,
"time": 0,
"data": {
"turn": 1,
"step": 2,
"callId": "advanced-denied-native",
"name": "snapshot_double",
"arguments": "{\"value\": -1}"
}
},
{
"type": "tool/result",
"seq": 31,
"time": 0,
"data": {
"turn": 1,
"step": 2,
"message": {
"role": "tool",
"source": {
"kind": "tool",
"callId": "advanced-denied-native"
},
"toolCallId": "advanced-denied-native",
"content": [
{
"type": "text",
"text": "Error: Auto review rejected tool \"snapshot_double\"; its body was not executed"
}
],
"isError": true,
"id": "{{messageId}}"
},
"error": {
"name": "AutoReviewDeniedError",
"code": "AUTO_REVIEW_DENIED",
"reason": " transport raw\r\nreason "
}
},
"sourceEventSeqs": [
30
],
"surfaceOp": "append"
},
{
"type": "step/end",
"seq": 32,
"time": 0,
"data": {
"turn": 1,
"step": 2
}
},
{
"type": "step/start",
"seq": 33,
"time": 0,
"data": {
"turn": 1,
"step": 3
}
},
{
"type": "session-log-deepseek/delivery-accepted",
"seq": 34,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"sessionFormatVersion": 4,
"throughSeq": 33
}
},
{
"type": "assistant/message",
"seq": 35,
"time": 0,
"data": {
"turn": 1,
"step": 3,
"message": {
"role": "assistant",
"content": [
{
"type": "tool-call",
"id": "advanced-direct-child",
"name": "subagent",
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
},
"id": "{{messageId}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "tool-call"
}
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-direct-child",
"name": "subagent",
"args": [
""
]
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-direct-child",
"args": [
"{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "tool-call",
"id": "advanced-direct-child",
"name": "subagent",
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "tool-calls"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
}
}
]
},
"surfaceOp": "append"
},
{
"type": "tool/call",
"seq": 36,
"time": 0,
"data": {
"turn": 1,
"step": 3,
"callId": "advanced-direct-child",
"name": "subagent",
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
}
},
{
"type": "subagent/catalog",
"seq": 37,
"time": 0,
"data": {
"version": 0,
"childId": "{{child-1}}",
"childCreatedAt": 0,
"mode": "continuable",
"label": "Check direct child"
}
},
{
"type": "tool/result",
"seq": 38,
"time": 0,
"data": {
"turn": 1,
"step": 3,
"message": {
"role": "tool",
"source": {
"kind": "tool",
"callId": "advanced-direct-child"
},
"toolCallId": "advanced-direct-child",
"content": [
{
"type": "text",
"text": "started subagent {{child-1}}"
}
],
"isError": false,
"id": "{{messageId}}"
}
},
"sourceEventSeqs": [
36
],
"surfaceOp": "append"
},
{
"type": "step/end",
"seq": 39,
"time": 0,
"data": {
"turn": 1,
"step": 3
}
},
{
"type": "step/start",
"seq": 40,
"time": 0,
"data": {
"turn": 1,
"step": 4
}
},
{
"type": "session-log-deepseek/delivery-accepted",
"seq": 41,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"sessionFormatVersion": 4,
"throughSeq": 40
}
},
{
"type": "agent/inbox/spliced",
"seq": 42,
"time": 0,
"data": {
"target": "next-step",
"start": 0,
"inserted": [
{
"content": [
{
"type": "text",
"text": "Background subagent {{child-1}} finished and will do no further work unless you send it more."
},
{
"type": "text",
"text": "Its closing message:"
},
{
"type": "text",
"text": "DIRECT_CHILD_OK"
}
],
"source": {
"kind": "subagent-settled",
"form": "notice",
"summary": "Background subagent {{child-1}} finished and will do no further work unless you send it more.",
"senderSessionId": "{{child-1}}"
},
"role": "user",
"id": "{{messageId}}"
}
]
}
},
{
"type": "assistant/message",
"seq": 43,
"time": 0,
"data": {
"turn": 1,
"step": 4,
"message": {
"role": "assistant",
"content": [
{
"type": "tool-call",
"id": "advanced-workflow",
"name": "workflow",
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
},
"id": "{{messageId}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "tool-call"
}
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-workflow",
"name": "workflow",
"args": [
""
]
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-workflow",
"args": [
"{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "tool-call",
"id": "advanced-workflow",
"name": "workflow",
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "tool-calls"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
}
}
]
},
"surfaceOp": "append"
},
{
"type": "tool/call",
"seq": 44,
"time": 0,
"data": {
"turn": 1,
"step": 4,
"callId": "advanced-workflow",
"name": "workflow",
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
}
},
{
"type": "tool-workflow/run-start",
"seq": 45,
"time": 0,
"data": {
"runId": "{{workflow-run}}",
"name": "advanced-exe-snapshot"
}
},
{
"type": "subagent/catalog",
"seq": 46,
"time": 0,
"data": {
"version": 0,
"childId": "{{child-2}}",
"childCreatedAt": 0,
"mode": "continuable",
"label": "advanced-exe-snapshot child 1"
}
},
{
"type": "tool-workflow/agent-start",
"seq": 47,
"time": 0,
"data": {
"runId": "{{workflow-run}}",
"seq": 1,
"label": "workflow-child",
"phase": "Delegate",
"childId": "{{child-2}}"
}
},
{
"type": "tool-workflow/agent-end",
"seq": 48,
"time": 0,
"data": {
"runId": "{{workflow-run}}",
"seq": 1,
"outcome": "completed"
}
},
{
"type": "tool-workflow/run-end",
"seq": 49,
"time": 0,
"data": {
"runId": "{{workflow-run}}",
"stopReason": "completed"
}
},
{
"type": "tool/result",
"seq": 50,
"time": 0,
"data": {
"turn": 1,
"step": 4,
"message": {
"role": "tool",
"source": {
"kind": "tool",
"callId": "advanced-workflow"
},
"toolCallId": "advanced-workflow",
"content": [
{
"type": "text",
"text": "workflow \"advanced-exe-snapshot\" completed (1 agent).\nReturn value:\n{\n \"reply\": \"WORKFLOW_CHILD_OK\"\n}"
}
],
"isError": false,
"id": "{{messageId}}"
}
},
"sourceEventSeqs": [
44
],
"surfaceOp": "append"
},
{
"type": "step/end",
"seq": 51,
"time": 0,
"data": {
"turn": 1,
"step": 4
}
},
{
"type": "agent/inbox/spliced",
"seq": 52,
"time": 0,
"data": {
"target": "next-step",
"start": 0,
"removedCount": 1,
"inserted": []
}
},
{
"type": "step/start",
"seq": 53,
"time": 0,
"data": {
"turn": 1,
"step": 5
}
},
{
"type": "user/message",
"seq": 54,
"time": 0,
"data": {
"content": [
{
"type": "text",
"text": "Background subagent {{child-1}} finished and will do no further work unless you send it more."
},
{
"type": "text",
"text": "Its closing message:"
},
{
"type": "text",
"text": "DIRECT_CHILD_OK"
}
],
"source": {
"kind": "subagent-settled",
"form": "notice",
"summary": "Background subagent {{child-1}} finished and will do no further work unless you send it more.",
"senderSessionId": "{{child-1}}"
},
"role": "user",
"id": "{{messageId}}"
},
"surfaceOp": "append"
},
{
"type": "session-log-deepseek/delivery-accepted",
"seq": 55,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"sessionFormatVersion": 4,
"throughSeq": 54
}
},
{
"type": "assistant/message",
"seq": 56,
"time": 0,
"data": {
"turn": 1,
"step": 5,
"message": {
"role": "assistant",
"content": [
{
"type": "text",
"text": "ADVANCED_EXECUTABLE_OK"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "text"
}
]
}
},
"id": "{{message:1}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "text"
}
},
{
"type": "text-chunks",
"time0": 0,
"index": 0,
"dt": [],
"texts": [
"ADVANCED_EXECUTABLE_OK"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "text",
"text": "ADVANCED_EXECUTABLE_OK"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "stop"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "text"
}
]
}
}
}
]
},
"surfaceOp": "append"
},
{
"type": "step/end",
"seq": 57,
"time": 0,
"data": {
"turn": 1,
"step": 5
}
},
{
"type": "command/run",
"seq": 58,
"time": 0,
"data": {
"commandId": "{{command:1}}",
"name": "feedback",
"source": {
"kind": "user"
}
}
},
{
"type": "feedback/record",
"seq": 59,
"time": 0,
"data": {
"text": "The session needs a clearer explanation."
}
},
{
"type": "command/done",
"seq": 60,
"time": 0,
"data": {
"commandId": "{{command:1}}",
"kind": "success",
"text": "Feedback recorded for session {{parent}}\nAnonymous user: {{anonymous-user}}."
}
},
{
"type": "feedback/record",
"seq": 61,
"time": 0,
"data": {
"category": "other"
}
},
{
"type": "feedback/message-put",
"seq": 62,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"item": {
"messageId": "{{message:1}}",
"rating": "negative",
"note": "Explain the result.",
"category": "task-result",
"version": "{{feedback-version:1}}",
"createdAt": 0,
"updatedAt": 0
}
}
},
{
"type": "feedback/message-put",
"seq": 63,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"item": {
"messageId": "{{message:1}}",
"rating": "positive",
"note": "The explanation is clear now.",
"version": "{{feedback-version:2}}",
"createdAt": 0,
"updatedAt": 0
}
}
},
{
"type": "feedback/message-delete",
"seq": 64,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"messageId": "{{message:1}}"
}
},
{
"type": "turn/end",
"seq": 65,
"time": 0,
"data": {
"turn": 1,
"reason": {
"kind": "completed"
}
}
}
],
"notifications": [
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 4,
"time": 0,
"data": {
"target": "next-turn",
"start": 0,
"inserted": [
{
"content": [
{
"type": "text",
"text": "Run the advanced packaged-runtime snapshot scenario."
}
],
"source": {
"kind": "user"
},
"role": "user",
"id": "{{messageId}}"
}
]
}
}
}
},
{
"method": "session.status",
"payload": {
"sessionId": "{{parent}}",
"status": "running"
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "turn/start",
"seq": 5,
"time": 0,
"data": {
"turn": 1
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 6,
"time": 0,
"data": {
"target": "next-step",
"start": 0,
"removedCount": 1,
"inserted": []
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 7,
"time": 0,
"data": {
"target": "next-turn",
"start": 0,
"removedCount": 1,
"inserted": []
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "step/start",
"seq": 8,
"time": 0,
"data": {
"turn": 1,
"step": 1
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "system/message",
"seq": 9,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"message": {
"role": "system",
"content": [
{
"type": "text",
"text": "{{system}}"
}
],
"source": {
"kind": "system-prompt"
},
"id": "{{messageId}}"
}
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "user/message",
"seq": 10,
"time": 0,
"data": {
"id": "{{messageId}}",
"role": "user",
"content": [
{
"type": "text",
"text": "Serial agent creation completed."
}
],
"source": {
"kind": "plugin:serial-created-fixture"
}
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "user/message",
"seq": 11,
"time": 0,
"data": {
"content": [
{
"type": "text",
"text": "Run the advanced packaged-runtime snapshot scenario."
}
],
"source": {
"kind": "user"
},
"role": "user",
"id": "{{messageId}}"
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "user/message",
"seq": 12,
"time": 0,
"data": {
"content": [
{
"type": "text",
"text": "Current runtime context. This snapshot supersedes earlier runtime-context snapshots.\n\nCurrent working directory: \"{{cwd}}\".\n\nCurrent DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations.\n\nApproval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)."
}
],
"source": {
"kind": "runtime-context",
"form": "snapshot",
"sections": [
{
"name": "working-directory:current",
"text": "Current working directory: \"{{cwd}}\"."
},
{
"name": "sandbox:policy",
"text": "Current DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations."
},
{
"name": "approval:policy",
"text": "Approval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)."
}
]
},
"role": "user",
"id": "{{messageId}}"
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "user/message",
"seq": 13,
"time": 0,
"data": {
"id": "{{messageId}}",
"role": "user",
"content": [
{
"type": "image",
"attachment": {
"attachmentId": "sha256:b1ff9c8ea3a780bad09b346c423d2d0e46815926879b18e841d928376a946640",
"mediaType": "image/png",
"width": 1,
"height": 1,
"bytes": 69
}
}
],
"source": {
"kind": "python-snapshot-image-offload"
}
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "request/header",
"seq": 14,
"time": 0,
"data": {
"header": {
"config": {
"provider": "deepseek-official",
"model": "smoke-model",
"maxTokens": 256000,
"reasoningEffort": "high"
},
"adapterDefaults": {
"reasoningEffort": true,
"maxTokens": true
},
"tools": [
"cordis_inspect_list",
"cordis_inspect_query",
"job_kill",
"job_list",
"job_output",
"snapshot_double",
"subagent",
"workflow",
"working_directory"
]
},
"reason": "initial"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "request/context",
"seq": 15,
"time": 0,
"data": {
"provider": "deepseek-official",
"model": "smoke-model",
"contextWindow": 1000000
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "session/title",
"seq": 16,
"time": 0,
"data": {
"title": "Run the advanced packaged-runtime snapsh",
"messageSeqs": [
11
],
"source": {
"kind": "fallback"
}
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "assistant/attempt",
"seq": 17,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "error",
"failure": {
"code": "IMAGE_OFFLOAD_REQUIRED",
"message": "authored image budget failure",
"offloadImages": 1
}
}
}
}
]
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "image/offload",
"seq": 18,
"time": 0,
"data": {
"targets": [
{
"seq": 13,
"imageIndexes": [
0
]
}
]
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "request/header",
"seq": 19,
"time": 0,
"data": {
"header": {
"config": {
"provider": "deepseek-official",
"model": "smoke-model",
"maxTokens": 256000,
"reasoningEffort": "high"
},
"adapterDefaults": {
"reasoningEffort": true,
"maxTokens": true
},
"tools": [
"cordis_inspect_list",
"cordis_inspect_query",
"job_kill",
"job_list",
"job_output",
"snapshot_double",
"subagent",
"workflow",
"working_directory"
]
},
"reason": "series"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "session-log-deepseek/delivery-accepted",
"seq": 20,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"sessionFormatVersion": 4,
"throughSeq": 19
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "assistant/message",
"seq": 21,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"message": {
"role": "assistant",
"content": [
{
"type": "tool-call",
"id": "advanced-native",
"name": "snapshot_double",
"arguments": "{\"value\": 21}"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
},
"id": "{{messageId}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "tool-call"
}
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-native",
"name": "snapshot_double",
"args": [
""
]
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-native",
"args": [
"{\"value\": 21}"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "tool-call",
"id": "advanced-native",
"name": "snapshot_double",
"arguments": "{\"value\": 21}"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "tool-calls"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
}
}
]
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool/call",
"seq": 22,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"callId": "advanced-native",
"name": "snapshot_double",
"arguments": "{\"value\": 21}"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "job/registered",
"seq": 23,
"time": 0,
"data": {
"jobId": "{{id:1}}",
"owner": "{{parent}}",
"kind": "snapshot",
"label": "snapshot_double",
"startedAt": 0,
"toolCall": {
"callId": "advanced-native",
"rootCallId": "advanced-native"
}
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "job/settled",
"seq": 24,
"time": 0,
"data": {
"jobId": "{{id:1}}",
"owner": "{{parent}}",
"kind": "snapshot",
"label": "snapshot_double",
"startedAt": 0,
"toolCall": {
"callId": "advanced-native",
"rootCallId": "advanced-native"
},
"finishedAt": 0,
"status": "completed",
"cause": "producer",
"producerReported": true
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool/result",
"seq": 25,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"message": {
"role": "tool",
"source": {
"kind": "tool",
"callId": "advanced-native"
},
"toolCallId": "advanced-native",
"content": [
{
"type": "text",
"text": "42"
}
],
"isError": false,
"id": "{{messageId}}"
}
},
"sourceEventSeqs": [
22
],
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "step/end",
"seq": 26,
"time": 0,
"data": {
"turn": 1,
"step": 1
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "step/start",
"seq": 27,
"time": 0,
"data": {
"turn": 1,
"step": 2
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "session-log-deepseek/delivery-accepted",
"seq": 28,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"sessionFormatVersion": 4,
"throughSeq": 27
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "assistant/message",
"seq": 29,
"time": 0,
"data": {
"turn": 1,
"step": 2,
"message": {
"role": "assistant",
"content": [
{
"type": "tool-call",
"id": "advanced-denied-native",
"name": "snapshot_double",
"arguments": "{\"value\": -1}"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
},
"id": "{{messageId}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "tool-call"
}
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-denied-native",
"name": "snapshot_double",
"args": [
""
]
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-denied-native",
"args": [
"{\"value\": -1}"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "tool-call",
"id": "advanced-denied-native",
"name": "snapshot_double",
"arguments": "{\"value\": -1}"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "tool-calls"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
}
}
]
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool/call",
"seq": 30,
"time": 0,
"data": {
"turn": 1,
"step": 2,
"callId": "advanced-denied-native",
"name": "snapshot_double",
"arguments": "{\"value\": -1}"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool/result",
"seq": 31,
"time": 0,
"data": {
"turn": 1,
"step": 2,
"message": {
"role": "tool",
"source": {
"kind": "tool",
"callId": "advanced-denied-native"
},
"toolCallId": "advanced-denied-native",
"content": [
{
"type": "text",
"text": "Error: Auto review rejected tool \"snapshot_double\"; its body was not executed"
}
],
"isError": true,
"id": "{{messageId}}"
},
"error": {
"name": "AutoReviewDeniedError",
"code": "AUTO_REVIEW_DENIED",
"reason": " transport raw\r\nreason "
}
},
"sourceEventSeqs": [
30
],
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "step/end",
"seq": 32,
"time": 0,
"data": {
"turn": 1,
"step": 2
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "step/start",
"seq": 33,
"time": 0,
"data": {
"turn": 1,
"step": 3
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "session-log-deepseek/delivery-accepted",
"seq": 34,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"sessionFormatVersion": 4,
"throughSeq": 33
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "assistant/message",
"seq": 35,
"time": 0,
"data": {
"turn": 1,
"step": 3,
"message": {
"role": "assistant",
"content": [
{
"type": "tool-call",
"id": "advanced-direct-child",
"name": "subagent",
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
},
"id": "{{messageId}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "tool-call"
}
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-direct-child",
"name": "subagent",
"args": [
""
]
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-direct-child",
"args": [
"{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "tool-call",
"id": "advanced-direct-child",
"name": "subagent",
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "tool-calls"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
}
}
]
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool/call",
"seq": 36,
"time": 0,
"data": {
"turn": 1,
"step": 3,
"callId": "advanced-direct-child",
"name": "subagent",
"arguments": "{\"description\": \"Check direct child\", \"prompt\": \"Reply with exactly DIRECT_CHILD_OK and nothing else.\"}"
}
}
}
},
{
"method": "subagent.started",
"payload": {
"parentSessionId": "{{parent}}",
"childSessionId": "{{child-1}}"
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 4,
"time": 0,
"data": {
"target": "next-step",
"start": 0,
"inserted": [
{
"id": "{{messageId}}",
"role": "user",
"content": [
{
"type": "text",
"text": "Serial agent creation completed."
}
],
"source": {
"kind": "plugin:serial-created-fixture"
}
}
]
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 5,
"time": 0,
"data": {
"target": "next-turn",
"start": 0,
"inserted": [
{
"content": [
{
"type": "text",
"text": "Reply with exactly DIRECT_CHILD_OK and nothing else."
}
],
"source": {
"kind": "user"
},
"role": "user",
"id": "{{messageId}}"
}
]
}
}
}
},
{
"method": "session.status",
"payload": {
"sessionId": "{{child-1}}",
"status": "running"
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "turn/start",
"seq": 6,
"time": 0,
"data": {
"turn": 1
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 7,
"time": 0,
"data": {
"target": "next-step",
"start": 0,
"removedCount": 1,
"inserted": []
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 8,
"time": 0,
"data": {
"target": "next-turn",
"start": 0,
"removedCount": 1,
"inserted": []
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "subagent/catalog",
"seq": 37,
"time": 0,
"data": {
"version": 0,
"childId": "{{child-1}}",
"childCreatedAt": 0,
"mode": "continuable",
"label": "Check direct child"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool/result",
"seq": 38,
"time": 0,
"data": {
"turn": 1,
"step": 3,
"message": {
"role": "tool",
"source": {
"kind": "tool",
"callId": "advanced-direct-child"
},
"toolCallId": "advanced-direct-child",
"content": [
{
"type": "text",
"text": "started subagent {{child-1}}"
}
],
"isError": false,
"id": "{{messageId}}"
}
},
"sourceEventSeqs": [
36
],
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "step/end",
"seq": 39,
"time": 0,
"data": {
"turn": 1,
"step": 3
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "step/start",
"seq": 40,
"time": 0,
"data": {
"turn": 1,
"step": 4
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "session-log-deepseek/delivery-accepted",
"seq": 41,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"sessionFormatVersion": 4,
"throughSeq": 40
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "step/start",
"seq": 9,
"time": 0,
"data": {
"turn": 1,
"step": 1
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "system/message",
"seq": 10,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"message": {
"role": "system",
"content": [
{
"type": "text",
"text": "{{system}}"
}
],
"source": {
"kind": "system-prompt"
},
"id": "{{messageId}}"
}
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "user/message",
"seq": 11,
"time": 0,
"data": {
"id": "{{messageId}}",
"role": "user",
"content": [
{
"type": "text",
"text": "Serial agent creation completed."
}
],
"source": {
"kind": "plugin:serial-created-fixture"
}
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "user/message",
"seq": 12,
"time": 0,
"data": {
"content": [
{
"type": "text",
"text": "Reply with exactly DIRECT_CHILD_OK and nothing else."
}
],
"source": {
"kind": "user"
},
"role": "user",
"id": "{{messageId}}"
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "user/message",
"seq": 13,
"time": 0,
"data": {
"content": [
{
"type": "text",
"text": "Current runtime context. This snapshot supersedes earlier runtime-context snapshots.\n\nCurrent working directory: \"{{cwd}}\".\n\nCurrent DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations.\n\nApproval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`).\n\nYou are a delegated subagent: your permission scope was fixed when you were started and cannot be widened from inside this session — operations that require approval are rejected automatically. When the task needs access beyond that scope, do not retry the denied operation; state the limitation in your reply so the delegating agent can handle it."
}
],
"source": {
"kind": "runtime-context",
"form": "snapshot",
"sections": [
{
"name": "working-directory:current",
"text": "Current working directory: \"{{cwd}}\"."
},
{
"name": "sandbox:policy",
"text": "Current DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations."
},
{
"name": "approval:policy",
"text": "Approval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)."
},
{
"name": "subagent:delegation",
"text": "You are a delegated subagent: your permission scope was fixed when you were started and cannot be widened from inside this session — operations that require approval are rejected automatically. When the task needs access beyond that scope, do not retry the denied operation; state the limitation in your reply so the delegating agent can handle it."
}
]
},
"role": "user",
"id": "{{messageId}}"
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "request/header",
"seq": 14,
"time": 0,
"data": {
"header": {
"config": {
"provider": "deepseek-official",
"model": "smoke-model",
"reasoningEffort": "high",
"maxTokens": 256000
},
"adapterDefaults": {
"maxTokens": true
},
"tools": [
"cordis_inspect_list",
"cordis_inspect_query",
"job_kill",
"job_list",
"job_output",
"snapshot_double",
"subagent",
"workflow",
"working_directory"
]
},
"reason": "initial"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "request/context",
"seq": 15,
"time": 0,
"data": {
"provider": "deepseek-official",
"model": "smoke-model",
"contextWindow": 1000000
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "session/title",
"seq": 16,
"time": 0,
"data": {
"title": "Reply with exactly DIRECT_CHILD_OK and",
"messageSeqs": [
12
],
"source": {
"kind": "fallback"
}
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "session-log-deepseek/delivery-accepted",
"seq": 17,
"time": 0,
"data": {
"sessionId": "{{child-1}}",
"sessionFormatVersion": 4,
"throughSeq": 16
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "assistant/message",
"seq": 18,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"message": {
"role": "assistant",
"content": [
{
"type": "text",
"text": "DIRECT_CHILD_OK"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "text"
}
]
}
},
"id": "{{messageId}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "text"
}
},
{
"type": "text-chunks",
"time0": 0,
"index": 0,
"dt": [],
"texts": [
"DIRECT_CHILD_OK"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "text",
"text": "DIRECT_CHILD_OK"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "stop"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "text"
}
]
}
}
}
]
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "step/end",
"seq": 19,
"time": 0,
"data": {
"turn": 1,
"step": 1
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-1}}",
"event": {
"type": "turn/end",
"seq": 20,
"time": 0,
"data": {
"turn": 1,
"reason": {
"kind": "completed"
}
}
}
}
},
{
"method": "session.status",
"payload": {
"sessionId": "{{child-1}}",
"status": "idle"
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 42,
"time": 0,
"data": {
"target": "next-step",
"start": 0,
"inserted": [
{
"content": [
{
"type": "text",
"text": "Background subagent {{child-1}} finished and will do no further work unless you send it more."
},
{
"type": "text",
"text": "Its closing message:"
},
{
"type": "text",
"text": "DIRECT_CHILD_OK"
}
],
"source": {
"kind": "subagent-settled",
"form": "notice",
"summary": "Background subagent {{child-1}} finished and will do no further work unless you send it more.",
"senderSessionId": "{{child-1}}"
},
"role": "user",
"id": "{{messageId}}"
}
]
}
}
}
},
{
"method": "subagent.finished",
"payload": {
"provider": "spawn",
"agentId": "{{child-1}}",
"parentSessionId": "{{parent}}",
"childSessionId": "{{child-1}}",
"status": "ok",
"stopReason": "completed",
"lastAssistantMessage": [
{
"type": "text",
"text": "DIRECT_CHILD_OK"
}
]
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "assistant/message",
"seq": 43,
"time": 0,
"data": {
"turn": 1,
"step": 4,
"message": {
"role": "assistant",
"content": [
{
"type": "tool-call",
"id": "advanced-workflow",
"name": "workflow",
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
},
"id": "{{messageId}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "tool-call"
}
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-workflow",
"name": "workflow",
"args": [
""
]
},
{
"type": "tool-call-chunks",
"time0": 0,
"index": 0,
"dt": [],
"id": "advanced-workflow",
"args": [
"{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "tool-call",
"id": "advanced-workflow",
"name": "workflow",
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "tool-calls"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "tool-call"
}
]
}
}
}
]
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool/call",
"seq": 44,
"time": 0,
"data": {
"turn": 1,
"step": 4,
"callId": "advanced-workflow",
"name": "workflow",
"arguments": "{\"script\": \"phase('Delegate')\\nconst reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })\\nreturn { reply }\", \"meta\": {\"name\": \"advanced-exe-snapshot\", \"description\": \"exercise one packaged workflow child\"}}"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool-workflow/run-start",
"seq": 45,
"time": 0,
"data": {
"runId": "{{workflow-run}}",
"name": "advanced-exe-snapshot"
}
}
}
},
{
"method": "subagent.started",
"payload": {
"parentSessionId": "{{parent}}",
"childSessionId": "{{child-2}}"
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 4,
"time": 0,
"data": {
"target": "next-step",
"start": 0,
"inserted": [
{
"id": "{{messageId}}",
"role": "user",
"content": [
{
"type": "text",
"text": "Serial agent creation completed."
}
],
"source": {
"kind": "plugin:serial-created-fixture"
}
}
]
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 5,
"time": 0,
"data": {
"target": "next-turn",
"start": 0,
"inserted": [
{
"content": [
{
"type": "text",
"text": "Reply with exactly WORKFLOW_CHILD_OK and nothing else."
}
],
"source": {
"kind": "user"
},
"role": "user",
"id": "{{messageId}}"
}
]
}
}
}
},
{
"method": "session.status",
"payload": {
"sessionId": "{{child-2}}",
"status": "running"
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "turn/start",
"seq": 6,
"time": 0,
"data": {
"turn": 1
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 7,
"time": 0,
"data": {
"target": "next-step",
"start": 0,
"removedCount": 1,
"inserted": []
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 8,
"time": 0,
"data": {
"target": "next-turn",
"start": 0,
"removedCount": 1,
"inserted": []
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "subagent/catalog",
"seq": 46,
"time": 0,
"data": {
"version": 0,
"childId": "{{child-2}}",
"childCreatedAt": 0,
"mode": "continuable",
"label": "advanced-exe-snapshot child 1"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool-workflow/agent-start",
"seq": 47,
"time": 0,
"data": {
"runId": "{{workflow-run}}",
"seq": 1,
"label": "workflow-child",
"phase": "Delegate",
"childId": "{{child-2}}"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "step/start",
"seq": 9,
"time": 0,
"data": {
"turn": 1,
"step": 1
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "system/message",
"seq": 10,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"message": {
"role": "system",
"content": [
{
"type": "text",
"text": "{{system}}"
}
],
"source": {
"kind": "system-prompt"
},
"id": "{{messageId}}"
}
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "user/message",
"seq": 11,
"time": 0,
"data": {
"id": "{{messageId}}",
"role": "user",
"content": [
{
"type": "text",
"text": "Serial agent creation completed."
}
],
"source": {
"kind": "plugin:serial-created-fixture"
}
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "user/message",
"seq": 12,
"time": 0,
"data": {
"content": [
{
"type": "text",
"text": "Reply with exactly WORKFLOW_CHILD_OK and nothing else."
}
],
"source": {
"kind": "user"
},
"role": "user",
"id": "{{messageId}}"
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "user/message",
"seq": 13,
"time": 0,
"data": {
"content": [
{
"type": "text",
"text": "Current runtime context. This snapshot supersedes earlier runtime-context snapshots.\n\nCurrent working directory: \"{{cwd}}\".\n\nCurrent DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations.\n\nApproval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`).\n\nYou are a delegated subagent: your permission scope was fixed when you were started and cannot be widened from inside this session — operations that require approval are rejected automatically. When the task needs access beyond that scope, do not retry the denied operation; state the limitation in your reply so the delegating agent can handle it."
}
],
"source": {
"kind": "runtime-context",
"form": "snapshot",
"sections": [
{
"name": "working-directory:current",
"text": "Current working directory: \"{{cwd}}\"."
},
{
"name": "sandbox:policy",
"text": "Current DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations."
},
{
"name": "approval:policy",
"text": "Approval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)."
},
{
"name": "subagent:delegation",
"text": "You are a delegated subagent: your permission scope was fixed when you were started and cannot be widened from inside this session — operations that require approval are rejected automatically. When the task needs access beyond that scope, do not retry the denied operation; state the limitation in your reply so the delegating agent can handle it."
}
]
},
"role": "user",
"id": "{{messageId}}"
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "request/header",
"seq": 14,
"time": 0,
"data": {
"header": {
"config": {
"provider": "deepseek-official",
"model": "smoke-model",
"reasoningEffort": "high",
"maxTokens": 256000
},
"adapterDefaults": {
"maxTokens": true
},
"tools": [
"cordis_inspect_list",
"cordis_inspect_query",
"job_kill",
"job_list",
"job_output",
"snapshot_double",
"subagent",
"workflow",
"working_directory"
]
},
"reason": "initial"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "request/context",
"seq": 15,
"time": 0,
"data": {
"provider": "deepseek-official",
"model": "smoke-model",
"contextWindow": 1000000
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "session/title",
"seq": 16,
"time": 0,
"data": {
"title": "Reply with exactly WORKFLOW_CHILD_OK and",
"messageSeqs": [
12
],
"source": {
"kind": "fallback"
}
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "session-log-deepseek/delivery-accepted",
"seq": 17,
"time": 0,
"data": {
"sessionId": "{{child-2}}",
"sessionFormatVersion": 4,
"throughSeq": 16
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "assistant/message",
"seq": 18,
"time": 0,
"data": {
"turn": 1,
"step": 1,
"message": {
"role": "assistant",
"content": [
{
"type": "text",
"text": "WORKFLOW_CHILD_OK"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "text"
}
]
}
},
"id": "{{messageId}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "text"
}
},
{
"type": "text-chunks",
"time0": 0,
"index": 0,
"dt": [],
"texts": [
"WORKFLOW_CHILD_OK"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "text",
"text": "WORKFLOW_CHILD_OK"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "stop"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "text"
}
]
}
}
}
]
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "step/end",
"seq": 19,
"time": 0,
"data": {
"turn": 1,
"step": 1
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{child-2}}",
"event": {
"type": "turn/end",
"seq": 20,
"time": 0,
"data": {
"turn": 1,
"reason": {
"kind": "completed"
}
}
}
}
},
{
"method": "session.status",
"payload": {
"sessionId": "{{child-2}}",
"status": "idle"
}
},
{
"method": "subagent.finished",
"payload": {
"provider": "spawn",
"agentId": "{{child-2}}",
"parentSessionId": "{{parent}}",
"childSessionId": "{{child-2}}",
"status": "ok",
"stopReason": "completed",
"lastAssistantMessage": [
{
"type": "text",
"text": "WORKFLOW_CHILD_OK"
}
]
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool-workflow/agent-end",
"seq": 48,
"time": 0,
"data": {
"runId": "{{workflow-run}}",
"seq": 1,
"outcome": "completed"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool-workflow/run-end",
"seq": 49,
"time": 0,
"data": {
"runId": "{{workflow-run}}",
"stopReason": "completed"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "tool/result",
"seq": 50,
"time": 0,
"data": {
"turn": 1,
"step": 4,
"message": {
"role": "tool",
"source": {
"kind": "tool",
"callId": "advanced-workflow"
},
"toolCallId": "advanced-workflow",
"content": [
{
"type": "text",
"text": "workflow \"advanced-exe-snapshot\" completed (1 agent).\nReturn value:\n{\n \"reply\": \"WORKFLOW_CHILD_OK\"\n}"
}
],
"isError": false,
"id": "{{messageId}}"
}
},
"sourceEventSeqs": [
44
],
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "step/end",
"seq": 51,
"time": 0,
"data": {
"turn": 1,
"step": 4
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "agent/inbox/spliced",
"seq": 52,
"time": 0,
"data": {
"target": "next-step",
"start": 0,
"removedCount": 1,
"inserted": []
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "step/start",
"seq": 53,
"time": 0,
"data": {
"turn": 1,
"step": 5
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "user/message",
"seq": 54,
"time": 0,
"data": {
"content": [
{
"type": "text",
"text": "Background subagent {{child-1}} finished and will do no further work unless you send it more."
},
{
"type": "text",
"text": "Its closing message:"
},
{
"type": "text",
"text": "DIRECT_CHILD_OK"
}
],
"source": {
"kind": "subagent-settled",
"form": "notice",
"summary": "Background subagent {{child-1}} finished and will do no further work unless you send it more.",
"senderSessionId": "{{child-1}}"
},
"role": "user",
"id": "{{messageId}}"
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "session-log-deepseek/delivery-accepted",
"seq": 55,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"sessionFormatVersion": 4,
"throughSeq": 54
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "assistant/message",
"seq": 56,
"time": 0,
"data": {
"turn": 1,
"step": 5,
"message": {
"role": "assistant",
"content": [
{
"type": "text",
"text": "ADVANCED_EXECUTABLE_OK"
}
],
"source": {
"kind": "model",
"provider": "deepseek-official",
"model": "smoke-model",
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "text"
}
]
}
},
"id": "{{message:1}}"
},
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
},
"stream": [
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-start",
"index": 0,
"blockType": "text"
}
},
{
"type": "text-chunks",
"time0": 0,
"index": 0,
"dt": [],
"texts": [
"ADVANCED_EXECUTABLE_OK"
]
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "block-end",
"index": 0,
"block": {
"type": "text",
"text": "ADVANCED_EXECUTABLE_OK"
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "usage",
"usage": {
"inputTokens": 3,
"outputTokens": 3,
"totalTokens": 6
}
}
},
{
"type": "chunk",
"time": 0,
"chunk": {
"type": "finish",
"reason": {
"kind": "stop"
},
"replayState": {
"response": {
"kind": "deepseek-messages",
"version": 1,
"model": "smoke-model"
},
"blocks": [
{
"type": "text"
}
]
}
}
}
]
},
"surfaceOp": "append"
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "step/end",
"seq": 57,
"time": 0,
"data": {
"turn": 1,
"step": 5
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "command/run",
"seq": 58,
"time": 0,
"data": {
"commandId": "{{command:1}}",
"name": "feedback",
"source": {
"kind": "user"
}
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "feedback/record",
"seq": 59,
"time": 0,
"data": {
"text": "The session needs a clearer explanation."
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "command/done",
"seq": 60,
"time": 0,
"data": {
"commandId": "{{command:1}}",
"kind": "success",
"text": "Feedback recorded for session {{parent}}\nAnonymous user: {{anonymous-user}}."
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "feedback/record",
"seq": 61,
"time": 0,
"data": {
"category": "other"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "feedback/message-put",
"seq": 62,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"item": {
"messageId": "{{message:1}}",
"rating": "negative",
"note": "Explain the result.",
"category": "task-result",
"version": "{{feedback-version:1}}",
"createdAt": 0,
"updatedAt": 0
}
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "feedback/message-put",
"seq": 63,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"item": {
"messageId": "{{message:1}}",
"rating": "positive",
"note": "The explanation is clear now.",
"version": "{{feedback-version:2}}",
"createdAt": 0,
"updatedAt": 0
}
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "feedback/message-delete",
"seq": 64,
"time": 0,
"data": {
"sessionId": "{{parent}}",
"messageId": "{{message:1}}"
}
}
}
},
{
"method": "session.event",
"payload": {
"sessionId": "{{parent}}",
"event": {
"type": "turn/end",
"seq": 65,
"time": 0,
"data": {
"turn": 1,
"reason": {
"kind": "completed"
}
}
}
}
},
{
"method": "session.status",
"payload": {
"sessionId": "{{parent}}",
"status": "idle"
}
}
]
}