Stage-named status
Platformalso: awaiting_dossier · failed_at_chain · status flagsThe house rule that a status value names the stage it is in; never a bare pending, failed or running.
A queue full of "pending" rows cannot be diagnosed. "awaiting_dossier" says why an investor waits; "failed_at_chain" says which stage broke without reading logs. Every pipeline enumerates its stages in a check constraint before any code is written.