Referenced by2
Labels1

Referencing ideas

IdeaStatusTagsSummaryKatz
napi_module_barreldoneper [stack] `crates/reqlan-napi/src/lib.rs` is a barrel: it only declares modules and re-exports the napi items. Logic lives in one module per binding surface. Modules: `scan.rs` ( scanWorkspace task, createBase ), `analysis.rs` ( NativeAnalysisRuntime ), `sql_db.rs` ( NativeSqlDb ), `workspace_index.rs` ( NativeWorkspaceIndex ), `source.rs` ( parse / extract / local-symbolic source helpers ), `planner.rs` ( barrel / move / delete plan ), `util.rs` ( shared error mappers, wire-JSON helpers ). Invariants: the JS surface and generated napi `.d.ts` do not change; modules stay flat in `src/` so `rq:[...]` comment paths keep `../../../reqlan rq` depth; `rq:` doc comments move with their items; `@implementation` refs in ["../../reqlan rq"] point at the module that holds the item, not the barrel. New analysis bindings must follow ["../core_analysis/rope.rq".rope]: engine item in `reqlan-analytical`, `analysis.rs` binding, AnalysisApi facade, and cross-referenced tests.0.036
sync_pass_idea_catalogdoneOne sync or batch index pass loads the idea catalog once ( `list_all_ideas` / `load_idea_catalog` ). It passes that catalog by mutable reference while indexing; it does not clone the full Vec per `.rq` file and does not reload SQLite ideas per code file. After each `.rq` persist, drop that file ' s prior catalog rows and push the new idea names ( rename-safe; wildcards in later files see ideas already indexed in this pass ). Code-document refresh after an idea-name change reuses the same in-memory catalog. Extension soft sync opens a native catalog session ( `beginIndexPass` / `endIndexPass` ) around the per-file loop so `indexFile` does not reload ideas each time; `indexFiles` / `index_paths` keep one catalog for an explicit path list without a second walk. Single-file watcher enqueue may still call `list_all_ideas` once ( one file, not a full pass ). [index_cache_reuse] [avoid_full_list_all_ideas] ["./sequencing.rq".soft_sync] ["./indexer.rq".index_code_files]0.056

Reference labels

"../../crates/reqlan-napi/src/workspace_index.rs"