vigiles API reference
    Preparing search index...

    Interface DisasterEvent

    One dangerous tool event a safety hook is expected to deny.

    interface DisasterEvent {
        category: DisasterCategory;
        id: string;
        input: Record<string, unknown>;
        label: string;
        tool: string;
    }
    Index

    Properties

    What kind of guard should stop this.

    id: string

    Stable id, e.g. "force-push".

    input: Record<string, unknown>

    The tool_input payload (what the hook inspects).

    label: string

    One-line human label for the report.

    tool: string

    The Claude Code tool the event names.