{"record":{"id":"f610f254d0b0dd7c","repo":"deepseek-ai/deepseek-harness","slug":"workspace-not-found-f610f2","errorCode":"workspace-not-found","errorMessage":"workspace \"${workspaceId}\" not found","messagePattern":"workspace \"(.+?)\" not found","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/host/apiproxy/src/api-proxy.ts","lineNumber":1009,"sourceCode":"  ) {\n    super(\n      `session \"${sessionId}\" already exists with cwd ${JSON.stringify(existingCwd)}; `\n      + `requested ${JSON.stringify(requestedCwd)}`,\n    )\n  }\n}\n\n/** An explicit Host naming operation would duplicate another Workspace title. */\nclass WorkspaceNameConflictError extends Error {\n  constructor(readonly workspaceName: string) {\n    super(`workspace name '${workspaceName}' is already in use`)\n    this.name = 'WorkspaceNameConflictError'\n  }\n}\n\n/** Shared workspace-not-found error response of the workspace.* mutation rows. */\nfunction workspaceNotFound<T>(request: RpcRequest<unknown>, workspaceId: string): RpcResponse<T> {\n  return err(request, {\n    code: 'workspace-not-found',\n    message: `workspace \"${workspaceId}\" not found`,\n    details: { workspaceId },\n  })\n}\n\n/** Wire projection of one workspace entity (the workspace.* value row). */\nfunction workspaceView(workspace: Workspace): WorkspaceView {\n  return {\n    workspaceId: workspace.id,\n    path: workspace.path,\n    title: workspace.title,\n    sessionIds: [...workspace.sessionIds],\n    createdAt: workspace.createdAt,\n    updatedAt: workspace.updatedAt,\n  }\n}\n","sourceCodeStart":991,"sourceCodeEnd":1027,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/host/apiproxy/src/api-proxy.ts#L991-L1027","documentation":"Error \"workspace \"${workspaceId}\" not found\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/host/apiproxy/src/api-proxy.ts:1009 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the workspace id; create the workspace first if it does not exist."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}