SERVER-137323ClosedFixed
Record event identity and signal failures at the writing points
h2. Deliverable Record the in-flight event identity and signal failures without building an event. * *Transform stage:* Record each event’s identity as it is built, and clear the identity slot before pulling the next entry. * *Pre-image, post-image, and updateLookup stages:* On a convertible lookup failure, set {{activeChangeStreamErrorSource = internal-pipeline}} and rethrow. Do not build the event. * *BatchedEnrichmentStage (batched updateLookup):* Record each event’s identity bef