runpod_deploy.metadata#

Reproducibility-manifest capture helpers. capture_local_git snapshots the operator’s git state (branch, HEAD SHA, dirty flag) at deploy time; capture_payload_lockfile records pyproject.toml + uv.lock content hashes so the same payload can be rebuilt identically later.

capture_local_git

Capture local git SHA, dirty flag, and branch for project_root.

capture_payload_lockfile

Locate and hash the payload's lockfile under project_root.