pub fn plan_thread_drop(options: &ThreadDropOptions) -> ThreadDropDispositionExpand description
Pure preflight for heddle thread drop / drop_thread_silent.
Rules (matching CLI):
- Current lane + no delete flag → refuse
- Current lane + delete flag → proceed to delete command (typed
branch_delete_currentadvice; do not tear down the checkout) - Missing + delete flag → proceed to delete command
- Missing otherwise → not found
- Found → drop plan (unmount if virtualized, remove a dedicated checkout if present, abandon record, strip agents, optionally delete ref). Never remove the shared repo root.