{"record":{"id":"404e4f60104eb675","repo":"paperclipai/paperclip","slug":"workspace-job-resolved-name-is-missing-comman","errorCode":null,"errorMessage":"Workspace job \"${resolved.name}\" is missing command","messagePattern":"Workspace job \"(.+?)\" is missing command","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/src/services/workspace-runtime.ts","lineNumber":4695,"sourceCode":"\nexport async function runWorkspaceJobForControl(input: {\n  actor: ExecutionWorkspaceAgentRef;\n  issue: ExecutionWorkspaceIssueRef | null;\n  workspace: RealizedExecutionWorkspace;\n  command: Record<string, unknown>;\n  adapterEnv?: Record<string, string>;\n  recorder?: WorkspaceOperationRecorder | null;\n  metadata?: Record<string, unknown> | null;\n}) {\n  const resolved = resolveWorkspaceCommandExecution({\n    command: input.command,\n    workspace: input.workspace,\n    agent: input.actor,\n    issue: input.issue,\n    adapterEnv: input.adapterEnv ?? {},\n  });\n  if (!resolved.command) {\n    throw new Error(`Workspace job \"${resolved.name}\" is missing command`);\n  }\n\n  await ensureServerWorkspaceLinksCurrent(resolved.cwd);\n  return await recordWorkspaceCommandOperation(input.recorder, {\n    phase: \"workspace_provision\",\n    command: resolved.command,\n    cwd: resolved.cwd,\n    env: resolved.env,\n    label: `Workspace job \"${resolved.name}\"`,\n    metadata: {\n      workspaceCommandKind: \"job\",\n      workspaceCommandName: resolved.name,\n      ...(input.metadata ?? {}),\n    },\n    successMessage: `Completed workspace job \"${resolved.name}\"\\n`,\n  });\n}\n","sourceCodeStart":4677,"sourceCodeEnd":4713,"githubUrl":"https://github.com/paperclipai/paperclip/blob/a7e689b3c35347b529cb9f54c9b9a8575a3dcab6/server/src/services/workspace-runtime.ts#L4677-L4713","documentation":"resolveWorkspaceCommandExecution produced no command for the named workspace job. The job configuration for that name lacks a command entry, so there is nothing to execute for the control action.","triggerScenarios":"Thrown at server/src/services/workspace-runtime.ts:4542 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Add a command to the workspace job definition for \"${resolved.name}\" in the workspace commands configuration.","Remove the job entry if it is not meant to run."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a7e689b3c35347b529cb9f54c9b9a8575a3dcab6","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}