The gate accepts the proposal only when every check passes. Each catalog policy sets default to deny. An executable, an endpoint, or a region the committed policy does not list is refused.
The checks run in this order: policy hash, prompt hash, request hash, circuit Y, executable, endpoint, region, size, and nonce. The first failed check is the stamp reason.
A failure of policy hash, prompt hash, request hash, or circuit Y leaves the document unchanged and leaves the nonce RESERVED. A later rule failure leaves the document unchanged and marks the nonce SPENT. A pass calls destination_apply, which writes replacement into the named mutable region, and marks the nonce SPENT.
A proposal that targets an immutable region or a secured span in the prompt does not change those bytes. A secured span is a block marked [[secured NAME]] ... [[end secured]], a line secured NAME: ..., or the region name secured. Examples of immutable names in the document-edit policy are signature_page and clause_4. A pass may write only a mutable target named by that same policy.
Before the model call, the agent hashes each immutable region and each secured span in the signed prompt and stores that map as protected_span_hashes. After the proposal returns, the agent recomputes those spans from the document. A difference fails the region check and does not write.
Scope: the committed policy and the signed prompt. The ledger records the echoed policy object and the comparison. The executable, endpoint, and region checks use the committed policy.