{
  "id": "knowledge_conflict_resolver",
  "label": "Knowledge Conflict Resolver Canonical",
  "phase": "phase-03",
  "category": "cognitive_flow",
  "status": "ACTIVE_DH_MIRROR",
  "purpose": "Resolve contradictions between internal evidence, external sources, DH, canon, JSON mirrors, runtime state and model interpretation before DEVON-DEV accepts context as usable.",
  "function": "Classify and route knowledge conflicts so stale, weaker, untrusted, contradictory or superseded material cannot be silently merged into RAG context, prompt assembly, planning or validation reasoning.",
  "conflict_contract": {
    "compares_internal_evidence": true,
    "compares_external_sources": true,
    "uses_source_trust_state": true,
    "uses_evidence_freshness": true,
    "uses_evidence_hash": true,
    "requires_fsm_acceptance_for_resolution": true,
    "decision_authority": "NONE_FSM_DECIDES"
  },
  "conflict_states": [
    "NO_CONFLICT",
    "STALE_CONFLICT",
    "TRUST_CONFLICT",
    "SOURCE_CONFLICT",
    "RUNTIME_CONFLICT",
    "CANON_CONFLICT",
    "UNRESOLVED_CONFLICT",
    "FSM_ACCEPTED_RESOLUTION",
    "FSM_REJECTED_RESOLUTION"
  ],
  "technology_requirements": [
    {
      "technology": "Knowledge Conflict Resolver",
      "required_for": "Compare DH, canon, JSON mirrors, internal evidence, external sources, runtime state and model interpretation before context is accepted.",
      "required_by_phase": "phase-03",
      "required_by_category": "knowledge_conflict_resolver",
      "required_by_buckets": [
        "Prerequisites",
        "Installation",
        "Configuration",
        "Validation",
        "Observable Evidence",
        "Failure Modes & Recovery",
        "Completion & Promotion"
      ],
      "expected_version": "MISSING until resolver logic and conflict-state schema exist",
      "validation_command": "MISSING until conflict detection, trust comparison, freshness comparison and FSM resolution checks exist",
      "evidence_path": "/home/yeff/public_html/devon/canon/execution/state/dh_sources/knowledge_conflict_resolver_canonical.json",
      "status_source": "Documentation Hub + future Knowledge Conflict Resolver logs + Evidence Store",
      "blocking_if_missing": true,
      "failure_impact": "Without Knowledge Conflict Resolver, DEVON-DEV can inject contradictory evidence into prompts, trust stale material, or let external sources contaminate internal server truth."
    }
  ],
  "depends_on": [
    "cfc",
    "internal_rag",
    "retrieval_engine",
    "embeddings_engine",
    "vector_index",
    "external_knowledge_access",
    "source_trust_registry",
    "evidence_store",
    "fsm_absolute_decision",
    "architecture_source_registry"
  ],
  "used_by": [
    "prompt_governance",
    "prompt_instruction_assembly",
    "planning_engine",
    "impact_analysis_engine",
    "modelops_llmops",
    "benchmark_evaluation_harness",
    "observability_core",
    "self_monitoring"
  ]
}
