blyte_agent/lib.rs
1//! The agent loop: blyte owning execution rather than wrapping someone else's.
2//!
3//! Every mechanism this project built to influence an agent from outside its loop was capped or
4//! negative. A PreToolUse hook cannot prevent the call it intercepts, because the model has
5//! already emitted the request and the conversation has already been re-sent by the time the
6//! hook runs (FINDINGS 13.25). Refusing a read the worker had decided it needed simply produced
7//! a second request: 89-91% of suppressions were immediately insisted on. And 47.6% of all
8//! input tokens went to turns whose entire output was "waiting for the background task",
9//! because the host harness backgrounded slow commands and the worker polled for them, each
10//! poll costing a full turn carrying the whole conversation (13.29).
11//!
12//! None of those are fixable from outside. All of them are design decisions from inside.
13
14pub mod approval;
15pub mod claim_check;
16pub mod context;
17pub mod conversation;
18pub mod folder_lock;
19pub mod fs;
20pub mod gate_slots;
21pub mod quote_expand;
22pub mod redact;
23pub mod research_check;
24pub mod rules;
25pub mod run;
26pub mod sandbox;
27pub mod search;
28pub mod shell;
29pub mod snapshot_fs;
30pub mod state;
31pub mod tools;
32pub mod write_guard;