agent: clarify terminal state handling
agent: clean up supervisor test