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 trackedraw/files), and inline typed relations (depends-on,derived-from,extends,supports,compares). - EXTRACTED: Using Tarjan’s Strongly Connected Components condensation (
compute_merkle_dag_hashesinsrc/veriwiki/compiler.py), every page receives both a localcontent_sha256and a transitivemerkle_sha256. - EXTRACTED: Running
veriwiki compile --plan(or invokingveriwiki_compile_planover MCP) compares live digests againstwiki/catalog.json, propagating dirtiness outward in topological waves (Wave 1,Wave 2, …) and flagging downstream syntheses whoseupdated/last_confirmeddate lags behind modified upstream sources by more thandrift_lag_days.
See incremental-merkle-compilation and veriwiki-architecture.