Missing --max-depth directory traversal limit flag #103
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.