aiworkhub_agent_launch_task
DUAL-GATED: launch one exact local Claude/Codex worker process.
Instructions
DUAL-GATED: launch one exact local Claude/Codex worker process.
Requires both AIWORKHUB_ALLOW_LAUNCH=1 and
AIWORKHUB_ALLOW_WRITES=1. The task card, runner, topic, pending state,
allowed-write scope, collision guard, adapter, and process limit are all
validated before a shell-free child process can start.
timeout_seconds is retained only as non-enforcing compatibility
metadata; this API never installs a provider wall-clock deadline.
runner, topic and adapter_id are optional because the server
already owns them: the card carries runner and topic (the launcher refused
any value that differed, so typing them asserted rather than decided), and
the adapter is a pure function of the runner narrowed to the first
pinnable, policy-allowed entry in canonical tuple order. Omit them and the
reply's launch_identity_derivation records exactly what was derived;
pass them and the explicit value wins and is validated as before. The
manager identity codex is never a worker runner.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| topic | No | ||
| runner | No | ||
| task_id | Yes | ||
| adapter_id | No | ||
| owner_prompt | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||