How to Write Episodes

This document defines how a human must write episodes for the LLM. * An episode is a bounded unit of strongly related work with one goal and one acceptance. * An episode groups what would otherwise be several small items into a single work order. * Apply naming rules from prompts/flavors/01-semantic-sort-naming.md.

1. Episode Purpose

2. Episode Granularity

3. Episode Structure

Every episode must contain these sections in order:

4. Dispatching an Episode

5. Writing the EPISODE-ACCEPTANCE Section

6. Writing the EPISODE-RISKS Section

7. Writing the EPISODE-TASKS Section

8. Relationship to Tasks and Features

9. Relationship to Phases

10. Relationship to the Queue

11. Intent and Record

12. Prohibited Episode Patterns

13. Human Override