fn: validate_upload
Purpose
Validate staged files, including ZIP paths and expansion limits.
Signature
def validate_upload(filename: str, payload: bytes) -> None:
This is not ingestion: archive entries remain unextracted until the WCM ingestion planner reviews them on the receiving machine.
Usage
validate_upload(filename, payload)
