{
  "eval_id": 2,
  "eval_name": "wiki-lint",
  "skill": "wiki",
  "prompt": "Run /wiki-lint on my wiki at /tmp/test-wiki/. It has pages with missing frontmatter fields and broken internal links. Fix all issues found.",
  "assertions": [
    {
      "text": "lint_checks.js is invoked and its first-pass report lists at least one 'broken_links' violation and at least one 'missing_frontmatter' violation",
      "passed": null,
      "evidence": null
    },
    {
      "text": "Each violation record names the offending file path",
      "passed": null,
      "evidence": null
    },
    {
      "text": "Auto-fix applies the frontmatter fields required by the linter (title, type, tags, sources, created, updated, summary) — running the linter again after fix reports zero errors",
      "passed": null,
      "evidence": null
    },
    {
      "text": "Broken-link fixes either create a stub for the missing target OR remove the link, never rewrite the page body wholesale (original headings and primary prose are preserved byte-identically outside the fix region)",
      "passed": null,
      "evidence": null
    },
    {
      "text": "The fix action went through the wiki skill — events.jsonl records op='lint' AND op='fix' in order, each with target_page paths",
      "passed": null,
      "evidence": null
    },
    {
      "text": "Re-running /wiki-lint after the fix yields zero 'broken_links' and zero 'missing_frontmatter' violations",
      "passed": null,
      "evidence": null
    }
  ]
}
