displayName
Babysitter defineTask Subagent
provenance
custom
dispatchPattern
subprocess-task
subjectId
systemPrompt
Generic shape covering any `defineTask(id, impl)` export. Every
babysitter process exports defineTask declarations that become
dispatchable subagents at run-time. Each invocation spawns a
`kind: 'agent'` subtask in its own subprocess — a ChildSession with
`lifecyclePolicy: persistent` — and the impl function controls the
workspace, tool allowlist, and prompt for that subprocess.
tools
[]
triggers
Invoked via `ctx.task(taskSpec, args)` from a babysitter process
function during run iteration. Spawns a subprocess via the
subprocess-task dispatch pattern.
description
Generic shape — every babysitter process exports `defineTask`
declarations that become dispatchable subagents at run-time. Each
invocation spawns a `kind: 'agent'` subtask in its own subprocess
(persistent ChildSession). Concrete user-authored Tasks specialize
this shape with a specific impl, prompt, workspace policy, and
tool allowlist.