- restore a verified row by fact: three variants give ready, otherwise
failed with a known code instead of ready without content
- check trigger functions are not SECURITY DEFINER and pin search_path
- record the working stand comparison, the permanent drill lock file and
the remaining SeaweedFS details
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- narrow the worker S3 user to staging reads and attachments writes
- add database rules the worker role cannot bypass: no return to pending,
variant keys of its own attachment, known error codes only
- let the cleaner remove a ready source only after its own SHA-256 check
- add make jobs_audit [REPAIR=1] to name and requeue damaged jobs
- add make worker_compromise: isolated before/after stands, one operation
table, response windows, job safety, controls and committed hypotheses
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>