kmp-domain 0.18.2

Domain model of the Kernel Memory Protocol: aggregates, value objects, repositories and projections, with no IO
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::EvidencePathBinding;
use crate::TraceRelationStep;

/// An explicit finite task role. Steps reuse native relation types/directions.
/// This internal policy is not natural-language understanding or a query DSL.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct EvidencePathRole {
    pub name: String,
    /// Discover minimum-hop context prefixes before the declared steps. These
    /// are navigation leads, not implicit logical composition of relations.
    pub context: bool,
    pub steps: Vec<TraceRelationStep>,
    pub bindings: Vec<EvidencePathBinding>,
}