Skip to content

v2.4.4 — Lightkeeper runs on Hermes Agent too

Choose a tag to compare

@Light5566 Light5566 released this 21 Oct 09:54
· 17 commits to main since this release

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.yaml and __init__.py at 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 a lightkeeper field inside the JSON result of write_file or patch, 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 vault CLI works from any shell; --install-cli finds 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_id Hermes 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-pages branch; a plugin install is about 1 MB instead of 8 MB, and install scanners no longer read the site.
  • 2.4.4: check.sh asserts that write_file and patch results keep every field Hermes reads; the README states the tested scope.
  • 2.3.2: vault init --git-hook no longer overwrites a post-merge or pre-push hook 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/