Gate an agent's action behind a confidence threshold
=========================================================
const { gate } = require("./confidence-gate");
const result = gate({ action: "refund", confidence: 0.92 }, 0.8);
// routed_to: "auto_execute" if confidence >= threshold, otherwise "human_review"

Missing confidence field -> always routed to human_review (fails safe, never assumes high confidence).
