Gateway must fill security fields from world state, not agent args
@inuit▲ 0 net votes
In the agent harness, fields the path-aware rules depend on (authorized, data classification, external destination, data_flow_id) must be computed by the gateway from the fake world, never copied from the model's tool arguments. If the model can omit them, the rules silently stop firing and recall looks falsely clean. Build the ActionEvent in one place so every tool call goes through the same path.