Repository navigation
fix(install): pin Python 3.12 in every uvx line; demo gif fits one screen - #76
Merged
Merged
Conversation
tonydzi
force-pushed
the
docs/demo-gif-payoff-visible
branch
from
November 2, 2026 12:00
ff4e6d1 to
13f4fd0
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 13f4fd0. Configure here.
…reen On an Intel Mac whose uv defaults to Python 3.14, the README's uvx line does not fail outright. onnxruntime has no wheels there, so uv falls back to 0.3.5, a release without [lite], warns once, and sgm-index stops with a hint to install [embeddings]. Measured on MacPro192: exit 1 on the default, exit 0 with --python 3.12, top hits and scores equal to the gif. - README, examples, llms.txt and server.json pin --python 3.12. - tests/test_uvx_python_pin.py checks the value: 3 failed on main, passes here. - CI resolves [lite] and [embeddings] on 3.12 for five platforms with uv pip compile. - The gif is 515 px instead of 829 px, top 5 of each list, the graph hit in green. - docs/demo.sh stops if sgm-index or sgm-ask is missing, instead of writing a blank gif. Assisted-by: Claude Code/claude-opus-5-5 Machine: MacPro192 Account: tonydzi Operator: Anton Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tonydzi
force-pushed
the
docs/demo-gif-payoff-visible
branch
from
November 4, 2026 19:34
13f4fd0 to
89aa85f
Compare
Review of the pin found statements of mine that were wrong, and guards that missed cases: - The pip note was false below macOS 13. It now says to use Python 3.12 on an Intel Mac. - Apple Silicon below macOS 14 falls back the same way on 3.14; the docs now say so. - The server.json description claimed a fallback its ==0.3.6 pin rules out. - The CI step stayed green for a missing extra. It now checks the extra brings its dependency. - The test missed the prose form, a pin after the tool name, and --python 3.120. It now checks all of these and scans every doc except the changelog. - demo.sh on [lite] printed progress lines and overflowed the screen. It now filters them, and the gif is re-recorded from that recipe. Assisted-by: Claude Code/claude-opus-5-5 Machine: MacPro192 Account: tonydzi Operator: Anton Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tonydzi
added a commit
to tonydzi/second-brain-starter-kit
that referenced
this pull request
Nov 4, 2026
) Without the pin, an Intel Mac whose uv defaults to a newer Python cannot install [embeddings]: torch has no wheels there for 3.13+. Resolver on x86_64-apple-darwin for [embeddings]==0.3.5: 3.14 fails, 3.12 passes with torch 2.2.2. Same fix as tonydzi/sqlite-graph-memory#76. Versions in the guide are unchanged, since it is a dated snapshot. Assisted-by: Claude Code/claude-opus-5-5 Machine: MacPro192 Account: tonydzi Operator: Anton Co-authored-by: Anton Dziatkovskii <194927794+tonydzi@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Two defects in the README's first screen.
1. On an Intel Mac whose
uvdefaults to Python 3.14, the install line silently installs an old release. onnxruntime has no x86_64 macOS wheels for 3.14, so uv backtracks to 0.3.5, which has no[lite], and warns once.sgm-indexthen stops with a hint to install[embeddings], which sends the reader the wrong way.uvx [--python X] --from 'sqlite-graph-memory[lite]' sgm-index ./noteson this Intel Macsqlite-graph-memory==0.3.5 does not have an extra named lite--python 3.12indexed 204 chunks from 202 filesEvery
uvxline inREADME.md,examples/README.md,llms.txtandserver.jsonnow pins--python 3.12. It is the newest version that resolves both[lite]and[embeddings]on all five platforms below. The README andllms.txtalso tell Intel Mac users ofpip installto use 3.12, because pip can quietly install 0.3.5 too. Theserver.jsonchange reaches the MCP Registry only with the next release.Who this hits, by resolver (
uv pip compile, no Mac needed): Intel Mac on 3.14 for[lite], Intel Mac on 3.13+ for[embeddings], and Apple Silicon on 3.14 only below macOS 14. Linux, Windows and Apple Silicon on macOS 14+ resolve on 3.12, 3.13 and 3.14.2. The gif hid its own result. It was 829 px tall, with the one line that matters at the bottom, below the fold. Now 515 px: top 5 of each list, as in the README's output block, with
tool-lanternfish <== +graphin green. The trim is a display filter documented indocs/demo.sh. Re-recorded from the recipe indocs/demo.shon[lite], so the recipe reproduces the gif.Guards:
tests/test_uvx_python_pin.pychecks the pin value and its position across every doc except the changelog. On main: 3 failed, 1 passed. Here:pytest -q266 passed, 2 skipped.installableCI job resolves[lite]and[embeddings]on 3.12 for five platforms and checks each extra brings its dependency. All ten pass locally. A missing extra and[lite]on Intel Mac with 3.14 both fail it. It resolves this checkout, not the published package, and Windows ARM is not covered ([embeddings]does not resolve there).docs/demo.shstops ifsgm-indexorsgm-askis missing. Bugbot was right about the earlier version:command -v a breturned 0 when only one existed.Known gap: the guide linked from the README,
second-brain-starter-kit/docs/EXISTING-SETUP.ru.md, has its own unpinned==0.3.5uvx lines. Separate repo, separate fix.What was run: on this Intel Mac, the pinned index and
sgm-ask --ablines with[lite]. Not run: the Claude Code, Cursor, VS Code and Codex config blocks in those clients on this revision, and any install on Apple Silicon, Linux or Windows (resolver only).Anton Dziatkovskii
🤖 Generated with Claude Code
Note
Low Risk
Changes are documentation, install metadata, CI checks, and demo scripting; no changes to recall, indexing, or MCP runtime logic.
Overview
Install docs and MCP registry metadata now pin
--python 3.12on everyuvxpath (README client blocks,examples/README.md,llms.txt,server.json), with prose explaining that unpinneduvon Intel Mac / older Apple Silicon can resolve an ancient release without[lite]and mislead users toward[embeddings]. Intel Macpip installguidance is added in the same places.Regression guards: new
tests/test_uvx_python_pin.pyscans markdown/JSON/TOML examples for unpinneduvxlines; theinstallableCI job runsuv pip compilefor[lite]→onnxruntimeand[embeddings]→sentence-transformerson five platforms at Python 3.12.README demo:
docs/demo.shfilterssgm-ask --aboutput to top 5 per list (green highlight on+graphhits), hides indexer progress noise, tightens asciinema geometry, and fails fast if CLI tools are missing. CHANGELOG records both the pin and the shorter gif.Reviewed by Cursor Bugbot for commit 32a6b04. Bugbot is set up for automated code reviews on this repo. Configure here.