Skip to content

v1.5.0 — Sectioned memories + project discovery

Choose a tag to compare

@javimosch javimosch released this 09 Aug 07:24
· 7 commits to master since this release

v1.5.0 — Sectioned memories + project discovery

New Features

Sectioned memories + two-phase recall (#4)
Parse [slug] markers in memory content into addressable sections with line ranges. Agents can recall a compact section index, then read only the section they need — ~80% token reduction for multi-section memories.

  • memgraph recall "query" --format index — returns section previews ([slug] Lstart-end "preview...")
  • memgraph recall "query" --format paths — returns file paths + absolute line ranges (for native read tool via offset/limit)
  • memgraph recall "query" --format full — default, backward compatible
  • memgraph read <id>/<slug> — read a single section by slug
  • memgraph read <id>/<slug> --json — JSON output for a section
  • memgraph read <id> — full memory with section index header

memgraph projects command
Lists all project scopes across all repos with memory counts and paths. Solves the cold-start discovery problem — agents with no prior knowledge can find what projects exist and their --memory-dir paths.

Bug Fixes

  • Subcommand --help interception: memgraph recall --help and memgraph read --help now print help instead of searching for "--help" as a query string or memory ID.

Stats

  • 42 tests (34 + 8 new section tests), all pass with -race
  • Pure Go stdlib, zero external dependencies
  • Binaries: linux/amd64, linux/arm64, darwin/amd64, darwin/arm64

Full changelog: https://github.com/javimosch/memgraph/blob/master/docs/changelog-2026-07.html