Changelog¶
Releases are git tags. A knowledge base records its tag in
.copier-answers.yml; see Update from the template.
Entries before v0.6.0 name tasks as just recipes (just X); today, run
them as uv run poe X.
v0.7.0¶
- Faster and more correct checking. Pages are parsed once and shared by
every command:
kb checkis about twice as fast,kb check FILEreads only the given files, so the agent hooks take a fraction of a second even with thousands of pages, andkb unlinkedtakes seconds instead of minutes. The bundle is the set of files git would commit, without dot-folders such as.trash/(which files are checked); the new global optionkb --tracked, used by the pre-commit hooks, reads only what a commit contains. Link targets must match the case of the file on every platform, and link parsing follows CommonMark more closely (wrapped link text, indented fences and code blocks, code spans).kb graph,kb dupes,kb unlinkedandkb reportlook at the same pages; orphanedindex.mdfiles are reported. - Agent guardrails: hooks, Codex, Gemini CLI. The
hooks also check pages
that shell commands change, keep their state per session in
.cache/kb-hooks/, and check the log againstlog.mdat the start of the session instead of asking git. New Copier questionscodexandgemini_cliadd the same hooks for Codex and Gemini CLI; Gemini CLI then readsAGENTS.md. Claude Code is denied shell commands that name.env.kb newchecks the actor and always writes valid frontmatter;kb logkeeps entries on one line.kb setuprepairs.claude/skillson Windows, and the launcher tolerates a broken configuration file when a knowledge base is named. - Safer import and external resources.
kb importnever follows symlinks, rolls back on failure, and refuses destinations that clash by case or with a folder;excludeignores case, the mapping is validated as a whole, and many conversions are fixed.kb openopens only web URLs, Zotero items and files under a declared root, never programs.kb fetchruns markitdown (when it is not installed, a pinned version through uvx, overridable withKB_MARKITDOWN) and stops it after 5 minutes; neither it nor the desktop opener gets your API keys (details). Zotero group libraries work with the local API, and bad settings or responses give clear errors instead of tracebacks. kb mv,kb mergeandkb fix-links.kb mvandkb mergechange files all or nothing, with backups in.cache/kb-backup/.kb mvrefuses reserved files, hidden or ignored places and a change of extension; it moves images and other files, and moves into existing folders. All three rewrite reference definitions and frontmatter in block or flow style, keeping comments and quoting;kb mvandkb mergealso updatetools/retrieval-eval/questions.yaml.kb eval.kb eval(uv run poe eval) reports, for the questions intools/retrieval-eval/questions.yaml, whether each search tier (index and text search,kb findfilters, qmd) reaches the expected pages (recall@k). It is deterministic, and--min-recallmakes it a CI gate. See Is qmd worth it?- Cross-platform and CI. The template's CI runs on Linux, macOS and
Windows. Knowledge-base CI installs from
uv.lockwithuv sync --locked; actions are pinned to commit SHAs and kept current by Dependabot;.gitattributeskeeps LF line endings.kbruns git, qmd and other programs only from absolutePATHentries, never from the current directory. - Lint and types.
uv run poe lintruns ruff overtools/and mypy overtools/kbtools/, anduv run poe ciruns it. The tooling is formatted with ruff.
Upgrading. copier update asks the two new questions (codex,
gemini_cli, default No), rewrites .claude/settings.json, adds
.gitattributes and, with GitHub CI, .github/dependabot.yml, and
reformats about 30 tooling files. Then run uv lock and commit uv.lock:
CI now fails when it is stale. Some behaviour changed: import mappings are
stricter, kb mv no longer adds .md to a name with another extension,
and links into dot-folders or ignored files are now wanted pages (W030).
See Updating to v0.7.0.
v0.6.0¶
- poethepoet tasks instead of just. The
justfileis gone, from generated knowledge bases and from the template repository. The short commands are poethepoet tasks, one-liners and sequences in[tool.poe.tasks]ofpyproject.toml, with the same names as the old recipes. Run them withuv run poe <task> [ARGS…]; extra arguments are passed on, anduv run poealone lists the tasks (and exits with status 1). poethepoet is a development dependency, so there is nothing to install besides uv;uv tool install poethepoetonce makespoe <task>work anywhere. Tasks run without a shell, so they work on Windows, exceptlinks-online, which needs lychee. - The logic of the longer recipes moved into
kb:kb setup(git repository, pre-commit hook, indexes),kb search(qmd when set up, otherwise a built-in text search that no longer needs ripgrep;--setupand--reindexfor qmd) andkb rename-bundle(the former recipe, same behaviour). - Local tasks go in
tasks.toml, which each knowledge base owns: the template creates it once andpyproject.tomlincludes it. - The just variables are gone. The folder name is written into the tasks
that need it;
kb searchcomputes the qmd collection name, andKB_QMD_COLLECTIONcan now also be set in.env. - CI runs
uv run poe ci; the step that installed just is gone. - Template repository:
uv run poe test | render [DEST] | docs | docs-serve.
Upgrading. copier update deletes the justfile, even an edited one
(recover your own recipes with git show HEAD:justfile), and adds
tasks.toml. Replace just X with uv run poe X, also in your
README.md, and move your own recipes into tasks.toml. See
Updating to v0.6.0.
v0.5.0¶
- Configurable knowledge-base folder. The folder that holds the bundle
and is the Obsidian vault is no longer always
kb/. The new Copier questionbundle_dir, asked afterdomains, names it, afterkb_nameby default, so each vault gets its own name in Obsidian. It cannot be the name of a domain or of a standard folder such assources. The name is recorded in[tool.kb] bundleinpyproject.toml, and thekbcommand, the newbundlejust variable and CI read it from there. Thekbcommand keeps its name. See Repository layout. just rename-bundle NEWrenames the folder of an existing knowledge base: it moves the folder withgit mv, re-renders the template-managed files that name it, stages the result for review, warns about local edits the re-render reverted, and regenerates the indexes. If the re-render fails, it puts everything back. How-to.kbmessages show paths as<folder>/…, and path arguments accept a leading<folder>/as well as/(unless the path also exists inside the bundle; see the kb command line)..gitignore,.pre-commit-config.yaml,AGENTS.md,CLAUDE.md, the skills,README.mdanddocs/obsidian-setup.mdare rendered with the folder name.- On a first
copier copy, Copier prints a harmlessMissingFileWarningabout.copier-answers.yml: the template reads the previous answers, if any, to choose the default ofbundle_dir.
Upgrading. copier update asks bundle_dir with the default kb:
accept it, and nothing moves. Existing knowledge bases keep kb/. To give
the folder, and so the Obsidian vault, another name, commit the update and
then run just rename-bundle <name>. See
Updating to v0.5.0.
v0.4.0¶
- Global launcher. An optional
kbcommand (packageokf-kb, inlauncher/) runs the right knowledge base's own tool from any directory:-C PATH|NAME,KB_DIR, the enclosing knowledge base, or a default from~/.config/okf-kb/config.toml;kb --list,kb --which. Install it. - Several knowledge bases per machine. The qmd collection is named after
kb_name(override:KB_QMD_COLLECTION) instead ofkb. Action:qmd collection remove kb && just search-setup. - Obsidian setup automation.
just obsidian-setup(kb obsidian setup) downloads the pinned community plugins, verifies their checksums, and with--openopens the vault if Obsidian already knows it. The default plugin list is now Templater and Better Markdown Links; five more are pinned and added with--add. Plugin code is never committed. Requires Obsidian 1.13.7 or later. A newer version that Obsidian installed is kept. Action: runjust obsidian-setup. Existing knowledge bases keep their owncommunity-plugins.json. kb dupesno longer pairs two Journal Entry pages.- The template is licensed MIT-0.
- Public documentation site.
v0.3.0 (2026-09-26)¶
kb import: deterministic conversion of an Obsidian vault or Logseq graph into bundle pages, driven by a mapping file, with a dry run and a redirect table. How-to, reference.
v0.2.2 (2026-09-26)¶
- CI: current action versions, read-only permissions, manual runs; the
weekly link check covers only
http(s)URLs and tolerates 403 and 429. just setupalso generates the indexes;just links-onlinematches CI..gitignore:.env.*ignored (except the example); only the Templater plugin settings are tracked.- Documentation: Web Clipper recipe, Templater caveat, first-launch settings files, private-template credentials.
v0.2.1 (2026-09-26)¶
- KaraKeep:
KARAKEEP_URLmay end in/apior/api/v1; requests send a User-Agent, which the hosted service requires.
v0.2.0 (2026-09-25)¶
- External resources: Zotero (local API, web API, database snapshot),
KaraKeep by URL, and file roots with deny patterns:
kb zotero,kb karakeep,kb fetch,kb open, thezoteroandlocatorskeys,schema/resources.yaml,.env.example. - Maintenance analytics:
kb graph(generated indexes excluded),kb dupes,kb unlinked,kb merge, andjust health. kb check: wikilinks and embeds are errors (H032); future timestamps (W041); malformedresources.yaml(H061).kb newcreates drafts.- The Stop hook checks only the pages the session changed.
v0.1.0 (2026-09-25)¶
- First release: the
kbtool (check,index,fix-links,mv,new,log,find,report, hooks), the agent layer (AGENTS.md,CLAUDE.md, the ingest, query and maintain skills, Claude Code hooks), Obsidian configuration, pre-commit, CI, and template tests that render several configurations and exercisecopier update.