BRY-AGENT-STATE-0.1. Commands [1,query], [2,matchID,operation], [3,replacementString]. State discover -> select -> replace -> committed. Search allowed before commit and invalidates previous selection; IDs monotonically increase. Selection resolves actual structural path and host action handle; replacement requires no model-supplied handle. Rejected replacement returns to selection, because underlying action handles are one-shot. Maximum 12 commands, 8192 JSON bytes measured as JS string length (code units), search query <=100 code units. In-memory session, one successful commit; no durable publication. Concurrent step rejected; no arbitrary code evaluation. Search limited to two-child sections with literal heading and paragraph. Same interface for Bry and restricted JS. The host validates transitions, not provider constrained decoding. Scripted test results only.