fix(codex): retire native assignments from an earlier session lifecycle (#201306)

Doctor kept Codex native assignments whose lifecycle revision appeared on
only one side and reported a recoverable warning. Any plugin migration
warning keeps the deferred Codex migration pending, so after updating, the
Codex plugin stayed in pending-state-migration and new workers failed with
owner-plugin-degraded. Repeating Doctor never cleared it.

Native recovery restores only assignments whose revision equals the current
owner's. A session reset keeps the session ID and mints a fresh revision,
and revisions are never reissued, so a one-sided assignment can never be
delivered again. Doctor now keeps an assignment only when the revisions are
equal (including both absent on legacy owners) and retires the rest with
their matching receipts, as it already does for mismatched revisions.

Refs #197515

Co-authored-by: Peter Steinberger <steipete@gmail.com>