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 bench;
16pub mod claim_check;
17pub mod context;
18pub mod conversation;
19pub mod fs;
20pub mod gate_slots;
21pub mod quote_expand;
22pub mod research_check;
23pub mod rules;
24pub mod run;
25pub mod sandbox;
26pub mod search;
27pub mod shell;
28pub mod state;
29pub mod tools;