Idea detail
scan_limits
reqlan rq/indexer/sequencing.rq:59
Summary
The workspace scan has two caps. There is no unlimited setting.
Defaults and clamp bounds are the `scan` object in defaults.json.
`reqlan.scan.maxDepth` uses `defaultMaxDepth`, `minDepth`, and `maxDepthLimit` from that file.
The workspace folder is depth 0. A directory deeper than the cap is not entered.
`reqlan.scan.maxEntries` uses `defaultMaxEntries`, `minEntries`, and `maxEntriesLimit` from that file.
The count is directories plus files visited.
When a cap hits, the walk stops, keeps the partial result, and the editor shows a warning. It does not start another scan to finish.
Refresh uses the same caps.
CLI and MCP use the same defaults.
Built-in ignore also skips `target/` so a Cargo tree does not consume the entry budget.
extension_startup_sequence
single_sync_walk
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | defaults.json, build.rs, scan.rs, scan-limits.ts, package.json, ignore.rs, rqignore.ts |
| status | done |
| tests | scan.rs:depth_2_does_not_return_a_deeper_base_or_rq, scan.rs:entry_cap_stops_and_reports_truncation, scan-limits.test.ts:clamps depth and entries into the allowed range, scan-limits.test.ts:editor scan settings match defaults.json, sync.rs:default_rqignore_skips_node_modules, base-discovery.test.ts:skips target build trees |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | index_file_search_coalesce | reqlan rq/extension/language/support/initialisation-and-sequencing.rq | scan_limits |
| references | single_sync_walk | reqlan rq/indexer/cache-reuse.rq | scan_limits |
| references | extension_startup_sequence | reqlan rq/indexer/sequencing.rq | scan_limits |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…