# v4.928.1.5.120 — delivered guard last-action invoice evidence

Hotfix for reconstructed opportunities where the detail page shows a completed SEND_INVOICE state but the delivered workflow guard cannot find the legacy task through `tasks.opportunity_id`.

Changes:
- `workflow_guard.get_workflow_context()` now selects `last_action_code` and `last_task_id`.
- Invoice task lookup also checks `opportunities.last_task_id`.
- Adds a conservative fallback: `last_action_code=SEND_INVOICE` counts as invoice-sent evidence only when an invoice exists and no pending invoice-send task contradicts it.
- Exposes `invoice_sent_last_action_evidence` in the workflow context for debugging.
