GrapeRoot Pro Adds Undo Shield to Prevent Claude Code from Deleting Your Project

✍️ OpenClawRadar📅 Published: May 15, 2026🔗 Source
GrapeRoot Pro Adds Undo Shield to Prevent Claude Code from Deleting Your Project
Ad

Following multiple Reddit threads — including a post about 'Claude deleted my entire project' with 700+ comments and another about '717 GB. Gone.' — GrapeRoot Pro has released a destructive action gate called Undo Shield. It monitors the session graph of Claude's edits, reads, and debug visits, then pauses before a mass delete or overwrite to show exactly which files are at risk.

How Undo Shield Works

The gate triggers only when the session graph shows sustained attention on specific files. Files edited multiple times and read frequently over the last hour are flagged. For destructive commands like rm -rf or truncate on those files, the operation is hard-blocked with a prompt like:

Operation:  bash: rm -rf ./src/auth
Files affected:
  src/auth/auth.ts  [edited 3×, read 6×, last touched 4 min ago]
  src/auth/token_store.ts  [edited 2×, read 4×, last touched 12 min ago]
  src/middleware/jwt.ts  [read 5×, last touched 8 min ago]
This cannot be undone.  Please confirm with the user before proceeding.
(To bypass: set DG_UNDO_SHIELD=0)

Less severe actions get a softer warning sent back to Claude to ask before proceeding. The gate avoids becoming an annoying 'confirm everything' popup because it ignores files Claude touched only once.

Ad

Repo-Scale Audit with Minimal Tokens

GrapeRoot Pro also includes a repository audit system that works within the Claude session. In a demo of an ~80k file repository (effective 10k after filtering), Claude used only ~32k tokens total. No extra API calls, no embeddings pipeline, no external indexing service, and no additional LLMs. The system uses the session graph to narrow exploration so Claude reads selectively instead of traversing thousands of files. During the audit it identified:

  • circular dependencies
  • dead exports
  • copy-paste logic
  • missing error handling
  • DB calls inside routes
  • orphan TODOs

Installation

Install from graperoot.dev, then run:

dgc path/to/your/project

The open source repository is available at github.com/kunal12203/Codex-CLI-Compact. GrapeRoot Pro is a dual-graph context engine for Claude Code, Codex, and Gemini.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Comparing Multi-Agent AI Systems: Anthropic's Harness vs Agyn's Engineering Org Model
Tools

Comparing Multi-Agent AI Systems: Anthropic's Harness vs Agyn's Engineering Org Model

Anthropic published a harness design for long-running application development, while Agyn's multi-agent system for team-based autonomous software engineering was open-sourced last month. Both systems reject monolithic agents in favor of role separation, structured handoffs, and review loops.

OpenClawRadar
Swarm Leak Detector: Free Tool to Scan for Exposed API Keys in OpenClaw Configs
Tools

Swarm Leak Detector: Free Tool to Scan for Exposed API Keys in OpenClaw Configs

A developer released swarm-leak-detector, a zero-dependency MIT-licensed tool that scans for over 21 credential patterns (OpenAI, Anthropic, OpenRouter, Stripe, etc.) in plaintext JSON config files. Run it with npx swarm-leak-detector scan ~/.clawdbot/ to check for leaks in about 30 seconds.

OpenClawRadar
ByteRover Memory Plugin for OpenClaw: Native Integration with Semantic Hierarchy
Tools

ByteRover Memory Plugin for OpenClaw: Native Integration with Semantic Hierarchy

ByteRover Memory Plugin for OpenClaw provides native, structured long-term memory via a three-layer architecture and semantic hierarchy stored in Markdown files. It achieves 92.2% retrieval accuracy and requires OpenClaw v2026.3.22+.

OpenClawRadar
Open Source Claude Code Skills for Personalized Social Media Content
Tools

Open Source Claude Code Skills for Personalized Social Media Content

A developer has open sourced 13 Claude Code skills that help Claude write social media content in your own voice. The skills include context definition, strategy, creation, and analysis tools for LinkedIn, Twitter/X, Threads, and Bluesky.

OpenClawRadar