tools(docs): require citations in citing docs
Two checks were added to catch drift between the point of record and the docs that cite it. - Check 11: a capability or contract doc must declare its IDs in a Requirements impact table, and may cite only those. - Check 12: a section that makes a behavior claim must cite an ID in that section. External-shape sections are exempt. CAPTURE.md and CREATE.md gained the impact-table rows the first check requires. check_coverage is unchanged.
This commit is contained in:
@@ -18,6 +18,7 @@ lives in `docs/contracts/` (`API.md`, `WOO-API.md`, `DATA-MODEL.md`, `PROMPTS.md
|
||||
| METADATA-70, METADATA-75, METADATA-80, METADATA-85, METADATA-90, METADATA-95 | deterministic copy, inference-off path, pattern selection, fact block |
|
||||
| METADATA-100, METADATA-105, METADATA-106, METADATA-107, METADATA-110, METADATA-115 | feat mapping, prompt storage, revision interface, Generate text control, failure triage |
|
||||
| PUBLISH-5, PUBLISH-10, PUBLISH-15, PUBLISH-20 | create sequence, draft rule, duplicate, stale |
|
||||
| CAPTURE-15, CAPTURE-165, OPS-30, OPS-35, QUALITY-115, METADATA-107 | out of scope |
|
||||
| PUBLISH-25, PUBLISH-30, PUBLISH-31, PUBLISH-35, PUBLISH-36, PUBLISH-37, PUBLISH-38 | success, failure, partial failure, triage |
|
||||
| PUBLISH-40, PUBLISH-45, PUBLISH-50, PUBLISH-55, PUBLISH-60 | images, lineup, meaning of published, payload, quantity |
|
||||
| SETTINGS-5, SETTINGS-10, SETTINGS-15, SETTINGS-20, SETTINGS-25, SETTINGS-30, SETTINGS-35 | store URL, auth, crypto, inference config, rates |
|
||||
|
||||
Reference in New Issue
Block a user