Skip to content

v2.9.0 — notes that know which branch they were written on

Choose a tag to compare

@Light5566 Light5566 released this 25 Nov 03:34
· 8 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. 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 status lists these notes on a branch 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