wear-facts: BLOCKING lives in eureka_state::hold, one answer to what counts as blocking
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ab61a538bb
commit
e7908a0ed5
2 changed files with 5 additions and 2 deletions
|
|
@ -5,6 +5,7 @@
|
|||
//! reads through `eureka_state::hold`, the decider the heartbeat's gate reads.
|
||||
|
||||
use clap::{Args, Subcommand};
|
||||
use eureka_state::hold::BLOCKING;
|
||||
use huginn_mind::SemanticQuery;
|
||||
use huginn_mind::eureka_pipeline::{Line, PipelineKind};
|
||||
use serde_json::{Value, json};
|
||||
|
|
@ -16,8 +17,6 @@ use crate::trouble::Trouble;
|
|||
const GAP_HOME: &str = "eureka-substrate";
|
||||
/// How many neighbours `precedent` asks the index for.
|
||||
const PRECEDENT_TOP_K: u32 = 10;
|
||||
/// Severities that block a cut.
|
||||
const BLOCKING: [&str; 2] = ["Blocker", "High"];
|
||||
|
||||
#[derive(Args, Clone, Debug, Default)]
|
||||
pub struct Paging {
|
||||
|
|
|
|||
|
|
@ -44,6 +44,10 @@ pub fn citing(target: &PipelineRef, role: Option<&str>) -> Citation {
|
|||
}
|
||||
}
|
||||
|
||||
/// Severities that block a cut: the one answer to what counts as blocking, read by `huginn findings --blocking` and by a Mind's
|
||||
/// first line.
|
||||
pub const BLOCKING: [&str; 2] = ["Blocker", "High"];
|
||||
|
||||
pub fn of_kind(kind: PipelineKind) -> Selection {
|
||||
Selection {
|
||||
schemas: Some(vec![kind.type_id().to_string()]),
|
||||
|
|
|
|||
Loading…
Reference in a new issue