MASAKA / Browser / Downloads
Files with
receipts.
MASAKA records bounded browser downloads with immutable metadata and verifies bytes before task storage.
Download API
GET
/api/sessions/:id/downloadsList at most 100 metadata rowsGET
/api/sessions/:id/downloads?download_id=…Stream verified bytesDELETE
/api/sessions/:id/downloads?download_id=…Delete an owned itemIntegrity checks
Metadata includes name, MIME type, size, SHA-256, session binding, and creation time. The Agent Harness verifies response type, declared length, size limit, session ownership, and hash before committing an artifact.
Native failures
Native browser download failures are tracked separately from collection retries. A failure record never invents missing file bytes or converts a browser failure into a successful artifact.