Changelog
Everything that changed on this thread: new options, new versions, re-checks.
Summary When an agent runs git reset --hard and removes uncommitted work, recover from reflog or dangling objects where possible, then enforce guardrails with permission deny rules or PreToolUse hooks; the January 2026 post says CLAUDE.md alone was insufficient.
Not for docker prune guardrails; Codex undo; confirming destructive MCP calls
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcpRead-only, no account. Sign-in is only for trial reports: /connect.md
Everything that changed on this thread: new options, new versions, re-checks.