Start CUST-WP-0050: T01 allowed-values + validator; classify the-custodian

Activate the workplan and complete T01: add the machine-readable controlled
vocabulary canon/standards/repo-classification.allowed.yaml (categories,
domains, business_stake, business_mechanics, capability families, guidance),
reference it from the standard §12, and add tools/validate_repo_classification.py
(stdlib + PyYAML, --self-test PASS).

Begin T02: author the-custodian/.repo-classification.yaml (research · infotech ·
agents), which validates clean. classified_by: agent, pending human review.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-22 02:02:01 +02:00
parent a74f42de06
commit 044d088109
5 changed files with 356 additions and 3 deletions

View File

@@ -682,6 +682,10 @@ Add only the mechanics that materially apply.
## 12. Validation Checklist
The controlled vocabularies are maintained in machine-readable form at
`canon/standards/repo-classification.allowed.yaml`. Validate a file with
`tools/validate_repo_classification.py <path-to-.repo-classification.yaml>`.
A repo classification is valid when:
- [ ] `category` exists and has exactly one allowed value.