data-loss-gate
Intercepts any bulk delete, cleanup, or purge operation—shell-level or database-level—and forces the agent to stop, present a recoverability card, and wait for the user's explicit 'yes' before executi
What it does
Confirmation gate before any bulk delete, cleanup, or destructive operation that could result in data loss — shell-level (rm -rf, git rm, bulk sed) or brain-level (bulk forget, delete sweeps, purge-deleted, source removal, raw-SQL truncation). Presents a recoverability card and requires an explicit "yes" from the user before proceeding. Routing convention, not an operation-boundary enforcement.
Quality judgment
Exceptionally thorough trigger enumeration across shell and brain-level operations, a concrete confirmation-card template, explicit-yes strictness, error-handling, anti-patterns, and dedup boundaries. Slightly dense prose in places and heavy reliance on external referenced files, but the core gate behavior is fully specified.