The local Rust policy-gate demonstration · Chapter 1 of 9

Opening

For developers reading the Rust demonstration. Inspect its local commands and its own submission interface.

Policy gate example

The full pattern is PATTERN.md. The effect is first: the protected text is committed before the model runs, the model may read it and return a proposal, and the proposal may not replace those bytes. The agent and any later service accept only when those bytes still match and the action is inside the committed policy. The three objects are the committed input, the untrusted proposal, and the receipt. The two sites are the agent on the reply and the destination before create, read, modify, or delete. The destination does not trust the agent allow flag.

eni6ma-policy-gate-example signs a policy object and a prompt with the vendored ID4 circuit. The agent checks that proof, then accepts or rejects a scripted model action. The local HTML console shows the payload, the model reply, the agent action, and the ledger row.