reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

analysis_api_dispose

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

Katz 0.040

open-analysis-api.ts `openAnalysisApi` dispose must close the native analysis runtime and drop
its SQLite connection ( ideas index and click-sessions ). A no-op dispose is a defect.
Extension commands use a short-lived `withAnalysisApi` ( open → run → dispose ) mediated by
open-analysis-api.ts; they must not cache `NativeAnalysisApi` for the session.

implementation
open-analysis-api.ts, native-analysis-api.ts, index-service.ts
status
done
tests
sqlite-artifact-release.test.ts:dispose releases ideas-index so the file can be unlinked, runtime-engine.test.ts:CLI runtime opens AnalysisApi through the core engine

Interactive page: analysis_api_dispose