Skip to content

agent:session-end

← Back to CLI Commands

End agent session

pnpm agent:session-end

Options:

FlagDescriptionRequired
--revokeCombine with —session-id and —reason to forcibly revoke a role-session lease you do not ownNo
--session-id <id>Close a WU-less role session (orchestrator/reviewer/finisher/recovery) matching this session_idNo
--confirmAcknowledge closing a foreign-owned session on a bare closeNo
--reason <text>Reason for a —force override (recorded in the force-bypass audit)No
--forceOverride the foreign-owner refusal on —wu (requires —reason)No
--wu <id>Close only the current pointer, and only if it matches this WU idNo

← Back to CLI Commands