Find Divergence
find_divergenceDetect functions that break a call pattern their siblings follow, revealing divergence in directory codebases. Use as a review hint to spot anomalies.
Instructions
Peer divergence across a directory: functions that break a call pattern their siblings follow (peers calling X also call Y, this one does not). A review hint, not a verified bug list; silent on a consistent codebase, and that silence is the answer. In your shell: sct --help (if sct is not on PATH, "/app/.venv/bin/python" -m scantool.cli replaces sct).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Root directory to audit | |
| max_findings | No | Cap on the number of findings shown (default: 20) | |
| respect_gitignore | No | Respect .gitignore patterns (default: True) |