Classify a failed agent transaction and produce a signed, machine-readable recovery claim and deterministic remedy plan