Separate the evidence from the decision
This is a recipient-side acceptance task, distinct from gathering media into an editing project. A package can be portable yet contain the wrong revision, or have correct videos but omit the approved stems. The artifact records each expected item and the recipient's result. Keep trust explicit: a malicious or mistaken package can include matching hashes for its own wrong contents. The expected manifest must be approved through an appropriate channel and bound to the actual delivery revision.
Build the evidence
- 01
Establish the input evidence
Obtain the agreed manifest before verifying the received files. Confirm its revision and who approved the asset roles. Include original-versus-review distinctions, caption language and audio stem identity where needed. Define whether extra files are allowed or require review; an unintended private commentary track or project note can be a disclosure problem even when all expected files are present. Do not infer completeness from a matching folder name or the number of visible archive entries.
- 02
Run a controlled diagnostic
Resolve each manifest path inside the approved extraction root and reject absolute or escaping references. Verify file existence and byte size, then hash the actual received bytes. The example uses a single expected file to illustrate the check; a production audit must cover the entire expected set and any extra-file policy. Use streaming reads for large media. Preserve unreadable-file and permission errors as explicit failures rather than replacing them with empty hashes that could accidentally match another missing record.
- 03
Verify the actual handoff
Open representative accepted media and inspect the required endpoints, correct soundtrack and caption alignment. A hash match does not establish that the approved source itself was artistically good or supported by the recipient's player. Keep technical identity and viewing acceptance in separate columns. Record the audit time, manifest identity and exact file results. If something differs, obtain a corrected authorized delivery and rerun the full relevant check rather than relabeling the wrong file to match the expected name.
A bounded example
Illustrative handoff: an archive contains a playable review MP4 but the manifest expects the clean master plus two microphone stems and an English caption file. Opening the archive proves none of those role requirements. Another package has all the names but one caption file belongs to an older edit, which the hash exposes. The example does not authenticate an unknown sender or certify rights to any picture, voice or music.
Local workflow example
Documentation integrity example only. No private delivery package, sender authentication or production acceptance audit was performed.
from pathlib import Path
import hashlib
root = Path("received-package").resolve()
relative = Path("media/clean-master.mp4")
if relative.is_absolute(): raise ValueError("Absolute path")
path = (root / relative).resolve()
if not path.is_relative_to(root) or not path.is_file(): raise ValueError("Invalid asset")
h = hashlib.sha256()
with path.open("rb") as stream:
for block in iter(lambda: stream.read(1024*1024), b""): h.update(block)
print({"bytes":path.stat().st_size,"sha256":h.hexdigest()})
# Compare against the independently approved manifest; cover every expected item.Task evidence worksheet
| Acceptance | Evidence | Limit |
|---|---|---|
| Expected set | Approved roles and revision | Archive opening is insufficient |
| Received identity | Size/hash for every required item | Not sender authentication |
| Usability | Recipient playback/content check | Not established by checksum alone |
Acceptance evidence
- Use an independently approved manifest and explicit asset roles.
- Reject escaping paths and report every missing, unreadable or mismatched file.
- Keep byte identity separate from viewing approval and permission evidence.
Stop condition
Stop approval when the expected manifest is untrusted, a required item is missing or hashes disagree. Preserve the received package and discrepancy report without overwriting the approved archive. Do not bypass an access restriction to fetch a substitute, and do not declare the delivery complete until identity failures and the actual recipient playback requirements are resolved.
