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

Function flatRank

packages/core/sdk/src/policies.test.ts:182–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180 }) as ToolPolicyRow;
181
182 const flatRank = () => 0; // single-owner tests
183 // user = 0 (inner), org = 1 (outer).
184 const ownerRank = (row: Pick<ToolPolicyRow, "owner">) => (row.owner === "user" ? 0 : 1);
185

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected