edr_fnv_stable_id (persistence.rs)

clawdstrike · database

Ledger persistence and receipt-emission helpers for response executions. ! ! These functions append execution and rollback reports to the response ! execution ledger, durably record the matching signed receipts, and produce ! stable IDs for synthetic transition entries (partial

// Source: https://github.com/backbay-labs/clawdstrike | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
//! Ledger persistence and receipt-emission helpers for response executions.
//!
//! These functions append execution and rollback reports to the response
//! execution ledger, durably record the matching signed receipts, and produce
//! stable IDs for synthetic transition entries (partial, rollback pending,
//! rollback failed) used by the live executor.

use super::*;

pub(crate) async fn persist_edr_response_execution(
    state: &AgentApiState,
    execution: EndpointResponseExecutionReport,
    graph: &CausalGraph,
    actor: EndpointDecisionActor,
) -> Result<
    (
       

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key