pub struct IdentitySplit {
pub source: &'static str,
pub operational_handle: Option<String>,
pub live_handle: Option<String>,
}Expand description
A session-identity SPLIT: this process’s OPERATIONAL identity (the home it is
actually serving, via config_dir/WIRE_HOME) disagrees with the LIVE
Claude session (resolved fresh from the PID-file). The “displayed name ≠
operational name” bug — a long-lived wire process (usually the MCP server)
frozen to a stale/minted identity while the live Claude session moved on
(e.g. across a resume). Comparing the SERVED identity (not an env key) is
what lets the frozen process itself detect the split: its env key may be
unset (minted) or stale, but the home it serves is concrete — the earlier
env-vs-pidfile check ran in a fresh CLI whose env was already live, so it
never saw the frozen MCP’s stale identity at all.
Fields§
§source: &'static strHow this process resolved its session (session_source()).
operational_handle: Option<String>The handle this process is actually operating (and sending mail) as.
live_handle: Option<String>The handle the live Claude session resolves to right now.
Trait Implementations§
Source§impl Clone for IdentitySplit
impl Clone for IdentitySplit
Source§fn clone(&self) -> IdentitySplit
fn clone(&self) -> IdentitySplit
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more