Harness Intelligence Wiki
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 with command, covers (frontmatter, links, navigation, source references) and result (pass, fail with findings, unavailable with reason).
  • semantic: findings in scope, each with kind (stale_claim, contradiction, missing_connection, discovery_gap), pages, evidence and status (resolved with the change, unresolved with the owner or decision).
  • refresh_outcomes, resume and conflicts.

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 unresolved until accepted evidence settles them.

check:health

bun run --cwd apps/wiki check:health is the Harness structural check. Finding kinds:

KindChecks
linkRelative and /docs/... links resolve to a page or file
navigationEach page and folder is in its owning meta.json pages (a "..." entry or a !name exclusion counts)
frontmatterEach page has a non-empty title
sourceEach 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 commit 2319349.
  • Script and fixture tests: apps/wiki/scripts/check-health.mjs and check-health.test.mjs, commit 1b6aa37fa.
  • First real outcome: recorded in the knowledge-maintenance implementation notes.

On this page