Expand description
The Warden Jobs tab’s websocket RPCs (docs/specs/SPEC_JOBS_AND_TEMPLATES_2026_10_24.md §3.3):
jobs.list: every job (cron jobs, Drone graphs that have run, and approved cloud jobs) with its state, next run, recent runs and spend, the cloud events dropped since start-up, and Pause all.jobs.runs: one job’s runs, newest first, paged bybefore.jobs.act:run_now,pause,resume,deleteon a cron job, and the operator’spause_all/resume_all.
The per-job actions go through the Schedule routes’ own handlers
(server::cron), so the caller check (#5392) and the scheduler calls are
the same whichever way a job is changed. A connection registered as an
agent acts as that agent there; Pause all and Resume all refuse it.
Structs§
- CapDefaults
- Settings’ caps (
jobs:cap:*): what a job without figures of its own gets (§5.3). The editor shows them beside the job’s own. - Cloud
JobView - An approved cloud job (§4.3), as the tab’s cloud group shows it. Its runs are the reporter’s signed events and the watchdog’s misses; nothing here starts it.
- Dropped
Events - Cloud events refused since this AgentMux started, by why (“unknown job”, “bad signature”): never shown as runs.
- JobRun
Row - A run as the tab shows it: the ledger row, and whether it failed (§3.4).
- JobView
- One job in the tab’s list (§3.3).
- Jobs
ActRequest - Jobs
ActResult - Jobs
List Result - Jobs
Runs Request - Jobs
Runs Result - Ledgered 🔒
- What the list needs from the ledger for one job.
Constants§
- DAY_MS 🔒
- RECENT 🔒
- Runs a row’s strip shows (§3.3, “Recent”).
- RUNS_
DEFAULT 🔒 - RUNS_
MAX 🔒 - The most runs one
jobs.runsreturns, and its default.
Functions§
- act 🔒
- answered 🔒
- A Schedule route’s answer as the RPC’s: the route’s
errorwhen it refused. - block_
of 🔒 - The pane of the registered agent with this UID, else this name.
- caller_
of 🔒 - Who is asking: the operator’s own window (
None), which needs the host’s proof, or the agent this connection registered as, by UID. An agent connection whose UID can’t be found is refused: it can’t be told apart from another agent. - cloud_
view 🔒 - An approved cloud template as a job. The owner is the agent the manifest names, by uid or by name (§4.3), found among the agents here.
- cron_
view 🔒 - drone_
view 🔒 - ledger 🔒
- ledgered 🔒
- list 🔒
- local_
midnight_ 🔒ms - Local midnight today, ms epoch: a day is the operator’s (§10, 7), the same day the spending caps count.
- register
- runs 🔒
- sort_
jobs 🔒 - Local jobs sorted by next run (none last), then by name (§3.3).