1 run_rollout_shard

rollouts.run_rollout_shard(
    config,
    *,
    shard_entry,
    output_tmp,
    output_final,
    invocation=None,
)

Build one rollout shard with strict temp-to-final promotion semantics.

A completed final directory is skipped only when the Zarr store validates, the embedded shard manifest matches the requested entry, and _owner.json is still the payload named by _SUCCESS.json. Any stale temp directory or incomplete/tampered final directory is left for operator review.