Semantic Scan
Role: worker.
Worker constraints
- Detect and report duplicates; do not refactor.
- Run incrementally (git-diff based) after the first scan.
- Be concise. Report the duplicate table with file:line refs, no narration.
Steps
1. Parse arguments
Capture the optional path and flags from $ARGUMENTS.
2. Delegate
Invoke the semantic-duplication-scan skill.
Graph-assisted discovery. Prefer CodeGraph/Repowise over raw Grep/Read
when locating and comparing candidate implementations — Repowise's semantic
search is especially well suited to finding duplicate implementations across
layers. See