Debugging a Copilot CLI Extension: when One Line Breaks Everything

The problem: A Copilot CLI extension, to generate kid storybooks, was running all fine — when suddenly it completely broke — it wouldn’t…