pub async fn topology() -> Result<Topology, Error>
Collect branch topology data for the current repository.
Returns an error if trunk detection or git operations fail.