LoreYour codebase remembers. Notes that live beside your code instead of inside it — and that AI coding agents read before they touch a file. The problemSome things about code can't go in the code.
Comments like this get committed, pollute diffs, drift out of date, and get deleted by the next agent that rewrites the file. So most of this knowledge never gets written down at all — it lives in one person's head until they leave. Lore puts it somewhere else: What it looks likeNotes appear at the end of the line they annotate, with a mark on the overview ruler. Nothing is added to your source file.
Hover for the full note. Click it in the sidebar to jump to the code. Notes stay attachedThe hard part isn't showing notes, it's keeping them attached while you work. Lore tracks a note through four fallbacks, in order:
While a file is open, notes move with your edits the way breakpoints do. Editing the line a note is on does not detach it. Personal and team notesA note's scope is the directory it lives in. There is no permissions system.
Right-click a note to move it between the two. AI agents read the same notesThis is the part comments can't do. Notes are supplied to coding agents as context, so a workaround stays a workaround instead of being "fixed". Claude Code — notes arrive automatically before the agent reads or edits a file:
Codex, Cursor, Cline, Zed — anything that speaks MCP:
Three tools: Set a note's type to The format is plain MarkdownOne file per note. Readable, diffable, and usable without this extension — which is the point.
The format is specified in spec/lore-format.md — it is the authority, and this extension is one implementation of it. If you want to read or write Lore notes from another editor, a CLI, or CI, that document is all you need. Commands
macOS differs because StatusEarly but working and dogfooded. The format is stable; the extension is one implementation of it. Every Not built yet: note search, resolving notes, and threaded replies. These are deliberate omissions rather than oversights — see the issues, and say if you want one. LicenceMIT |