Skip to content

What deterministic scripts make up the wiki-doctor suite? #75

Description

@dhague

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:

  1. Link validity — broken internal links, broken raw_source pointers, broken typed-edge targets
  2. Frontmatter correctness — missing required fields, wrong kind for folder, raw_source present/missing rules
  3. Foreign-vault repair — folder-name normalization (e.g. wiki/sources/ → wiki/source/), badly-formatted links (unquoted, spaces in URLs)
  4. 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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions