fn agent_routes(state: &AppState) -> Router<AppState>Expand description
Routes that act for an agent: each needs the agent’s token (agent_only).
Jobs (SPEC_JOBS_AND_TEMPLATES_2026_10_24.md §5.1) and the cron scheduler
under them (/agentmux/cron is kept as an alias for one release), and
Muxqueue, the universal agent work queue
(docs/reports/REPORT_UNIVERSAL_AGENT_WORK_QUEUE_2026_09_01.md), with the
Kanban’s holder routes (SPEC_WARDEN_KANBAN_2026_10_20.md) and an agent’s
hold and unhold (SPEC_KANBAN_AGENTS_HOLD_AND_UNHOLD_2026_10_22.md).