restore
Restore full history of compacted issue from git
Install
Copy this folder into your Claude Code project (needs Node.js):
curl -fsSL --create-dirs -o .claude/commands/restore.md https://raw.githubusercontent.com/gastownhall/beads/HEAD/plugins/beads/skills/beads/commands/restore.mdOr install it for every project:
curl -fsSL --create-dirs -o ~/.claude/commands/restore.md https://raw.githubusercontent.com/gastownhall/beads/HEAD/plugins/beads/skills/beads/commands/restore.mdFile content
Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗
--- 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.