Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Interface IncidentStoreInstance

    interface IncidentStoreInstance {
        getCausalEdges: (incidentId: string) => IncidentModel.CausalEdge[];
        getIncident: (incidentId: string) => IncidentModel.Incident | null;
        getIncidentsByAgent: (
            agentId: string,
            state?: IncidentModel.IncidentState,
        ) => IncidentModel.Incident[];
        getIncidentTransitions: (
            incidentId: string,
        ) => IncidentModel.IncidentTransition[];
        getLastIncidentHash: (agentId: string) => string;
        getLatestIncidentStates: (
            incidentIds: string[],
        ) => Map<string, IncidentModel.IncidentState>;
        getOpenIncidents: (agentId: string) => IncidentModel.Incident[];
        initTables: () => void;
        insertCausalEdge: (
            incidentId: string,
            edge: IncidentModel.CausalEdge,
        ) => void;
        insertIncident: (incident: IncidentModel.Incident) => void;
        insertIncidentTransition: (
            transition: IncidentModel.IncidentTransition,
        ) => void;
    }
    Index
    getCausalEdges: (incidentId: string) => IncidentModel.CausalEdge[]
    getIncident: (incidentId: string) => IncidentModel.Incident | null
    getIncidentsByAgent: (
        agentId: string,
        state?: IncidentModel.IncidentState,
    ) => IncidentModel.Incident[]
    getIncidentTransitions: (
        incidentId: string,
    ) => IncidentModel.IncidentTransition[]
    getLastIncidentHash: (agentId: string) => string
    getLatestIncidentStates: (
        incidentIds: string[],
    ) => Map<string, IncidentModel.IncidentState>
    getOpenIncidents: (agentId: string) => IncidentModel.Incident[]
    initTables: () => void
    insertCausalEdge: (incidentId: string, edge: IncidentModel.CausalEdge) => void
    insertIncident: (incident: IncidentModel.Incident) => void
    insertIncidentTransition: (transition: IncidentModel.IncidentTransition) => void