Implement run_batch(items, operation). Process every item once in input order. Return a BatchResult containing succeeded and failed lists.
Each success is Success(index, item, value). Each ordinary Exception becomes Failure(index, item, error) and must not stop later items. Do not catch BaseException subclasses such as KeyboardInterrupt or SystemExit. Preserve original item objects and exception objects; an empty batch returns two empty lists.