Skip to content

v3.9.0: agent notes reach hippo in full, as soon as they are written

Choose a tag to compare

@kitfunso kitfunso released this 19 Nov 19:03
· 28 commits to master since this release
16a8782

Added

  • A memory note that Claude Code writes reaches hippo within seconds. hippo init, hippo setup and hippo hook install claude-code now add a PostToolUse hook, hippo note-written. When Claude Code writes a .md note in projects/<name>/memory/, the hook starts a detached worker that imports the session's notes and logs one line to ~/.hippo/logs/note-written.log. Two if rules, Write(//**/projects/*/memory/*.md) and Edit(//**/projects/*/memory/*.md), keep Claude Code from starting hippo for any other write, and the hook itself exits at once for any path that is not a note. Run hippo hook install claude-code once to add it to an existing install.

Changed

  • The agent-memory summary line counts notes the store already holds. For example: "Agent memories: 1 already stored."
  • hippo post-compact imports the session's agent notes in a detached worker. A first import can split hundreds of notes into thousands of rows, which does not fit the 10 s hook limit, and a kill rolled the import back on every try. The hook now returns at once and the worker logs its result to the same log file.
  • Five rows on the /benchmarks own-setup table now show hippo with the embedder, the default since 3.8.0. PrefEval goes from 83.0 to 95.8 and ConvoMem from 59.6 to 69.6. EverMemBench goes from 56.4 to 56.5, BEAM-1M from 69.9 to 69.3 and LongMemEval-M (official gpt-4o judge) from 78.4 to 78.2; these three changes are inside the noise. The setting on each row now says "embedder".

Fixed

  • An agent note longer than 1,500 characters is now stored in full. The import used to cut it at the cap, so its tail was never recalled. Now it splits the note into parts at its headings and paragraphs. Each part starts with the note's name and heading, and an edit changes only the part it touches. This holds for all six agents.
  • A secret in a long note refuses only the part that holds it. The strict secret check runs on the whole note before the split, and a key block or code block is never cut in the middle.
  • The global store now imports the notes Claude Code keeps for the home folder. hippo sleep, hippo init and hippo import --agents --global used to skip them. The import takes over the rows the old Claude import wrote for those notes, so each note has one live row. A second run keeps every row live.
  • A note that grows past the cap keeps its history. Its first part takes the recall and outcome counts of the row it replaces. A note cut back under the cap gets one row that replaces all its parts, and nothing is set aside.
  • An imported row that a decision or another object links to stays live when its note goes. It loses its tag, as a pinned row does, so the link holds. Before, the row went dormant and the link was lost.