Policy · critical
No LLM call between approval and trade execution
MiFID II Article 27 — Approval integrity: once a human approves a trade, no LLM inference (step.model) may occur between the approval gate and the actual trade execution (step.resource POST). This prevents the model from reinterpreting or modifying the approved action.
The policy
A few lines of YAML in your repository.
Part of Financial services: DORA and MiFID II. Assign the pack, or copy this policy into a manifest of your own.
- Verdict
- Critical: the step is blocked before it runs, and an incident is opened.
- Checked
- Before every step, against everything the agent did earlier in the task.
- Rule
- step_preceded_by_without_intervening
- name: "No LLM call between approval and trade execution" description: | MiFID II Article 27 — Approval integrity: once a human approves a trade, no LLM inference (step.model) may occur between the approval gate and the actual trade execution (step.resource POST). This prevents the model from reinterpreting or modifying the approved action. rule_type: step_preceded_by_without_intervening params: required_kind: step.gate forbidden_intervening: ["step.model"] target_kinds: ["step.resource"] target_verb: POST severity: critical enforcement_point: step_executionNot legal advice. This policy is Kyvvu's interpretation of DORA and MiFID II. It isn't reviewed or endorsed by a regulator, and using it doesn't on its own make you compliant: it gives you technical controls, and a record that they ran, to support your compliance work.
How the rule works
step_preceded_by_without_intervening: Checks that a required predecessor exists with no forbidden steps between it and the target step.
required_kind:step.gate. Action kind of the required predecessor.forbidden_intervening:["step.model"]. Action kinds that may not occur between the predecessor and the target.target_kinds:["step.resource"]. Action kinds the rule applies to (e.g. step.resource, step.exec, step.message); other steps pass.target_verb:POST. Only apply to target steps with this verb (e.g. GET, POST, DELETE).
In these packs
- Financial services: DORA and MiFID II, version 1.0.2
From Kyvvu's open policy library at github.com/Kyvvu/manifests, Apache 2.0.
Next
Watch it decide.
In your browser
Try it in the playground
The policy is loaded. Add the steps your agent takes and watch the engine decide, step by step.
On your machine
Five minutes, no account
kyvvu try runs a demo agent against the bundled baseline. Then assign this pack from the dashboard or the CLI.
For security teams
See it on your agents
A 30-minute demo on the agents you actually run, with the policies that fit them.