agent_with_action_policy registers three rules and writes receipts as JSON lines.
- A forbidden rule denies
shell. - A contextual rule steps up when
refundcarries therestrictedlabel. - Anything else is allowed.
verify checks the signature and the hash chain with the public key printed at startup. On Temporal, register the same policy id, version, agent id, and key id on the starter and the worker.