Contract framework with markdown-native contracts utilizing fenced YAML blocks

This commit is contained in:
2026-05-03 22:51:13 +02:00
parent 3cfda33bc9
commit e3e13ee45a
36 changed files with 2877 additions and 13 deletions

View File

@@ -0,0 +1,8 @@
# Expected Diagnostics: prd-frs-invalid.md
- `contract.field.missing`: `owner` is required.
- `contract.metric.too_low`: the document is below the target word band.
- `contract.assertion.contains_any_missing`: goals do not mention measure, metric, or success.
- `contract.section.missing`: `functional-requirements` is required.
- `contract.section.recommended_missing`: `non-goals` is recommended.
- `contract.section.discouraged`: `implementation-plan` is discouraged in this contract.