Child of Wiki Doctor (wayfinder map)
Question
Design the wiki-doctor deterministic script suite. Each script checks and fixes one domain independently, producing a machine-readable output the agent reads and acts on. Categories in scope:
- Link validity — broken internal links, broken raw_source pointers, broken typed-edge targets
- Frontmatter correctness — missing required fields, wrong kind for folder, raw_source present/missing rules
- Foreign-vault repair — folder-name normalization (e.g. wiki/sources/ → wiki/source/), badly-formatted links (unquoted, spaces in URLs)
- Link-format normalization — fix unquoted frontmatter links, percent-encode spaces in link destinations
Existing validation scripts that may overlap: chain_of_evidence.check, overlap.check, ingest.validate. These must not be duplicated — the suite should reuse or compose them where possible.
For each script, decide: its name, its exact responsibility, its input (what does it need — vault root? page rel? full page text?), its output format (JSON schema? exit code?), and whether it fixes or only detects (the agent handles the fix).
Child of Wiki Doctor (wayfinder map)
Question
Design the wiki-doctor deterministic script suite. Each script checks and fixes one domain independently, producing a machine-readable output the agent reads and acts on. Categories in scope:
Existing validation scripts that may overlap: chain_of_evidence.check, overlap.check, ingest.validate. These must not be duplicated — the suite should reuse or compose them where possible.
For each script, decide: its name, its exact responsibility, its input (what does it need — vault root? page rel? full page text?), its output format (JSON schema? exit code?), and whether it fixes or only detects (the agent handles the fix).