Skip to content
Development
Command

/bb-pause

Pause the SessionEnd auto-commit hook when refactoring core engine files.

From plugin
claude-memory-engine
13418 skills18 commands9 hooks

Command definition

bb-pause.md

/bb-pause -- Pause Auto Sync

Pause the SessionEnd auto-commit hook when refactoring core engine files.

When to use

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.

Usage

  • `/bb-pause` or `/bb-pause on` -- Create `~/.claude/.bb-pause` lock file
  • `/bb-pause off` -- Remove lock file, resume auto-sync
  • `/bb-pause status` -- Check current state

Why this exists

`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.

Execution

1. Parse args (on/off/status, default: on) 2. Run corresponding action:

  • `on`: `touch ~/.claude/.bb-pause` and report "auto-sync paused"
  • `off`: `rm -f ~/.claude/.bb-pause` and report "resumed"
  • `status`: check if lock exists and report

3. Reminder: while paused, manually run `/backup` to push changes; otherwise nothing leaves your machine.

@helloruru
Ships withclaude-memory-engine

Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.

Stars on GitHub

Momentum

stars in total
134
Star history of HelloRuru/claude-memory-engine on GitHub, a chart by star-history.com

Other commands on claude-memory-engine.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command