()
| 756 | |
| 757 | #[test] |
| 758 | fn test_fallback_author() { |
| 759 | let options = AgentAuthorOptions { |
| 760 | agent_name: "claude-code", |
| 761 | agent_display_name: "Claude Code", |
| 762 | session_id: "sess-123", |
| 763 | identity_dir: None, |
| 764 | agent_identity: None, |
| 765 | }; |
| 766 | |
| 767 | let author = fallback_agent_author(&options); |
| 768 | |
| 769 | assert_eq!(author.name, "Claude Code"); |
| 770 | assert!(author.email.is_none()); |
| 771 | assert!(author.identity.is_none()); |
| 772 | } |
| 773 | |
| 774 | // Delegated agent identity (keyed attribution) |
| 775 |
nothing calls this directly
no test coverage detected