(agent: &str, at: &str, outcome: &str)
| 634 | } |
| 635 | |
| 636 | fn hook_event(agent: &str, at: &str, outcome: &str) -> atomic_agent::hook_log::SessionLogEvent { |
| 637 | atomic_agent::hook_log::SessionLogEvent { |
| 638 | event_id: uuid::Uuid::new_v4().to_string(), |
| 639 | session_id: None, |
| 640 | parent_session_id: None, |
| 641 | agent: agent.to_string(), |
| 642 | display_name: agent.to_string(), |
| 643 | verb: "session-start".to_string(), |
| 644 | outcome: outcome.to_string(), |
| 645 | detail: Some("SYNTHETIC_PRIVATE_DETAIL".to_string()), |
| 646 | at: at.to_string(), |
| 647 | } |
| 648 | } |
| 649 | |
| 650 | #[test] |
| 651 | fn last_fired_uses_repository_history_and_pending_events() { |
no outgoing calls
no test coverage detected