Skip to main content

plan_thread_refresh

Function plan_thread_refresh 

Source
pub fn plan_thread_refresh(options: &ThreadRefreshOptions) -> ThreadRefreshPlan
Expand description

Pure preflight for refresh checkout selection and no-op / refusal gates.

Rules (matching CLI refresh_thread):

  1. No target → missing target
  2. Freshness current → already current
  3. Empty execution path + current lane → proceed on caller repo
  4. Empty execution path + not current → requires current checkout
  5. Non-empty execution path → proceed on that path