{"record":{"id":"91eaedd0082bb53b","repo":"paperclipai/paperclip","slug":"plugin-environment-driver-plugindriverproviderk","errorCode":null,"errorMessage":"Plugin environment driver \"${pluginDriverProviderKey(config)}\" is not ready.","messagePattern":"Plugin environment driver \"(.+?)\" is not ready\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/src/services/environment-runtime.ts","lineNumber":2894,"sourceCode":"        environment: input.environment,\n        lease: input.lease,\n        failureReason: input.failureReason ?? \"lease_destroyed\",\n      });\n    },\n  };\n\n  /**\n   * Resolve the effective capability snapshot for one sandbox lease. This is\n   * the sandbox driver's implementation of the general capability-resolution\n   * method: it gates through {@link ENVIRONMENT_DRIVER_CAPABILITY_SUPPORT}'s\n   * `sandbox` support (the whole set, so this gate adds no restriction beyond\n   * declaration, verification, and narrowing), then reads the per-lease\n   * declaration, the live verified worker methods, and the per-lease\n   * narrowing, exactly as the runtime resolved them before this method\n   * existed.\n   */\n  async function resolveSandboxCapabilitiesForLease(\n    input: EnvironmentDriverLeaseInput,\n  ): Promise<EffectiveExecutionCapabilities> {\n    const metadata = input.lease.metadata ?? {};\n    const providerKey =\n      readString(metadata.provider) ??\n      (input.environment.driver === \"sandbox\"\n        ? readString((parseEnvironmentDriverConfig(input.environment).config as SandboxEnvironmentConfig).provider)\n        : null);\n    if (!providerKey) {\n      return classifyEnvironmentCapabilities({\n        verifiedMethods: [],\n        declared: null,\n        narrowing: null,\n        supportedCapabilities: ENVIRONMENT_DRIVER_CAPABILITY_SUPPORT.sandbox.supportedCapabilities,\n      });\n    }\n\n    let declared: SandboxProviderCapabilities | null = null;\n    let verifiedMethods: readonly string[] = [];","sourceCodeStart":2876,"sourceCodeEnd":2912,"githubUrl":"https://github.com/paperclipai/paperclip/blob/01ad8584922b5d85292b1723cae71fa0d9b07a19/server/src/services/environment-runtime.ts#L2876-L2912","documentation":"Plugin resolution failure in createPluginEnvironmentDriver's resolvePluginDriver: the registry lookup for config.pluginKey returned no plugin or one whose status is not 'ready' (e.g. 'installed' but worker not started, or errored). The plugin environment driver cannot dispatch to a plugin that is not fully ready, so the operation aborts.","triggerScenarios":"Thrown at server/src/services/environment-runtime.ts:2707 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the plugin environment driver status and restart/reenable the plugin before retrying."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"01ad8584922b5d85292b1723cae71fa0d9b07a19","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}