validate_knowledge
Check registered file paths for stale entries. Flag missing files after renames, moves, or deletions, with optional feature scoping and auto-removal.
Instructions
Check all registered file paths across projects, features, and type mappings to detect stale entries. Files that have been renamed, moved, or deleted will be flagged as MISSING. Use this periodically to keep the knowledge graph in sync with the actual codebase. Optionally pass a featureName to validate only files related to that specific feature. Set fix=true to automatically remove stale entries (use with caution).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | If true, automatically remove entries pointing to non-existent files. Use with caution. | |
| featureName | No | Optional — if provided, only validate files related to this feature. If omitted, validate everything. |