bootspring memory

Extract and search project learnings from git history, plus cross-session memory recall.

Overview

The memory command has two layers:

  1. Git-based memory -- Analyzes your git history to extract learnings, patterns, and decisions
  2. Cross-session recall -- Searches .bootspring/memory/sessions/ for past decisions and context saved across AI assistant sessions

Usage

Loading code block...

Commands

CommandDescription
summaryShow categorized learning summary (default)
search <query>Search learnings by keyword
recall <query>Search cross-session memory for past decisions
save <note>Save a decision or note to cross-session memory
filesShow most-changed files
statsShow repository statistics
categoriesList memory categories
exportExport learnings as JSON

Options

OptionScopeDescription
--limit <n>summary, search, files, exportNumber of commits to analyze (default: 30)
--since <date>summary, exportHow far back to look (default: "3 months ago")
--jsonrecallOutput as JSON
--tag <tag>saveTag for categorization

Categories

Commits are auto-categorized based on their message:

CategoryLabelMatches
bugfixBug Fixesfix:, bugfix:, messages containing "fix"
featureFeaturesfeat:, feature:, messages containing "add"
refactorRefactoringrefactor:, messages containing "refactor"
securitySecuritysecurity:, messages containing "security", "auth"
performancePerformanceperf:, messages containing "performance", "optimize"
docsDocumentationdocs:, messages containing "document"
testTestingtest:, messages containing "test"
buildBuildbuild:, ci:, messages containing "build"
styleStylestyle:, messages containing "format", "lint"
choreChoreschore:, messages containing "chore" (default)

Examples

Git-Based Memory

Loading code block...

Cross-Session Recall

Loading code block...

Hook-Based Memory Agent

Bootspring includes a persistent memory agent that runs via Claude Code hooks. When hooks are installed (bootspring hook install), structured context blocks are injected into every conversation automatically:

  • persona -- Your name, role, communication style
  • project_context -- Repo name, tech stack, structure (auto-populated)
  • user_preferences -- Workflow preferences, commit conventions
  • session_notes -- Carry-over notes from previous sessions

See the Hooks Guide and Session Intelligence for details.