sync_code_to_docs
Detect code-documentation drift using AST analysis. Preview, apply, or auto-sync updates to keep documentation aligned with code changes.
Instructions
Automatically synchronize documentation with code changes using AST-based drift detection (Phase 3)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the project root directory | |
| docsPath | Yes | Path to the documentation directory | |
| mode | No | Sync mode: detect=analyze only, preview=show changes, apply=apply safe changes, auto=apply all | detect |
| autoApplyThreshold | No | Confidence threshold (0-1) for automatic application of changes | |
| createSnapshot | No | Create a snapshot before making changes (recommended) |