Interface MemoryLifecycleEvent

Represents an event related to memory lifecycle management that the GMI needs to be aware of or act upon. MemoryLifecycleEvent

interface MemoryLifecycleEvent {
    eventId: string;
    timestamp: Date;
    type: "EVICTION_PROPOSED" | "ARCHIVAL_PROPOSED" | "DELETION_PROPOSED" | "SUMMARY_PROPOSED" | "RETENTION_REVIEW_PROPOSED" | "NOTIFICATION" | "EVALUATION_PROPOSED";
    gmiId: string;
    personaId?: string;
    itemId: string;
    dataSourceId: string;
    category?: string;
    itemSummary: string;
    reason: string;
    proposedAction: LifecycleAction;
    negotiable: boolean;
    metadata?: Record<string, any>;
}

Properties

eventId: string
timestamp: Date
type: "EVICTION_PROPOSED" | "ARCHIVAL_PROPOSED" | "DELETION_PROPOSED" | "SUMMARY_PROPOSED" | "RETENTION_REVIEW_PROPOSED" | "NOTIFICATION" | "EVALUATION_PROPOSED"
gmiId: string
personaId?: string
itemId: string
dataSourceId: string
category?: string
itemSummary: string
reason: string
proposedAction: LifecycleAction
negotiable: boolean
metadata?: Record<string, any>