chore(#1474): add reason= to remaining bare clippy allows outside dashboard

This commit is contained in:
damocles 2026-06-09 00:26:19 +02:00 committed by mara
commit 7c9954ceec
12 changed files with 81 additions and 16 deletions

View file

@ -652,7 +652,11 @@ impl Coordinator {
/// already have an authoritative timestamp from the db update,
/// the tiny skew between "row updated" and "event emitted" is
/// presentation-only and doesn't matter to clients.
#[allow(clippy::too_many_arguments)]
#[allow(
clippy::too_many_arguments,
reason = "args mirror the approval-resolved event payload fields; \
bundling them into a struct used only here adds no clarity"
)]
pub fn emit_approval_resolved(
&self,
id: i64,
@ -685,7 +689,11 @@ impl Coordinator {
/// both operator-targeted (`target = None`) and peer-to-peer
/// (`target = Some(agent)`) threads — the dashboard surfaces
/// both, distinguishing visually + offering operator override.
#[allow(clippy::too_many_arguments)]
#[allow(
clippy::too_many_arguments,
reason = "args mirror the question-added event payload fields; \
bundling them into a struct used only here adds no clarity"
)]
pub fn emit_question_added(
&self,
id: i64,