Cerebro 0.2.0
What's new in 0.2.0
Self-sustaining brain
- Auto-record (SessionEnd hook): re-summarizes files whose summary went stale during the session, so the next session reuses fresh traces instead of re-reading. Opt-in via
CEREBRO_AUTORECORD=N. Newcerebro summarize --stale. - Polyrepo auto-detect: resolves the brain by walking up to the nearest
.cerebro/, so a monorepo subfolder uses the shared root brain automatically — no per-folderCEREBRO_ROOTneeded.
Front↔back visibility
cerebro_endpoints: index of the backend HTTP endpoints (NestJS@Controller/@Get/@Post/ ...) — answers "where isPOST /carts/lineshandled?" without grepping decorators.
Token-saving + anti-hallucination (bundled in the plugin)
cerebro-first(PreToolUse): nudges towardcerebro_searchbefore raw grep/find (once per session).verify-edit(PostToolUse): deterministic syntax / undefined-symbol / type check after edits (Python, JS, Dart).- The plugin now ships the MCP server + these hooks + 5 cerebro-first subagents + a skill.
- Secrets hygiene:
.env*files are never indexed.
Install
claude mcp add cerebro -- uvx cerebro-code-memoryor the full Claude Code plugin:
/plugin marketplace add marcodavidd020/cerebro-code-memory
/plugin install cerebro@cerebro