pub async fn ensure_sim_pack_cached(
target_rev: Option<u64>,
) -> Result<(u64, PathBuf)>Expand description
Fetch sim latest.json, download pack if needed, return repo-shaped root.
Auto-heal for Oracle clone/rsync: when the checkout’s assets/.content-publish.json
is ahead of (or equal to, with FLATLAND_SIM_PACK_PREFER_REPO_ASSETS=1) the remote
latest.json, seed ~/.flatland3/sim-packs/rev-<N>/ from local assets/ instead of
re-downloading a stale pack that is missing newly cloned item templates.