File: crates/client/src/mutations.rs:948
Severity: UX
Obvious? yes
action_description: format!("{action:?}") emits the Rust Debug rendering of ProposedAction (e.g. "Kick { peer: PeerId(...) }") for downstream UI display in proposal/vote prompts. Brittle and ugly user-facing text.
Fix: implement Display for ProposedAction that produces sentence-style prose ("Kick @alice from this server") and use it.
Filed by /general-audit @ 6404719 (2026-05-03). master: #567.
File:
crates/client/src/mutations.rs:948Severity: UX
Obvious? yes
action_description: format!("{action:?}")emits the RustDebugrendering ofProposedAction(e.g."Kick { peer: PeerId(...) }") for downstream UI display in proposal/vote prompts. Brittle and ugly user-facing text.Fix: implement
Display for ProposedActionthat produces sentence-style prose ("Kick @alice from this server") and use it.Filed by
/general-audit@6404719(2026-05-03). master: #567.