Description
For large codebases, scanning every file is slow and expensive. Implement incremental scanning that only processes files that changed since the last review.
Acceptance Criteria
Implementation Notes
- Use
git diff --name-only for git-aware incremental scans
- Fall back to mtime/hash comparison in non-git directories
- Store cache in
.cora-cache.json in project root
Description
For large codebases, scanning every file is slow and expensive. Implement incremental scanning that only processes files that changed since the last review.
Acceptance Criteria
.cora-cache)cora scan --incrementalonly reviews changed filescora scan --incremental --base-commit HEAD~5compares against a specific commitImplementation Notes
git diff --name-onlyfor git-aware incremental scans.cora-cache.jsonin project root