Member Junction
    Preparing search index...

    Interface PayloadChangeResultSummary

    Summary of payload change operations for audit trail storage

    interface PayloadChangeResultSummary {
        analysis?: {
            criticalWarnings: {
                message: string;
                path: string;
                severity: string;
                type: string;
            }[];
            suspiciousChanges: number;
            totalWarnings: number;
            warningsByType: Record<string, number>;
        };
        applied: { additions: number; deletions: number; updates: number };
        diffSummary?: {
            added: number;
            modified: number;
            removed: number;
            totalChanges: number;
        };
        payloadValidation?: {
            selfWriteViolations?: {
                deniedOperations: {
                    from?: unknown;
                    operation: "add"
                    | "update"
                    | "delete";
                    path: string;
                    reason: string;
                    timestamp: string;
                    to?: unknown;
                }[];
                timestamp: string;
            };
            upstreamMergeViolations?: {
                attemptedOperations: {
                    from?: unknown;
                    operation: "add"
                    | "update"
                    | "delete";
                    path: string;
                    reason: string;
                    timestamp: string;
                    to?: unknown;
                }[];
                authorizedPaths: string[];
                subAgentName: string;
                timestamp: string;
            };
        };
        requiresFeedback: boolean;
        timestamp: string
        | Date;
        warnings: string[];
    }
    Index

    Properties

    analysis?: {
        criticalWarnings: {
            message: string;
            path: string;
            severity: string;
            type: string;
        }[];
        suspiciousChanges: number;
        totalWarnings: number;
        warningsByType: Record<string, number>;
    }

    Analysis summary

    applied: { additions: number; deletions: number; updates: number }

    Operation counts

    diffSummary?: {
        added: number;
        modified: number;
        removed: number;
        totalChanges: number;
    }

    Diff summary

    payloadValidation?: {
        selfWriteViolations?: {
            deniedOperations: {
                from?: unknown;
                operation: "add" | "update" | "delete";
                path: string;
                reason: string;
                timestamp: string;
                to?: unknown;
            }[];
            timestamp: string;
        };
        upstreamMergeViolations?: {
            attemptedOperations: {
                from?: unknown;
                operation: "add"
                | "update"
                | "delete";
                path: string;
                reason: string;
                timestamp: string;
                to?: unknown;
            }[];
            authorizedPaths: string[];
            subAgentName: string;
            timestamp: string;
        };
    }

    Payload validation tracking

    requiresFeedback: boolean

    Whether feedback is required

    timestamp: string | Date

    Timestamp of the operation

    warnings: string[]

    Warning messages