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

Function managed_context

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

Source from the content-addressed store, hash-verified

817// Managed-run adoption tests
818
819fn managed_context(view: Option<&str>) -> ManagedRunContext {
820 ManagedRunContext {
821 stamp: crate::turn::session::ManagedRunStamp {
822 run_id: "run-mng-1".to_string(),
823 owner_agent: "sherpa".to_string(),
824 owner_session_id: "sherpa-sess-1".to_string(),
825 work_item_id: Some("NONA-42".to_string()),
826 },
827 view: view.map(|v| v.to_string()),
828 }
829}
830
831/// Orchestrator rooted at a real initialized repository (recording works).
832fn make_repo_orchestrator(dir: &TempDir) -> TurnOrchestrator {

Calls

no outgoing calls

Tested by

no test coverage detected