Skip to content

v0.4.1

Choose a tag to compare

@maxLWS maxLWS released this 26 Nov 05:01
· 1 commit to main since this release

What changed

  • Per-project Markdown blackboard (board_read, board_post)
    • Stores active project conventions, decisions, and open handoffs as one Markdown file per key under ~/.gemini/agy-memory/boards/<scope>/entries/<slug>.md, with per-key atomic linkSync locking, serialized dead-PID lock reaping, and expectedRevision compare-and-swap checks.
    • Resolves scope by ScopeKey: named Projects (project/<id>, reading Protobuf field 18 from conversations/<id>.db on Turn 0 before conversation_summaries.db is populated), plain CLI repos (cli_repo/<gitCommonDir>, unifying linked Git worktrees with zero subprocesses and expanding Windows 8.3 short paths via fs.realpathSync.native), plain directories (cli_workspace/<realpath>), global, and fail-closed unresolved.
    • Merges read-only catalogs across Antigravity App, CLI, and IDE by conversation UUID, and injects whole board entries (<= 1,536 B) or a key index on SessionStart instead of the old 88-char prompt slice.
  • Smaller 4-tool surface and lowest Turn-1 prompt cost since v0.1.0
    • Merged list_sessions into search_sessions (omit query in text mode) and enforced project scoping unless allScopes=true is passed.
    • Cut combined startup metadata (tools/list + rules/AGENTS.md) from 11,022 B (v0.2.0), 7,674 B (v0.3.0), and 13,946 B (expanded schemas) to 7,092 B (4 tools, 43 params).
  • Unclipped single-message Swarm reads (v0.4.1)
    • Removed the hardcoded 1,400-char cap in read_session(mode="swarm") when reading single or small message slices so long audit conclusions fit inside the inline 8,650 B budget.

Breaking changes and upgrading from v0.3

  • Removed Codex (~/.codex) and Claude Code (~/.claude) adapters (source parameter).
  • Replaced save_note, recall_notes, and standalone list_sessions with board_read, board_post, and search_sessions.
  • Existing v0.3 notes (topics/*.md or notes.json) remain untouched on disk. Import them into the global board non-destructively if needed:
node ~/.gemini/config/plugins/agy-memory/dist/mcp-server.mjs --cli migrate-notes --scope global

Measured trajectory (v0.1.0 -> v0.4.1, 150+ isolated agy -p runs)

Scenario No plugin v0.2.0 v0.3.0 v0.4.1
7-task archive recall (T1–T7) 594.4s model, 10 spills 213.2s (-64%), 0 spills 208.7s (-65%), 0 spills Preserved (0 spills)
Blackboard & isolation (B1–B5, Gemini) 0/15 No project_id board 11/15 (0/3 dual-proj bleed) 15/15 (3/3 zero bleed)
Same suite on Claude Sonnet 5.5 - - 6/10 (0/2 dual-proj bleed) 10/10 (2/2 zero bleed)
Turn-1 prompt tax (unrelated math, Gemini) Baseline (9,617 tok) +3,907 tok +3,304 tok +2,648 tok (-20% vs v0.3.0)
3.5 KB Swarm audit verdict (190 sessions) Timeout (125.7s) - Timeout (126.0s) 50.4s, 5 turns, 0 spills

Upgrade

# If installed from a local clone
node scripts/install.mjs update

# Or one-line installer (macOS / Linux)
curl -fsSL https://raw.githubusercontent.com/maxLWS/agy-memory/main/install.sh | sh

Full changelog and benchmark methodology: CHANGELOG.md and docs/BENCHMARK_REPORT.md.