docs: enforce repository-wide YAML governance#919
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs.yamlas the single machine-readable contract for repository Markdown metadatarelated_filesplus a document-specificmaintenancerule, with no path-level content exemptionsscripts/check_docs_governance.pyand regression coverage for strict frontmatter/YAML, maintenance placeholders and the exact 19/20 boundary, unsafe paths including Windows drive designators, specialized-owner boundaries, package/runtime consumers, and byte-exact notification bodiesa2b7d729: 167 files remain byte-identical to the reviewed candidate, while four overlapping manuals preserve the intervening fix(daemon): enforce explicit preset allowlist #917/fix: preserve timely-transient metadata during full replay #918 content and add only the exact reviewed governance blockslifecycle: temporarymarker with a required, concretetemporary_untilexit condition; the marker adds obligations and never exemptsmaintenanceorrelated_filesdocs/plans/2026-06-25-fsutil-migration.md, while leaving durable/history documents unclassified by defaultValidation
Current head
f4163f2e9d2780d3d7a694b331b6f3b03e9aa670:Earlier reconciled V6R full-suite baseline, before the lifecycle-only follow-up:
Additional exact-candidate checks:
git diff --cached --checkpassed; real worktree index remained byte-identicalbac66b18c2a7c8d55881c017e7f1516c19e617e2bac66b18c2a7c8d55881c017e7f1516c19e617e20e3003629670b56d0d0197bf9a1fd69213d05d487ff9cbe6fba2ca1e51f524ce96167b10d8109a28d58cb9f375e1dc99281a04beb8255176886a2cd65a4b448eclaude-opus-4-8initial governance review: PASS, 0 blocker / 0 important / 1 cosmetic non-blocking NIT (three stale “V5” labels in test comments/docstrings only)claude-opus-4-8final review: PASS, 0 blocker / 0 important; two observational non-blocking NITs, with no candidate change requiredScope notes
related_filesremains a safe repo-relative logical/crawl-link field; deeper existence and graph semantics stay with their existing specialized owners.lifecycle_contractsupplies only a small mechanical floor. It rejects placeholder tokens and bare generic “when done” / “after migration” conditions, but owners and review remain responsible for semantic concreteness.related_filesentries discovered insrc/lingtai/kernel/i18n/ANATOMY.mdare reported separately and deliberately not mixed into this PR.