Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
chore(wrc): remove the symbols orphaned by deleting the blind binding helpers
Alfredo Lopez40da354ba2f2
diff --git a/workflow-recipes/package-lock.json b/workflow-recipes/package-lock.jsonindex b1f8cded0..972af30af 100644--- a/workflow-recipes/package-lock.json+++ b/workflow-recipes/package-lock.json@@ -1,12 +1,12 @@{"name": "workload-recipes-controller",- "version": "0.1.336",+ "version": "0.1.337","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "workload-recipes-controller",- "version": "0.1.336",+ "version": "0.1.337","license": "SEE LICENSE IN LICENSE","dependencies": {"@aws-sdk/client-s3": "^3.1009.0",diff --git a/workflow-recipes/package.json b/workflow-recipes/package.jsonindex 8da4b420d..5602ce9b1 100644--- a/workflow-recipes/package.json+++ b/workflow-recipes/package.json@@ -1,6 +1,6 @@{"name": "workload-recipes-controller",- "version": "0.1.336",+ "version": "0.1.337","description": "Workload Recipes Controller (WRC) - WorkloadRecipe lifecycle management and MCP server interface","main": "dist/main.js","engines": {diff --git a/workflow-recipes/src/workflow/sdkOnlyCodexBinding.test.ts b/workflow-recipes/src/workflow/sdkOnlyCodexBinding.test.tsindex 7b1633afb..2b11e96a2 100644--- a/workflow-recipes/src/workflow/sdkOnlyCodexBinding.test.ts+++ b/workflow-recipes/src/workflow/sdkOnlyCodexBinding.test.ts@@ -1,10 +1,6 @@-import { describe, expect, it, vi } from 'vitest'+import { describe, expect, it } from 'vitest'import { computeCodexPolicyHash } from '@clerum/llm-provider-attempt-contract'-import {- isPluginWorkloadSdkCodexBindingProof,- readVerifiedSdkOnlyCodexBinding,- verifySdkOnlyCodexBindingHash,-} from './sdkOnlyCodexBinding'+import { readVerifiedSdkOnlyCodexBinding } from './sdkOnlyCodexBinding'const MODEL = 'gpt-5.6-luna'@@ -15,67 +11,6 @@ const HASH = computeCodexPolicyHash({connectionKey: 'team-plus',})-/**- * An executable allowlist ConfigMap in the legacy (map-less) shape: the Codex- * flag is on, the connection is `connected`, and the catalog actually lists the- * model. Every one of those is load-bearing — the binding gate is the same- * cascade that derives `llm:codex:execute`, so dropping any of them must drop- * the binding too.- */-function eligibleLegacyConfigMap(overrides?: {- annotations?: Record<string, string>- stale?: boolean- models?: string[]-}) {- const models = overrides?.models ?? [MODEL]- return {- metadata: {- annotations: {- 'clerum.io/catalog-revision': '3',- 'clerum.io/connection-revision': '1',- 'clerum.io/codex-connection-status': 'connected',- 'clerum.io/codex-enabled': 'true',- ...overrides?.annotations,- },- },- data: {- 'codex-subscription': JSON.stringify(- models.map(model => ({ model, stale: overrides?.stale === true }))- ),- },- }-}--/** The same grant expressed through the per-connection map. */-function eligibleMappedConfigMap(overrides?: {- status?: string- models?: string[]- catalogModels?: string[]-}) {- return {- metadata: {- annotations: {- 'clerum.io/catalog-revision': '9',- 'clerum.io/connection-revision': '9',- 'clerum.io/codex-enabled': 'true',- 'clerum.io/codex-connections': JSON.stringify({- 'team-plus': {- status: overrides?.status ?? 'connected',- catalogRevision: 3,- connectionRevision: 1,- models: overrides?.models ?? [MODEL],- },- }),- },- },- data: {- 'codex-subscription': JSON.stringify(- (overrides?.catalogModels ?? [MODEL]).map(model => ({ model, stale: false }))- ),- },- }-}-describe('readVerifiedSdkOnlyCodexBinding', () => {// The derive/resolve suite moved to codexRecipeVerdict.test.ts along with// the functions themselves (R5-B1): those entry points were blind todiff --git a/workflow-recipes/src/workflow/sdkOnlyCodexBinding.ts b/workflow-recipes/src/workflow/sdkOnlyCodexBinding.tsindex f3b6e48c2..12e678f39 100644--- a/workflow-recipes/src/workflow/sdkOnlyCodexBinding.ts+++ b/workflow-recipes/src/workflow/sdkOnlyCodexBinding.ts@@ -1,9 +1,4 @@-import {- CODEX_PROVIDER,- CODEX_UNASSIGNED_CONNECTION_KEY,- type CodexConfigMapView,- toEligiblePolicyBinding,-} from '@clerum/codex-catalog-projection'+import { CODEX_UNASSIGNED_CONNECTION_KEY } from '@clerum/codex-catalog-projection'import { computeCodexPolicyHash } from '@clerum/llm-provider-attempt-contract'const POLICY_HASH_RE = /^[a-f0-9]{64}$/