harness-rs-loop 0.0.64

ReAct agent loop for harness-rs with measured guards: stuck detection, acceptance checks, a tool-result ceiling that spills oversized payloads to disk instead of truncating, per-call tool deadlines, subagent isolation, and session record/replay (JSONL).
Documentation
//! `crate-keeper` template — read-only audit of a Rust workspace.
//!
//! Designed for the `examples/crate-keeper` binary but exposed here so other
//! callers can reuse it.

use harness_core::{Sensor, Tool};
use harness_tools::fs::{ListDir, ReadFile, WriteFile};
use harness_tools::sensors_rust::CargoCheck;
use harness_tools::shell::ShellRead;
use std::sync::Arc;

pub fn tools() -> Vec<Arc<dyn Tool>> {
    vec![
        Arc::new(ListDir),
        Arc::new(ReadFile),
        Arc::new(WriteFile),
        Arc::new(ShellRead),
    ]
}

pub fn sensors() -> Vec<Arc<dyn Sensor>> {
    vec![Arc::new(CargoCheck::new())]
}