{"record":{"id":"8315de199bd57436","repo":"paperclipai/paperclip","slug":"timed-out-checking-working-directory-on-remote-tar","errorCode":null,"errorMessage":"Timed out checking working directory on remote target: \"${cwd}\"","messagePattern":"Timed out checking working directory on remote target: \"(.+?)\"","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/adapter-utils/src/execution-target.ts","lineNumber":1106,"sourceCode":"  try {\n    result = await runAdapterExecutionTargetShellCommand(input.runId, target, trimmed, {\n      cwd: target.remoteCwd,\n      env: input.env ?? {},\n      timeoutSec: input.timeoutSec ?? 240,\n      graceSec: 10,\n    });\n  } catch (err) {\n    return {\n      code,\n      level: \"warn\",\n      message: \"Install command threw before completion.\",\n      detail: err instanceof Error ? err.message : String(err),\n    };\n  }\n  const tail = (text: string) =>\n    text.split(/\\r?\\n/).filter((line) => line.trim().length > 0).slice(-3).join(\" | \").slice(0, 480);\n  if (result.timedOut) {\n    return {\n      code,\n      level: \"warn\",\n      message: `Install command timed out: ${trimmed}`,\n      detail: tail(result.stderr || result.stdout),\n    };\n  }\n  if ((result.exitCode ?? 1) === 0) {\n    return {\n      code,\n      level: \"info\",\n      message: `Install command ran: ${trimmed}`,\n      ...(tail(result.stdout) ? { detail: tail(result.stdout) } : {}),\n    };\n  }\n  return {\n    code,\n    level: \"warn\",\n    message: `Install command exited ${result.exitCode}: ${trimmed}`,","sourceCodeStart":1088,"sourceCodeEnd":1124,"githubUrl":"https://github.com/paperclipai/paperclip/blob/3f1d897a7c018d76563a21c6e39c3c9b03933622/packages/adapter-utils/src/execution-target.ts#L1088-L1124","documentation":"Probe timeout when preparing a remote working directory: the shell check (mkdir -p / test -d) against the SSH/sandbox target exceeded its timeout budget, so directory existence could not be established.","triggerScenarios":"Thrown at packages/adapter-utils/src/execution-target.ts:1056 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check remote target connectivity and retry.","Increase the timeout for remote working directory checks."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3f1d897a7c018d76563a21c6e39c3c9b03933622","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}