get_stale_pages
Find wiki pages with outdated content by checking if declared source files changed on disk, reporting stale sources with reason.
Instructions
Find wiki pages whose declared sources have been modified on disk. Convention: wiki pages include YAML frontmatter with a 'sources' list of relative paths to raw source files. This tool checks whether those source files have changed since the page was last indexed. Output: list of {doc_path, title, stale_sources} where each stale source has a reason: 'modified', 'missing', or 'untracked'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier (owner/repo or just repo name) | |
| sources_dir | No | Base directory for resolving relative source paths. If omitted, uses the index's source_root. |