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

Function test_provenance_tool

atomic-agent/src/record/tests.rs:621–628  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

619
620#[test]
621fn test_provenance_tool() {
622 let session = make_session();
623 let event = make_event();
624 let options = make_options(&session, &event);
625
626 let prov = build_turn_provenance(&options);
627 assert_eq!(prov.tool, AITool::Cli("claude-code".to_string()));
628}
629
630#[test]
631fn test_provenance_session_id() {

Callers

nothing calls this directly

Calls 4

make_eventFunction · 0.85
make_optionsFunction · 0.85
build_turn_provenanceFunction · 0.85
make_sessionFunction · 0.70

Tested by

no test coverage detected