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: adr-invalid.md
- `contract.field.missing`: `status` is required.
- `contract.metric.too_low`: the document is below the target word band.
- `contract.assertion.contains_any_missing`: context does not mention problem, motivation, or constraint.
- `contract.section.missing`: `decision` is required.
- `contract.section.recommended_missing`: `consequences` is recommended.
- `contract.section.forbidden`: `deprecated` is present.