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

Function fallbackPolicyId

packages/core/sdk/src/migration-spec.ts:941–942  ·  view source on GitHub ↗
(scopeId: string, pattern: string, action: string)

Source from the content-addressed store, hash-verified

939 `secret_${stableMigrationHash(scopeId, secretId)}`;
940
941const fallbackPolicyId = (scopeId: string, pattern: string, action: string): string =>
942 `policy_${stableMigrationHash(scopeId, pattern, action)}`;
943
944// ---------------------------------------------------------------------------
945// mcp / graphql source config → v2 integration config.

Callers 1

planMigrationFunction · 0.85

Calls 1

stableMigrationHashFunction · 0.85

Tested by

no test coverage detected