Policy
One method, deliberately. Everything a policy needs is in the request, and the only output is the decision — so a policy cannot execute the tool, mutate the run, or become a second place where control flow lives.
Methods
Section titled “Methods”decide()
Section titled “decide()”decide(req): | PolicyDecision| Promise<PolicyDecision>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”| PolicyDecision
| Promise<PolicyDecision>