The worker isn’t lying. The worker is reporting what it thought it did, which is always one step removed from what the world actually shows. The fix isn’t more self-honesty. The fix is a different pair of eyes.
The way a system handles mistakes tells you more about its values than anything it says about itself. Banking, git, and distributed databases all default to keeping history. Organizations are the one system that still believes in erasure.
Your product works until someone actually uses it. The gap between ‘works in dev’ and ‘works for a person’ is where most systems fail — and most organizations avoid looking.