Idea detail
ownership
reqlan rq/indexer/indexer.rq:21
Summary
The index / indexer lives in `packages/analytical` ( `@reqlan/analytical` ).
Canonical single-base engine: workspace-index.ts ( `WorkspaceIndex` facade ).
Sync / idle impl: workspace-index-sync.ts; one-file parse + persist: workspace-index-file.ts; mtime stale diff: workspace-mtime.ts.
Multi-base registry: one `WorkspaceIndex` per discovered base under application_memory ( `<base>/.reqlan/` ).
Headless entry: create-runtime.ts via `createAnalysisRuntime` ( CLI / MCP ) — discovers bases under the resolved root and defaults to the nearest base containing cwd.
On-disk store path: application-memory.ts under `<base>/.reqlan/` — see application_memory.
Attributes
No attributes declared.
Ancestor context
The ideas graph indexer: parse `.rq` with `@reqlan/language`, extract ideas / edges, persist to sql. js SQLite. Owned by [ownership]; consumed per [consumption].
consumptionConsumers of the analytical [index]: - [extension] — thin VS Code adapter [editor_index_adapter] ( file watchers, Uri conversion, UI status ) - CLI ( `["../cli/cli_package.rq".cli_package]` ) and MCP — headless [analysis_runtime] The extension does not own the indexing engine; it only hosts the adapter.
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| file_reference | application_memory_impl | packages/analytical/src/core/application-memory.ts | application-memory.ts |
| file_reference | analysis_runtime | packages/analytical/src/create-runtime.ts | create-runtime.ts |
| file_reference | workspace_index_file | packages/analytical/src/index-store/workspace-index-file.ts | workspace-index-file.ts |
| file_reference | workspace_index_sync | packages/analytical/src/index-store/workspace-index-sync.ts | workspace-index-sync.ts |
| file_reference | workspace_index | packages/analytical/src/index-store/workspace-index.ts | workspace-index.ts |
| file_reference | workspace_mtime | packages/analytical/src/index-store/workspace-mtime.ts | workspace-mtime.ts |
| references | index | reqlan rq/indexer/indexer.rq | index |
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | application_memory | application_memory | |
| references | base | base |
Initialising graph…