tandem-server 0.7.0

HTTP server for Tandem engine APIs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2026 Frumu LTD
// Licensed under the Business Source License 1.1

use crate::{AppState, IncidentMonitorLogCandidate};

pub async fn write_log_evidence_artifact(
    state: &AppState,
    candidate: &IncidentMonitorLogCandidate,
) -> anyhow::Result<String> {
    tandem_incident_monitor::log_artifacts::write_log_evidence_artifact(
        &state.incident_monitor_log_evidence_dir,
        candidate,
    )
    .await
}