Module safety

Module safety 

Source
Expand description

Safety layer for agent file operations.

This module provides protection against destructive operations through:

  • Soft delete with trash (files can be recovered)
  • Audit history logging
  • Undo support for reversible operations

Structs§

HistoryEntry
Entry in the history log.
SafetyConfig
Configuration for the safety manager.
SafetyManager
Safety manager for protecting file operations.
TrashEntry
Entry in the trash directory.

Enums§

HistoryOperation
Type of operation for history logging.
UndoData
Data needed to undo an operation.