feat(delegate-job): bump default --timeout 600s -> 3600s (1h wall-clock budget)

Changed 11 locations across 5 files:
- scripts/registry.py: timeout_sec dataclass default + argparse default
- scripts/job_subscriber.py: help text + fallback default
- SKILL.md: 4 recommended invocation examples
- registry.md: JSON example + CLI example
- tmux-agent-orchestrate-delegate-job: bash wrapper TIMEOUT var

--idle-timeout 120s preserved unchanged.
Rationale: 10min default was too short for deep analysis / multi-file
generation tasks; 1h aligns with long-running agent delegation patterns.
This commit is contained in:
2026-06-21 06:08:49 +00:00
parent 50b2b201b8
commit a6f7c045bc
5 changed files with 11 additions and 11 deletions
@@ -46,7 +46,7 @@ Reference implementation: [`./scripts/registry.py`](./scripts/registry.py)
"password": null
},
"topic_prefix": "python/mqtt/jobs/abc12345",
"timeout_sec": 600,
"timeout_sec": 3600,
"idle_timeout_sec": 120,
"expected_artifacts": ["sort_problems.md"],
"last_seq": 0,
@@ -127,7 +127,7 @@ SQLite transaction when you migrate.
```bash
PY=.venv/bin/python
$PY scripts/registry.py register --prompt "…" --agent claude-code \
--agent-session tmux:claude --timeout 600 --idle-timeout 120 # → prints job_id
--agent-session tmux:claude --timeout 3600 --idle-timeout 120 # → prints job_id
$PY scripts/registry.py list # human table
$PY scripts/registry.py list --json # full records
$PY scripts/registry.py get --job <id> # one record