type: user/message

type: text

text: Run this advanced flow exactly once: mount a no-op Cordis plugin named snapshot-marker; use run_code to inspect the live dynamic mounts through tools.cordis_inspect; delegate once to a direct spawn child; run one workflow that delegates to another spawn child; unmount dyn-1; then reply with exactly ADVANCED_ACP_OK.

kind: user

surfaceOp: append


type: session/title

title: Run this advanced flow exactly

kind: fallback


type: request/header

provider: deepseek

[System] {{system}}

tools: {{tools}}

reason: initial


type: assistant/chunk

type: tool-call-delta

code: return { name: 'snapshot-marker', apply() {} }


type: block-end

type: tool-call


type: assistant/message


type: tool/call

callId: advanced-mount


type: tool/result

text: mounted dyn-1 (plugin "snapshot-marker", state: active)


code: return await tools.cordis_inspect({ what: 'dynamic' })

description: Run the scripted inspection program


description: Run the scripted inspection program


description: Run the scripted inspection program


callId: advanced-code

description: Run the scripted inspection program


type: tool/code-dispatch-start

parentCallId: advanced-code

what: dynamic


type: tool/code-dispatch

text:
## dynamic
- dyn-1: snapshot-marker [active]


subagent

description: Check direct child

prompt: Reply with exactly DIRECT_CHILD_OK and nothing else.


description: Check direct child

prompt: Reply with exactly DIRECT_CHILD_OK and nothing else.


description: Check direct child

prompt: Reply with exactly DIRECT_CHILD_OK and nothing else.


callId: advanced-direct-child

description: Check direct child

prompt: Reply with exactly DIRECT_CHILD_OK and nothing else.


workflow

script:
phase('Delegate')
const reply = await agent('Reply with exactly WORKFLOW_CHILD_OK and nothing else.', { label: 'workflow-child' })
return { reply }

advanced-acp-snapshot

description: exercise one workflow child through ACP


advanced-acp-snapshot

description: exercise one workflow child through ACP


workflow

description: exercise one workflow child through ACP


callId: advanced-workflow

advanced-acp-snapshot

description: exercise one workflow child through ACP


text:
workflow "advanced-acp-snapshot" completed (1 agent).
Return value:
{
  "reply": "WORKFLOW_CHILD_OK"
}


callId: advanced-unmount

text: unmounted dyn-1 (plugin "snapshot-marker")