Map leaf states to actions
For each supplier, name when you can poll, when failure is final, and when you can fetch media. Add a separate “result ready to deliver” state after your download check.
Exercise the mapping offline
Feed one example of a queued job, a completed job with a good asset and a nominally completed job with a missing asset. Verify that only the first two use their expected user-visible states.
Example
Provider A returns a completed task with a URL that still needs credentials. Provider B returns a ready file through its documented download endpoint. Your review screen can say “generated, retrieving file” in the first case until verification.
Pass condition
A failed or missing delivery never appears as a completed customer handoff solely because for one vendor a status label reads “completed.”