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

Function test_record_intent_populated

atomic-agent/src/export.rs:652–660  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

650
651 #[test]
652 fn test_record_intent_populated() {
653 let graph = sherpa_graph();
654 let tmp = tempfile::tempdir().unwrap();
655 let record = to_agent_trace_record(&graph, tmp.path());
656
657 let intent = &record.metadata["dev.atomic"]["intent"];
658 assert_eq!(intent["intent_title"], "Build Hello World CLI");
659 assert_eq!(intent["intent_turn_id"], 3);
660 }
661
662 #[test]
663 fn test_record_todos_with_executions() {

Callers

nothing calls this directly

Calls 4

sherpa_graphFunction · 0.85
to_agent_trace_recordFunction · 0.85
unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected