{"record":{"id":"bf173f8f0fa3deb1","repo":"paperclipai/paperclip","slug":"environment-driver-driver-driver-does-not-sup-bf173f","errorCode":null,"errorMessage":"Environment driver \"${driver.driver}\" does not support native file sync.","messagePattern":"Environment driver \"(.+?)\" does not support native file sync\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/src/services/environment-runtime.ts","lineNumber":3500,"sourceCode":"            providerLeaseId: input.lease.providerLeaseId,\n            metadata: input.lease.metadata ?? undefined,\n            expiresAt: input.lease.expiresAt?.toISOString() ?? null,\n          },\n          command: input.command,\n          args: input.args,\n          cwd: input.cwd,\n          env: input.env,\n          stdin: input.stdin,\n          timeoutMs: input.timeoutMs,\n        },\n      });\n    },\n\n    async resolveCapabilities(input) {\n      const metadata = input.lease.metadata ?? {};\n      const pluginId = readString(metadata.pluginId);\n      const driverKey = readString(metadata.driverKey);\n      const noCapabilities = () =>\n        classifyEnvironmentCapabilities({\n          verifiedMethods: [],\n          declared: null,\n          narrowing: null,\n          supportedCapabilities: ENVIRONMENT_DRIVER_CAPABILITY_SUPPORT.plugin.supportedCapabilities,\n        });\n\n      if (!pluginId || !driverKey) {\n        // The lease carries no plugin pin, so there is no exact plugin to read\n        // the declaration or the live worker methods from. Fail closed: resolve\n        // every capability false.\n        return noCapabilities();\n      }\n\n      // Read the declaration from the exact plugin that acquired the lease, not\n      // the plugin the environment's current config names. A plugin uninstall,\n      // a manifest change, or a config edit between the acquire and this call\n      // must not let a stale declaration or a different plugin's worker grant a","sourceCodeStart":3482,"sourceCodeEnd":3518,"githubUrl":"https://github.com/paperclipai/paperclip/blob/01ad8584922b5d85292b1723cae71fa0d9b07a19/server/src/services/environment-runtime.ts#L3482-L3518","documentation":"Capability dispatch guard in the environment-runtime facade's syncIn path: the resolved environment driver does not implement native file sync (supportsSync returned false / no syncIn). A native sync was requested for a driver that never opted into it, so the facade rejects instead of falling back to the base64-over-exec path implicitly.","triggerScenarios":"Thrown at server/src/services/environment-runtime.ts:3301 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use an environment driver that supports native file sync, or use an alternative sync mechanism."],"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-14T05:17:10.506Z"}