MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / POL

Function POL

packages/core/sdk/src/policies.test.ts:206–210  ·  view source on GitHub ↗
(id: string, pattern: string, action: "approve" | "require_approval" | "block")

Source from the content-addressed store, hash-verified

204
205describe("effectivePolicyFromSorted", () => {
206 const POL = (id: string, pattern: string, action: "approve" | "require_approval" | "block") => ({
207 id: PolicyId.make(id),
208 pattern,
209 action,
210 });
211
212 it("returns user policy when one matches", () => {
213 const result = effectivePolicyFromSorted(

Callers 1

policies.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected