Does a cron job aimed at (target, target_uid) deliver to the agent?
By UID when the job has one, else by name (case-insensitive, like agent
addressing).
Kill pid and every descendant at once (SIGKILL on Unix, TerminateProcess
on Windows), leaves first, after re-checking that pid is still the
process started at started_at_ms (0 = unknown, judged by PID alone).
One OS snapshot. Returns how many processes it signalled.
Does a claim held by (claimed_by, claimed_by_uid) belong to the agent?
Same holder rule as the store’s release (HOLDER_BY_UID): by UID when
both sides have one, else by name.
The process-side inventory of block_id: in-memory reads plus two
local-store (SQLite) reads, so call it off the async workers
(spawn_blocking), as the teardown does.
Start time (Unix ms, at the OS’s one-second resolution) of each of pids
that is running now; a PID that isn’t running is absent. One targeted OS
query.
The processes of a snapshot that are still running: the same PID with the
same start time. A PID the OS has since reused for another process is not
a survivor (spec §8).