Domains
Health Outcome
The two separate records a wiki health run reports, structural and semantic, and what the project check:health command covers.
Health Outcome
A health outcome is the report of the health flow. It holds two records with their own evidence: the structural record says whether the wiki is mechanically sound; the semantic record says whether its knowledge is still true, connected and discoverable. Spec authority: AC-031–AC-035; plan decision P12.
Parts
structural: one entry per declared validation command withcommand,covers(frontmatter, links, navigation, source references) andresult(pass,failwith findings,unavailablewith reason).semantic: findings in scope, each withkind(stale_claim,contradiction,missing_connection,discovery_gap),pages,evidenceandstatus(resolvedwith the change,unresolvedwith the owner or decision).refresh_outcomes,resumeandconflicts.
Invariants
- A structural pass proves structure only. Accuracy comes from the semantic record; visibility comes from evidence of the deployed route.
- Contradictions and unaccepted choices stay
unresolveduntil accepted evidence settles them.
check:health
bun run --cwd apps/wiki check:health is the Harness structural check. Finding kinds:
| Kind | Checks |
|---|---|
link | Relative and /docs/... links resolve to a page or file |
navigation | Each page and folder is in its owning meta.json pages (a "..." entry or a !name exclusion counts) |
frontmatter | Each page has a non-empty title |
source | Each source.json names an existing file with matching SHA-256 and size |
It prints a human report, or JSON with --json, and exits non-zero on any finding. It is part of the wiki check script.
Implemented behavior and evidence
- Skill text:
health.md, skills commit2319349. - Script and fixture tests:
apps/wiki/scripts/check-health.mjsandcheck-health.test.mjs, commit1b6aa37fa. - First real outcome: recorded in the knowledge-maintenance implementation notes.