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

Run

From this directory:

cargo test
cargo run --bin console

cargo run --bin console writes console/index.html and ledger.json. The page lists every case, including the reject cases, and shows one case at a time in four panels: Payload, Model reply, Agent action, Ledger. That page does not call a model. The page does not contain phi or the sealed secret units.

cargo run --bin gate prints circuit_hash and one decision line per case.