Storage port; read, written and asked to digest.
A key from composeAutoMovieArtifactKey.
Produces the artifact when no valid entry exists or when verifying; a rejection propagates and stores nothing.
Recompute and compare even when a valid entry exists.
The artifact, its content digest and the outcome.
Read one keyed artifact, or compute and store it: the read-or-compute step every stage cache shares.
A stored entry is reused only after its bytes hash to the digest recorded at write time; a failing entry is removed and recomputed, so a truncated or replaced file never reaches a consumer. With
verify, a valid entry is recomputed anyway and the digests compared; a difference replaces the entry and reportsmismatchedrather than letting the first writer win. The computation must be a pure function of everything its key declares.