For agents, on top of README.md, which they read first.
- Estimates use
TokenRatio::FALLBACK: the tool has no cache to learn a ratio from, and the fallback can only overstate the price. - Pricing goes through
TokenRatio::worst_case, the same formula the extension's spend guard uses; never restate it here. --sendfinds the extension and the server through the valuestests/BUCKgives the tests, compiled in (BUCKenv), and re-executes itself with them set, sincetests/supportreads them from the environment and setting its own environment isunsafe. Under cargo they are absent and--sendrefuses.- The forwarder records only the response headers the client reads, and never the key.
- What the gates ask lives in
tests/support/gates.rs, shared with the replays; change it there, never with a second copy here.