One malformed item killed my agent pipeline — now loading repairs it instead

petrusenko_max · x · 2026-10-31

Two runs of the author's WhatsApp sender crashed on the same day — not on bad messages, but on the shape of the plan file (a KeyError on missing checkedafter, a ValueError on an event id with no date).

His fix: both the sender and builder now repair the plan at load time —

Principle: a malformed item used to take down the whole run; now it costs one item.

Related event: WhatsApp agent crashes twice on its own plan file; author shares 7 self-repair rules(2 posts)→

Original post →

More from coding & agent

coding & agent channel →