Intent-Code Divergence
Medium
- Confidence
- 90% confidence
- Finding
- The docstring states that refactor() is a dry-run operation, but the implementation can perform real code modifications when options.dryRun is false and may also run validation afterward. In a code-modifying agent skill, misleading safety semantics can cause callers or higher-level agents to invoke a destructive path under the mistaken belief that no files will be changed.
