From 228d1a8893b8df4b89ffffc542836e80035dc2d6 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 10 Oct 2026 05:17:43 +0200 Subject: [PATCH] huginn-mind: name the run kind the live check asks about Co-Authored-By: Claude Opus 5.5 --- crates/huginn-mind/src/admission.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/huginn-mind/src/admission.rs b/crates/huginn-mind/src/admission.rs index 45511f6..ba188ae 100644 --- a/crates/huginn-mind/src/admission.rs +++ b/crates/huginn-mind/src/admission.rs @@ -545,7 +545,7 @@ fn run_rule(docs: &Docs, run_key: &str, run: &PipelineRun, replay: bool) -> Resu return Err(MindRefusal::AlreadyClaimed { item: claim.id.0.clone(), run: RunId::held(holder) }); } } - if !replay && docs.in_force(K::Run, run_key) && let Some(holder) = docs.live_holder(run_key, run) { + if !replay && docs.in_force(PipelineKind::Run, run_key) && let Some(holder) = docs.live_holder(run_key, run) { return Err(MindRefusal::AlreadyLive { run: RunId::held(holder) }); } Ok(())