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

Function managed_context

atomic-agent/src/turn/orchestrator/tests.rs:987–997  ·  view source on GitHub ↗
(view: Option<&str>)

Source from the content-addressed store, hash-verified

985// Managed-run adoption tests
986
987fn managed_context(view: Option<&str>) -> ManagedRunContext {
988 ManagedRunContext {
989 stamp: crate::turn::session::ManagedRunStamp {
990 run_id: "run-mng-1".to_string(),
991 owner_agent: "sherpa".to_string(),
992 owner_session_id: "sherpa-sess-1".to_string(),
993 work_item_id: Some("NONA-42".to_string()),
994 },
995 view: view.map(|v| v.to_string()),
996 }
997}
998
999/// Orchestrator rooted at a real initialized repository (recording works).
1000fn make_repo_orchestrator(dir: &TempDir) -> TurnOrchestrator {

Calls

no outgoing calls

Tested by

no test coverage detected