@agent-os/decision-gate
Purpose
Section titled “Purpose”Durable decision gate vocabulary, projection, and admitter for cross-actor or cross-time approval.
Invariant
Section titled “Invariant”A decision request, decision, and consumption are separate ledger facts. The package records gate state; the app owns approval policy. A consumed decision cannot be reused.
Minimal Usage
Section titled “Minimal Usage”Emit gate events through the package helpers, derive gate state from the projection, and pass the projection to the admitter. Rejection is explicit; there is no fallback approval.
import { projectDecisionGate } from "@agent-os/decision-gate";Verification
Section titled “Verification”cd packages/carriers/decision-gatevp test run