Preflight Requirements
- Valid model API secret in repository settings.
- Workflow permissions set to allow content write.
- Clean parser path for markdown frontmatter and slug generation.
- No redirect loops or route failures that break post verification.
Runtime Validation
- Capture generation errors with clear non-zero exits.
- Log selected topic, generated slug, and output file path.
- Fail fast on API responses that return empty content.
Post-Run Validation
- Confirm commit actually includes new markdown files.
- Verify post appears in the feed sorted by date.
- Notify maintainers on consecutive scheduled failures.
Result
Automation reliability improves when failures are observable, deterministic, and tied to one runbook.