get_stale_pages
Identify wiki pages with outdated or missing source files by comparing declared sources against current disk state. Get a list of pages needing re-indexing along with specific change reasons.
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. |