BFS traversal has no depth limit. Users cannot restrict how deep the scanner goes. For repos with deeply nested directories, this may cause excessive scanning.
Location
src/client/scanner.c (BFS traversal)
Suggested Fix
Add --max-depth <n> flag. Track depth in the BFS queue by encoding depth in the directory entry or using a separate structure. Skip entries beyond max depth.
Severity
low
Category
feature
Sub-Agent
feature-scout (FS-9)
This issue was automatically generated by the issue-creator agent.
## Description
BFS traversal has no depth limit. Users cannot restrict how deep the scanner goes. For repos with deeply nested directories, this may cause excessive scanning.
## Location
src/client/scanner.c (BFS traversal)
## Suggested Fix
Add `--max-depth <n>` flag. Track depth in the BFS queue by encoding depth in the directory entry or using a separate structure. Skip entries beyond max depth.
## Severity
low
## Category
feature
## Sub-Agent
feature-scout (FS-9)
---
_This issue was automatically generated by the issue-creator agent._
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Description
BFS traversal has no depth limit. Users cannot restrict how deep the scanner goes. For repos with deeply nested directories, this may cause excessive scanning.
Location
src/client/scanner.c (BFS traversal)
Suggested Fix
Add
--max-depth <n>flag. Track depth in the BFS queue by encoding depth in the directory entry or using a separate structure. Skip entries beyond max depth.Severity
low
Category
feature
Sub-Agent
feature-scout (FS-9)
This issue was automatically generated by the issue-creator agent.
Fixed in PR #148 — merged into main on 2026-07-29.