Expand description
Render gw delete refusal messages for the 3-tier busy model.
Pure string formatting; no I/O. Kept separate from busy.rs so the
detection logic can be tested without locale/styling concerns.
Functionsยง
- render_
busy_ block - Render the busy-status block (header + body) for read-only callers
like
gw status/gw list. Same body sections asrender_refusal(Active Claude session / Lockfile holder / cwd processes) but with a neutral header and no--forceguidance. Returns an empty string when both vectors are empty. - render_
refusal - Render the user-facing refusal text for
gw delete. Empty inputs in both vectors is a programming error (caller should not have refused) but is rendered as an empty string for safety.