# Codex Automation Agent Rules Purpose: Run the design-to-data pipeline for boss encounters. Pipeline: 1. Read Markdown boss design doc from the design vault. 2. Convert it to boss YAML. 3. Validate the YAML using boss design rules. 4. Write a validation report next to the design doc. 5. Write runtime YAML into the game project. Rules: - Markdown is the source of truth. - YAML is derived data. - Validation should never modify the source Markdown. - Do not invent mechanics. - If a field is missing, record that as uncertainty or an issue.