pub fn plan_thread_materialize(
mode: &ThreadMode,
apply_shared_target: bool,
hydrate_requested: bool,
) -> ThreadMaterializePlanExpand description
Build the pure materialize plan from mode + post-decision flags.
apply_shared_target should already be the result of
shared_target_redirect_applies (or equivalent). hydrate_requested
is the raw CLI flag; this function gates it on mode via plan_hydrate.