I Built a State Machine for My AI Agent's Publishing Pipeline. Here's the Pattern That Survived 50 Consecutive Runs.

· Dev.to