pub fn record_interrupted(dir: &Path, agents: &[String], now_ms: i64)Expand description
At quit, as each agent is closed (or all that are left when srv exits): add
the ones with a turn in flight (agents, their ids) to the list the next
start tells to carry on. A quit closes its agents one by one, so this adds
to what the quit has recorded so far (a list over an hour old is dropped
first). Unlike a note held for a turn, an interrupted turn is never
continued by the CLI by itself on --resume.