{
  "eval_id": 10,
  "eval_name": "wiki-refresh",
  "skill": "wiki",
  "prompt": "Refresh the previously-ingested source /tmp/test-refresh-wiki/raw/architecture.md against my wiki at /tmp/test-refresh-wiki/. The source has been edited since the last ingest; the wiki page also has a manual frontmatter field reviewer: alice that I added by hand — preserve it.",
  "assertions": [
    {
      "text": "Re-computed content_hash for the source differs from the value stored in .wiki-cache/ from the original ingest — both values appear in the events.jsonl entry as stale_hash and fresh_hash",
      "passed": null,
      "evidence": null
    },
    {
      "text": "The corresponding wiki/architecture.md body is updated to reflect new content from the source (a phrase introduced in the modified source appears in the page body)",
      "passed": null,
      "evidence": null
    },
    {
      "text": "The page's frontmatter still contains reviewer: alice (manual field preserved); standard managed fields (updated, sources, summary) are refreshed; created is unchanged",
      "passed": null,
      "evidence": null
    },
    {
      "text": "raw/architecture.md is overwritten with the new source content (its file hash matches the new source)",
      "passed": null,
      "evidence": null
    },
    {
      "text": "events.jsonl records op='refresh' with target_page, source, stale_hash, fresh_hash, and a delta_summary string of >=20 chars describing what changed",
      "passed": null,
      "evidence": null
    },
    {
      "text": "graph/edges.jsonl is re-evaluated — at least one edge whose source is the refreshed page differs from the pre-refresh edge set (added, removed, or retyped). If no edges change, the events entry must explicitly note edges_unchanged: true",
      "passed": null,
      "evidence": null
    },
    {
      "text": "A second /wiki-refresh run with no further source modification is a no-op: no new events, hash stays identical, page body unchanged byte-for-byte",
      "passed": null,
      "evidence": null
    }
  ]
}
