Repository navigation
Before upgrading
No change is marked breaking, but one changes what you see:
scraps lintnow reports unlinked mentions by default (#989). A wiki that ran lint clean on v5.2.0 may show newunlinked-mentionwarnings. Fix them by linking, or leave out the rule with--ruleto run only the ones you choose.
What's Changed
✨ Features
-
feat(lint): add the unlinked-mention rule and let learn and ingest take candidates from it (#989)
unlinked-mentionwarns where a scrap's prose names another scrap by its title without linking it, once per target, and its message ends with the[[key]]to write. It reads only running prose: links, code, raw HTML, URLs and the frontmatter are left out. A title matches only as a whole word and with at least three characters, and a title two scraps share is skipped. A scrap in a context whose title is just its file name matches only inside that context. Thelearnskill in thepkmplugin and theingestskill in thellm-wikiplugin now take their link candidates from this rule instead of searching for them themselves.
🐛 Bug Fixes
-
fix(lint): stop asking for links to the root README, and clear the docs' lint warnings (#990)
The root README is the wiki's about page, not a scrap, so
lonelyandunlinked-mentionno longer ask for links to it. -
fix(lint): skip a title written onto a link, code or URL (#993)
A title glued to a link, inline code or a URL, such as the
JSONin`foo`JSON, is no longer reported as an unlinked mention. -
fix(lint): skip a title the scrap's own name already carries (#994)
A scrap is no longer asked to link a title that its own title or context already starts with, such as
KubernetesinsideKubernetes/Pod.
🔧 Maintenance
- Dependency updates: aho-corasick 1.1.5, and the boykush/ai-plugins and boykush/workflows digests (#991, #992, #995, #996)
- v5.3.0 (#997)
Full Changelog: v5.2.0...v5.3.0