fn refuse_when_held(
workspace: &Workspace,
seat: &SessionSlot,
) -> Result<(), String>Expand description
The screen and the PTY belong to the person while a hand-off is parked. Every tool that touches either is refused, so a parallel call or a subagent cannot read their typing or write into their prompt.
A person’s own take-control does not refuse anything: it is theirs to
hold, and a tool that acts takes it back (see write and hand_off).