chore: senior-review cleanup pass

- Remove Gemini's committed update_*.py regex-surgery scripts
- Drop unused iroh-tickets dependency (hand-rolled ticket is used instead)
- Replace ToString antipattern with Display impl on PeerSpeakTicket
- Route debug log to XDG state/cache dir instead of hardcoded /home path
- Clear all compiler + clippy warnings (unused imports, collapsible ifs,
  redundant pattern matching, missing Default)

Builds clean with zero warnings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-05-29 15:36:55 -04:00
co-authored by Claude Opus 4.8
parent 763dd5eb76
commit 7af0235736
13 changed files with 48 additions and 367 deletions
+1 -2
View File
@@ -1,10 +1,9 @@
use peerspeak::network::{
gossip::IrohGossipState,
RoomState, PeerState, RoomEvent,
RoomState, PeerState,
};
use iroh::{Endpoint, endpoint::presets};
use iroh_gossip::net::Gossip;
use std::sync::Arc;
use tokio::time::{self, Duration};
#[tokio::main]