Validates prompt and loop definitions the moment they are authored, rejecting malformed ones on the spot so mistakes surface at definition time rather than mid-run.

## Before writing SPEC.md files

Read https://raw.githubusercontent.com/brillout/sdd/refs/heads/main/sdd.md
