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

Method load_accumulator

atomic-agent/src/turn/orchestrator/provenance.rs:131–133  ·  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

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

Callers 2

handle_turn_startMethod · 0.80
handle_tool_useMethod · 0.80

Calls 1

with_accumulatorMethod · 0.80

Tested by

no test coverage detected