897498829b
- Structured OpusState with Pydantic models - PreWriting schema with Character, ChapterPlan, PlotBeat - Validation functions for each stage - Checkpoint save/load to disk - Workflow nodes for each stage - Cross-validation between stages - Structured parsing of LLM outputs