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

Function test_record_intent_populated

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

Source from the content-addressed store, hash-verified

631
632 #[test]
633 fn test_record_intent_populated() {
634 let graph = sherpa_graph();
635 let tmp = tempfile::tempdir().unwrap();
636 let record = to_agent_trace_record(&graph, tmp.path());
637
638 let intent = &record.metadata["dev.atomic"]["intent"];
639 assert_eq!(intent["intent_title"], "Build Hello World CLI");
640 assert_eq!(intent["intent_turn_id"], 3);
641 }
642
643 #[test]
644 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