Skip to main content

Crate pf_effects

Crate pf_effects 

Source
Expand description

§pf-effects

Append-only ledger of every irreversible tool call an agent makes, with per-call idempotency keys and an HMAC chain that defends against semantic-rollback attacks (ACRFence, arXiv 2603.20625). See agent_docs/effects-layer.md for the spec.

Re-exports§

pub use ledger::Ledger;
pub use ledger::LedgerEntry;
pub use ledger::SessionSecret;
pub use ledger::SideEffectClass;
pub use policy::ReplayDecision;
pub use policy::ReplayPolicy;
pub use proxy::ToolHandler;
pub use proxy::ToolProxy;

Modules§

ledger
Append-only effect ledger with HMAC chaining.
policy
Replay-or-fork policy enforcement.
proxy
ToolProxy — wraps a runtime’s tool dispatch so every call passes through the effect ledger.