feat(agents): add watchdog and forked-agent support

Add watchdog scheduling and forked-agent spawn/resume support across the agent control plane, schemas, rollout metadata, and TUI surfaces.

Rolls up follow-up fixes for watchdog lifecycle behavior and guidance: helper cleanup/one-shot enforcement, wait semantics for watchdog check-in agents, and clarified tool descriptions so models align with runtime behavior.
This commit is contained in:
Friel
2026-02-21 15:59:25 -08:00
parent fefdc03b25
commit 993d3874e1
41 changed files with 5727 additions and 313 deletions

View File

@@ -1286,6 +1286,14 @@
],
"type": "object"
},
"CollabAgentSpawnMode": {
"enum": [
"spawn",
"fork",
"watchdog"
],
"type": "string"
},
"CommandExecutionApprovalDecision": {
"oneOf": [
{
@@ -3844,6 +3852,15 @@
],
"description": "Thread ID of the sender."
},
"spawn_mode": {
"allOf": [
{
"$ref": "#/definitions/CollabAgentSpawnMode"
}
],
"default": "spawn",
"description": "Spawn mode used for this agent."
},
"status": {
"allOf": [
{