()
| 652 | |
| 653 | #[test] |
| 654 | fn test_missing_session_id_fallback() { |
| 655 | let hook = make_hook(); |
| 656 | let event = hook |
| 657 | .parse_event(HookType::SessionStart, br#"{"cwd":"/tmp"}"#) |
| 658 | .unwrap(); |
| 659 | assert!(event.session_id.starts_with("grok-")); |
| 660 | } |
| 661 | |
| 662 | #[test] |
| 663 | fn test_repo_root_hints_from_workspace() { |
nothing calls this directly
no test coverage detected