wiki-governor: fold warehouse-audit into health score, promote Law 9 to librarian#35
Merged
Merged
Conversation
…to librarian Phase 1 now runs wiki-warehouse /warehouse-audit whenever the vault has doc_id-carrying notes, and Phase 3 folds its corrupt/missing/dangling/ drifted counts into the health score as a sixth, conditional sub-metric (dropped and renormalized rather than scored 0 when the warehouse isn't in use, so an unused feature doesn't tank an otherwise healthy vault). Moves the Law 9 (provenance) check out of wiki-governor and into wiki-librarian's Check 6, so it's caught on every /audit instead of only on weekly /govern runs — consistent with how the other three laws governor's compliance table cites are all librarian checks. Also renames template/ to skill-template/ to stop it colliding with the unrelated templates/ (Obsidian note templates) directory, and updates the sitrep to reflect both closed gaps.
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
wiki-governorPhase 1 now runswiki-warehouse /warehouse-auditautomatically whenever the vault has anydoc_id-carrying notes, and Phase 3 folds its corrupt/missing/dangling/drifted counts into the health score as a sixth, conditional sub-metric — excluded and renormalized (not scored 0) when the warehouse isn't in use, so an unused feature can't tank an otherwise healthy vault.wiki-governorand intowiki-librarian's Check 6 (schema gaps), so it's caught on every/audit, not just weekly/governruns. Governor's Phase 2 compliance table now cites it as a librarian check like Laws 3/7/8; Law 10 remains governor's own.template/→skill-template/to stop it colliding with the unrelatedtemplates/(Obsidian note templates) directory — same name, different purpose, purely confusing. Updated the two references (CONTRIBUTING.md, README tree).knowledge-os/sitrep.mdandarchitecture.md's skill load order to reflect both closed gaps, and explicitly deprioritizes wiring the stalled-work digest to the wiki's own governance cadence for this repo (documented as a deliberate choice, not a dropped ball).Test plan
wiki-governor,wiki-librarian, andwiki-warehouseSKILL.md files for consistency (Phase numbering, weight sum = 1.0 across all 6 sub-metrics,git mvused for the rename to preserve history).Generated by Claude Code