reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/indexing_trigger_auto

Idea detail

indexing_trigger_auto

reqlan rq/extension/features-graph-analysers.rq:35

block done

Summary

When the editor host is idle, run a * * background staleness check * * — not a reindex and not a soft full sync UI pass.
Philosophy: computationally cheap. Load document mtimes in * * one * * SQLite read, compare each file's FS mtime in memory, and only then index mismatched or new files; drop deleted docs in one batched delete.
A single MAX ( mtime ) watermark is not sufficient ( one file can get newer while another gets older ).
If nothing is stale: no state transition, no progress UI, no parse.
If some files are stale: index * * only those files * * under nonblocking_index.
Schedule after a quiet period with no index activity; prefer running when the window is unfocused; defer or cancel if the user becomes active again.
Extension host only ( index-service.ts ); CLI / MCP have no idle loop ( they sync on activate / command ).

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/extension/features-graph-analysers.rq

community 14

community cluster

features-graph-analysers.rq

file cluster

reqlan rq/extension

folder cluster

status: done

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

KeyValue
tests workspace-index.test.ts
status done

Browse all attributes

Ancestor context

No ancestor chain recorded.

Outbound references

KindIdeaPathSnippet
file_reference ../../packages/analytical/test/workspace-index.test.ts packages/analytical/test/workspace-index.test.ts workspace-index.test.ts
file_reference editor_index_adapter packages/extension/src/analytical_submodule/index-store/index-service.ts index-service.ts

Inbound references

KindIdeaPathSnippet
references indexing_trigger_open reqlan rq/extension/features-graph-analysers.rq indexing_trigger_auto

Unresolved references

KindIdeaPathSnippet
references nonblocking_index nonblocking_index

Local graph

Initialising graph…