pub async fn run_sync_remote(
repo_root: &Path,
remote: &RemoteConfig,
repin: bool,
) -> Result<RemoteSyncReport>Expand description
Fetch a remote KG archive, verify SHA-256, populate .khive/kg/remotes/, write meta.json.
Fail-closed on hash mismatch; use repin=true to update the pin.