Claude failure diagnostic: record_invalid (raw output withheld).
