sprawling 0.0.12

A local multi-agent harness for persistent agent teams: long-running project work, agent communication, and experiments in coordination and social simulation.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (c) 2026 2youg1 and the sprawling contributors

//! A file is never a terminal, so what is written into one is read by
//! an agent.

#![allow(clippy::unwrap_used, reason = "test code")]

use super::Audience;

#[test]
fn a_file_is_read_by_an_agent() {
    let file = tempfile::tempfile().unwrap();
    assert_eq!(Audience::of(&file), Audience::Agent);
}