Referenced by3
Labels3

Referencing ideas

IdeaStatusTagsSummaryKatz
batched_document_upsertdonePersist N extracted documents in one SQLite transaction ( `BEGIN` … `COMMIT` ). Each document still replaces its ideas and edges the same way as a single-file upsert. Soft sync may call this after extract so many changed files share one commit. Empty code files may write nothing; batching helps when many files do persist. On error or cancel of the batch write: fail the whole batch and roll back. Do not commit a successful prefix. Same atomicity as multi-document delete. Single-file upsert stays for watcher incremental ( [sequencing.watcher_incremental] ). Related: [index_cache_reuse], [sequencing.soft_sync], [ideas_schema.documents_table], [nonblocking_index].0.049
unify_inbound_indexesdoneInlay hints and code lens must read inbound edges from [ideas_schema.edges_table], not Langium IndexManager. Query: edges whose `target_id` is an idea in the open file, plus `comment_link` / `file_reference` rows whose `target_file` matches that file. File-top CodeLens uses the `file_reference` subset ( ["../extension/language/syntax/features-syntax-highlighting.rq".file_inbound_code_lens] ). The extension host runs the query and pushes a snapshot to the language server. The language server does not open SQLite ( [consumers.extension_ui_consumers] ). Updates follow index sync independently of open-file parse ( ["../language/syntax.rq".open_file_reference_sequencing], [inbound_snapshot_events] ). Mutation hooks already use the same store. Share one graph. Related: [index_cache_reuse], ["../indexer/indexer.rq".local_symbolic_analysis], ["../extension/language/syntax/features-syntax-highlighting.rq".inbound_inlay_index_performance].0.172
indexer_rustin-progressThe [index] engine ( parse-for-index → extract → SQLite persist → incremental sync ) should be written in Rust. Crate: `reqlan-index` over `reqlan-parse` per ["../core_analysis/rust_port.rq".rust_crate_layout]. Extractor ports ["../../crates/reqlan-index/src/extract.rs"] including [wildcard_reference_edges]. Store ports schema v4 ( ["../../packages/analytical/src/index-store/schema.ts"] ) via rusqlite; diagnostics live in `index-diagnostics.sqlite` on the same engine. Sync keeps [nonblocking_index]: per-file upsert, mtime skip, hard rebuild, cancellable progress. Not the Langium LSP. Comment-file indexing: [index_code_files].0.145

Reference labels

batched_document_upsert, indexer_rust, unify_inbound_indexes