Publishes private evidence into an existing caller-owned directory, without replacing an existing artifact. The caller must prevent concurrent directory renames or permission changes while publishing.
Summary
Functions
Writes a mode-0600 artifact, rejecting symlinks and hashing the exact published bytes.
Functions
@spec write(ReqManagedAgents.Evidence.Capture.t(), String.t()) :: {:ok, ReqManagedAgents.Evidence.Artifact.Ref.t()} | {:error, ReqManagedAgents.Evidence.Error.t()}
Writes a mode-0600 artifact, rejecting symlinks and hashing the exact published bytes.