Repository navigation
Releases
v2.11.1 — fixes from a live first run
Three fixes found by running the 2.11.0 first-run path in a live Claude Code session on a fresh repo.
- A repo note no longer takes the file pointer from the module that owns a file. A
type: reponote that mentions a file in its text was treated as an owner and could rank first. When another note claims the same file, the repo note is now a weak match for it, so the pointer, the Stop reminder andvault syncname the module. vault doctortells apart a launcher that isn't installed from one that is installed in~/.local/binbut not on your PATH, and prints the right line for each.- The init command no longer promises a check result that init doesn't print.
Full list: CHANGELOG.md
v2.11.0 — the first five minutes
Lightkeeper keeps a knowledge map of your codebase outside the repo, in Obsidian-compatible markdown, and uses the agent's hooks so it reads the map before it edits and updates it before it stops. This release is about the first five minutes.
Three lines to a working map
/plugin marketplace add Light5566/claude-lightkeeper
/plugin install lightkeeper@claude-lightkeeper
/lightkeeper:init
/lightkeeper:init now needs no arguments. From a session inside your project it covers the repo you are in, names the vault after its folder, puts it in ~/vaults/<name> and installs the vault command. It shows those choices and asks once, then offers to seed the first notes. Nothing is written into your repo. Every explicit form (<path> --name --repo, --clone, --adopt) works as before.
See that it works, and turn it off
vault doctorchecks the setup on one screen: Python and git, the plugin, the registry, whether this folder is covered, whether any note owns code, and when the hooks last ran. It prints a fix beside each problem.vault init --forgetstops using a vault in a project and removes the git hooks Lightkeeper installed. The vault folder is never deleted.- A message when nothing is set up. The first session in a repo that no vault covers tells you once to run
/lightkeeper:init.LIGHTKEEPER_QUIET=1hides it. - A line when the vault is empty. Until a note owns code, the session primer says to run
/lightkeeper:seed.
Also
- The slash commands (seed, tidy, trace, release) no longer need
vaulton your PATH. - One order everywhere: init, seed, done. The file pointer works in the same session; no restart needed.
- The README is a quickstart now. Configuration, teams and branch notes moved to docs/guide.md; Hermes Agent and Codex to docs/agents.md.
Full list: CHANGELOG.md
v2.10.0 — one word, a meaning per module
Lightkeeper keeps a knowledge map of your codebase outside the repo, in Obsidian-compatible markdown, and uses the agent's hooks so it reads the map before it edits and updates it before it stops. This release lets one glossary word mean different things in different modules.
A meaning per module
A glossary note (type: term) says what a word means in this codebase. When the word appears in a prompt, the hint now gives:
- its meaning, as before;
- one line per note it shows up in, taken from the reasons on its Where it shows up links (
in Payment: …,in Order: …), up to three, with the notes already in play this session first; - the first line of Not to be confused with (
not: …), so a correct meaning isn't applied in the wrong place.
No new field or folder: write a module's own meaning on that module's line. Existing term notes keep working; add reasons and a Not to be confused with line to get the new output. The term template now asks for both.
Like 2.9.0, this came from a reader's question.
Full list: CHANGELOG.md
v2.9.0 — notes that know which branch they were written on
Lightkeeper keeps a knowledge map of your codebase outside the repo, in Obsidian-compatible markdown, and uses the agent's hooks so it reads the map before it edits and updates it before it stops. This release handles a note written on one branch and read on another.
Branch-tied notes
The map is one for every branch and worktree, so a note written on a feature branch is also what an agent on main reads. Now:
- the hooks remember, per note, the branch and commit of the checkout the agent was in when it edited the note;
- when the file pointer names a note that was last written on a branch the current checkout doesn't contain, it adds one line saying so, and tells the agent to check the note against the code in front of it;
- on the branch itself, and once the branch is merged, it says nothing;
vault statuslists these notes on abranch notes:line.
It works the same in Claude Code, Hermes Agent and Codex. The record is kept per machine, beside the vault registry: nothing is written into the vault or the repo, and a note changed since by hand, by a pull or on another machine is not judged.
This came from a reader's question about two branches changing the same module.
Also
- The file pointer recognises the vault's own files through a symlinked path, so editing a note never triggers a pointer.
Full list: CHANGELOG.md
v2.8.0 — a pointer to the map for agents without the hooks
Lightkeeper keeps a knowledge map of your codebase outside the repo, in Obsidian-compatible markdown, and uses the agent's hooks so it reads the map before it edits and updates it before it stops. This release reaches the agents that don't run those hooks.
vault export --agents-md
Prints a short block for AGENTS.md, CLAUDE.md or GEMINI.md:
- where the vault is: its path, plus its git remote with any credentials removed, and the command to clone it;
- how to search it, and that updating the owning note is part of the definition of done;
- which note owns which code: up to 15 module and integration notes with their files, full notes first.
It only prints. Paste the block yourself, or ask your agent to so you see the diff: nothing is written for you, and no hook runs it. To refresh, run it again and replace what sits between the markers. When one vault covers several repos, run it from the checkout or pass --repo KEY.
Also
- The README's Codex section now says what the live runs covered.
Full list: CHANGELOG.md
v2.7.0 — Lightkeeper runs in Codex
Lightkeeper keeps a knowledge map of your codebase outside the repo, in Obsidian-compatible markdown, and uses the agent's hooks so it reads the map before it edits and updates it before it stops. It ran in Claude Code and Hermes Agent; it now runs in Codex too, installed from the same marketplace.
Codex
codex plugin marketplace add Light5566/claude-lightkeeper
codex plugin add lightkeeper@claude-lightkeeper
- The session primer and prompt hints work as they do in Claude Code.
- The file pointer names the note behind every file an
apply_patchtouches; the agent gets it with the patch's result. - The Stop reminder is shown to you and, once per session, handed back to the agent as its next prompt.
- The three skills come along. The slash commands are Claude Code's; in Codex, use the
vaultCLI.
Tested with a real model on Codex CLI 0.166 in codex exec mode: all four hooks behaved as described. The first time the Codex TUI starts after the install, it asks you to trust the plugin's hooks: trust all four, and if one got switched off, /hooks switches it back on. Interactive TUI sessions and turns after a compaction aren't verified yet; if you try them, an issue saying what you saw helps a lot.
Claude Code and Hermes Agent
Nothing changed.
Full list: CHANGELOG.md
v2.6.0 — a glossary for your codebase, and PR comments that name the trap
Lightkeeper keeps a knowledge map of your codebase outside the repo, in Obsidian-compatible markdown, and uses the agent's hooks so it reads the map before it edits and updates it before it stops.
Added
- Glossary notes. A word your codebase uses in its own way gets a short note in
9 Glossary(type: term): what it means here, and where it shows up. When the word comes up in a prompt, the hint gives its meaning, so the agent doesn't guess. New vaults get the folder, a template and a graph colour; in an existing vault, create9 Glossary/and copy_templates/Term.mdfrom the plugin's scaffold. - The PR comment says what else a change touches. Under the table of owning notes, each note now shows its top reasoned links, which are the blast radius, and its first Gotcha, so a reviewer sees the trap before approving.
Update
claude plugin marketplace update claude-lightkeeper
claude plugin update lightkeeper@claude-lightkeeper
The PR comment action picks up the change on its next run (uses: Light5566/claude-lightkeeper/action@main).
Full list: CHANGELOG.md
v2.5.0 — the map arrives earlier, comes back after a compaction, and you can see it working
Lightkeeper keeps a knowledge map of your codebase outside the repo, in Obsidian-compatible markdown, and uses the agent's hooks so it reads the map before it edits and updates it before it stops.
Added
- The file pointer also fires on reads. The note that owns a file arrives the first time the agent opens it, while it is still planning, not only when it is about to write. Same once-per-note rule, so it doesn't repeat.
vault status --sessionshows what the hooks did in the latest session: how often each one ran and spoke, the notes they surfaced, and which of those the vault has updated since the session started. Pick another session with--session=ID;--jsonfor scripts.
Fixed
- After a compaction, the hints and the pointer name a note again. Notes surfaced before a compaction used to stay silent afterwards, although their text had left the context with the summary. The post-compaction reminder now lists the notes that were in play and re-arms them.
Update
claude plugin marketplace update claude-lightkeeper
claude plugin update lightkeeper@claude-lightkeeper
Hermes Agent: unchanged; reads are not wired there yet.
Full list: CHANGELOG.md
v2.4.4 — Lightkeeper runs on Hermes Agent too
Lightkeeper keeps a knowledge map of your codebase outside the repo, in Obsidian-compatible markdown, and uses the agent's hooks so it reads the map before it edits and updates it before it stops. Until 2.4.0 that agent was Claude Code. The same repository is now also a Hermes Agent plugin.
Hermes Agent
hermes plugins install Light5566/claude-lightkeeper
hermes plugins enable lightkeeper
python3 ~/.hermes/plugins/lightkeeper/bin/vault init ~/vaults/myapp --name "My App" --repo ~/code/myapp --install-cli --git-hook
- The adapter (
plugin.yamland__init__.pyat the repo root) runs the same hook scripts Claude Code runs. The session primer and prompt hints arrive with your message, the edit pointer arrives as alightkeeperfield inside the JSON result ofwrite_fileorpatch, the Stop reminder comes back through Hermes's verify gate as one synthetic user turn per answer, and the same reminder is shown to you once more at session end. - The three skills and the five procedures are Hermes skills:
lightkeeper:knowledge-vault,lightkeeper:vault-sync,lightkeeper:vault-tidy,lightkeeper:init,lightkeeper:seed,lightkeeper:tidy,lightkeeper:trace,lightkeeper:release. - The
vaultCLI works from any shell;--install-clifinds the Hermes install. - Not a memory provider: it sits beside Hermes's own memory and any memory plugin. Hermes 0.22 or newer, local terminal backend.
Tested: real-model closed loops on Hermes Agent stable 0.22.2 in hermes chat -q mode, covering patch and write_file, the edit pointer, the verify-gate reminder and the knowledge-note update; the session-end notice was verified in an earlier round. Not yet verified: messaging platforms, interactive multi-turn sessions, recovery after a context compaction, concurrent sessions on one gateway, and host-unified main builds. Those are follow-up compatibility tests, not blockers.
Also since v2.3.1
- 2.4.3: the edit pointer sits inside the tool's JSON result. Appended text left the result unparsable for Hermes, which then recorded no edit and skipped its verify gate; found in the live loop.
- 2.4.2: adapter state is keyed by the
session_idHermes passes to each hook, so a gateway serving several chats cannot mix their state. - 2.4.1: the gallery and the README images moved to the
gh-pagesbranch; a plugin install is about 1 MB instead of 8 MB, and install scanners no longer read the site. - 2.4.4:
check.shasserts thatwrite_fileandpatchresults keep every field Hermes reads; the README states the tested scope. - 2.3.2:
vault init --git-hookno longer overwrites apost-mergeorpre-pushhook it did not write.
Claude Code
Nothing changes for Claude Code users: hooks, commands, skills, vaults and the vault CLI are as in 2.3.x.
claude plugin marketplace update claude-lightkeeper
claude plugin update lightkeeper@claude-lightkeeper
Gallery of six live maps (Excalidraw, Mastodon, Gitea, Paperless-ngx, BookStack and Lightkeeper itself), each pinned to a commit and checked against its code: https://light5566.github.io/claude-lightkeeper/
v2.3.1 — Lightkeeper
Lightkeeper is a Claude Code plugin that keeps a knowledge map of your codebase outside the repo, in Obsidian-compatible markdown, and uses hooks so Claude reads the map before it edits and updates it before it stops.
Gallery of live maps of Excalidraw, Mastodon, Gitea, Paperless-ngx and BookStack, each pinned to a commit and checked against its code: https://light5566.github.io/claude-lightkeeper/
What's in it
- Four hook events, five behaviours: session primer (and a post-compaction reminder), prompt hints with a once-per-session "this sounds like a decision" nudge, a pre-edit pointer at the owning note, and a Stop reminder that names the notes the session's changed files belong to. All advisory, never blocking.
/lightkeeper:init,/lightkeeper:seed,/lightkeeper:tidy,/lightkeeper:trace,/lightkeeper:releaseand theknowledge-vault,vault-sync,vault-tidyskills.vaultCLI: find (topic or file → owning notes, with the blast radius), check (linter + regenerated Coverage, Vault Changelog, Attention, canvas), sync (what landed since the vault last caught up), status, log, export (single-file interactive map), init.- Maintenance signals: consolidate, re-verify, promote, path rot, link rot.
- PR comment bot:
uses: Light5566/claude-lightkeeper/action@maincomments on pull requests with the notes that own the changed files. - Scaffold with Obsidian graph colours and Bases views; presets for common layouts; team flows (
--clone, git hooks, backup remote). - Python 3.9+, standard library only. macOS and Linux tested.
Install
/plugin marketplace add Light5566/claude-lightkeeper
/plugin install lightkeeper@claude-lightkeeper
/lightkeeper:init ~/vaults/myapp --name "My App" --repo ~/code/myapp --install-cli --git-hook
/lightkeeper:seed
Upgrading from 2.2.x
The plugin was renamed from vault to lightkeeper in 2.3.0, so the commands are now /lightkeeper:*. Your vaults, the vault command-line tool and the hooks are unchanged.
claude plugin uninstall vault@claude-lightkeeper
claude plugin marketplace update claude-lightkeeper
claude plugin install lightkeeper@claude-lightkeeper
If you installed the vault command with --install-cli, run /lightkeeper:init --install-cli once.
Ten months of daily use across three production codebases before this release: 464 notes, 4,500 reasoned links.