1export function decide(input: Request) {2 if (input.risk === "high") return "review";3 return "allow";4}