Source code for src.dackar.RCA.cross_pattern.config

from __future__ import annotations

from dataclasses import dataclass, field


@dataclass
[docs] class CrossPatternConfig:
[docs] temporal_compatibility_max_gap_days: float = 180.0
[docs] temporal_compatibility_mode: str = "gate" # "gate" | "formula"
[docs] fm_alignment_score_threshold: float = 0.60
[docs] signal_similarity_floor: float = 0.20
[docs] stale_index_confidence_cap: float = 0.70
# When True, the linker ALSO links a doc that concerns the same asset as the # episode but a DIFFERENT failure mode than the candidate, so the conflict # path in classify_support_posture (and the conflict wording/flags in # summary.py) can surface it for analyst review. Default False preserves the # FM-only linking behavior — mirrors the "present but not yet wired" posture # of the wider cross-pattern layer (cf. orchestrator enable_cross_pattern_linkage).
[docs] enable_conflict_detection: bool = False