read_task_statuses(
pending_writes: Iterable[PendingWrite],
) -> dict[str, TaskStatusReturn the status of every task that has recorded writes, keyed by task id.
Writes from NULL_TASK_ID are input to the superstep, not task activity, so
they are not included.