pub fn reset_spec(
spec: &mut Spec,
spec_path: &Path,
_options: ResetOptions,
) -> Result<()>Expand description
Reset a spec to pending status.
This is the canonical reset logic used by both CLI and MCP. Only failed or in_progress specs can be reset.