Repository navigation
🌟 Karpathy LLM Wiki v1.33.0
Highlights
- Your wiki now has a graph you can actually read. One command opens Obsidian's own graph view already filtered to your wiki folder, with a colour group per tag. Two exclusions make it usable rather than pretty:
index.mdandlog.mdstay out, because node size is link count and a page linking every other page turns the whole thing into a star, and every tag gets its own hue instead of a colour from a fixed palette, so eleven tags are still eleven distinguishable colours. A colour you set by hand is never repainted. - The query panel became one object. The send button was a peer of Save and Clear, styled the same, sitting in the same row as the text box. It now lives inside the field as a small circle, where it reads as part of the input, and Save and Clear moved to their own row because they act on the conversation rather than on the text. The plugin also stopped carrying 33 different corner radii: every radius is the theme's now, including a speech bubble that would have stayed square in any theme that squares its corners.
- The three report modals share one skeleton. Each used to build its own heading, its own statistics line and its own button row, so the same fact — twelve pages created — arrived in three shapes, and none of them had a hierarchy. They now share a header with a status icon, a strip of labelled statistics, one scrolling body and a pinned footer. Three defects fell out while building it, and each is pinned by a test: a header that showed ✅ above the list of items it lost, a section heading that could render with nothing under it, and a tooltip threshold measured in characters, which clipped Chinese labels with no way to read the rest.
- A note can opt out of the source-lemma guarantee.
sourceLemma: falsein a note's own frontmatter. The problem is a property of one note, so a vault-wide switch could only choose between a dead link and an unwanted page; the escape hatch lives on the file you own, and nothing is written todata.json. - A translation defect the report did not name. The i18n sweep named German. The same defect was sitting in Korean, where a label said 低级 for something the meaning of which is trivial. The guard that found it now scans eleven locales for Han characters rather than one, because "a language that needs no Han characters contains Han characters" is a fact about the script, not about the locale somebody happened to report.
What's in this release
Added
- A graph view command, filtered and coloured.
open-wiki-graph— "Render the configured LLM Wiki graph" — plus a ribbon button. It readssettings.wikiFolderand hands Obsidian's graph a search string: the wiki folder, minusindex.mdandlog.md. Tag groups come from the two vocabularies the plugin already holds, so a tag you configured but have not used yet still gets a colour. Hues advance by the golden angle with fixed saturation and lightness. The icon isbook-open, notgit-fork, which is the native graph's own glyph. (#1081) - A per-note opt-out for the source-lemma guarantee.
sourceLemma: false. The rule holds by default; a value the parser does not read asfalseleaves it on. (#787) - One report skeleton, and the ingest report rebuilt on it.
report-view.tsprovides four bands, six classes, no inline styles and Obsidian colour variables only. The mapping fromIngestReportto what the modal shows is now plain data instead of DOM calls insideonOpen(), which is why the three defects below could be tested at all. (#1058, part 1)
Changed
- The send button moved into the field, and the plugin has one radius scale. Send is a 32px circle in the field's bottom-right corner; the label
Send (Ctrl+Enter)became a glyph with the words inaria-labelandtitle, so the button is 32px wide in all fourteen languages. Send and Stop now go through one function that sets the class, the glyph and the accessible name together — before this, a button could look like Stop while announcing "Send". 33 literalborder-radiusvalues became three tokens, and 22 physicalborder-left/padding-left/margin-rightdeclarations became logical properties. (#1080) - The source page's verbatim-evidence budget is 3,000, not 2,000. The old number was a guess. On a 4.9 KB planted note the section filled at 2,019 characters, and only 8 of 32 values survived — through a second mechanism that repeats numbers, not through the quote channel the budget exists to protect. (#1054)
- Gemini's catalogue is read from the surface that answers it. Five endpoint and header combinations were measured on a live key:
/v1beta/openai/models404,/v1beta/modelswithout a key 403,Bearer401,x-goog-api-keyalone 400, both headers together 401. (#1062)
Fixed
- The Copy button speaks the interface language. It defaulted to English, and the 1.5-second "Copied" restore read the English word too — a fallback visible for exactly long enough to survive a screenshot review. The labels are now a required argument, so
tscnames every call site that would otherwise stay English. (#1066) - Translation defects across six locales. Chinese carried 提取颗粒度 where the setting is 粒度; Thai used a word meaning a body's health for the wiki's status and gave one action two names; Korean carried 低级 for "trivial"; the German and Spanish legacy-scorer labels described a classifier rather than a scorer; and the Russian text carried an English panel path. (#1066, #1067)
cross-spawnis pinned past GHSA-ghv9-86vm-4v8m. The pin sits in both override maps —package.jsonfor the npm tree that builds the released bundle,pnpm-workspace.yamlfor the pnpm tree that runs Gate 1. One map only would ship the vulnerable version. (#1076)
Documentation
- The English README is rewritten, and the frontmatter keys the plugin reads are named in all fourteen READMEs. (#1064, #1077)
- The graph feature reaches all fourteen READMEs in three places: a Core commands row naming the command and its ribbon icon, a Features bullet explaining the colouring and the
index.mdexclusion, and the Ecosystem bullet on Obsidian's own graph, which now names the command that opens it already filtered. This is the part a release can skip silently — the metadata block moves every time because a test reads it, and the prose does not. createStubsForUnresolvableLinkskeeps its escape hatch; its deadline moved to 1.34.0. The release reached the date. No user reported stub pages as worse than dead links this cycle, which is the one condition that row names, and the flag is the register's only opt-out — deleting a visible way back in a MINOR is what makeslegacyScorera MAJOR trigger.
Dependencies
- devDependencies:
@typescript-eslint/eslint-plugin8.73.0,vitest5.1.2,vite8.4.0,jsdom31.0.1,eslint-plugin-obsidianmd0.6.0. No runtime dependency changed, and the three merged before the release branch so one Gate 1 cycle covered the final tree.
Upgrading from v1.32.0
One-click update in Obsidian: Settings → Community plugins → Check for updates → Update on "Karpathy LLM Wiki". No migration, no manual file copying.
data.json: unchanged in shape. No field was added, removed or renamed.- Nothing needs configuring for the fixes.
- The graph command is new; it writes only when you run it, and merges into your existing graph colour groups instead of replacing them.
sourceLemma: falseis opt-in per note. Existing notes keep the guarantee.- Source pages written from now on carry a longer quote section (up to 3,000 characters) — existing pages keep what they have until they are written again.
What's accepted (and why)
- Obsidian Bot pre-review passed.
eslint-plugin-obsidianmdis 0.6.0 locally and 0.6.0 on the registry, so there was no version drift to align this cycle. The known structural warnings intools/(staticnode:*imports,console.log, theglobalThisshim, the.obsidianliteral) are pre-existing and unchanged. app.internalPluginsis undocumented. The graph command feature-detects it at every step; when a step is missing it raises a Notice and neither writes the graph options nor opens a leaf. The one thing a unit test cannot verify — whether a newly created graph applies the filter and groups — was confirmed by hand before the release.- The quote budget costs tokens. Up to about 250 extra tokens per source page write, bounded by the cap. That is a deliberate trade, stated rather than discovered later.
- Gate 1 on the release branch, all seven checks green: lint clean, arch-check clean (321 modules, 1,166 import edges, 0 cycles, 0 core → upper),
tsc --noEmit0,typecheck:tools0,buildclean, 5,964 tests / 423 files,css-lint0. Build runs before test, because one suite readsmain.js.
Installation
- From Obsidian — Settings → Community plugins → Browse → search "Karpathy LLM Wiki" → Install (or Update). Then toggle Enable.
- From the marketplace — community.obsidian.md/plugins/karpathywiki → Add to Obsidian.
- Manual — only for a specific version or without the in-app marketplace. Take
main.js,manifest.jsonandstyles.cssfrom this release's assets and place them in<vault>/.obsidian/plugins/karpathywiki/.
Requires Obsidian 1.11.4 or later, desktop or mobile.
Configuration
Nothing needs configuring to get the fixes. Three things are worth knowing:
- The graph command uses the wiki folder from Settings → Wiki Configuration, and the tag vocabularies from your entity and concept tag settings. Colour groups it creates are added to the graph's own
colorGroups; the ones you already have are left alone. sourceLemma: falsegoes in the frontmatter of the note you want to exempt. Leave it out and nothing changes.- The source-page quote budget is a constant, not a knob. If 3,000 still fills before a long note runs out of values, the 4,000 band is the next measurement.
Tests
5,964 tests passing (423 files), 2 skipped. Up from 5,654 / 413 at v1.32.0. The additions that matter are the ones written to fail first: the twelve tag-colour tests that caught the default vocabulary falling back to seven defaults per list, the tagVocabularyMode gate tests that the existing 29 did not cover, the copy-button wiring guard that asserts every call site passes its three labels, the widened Han-character scan that found Korean, and the report-view tests that pin the three defects the skeleton surfaced.
Contributors
- @green-dalii (Greener-Dalii) — Maintainer. This cycle: the graph command, its filter and its tag colouring (#1081), the query panel's layout and radius tokens (#1080), the report skeleton and the rebuilt ingest report (#1058 part 1), the per-note lemma opt-out (#787), the quote budget (#1063), Gemini's catalogue surface (#1071), the Copy button and the six-locale translation sweep (#1084), the cross-spawn pin (#1076), the English README rewrite and the frontmatter keys in fourteen languages (#1064, #1077), and the flag deadline move.
- @tanandy77 — Reported #787, the observation that the source-lemma guarantee assumes a note's filename is a subject. His example — a note called
Why AI Changes Knowledge Work.md— names a document, not an entity, and the page the plugin then wrote for it was one nobody asked for. The per-notesourceLemma: falseopt-out exists because of that report. - @rgoubet — Reported #1062 with a screenshot and the exact error, which is what made the five-endpoint measurement worth running rather than guessing at the cause.
- @dependabot — PRs #1072, #1073, #1074.