How a policy gate binds a proposed action to an effect · Chapter 8 of 14

Proposal

Grok returns one JSON object. The fields are executable, endpoint_id, region, replacement, and policy_hash. The model may copy the policy object into policy.

The gate reads executable, endpoint_id, region, and replacement from that object and compares them with the committed policy. The gate does not treat the echoed policy object or the echoed policy_hash as the committed policy. An echoed hash, or an echoed object whose canonical hash differs from the committed policy_hash, fails the policy hash check. The other checks still use the committed policy.

The proposal stays outside request_hash.

Scope: the fields in the returned JSON object. Text in the prompt does not add an operation.