reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

release_when_idle

reqlan rq/extension/index-host/sqlite-artifact-lifecycle.rq:38

Katz 0.077

After an index or analysis pass finishes, and after the idle quiet period
( idle_stale_check / indexing_trigger_auto ), index-service.ts must release every open
base SQLite handle via base-registry.ts `releaseArtifacts` → workspace-index.ts `deactivate`.
Descriptors stay registered so the next event can reopen the same base.
Idle must not leave connections open after a heal / sync, and must not schedule another open
unless a real host event arrives ( file change, pin / switch, focus reopen, command, UI query ).

implementation
index-service.ts, base-registry.ts, workspace-index.ts
status
done
tests
sqlite-artifact-release.test.ts:BaseRegistry releaseArtifacts closes handles but keeps descriptors, base-registry-catchup.test.ts:deactivate returns to uninitialized so a base can be reopened

Interactive page: release_when_idle