Skip to content
Development
Command

/restore

Restore full history of compacted issue from git

From plugin
beads
26k29 skills4 agents29 commands
Install
> /plugin marketplace add steveyegge/beads
> /plugin install beads@beads-marketplace

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/restore

Context preview

What this command does when you run it.

Restore full history of compacted issue from git

Command definition

restore.md
description: Restore full history of compacted issue from git
argument-hint: "<issue-id>"

Restore full history of a compacted issue from git version control.

When an issue is compacted, the git commit hash is saved. This command:

1. Reads the compacted_at_commit from the database 2. Retrieves the full issue from Dolt history at that point 3. Displays the full issue history (description, events, etc.) 4. Returns to the current state

Usage

`bd restore bd-42`

This is **read-only** - it does not modify the database or git state.

Useful for:

  • Reviewing old issues after compaction
  • Recovering forgotten context
  • Audit trails
  • Historical research

Requires git repository with issue history.

Ships withbeads

Distributed graph issue tracker for AI agents, powered by Dolt. Platforms: macOS, Linux, Windows, FreeBSD Docs: Beads provides a persistent, structured memory for coding agents.

Get the whole plugin