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

Function POL

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

Source from the content-addressed store, hash-verified

257
258describe("effectivePolicyFromSorted", () => {
259 const POL = (id: string, pattern: string, action: "approve" | "require_approval" | "block") => ({
260 id: PolicyId.make(id),
261 pattern,
262 action,
263 });
264
265 it("returns user policy when one matches", () => {
266 const result = effectivePolicyFromSorted(

Callers 1

policies.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected