MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / load_accumulator

Method load_accumulator

atomic-agent/src/turn/orchestrator/provenance.rs:127–129  ·  view source on GitHub ↗

Load the provenance accumulator for a session (read-only, locked). Best-effort: returns `None` on failure (logged, never fatal).

(&self, session_id: &str)

Source from the content-addressed store, hash-verified

125 ///
126 /// Best-effort: returns `None` on failure (logged, never fatal).
127 pub(crate) fn load_accumulator(&self, session_id: &str) -> Option<ProvenanceAccumulator> {
128 self.with_accumulator(session_id, |_| false)
129 }
130
131 /// Save the provenance accumulator for a session.
132 ///

Callers 2

handle_turn_startMethod · 0.80
handle_tool_useMethod · 0.80

Calls 1

with_accumulatorMethod · 0.80

Tested by

no test coverage detected