analyze
CommandAnalyze user corrections and log them into the error notebook
Pause the SessionEnd auto-commit hook when refactoring core engine files.
Pause the SessionEnd auto-commit hook when refactoring core engine files.
When editing `memory-backup.sh`, `hooks/*.js`, or `CLAUDE.md`, the SessionEnd hook might auto-commit half-finished work before you've verified it. This lock prevents that.
`memory-backup.sh` runs on SessionEnd to auto-commit your work. This is usually helpful, but it's dangerous when you're mid-refactor on the engine itself -- the hook might commit a broken half-version. The `.bb-pause` file makes the script exit early, so you can work safely.
1. Parse args (on/off/status, default: on) 2. Run corresponding action:
3. Reminder: while paused, manually run `/backup` to push changes; otherwise nothing leaves your machine.
Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.
Analyze user corrections and log them into the error notebook
Help decide when to use `/compact` based on the current conversation state.
Review the error notebook — flip through past corrections before working
Generate a reflection diary entry from the current conversation.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.