DECLARATIVE-YAML-14: Require a phrase in a section
What it demonstrates
Section titled “What it demonstrates”A section node carries requires: so its prose must contain a literal phrase (compiles to a node-local rule).
Builds on: DECLARATIVE-YAML-13: YAML contract and its TypeScript equivalent, identical findings
How it’s done
Section titled “How it’s done”The declarative YAML artifact, verbatim — no code required.
mcVersion: 1kind: contractbody: sections: - section: Output contract requires: - pattern: "DONE pr=" # this section's text must contain it note: "primary success signal"Surfaces exercised
Section titled “Surfaces exercised”requires: on a section node -> a node-local ruletext/requires finding at the section heading