Changelog#
All notable changes to this project will be documented in this file.
The format follows Keep a Changelog. This project adheres to Semantic Versioning.
[Unreleased]#
Changed#
The documentation is built with
scverse-docon Sphinx 9 (replacing furo), following scverse/scvi-tools#4091: the scverse theme and extension stack, and the shared sidebar layout: Getting started (installation), Guides (FAQ, architecture), Reference (API, model references) and Project (changelog, a new citation page, GitHub, PyPI, Discourse, scvi-tools docs). Intersphinx uses the scverse-doc registry.
Fixed#
recommend_modelnow proposes the scviva-tools spatial models: new tasksspatial_denoising(ResolVI),niche_analysis(scVIVA),cell_communication(Harreman) andspatial_signature_scoring(VISION), anddata_type="spatial"ranks ResolVI/scVIVA first for integration, embedding, annotation and DE.get_api_referenceandsearch_apialso search the scviva-tools API reference (Harreman, VISION, ResolVI, scVIVA, …), including class-name lookups such asVisionAnalysis.compute_signatures.VISION (
scviva.tools.vision.VisionAnalysis) added to the scviva-tools knowledge andget_scviva_model; the Harreman and VISION API references now include their public methods (setup,compute_*, …).scVIVA tutorials served by
get_tutorial/get_scviva_tutorialcarry a note thatgpc.confident_genesis only set byDifferentialExpressionResults.plot(), with an equivalent that works without plotting.release.yaml: the GitHub release step no longer fails when the release already exists (e.g. created via “Draft a new release” in the GitHub UI, which also pushes the triggering tag); it then attaches the built distributions instead of trying to create the release again.GitHub Discussions snapshots now exclude bot-authored discussions, comments and replies, like issues and PRs (human replies to a bot comment are kept).
Docs: recency-weighted ranking is documented as applying to the Discourse/GitHub snapshots only (website pages are searched like other docs and are not part of
get_faq), and the refresh examples exportGITHUB_TOKENso every command, including single-repo refreshes, also updates Discussions.
[0.1.7] - 2026-11-01#
Fixed#
scripts/scrape_external.pyno longer drops community knowledge on each monthly refresh. Previously it kept only the top 30 Discourse threads by views from the first listing page (so e.g. “Correct way to run SOLO for doublet detection” fell out) and overwrotegithub_issues.md, which had been empty since June.refresh_knowledge.yamlchange detection now also picks up newly created (untracked) snapshot files.search_knowledgeno longer ranks the large community snapshot files as single documents (which let them dominate every query while exposing only one line per file). GitHub/Discourse entries are now split out and ranked individually, and listed in their own “Community” section with title, date, link and best-matching line, so they no longer push curated model/tutorial docs out of the results.get_faquses the same ranking for its community part.GitHub PR snapshots now include review summaries and inline code-review comments (previously only conversation comments), merged chronologically with the conversation.
The
ruff/ruff-formatpre-commit hooks no longer touchsrc/scvi_tools_mcp/knowledge/: they rewrote Python code blocks quoted in GitHub/Discourse posts (e.g.'counts'->"counts"), altering user code and causing churn on every refresh. Affected snapshots were re-scraped verbatim.GitHub Discussions: comments and replies are now fully paginated. Previously a discussion with more than 100 comments or 50 replies to one comment was silently truncated, and the truncated copy replaced the stored entry.
Added#
scripts/sync_websites.py: blog posts and pages of the scvi-tools (scverse/scvi-tools-site) and scviva-tools (YosefLab/scviva-tools-website) websites inknowledge/websites/, searchable viasearch_knowledge. Run monthly byrefresh_knowledge.yaml; files are added or updated, never deleted.
Changed#
Discourse, GitHub issue, PR and Discussion snapshots are now accumulative: every run merges into the existing files, and entries are only pruned once their last activity is more than 3 years old.
Both scrapers are incremental: the first run builds a 3-year baseline, later runs only fetch what changed since the newest stored entry, so monthly refreshes are light.
Discourse: every thread is stored with all of its posts.
Community search results are weighted by recency (weight halves per year of age, floor 1/8): among threads that answer a question equally well, the most recent answer ranks first, while a clearly better older match still wins.
scripts/scrape_external.pyCLI:--only {github,discourse},--repo, and--sinceto re-fetch (backfill) GitHub items from a given time instead of resuming from the stored cursor.GitHub: open and closed issues, PRs (bots excluded) and Discussions with all comments, fetched incrementally and resuming after rate limits, for scvi-tools, scvi-tutorials, scviva-tools, scib-metrics, scvi-colab and scvi-hub-models. Snapshots are written per repo to
knowledge/faq/github_<repo>_{issues,pulls,discussions}.md; the oldgithub_issues.mdis folded into the scvi-tools files.
[0.1.6] - 2026-09-10#
Added#
scviva-tools knowledge source and tools — the companion spatial toolkit (ResolVI, DestVI, scVIVA, GIMVI, DiagVI, Stereoscope, Tangram, Harreman):
knowledge/scviva_tools/models/,knowledge/scviva_tools/api/, andknowledge/scviva_tools/tutorials/bundled offline snapshotlist_scviva_models,get_scviva_model,list_scviva_tutorials,get_scviva_tutorialMCP toolsscripts/extract_scviva_api_docs.pyand monthlysync_scviva_tools_knowledge.yaml/sync_scviva_tools_tutorials.yamlrefresh workflows
scib-metrics knowledge source and tools — accelerated integration-benchmarking metrics (12 metric functions plus the
Benchmarker/BioConservation/BatchCorrectionorchestration classes):knowledge/scib_metrics/api/andknowledge/scib_metrics/tutorials/bundled offline snapshotlist_scib_metrics,get_scib_metric,list_scib_metrics_tutorials,get_scib_metrics_tutorialMCP toolsscripts/extract_scib_metrics_api_docs.pyand monthlysync_scib_metrics_knowledge.yaml/sync_scib_metrics_tutorials.yamlrefresh workflows
scripts/_apidoc_utils.py— shared class/function signature and docstring extraction helpers, used byextract_api_docs.pyand the two new extraction scriptsoptional-dependencies.scvivaandoptional-dependencies.scibextras inpyproject.toml
[0.1.5] - 2026-07-27#
Added#
.github/dependabot.yml— weekly grouped updates for GitHub Actions.editorconfigand.vscode/(settings, extensions, launch configs) for consistent contributor toolingzizmor,pyproject-fmt, andcheck-merge-conflictpre-commit hooksStructured YAML issue forms (
bug_report.yml,feature_request.yml) replacing the old Markdown templatesChangelog and package API reference pages in the Read the Docs documentation
Changed#
Adopted the parts of the scverse cookiecutter template refresh that fit this repo:
pyproject.tomldev/doc extras moved to[dependency-groups], hardened and digest-pinnedtest.yaml/release.yaml,fail_on_warningenabled for the Read the Docs Sphinx buildDropped Python 3.11 support; now supports 3.12, 3.13, and 3.14 (default 3.13)
Bumped pinned GitHub Actions versions (
actions/checkoutv4 → v5,actions/setup-pythonv5 → v6) across all workflowsUpdated copyright notice in
docs/conf.pyEnhanced
README.mdanddocs/installation.mdwith Claude Code and OpenAI Codex MCP integration instructionsStandardized the human-facing project name as scVI-Tools MCP
Fixed#
HTML rendering of the architecture block diagram on Read the Docs
Set
GH_REPOin the GitHub release job sogh release createcan resolve the repository without a checkoutUpdated development installation commands to install the PEP 735
devdependency groupEncoded issue-form labels as arrays so GitHub accepts and displays both forms
[0.1.4.1] - 2026-07-02#
Fixed#
Added the
fastmcp[server]extra topyproject.toml— installs thestarlettedependency required by fastmcp/mcp that was missing
[0.1.4] - 2026-07-02#
Changed#
License changed from MIT to BSD 3-Clause, with badge added to
README.mdKnowledge base refreshed via the automated monthly sync workflows (external knowledge snapshot, scvi-tools model docs, tutorials, Hugging Face Hub snapshot)
[0.1.3] - 2026-06-18#
Added#
DiagVI spatial proteomics + transcriptomics tutorials under
knowledge/tutorials/multimodal/20 scvi skill SKILL.md files + scvi-tools plugin SKILL.md + 12 reference docs in
knowledge/skills/docs/installation.md,docs/faq.md,docs/references.md,docs/references.bib.codecov.yaml,.markdownlint.yaml,.readthedocs.yaml,Dockerfile,LICENSE.github/ISSUE_TEMPLATE/(bug report, feature request, release checklist)Updated
.pre-commit-config.yamlto match scvi-tools pattern (blacken-docs, prettier, mdformat, markdownlint-fix, pre-commit-hooks)Second Discourse source URL in
scrape_external.py; topics deduplicated and sorted by viewsHugging Face Hub knowledge source for the official
scvi-toolsorganization:knowledge/hub/models.jsonandknowledge/hub/summary.mdbundled offline snapshotlist_hub_models,get_hub_model,suggest_hub_modelsMCP toolsscripts/scrape_huggingface_hub.pyand quarterlysync_huggingface_hub.yamlrefresh workflow
Fixed#
_data_prep.py: long setup_call strings wrapped to stay under 120-char line limittests/test_tools.py:import pytestmoved to top of file (E402)pyproject.toml: notebook fixtures excluded from ruff linting (F821)
[0.1.0] - 2026-06-09#
Added#
14 MCP tools across 6 modules:
recommend_model,get_model_overview,get_model_parameters— model selection and documentationget_setup_anndata_guide,validate_data_requirements— data preparation and validationlist_tutorials,get_tutorial,search_tutorials— tutorial browsing and searchget_api_reference,search_api— API reference lookupget_workflow_template,get_downstream_guide— analysis workflow templatesget_faq,search_knowledge— FAQ and cross-knowledge search
Bundled knowledge base (
knowledge/):15 model
.mdfiles (scVI, scANVI, TotalVI, MultiVI, PeakVI, LinearSCVI, MrVI, Stereoscope, CellAssign, SOLO, GIMVI, veloVI, ContrastiveVI, SCBASSET, SysVI)61 tutorials converted from
.ipynbto.md(outputs stripped, code + prose retained)15 API reference files extracted from scvi-tools 1.4.3 docstrings
10 user guide files
GitHub issues snapshot (31 issues) and Discourse threads snapshot (30 threads)
Scripts for knowledge refresh:
scripts/convert_notebooks.py—.ipynb→.mdconverterscripts/extract_api_docs.py— docstring extractor from scvi-tools sourcescripts/scrape_external.py— GitHub issues + Discourse scraper
GitHub Actions CI:
test.yaml— Python 3.11 / 3.12 / 3.13 test matrixrelease.yaml— PyPI publish on version tag (trusted publishing)refresh_knowledge.yaml— monthly re-scrape of external knowledgesync_tutorials.yaml— monthly tutorial sync from scvi-tools reposync_model_knowledge.yaml— monthly model docs sync via CHANGELOG diff
stdio transport via FastMCP 3.x; no runtime scvi-tools dependency
scvi-toolsoptional install extra:pip install scvi-tools-mcp[scvi]