Files
beads/claude-plugin/commands/restore.md
beads/crew/dave f03c754df1 refactor: move Claude Code plugin to dedicated subdirectory (GH#985)
Move all plugin content to claude-plugin/ subdirectory for cleaner
separation from core beads functionality:

- claude-plugin/.claude-plugin/plugin.json - plugin manifest
- claude-plugin/commands/ - all slash commands
- claude-plugin/agents/ - task-agent (now in correct location)
- claude-plugin/skills/beads/ - beads skill with resources

Root .claude-plugin/ now only contains marketplace.json pointing
to ./claude-plugin.

Note: After updating, users may need to clear plugin cache:
  rm -rf ~/.claude/plugins/cache/beads-marketplace/

Fixes #985

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Executed-By: beads/crew/dave
Rig: beads
Role: crew
2026-01-09 22:59:11 -08:00

754 B

description, argument-hint
description argument-hint
Restore full history of compacted issue from git <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. Checks out that commit temporarily
  3. Reads the full issue from JSONL at that point in history
  4. Displays the full issue history (description, events, etc.)
  5. Returns to the current git 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.