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

Function POL

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

Source from the content-addressed store, hash-verified

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

Callers 1

policies.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected