How VeriWiki Prevents Silent Cascade Drift

Question

When a raw document or foundational concept note is updated in an LLM-maintained wiki, how does VeriWiki detect and schedule updates for downstream analyses and comparisons that depend on it?

Answer

  • EXTRACTED: VeriWiki constructs a directed epistemic dependency graph from frontmatter source_pages, source_files (hashing tracked raw/ files), and inline typed relations (depends-on, derived-from, extends, supports, compares).
  • EXTRACTED: Using Tarjan’s Strongly Connected Components condensation (compute_merkle_dag_hashes in src/veriwiki/compiler.py), every page receives both a local content_sha256 and a transitive merkle_sha256.
  • EXTRACTED: Running veriwiki compile --plan (or invoking veriwiki_compile_plan over MCP) compares live digests against wiki/catalog.json, propagating dirtiness outward in topological waves (Wave 1, Wave 2, …) and flagging downstream syntheses whose updated / last_confirmed date lags behind modified upstream sources by more than drift_lag_days.

See incremental-merkle-compilation and veriwiki-architecture.