eidetic-engine 0.18.0

Durable, local-first, explainable memory for coding agents.
//! Dispatch complete external reports without interpreting nested examples.
//!
//! Test reports and lint/type-checker reports have separate typed validators.
//! All of them retain the caller's independent completion gate.

use super::{
    CanonicalDiagnostic, CompilerOutput, EslintCoverage, MAX_COMPILER_RECORDS,
    MAX_DIAGNOSTICS_PER_FAILURE, MAX_SCANNED_OUTPUT_BYTES,
};

#[path = "cass_error_recall_lint_checkers.rs"]
mod lint;

pub(super) fn inspect(text: &str) -> Result<Option<CompilerOutput>, ()> {
    if let Some(output) = super::super::test_coverage::pytest::inspect(text)? {
        return Ok(Some(output));
    }
    if let Some(output) = super::super::test_coverage::javascript::inspect(text)? {
        return Ok(Some(output));
    }
    lint::inspect(text)
}