{"record":{"id":"e352ccf4ea7d1b3d","repo":"paperclipai/paperclip","slug":"task-is-not-loaded-yet","errorCode":null,"errorMessage":"Task is not loaded yet.","messagePattern":"Task is not loaded yet\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"ui/src/components/RunWorkspaceRecoverySurface.tsx","lineNumber":128,"sourceCode":"          : {\n              title: \"Workspace branch reconciled\",\n              body: \"The recorded branch now matches the live branch; the task will resume.\",\n              tone: \"success\",\n            },\n      );\n    },\n    onError: (err) => {\n      pushToast({\n        title: \"Reconcile failed\",\n        body: err instanceof Error ? err.message : \"Unable to reconcile the workspace branch.\",\n        tone: \"error\",\n      });\n    },\n  });\n\n  const reissue = useMutation({\n    mutationFn: async (request: RecoveryReissueRequest) => {\n      if (!issue) throw new Error(\"Task is not loaded yet.\");\n      const sourceLabel = issue.identifier ?? \"the stalled task\";\n      const descriptionLines = [\n        `Re-issued from ${sourceLabel} on an isolated git worktree after a workspace branch divergence.`,\n        \"\",\n        `- Base ref (live branch): \\`${request.baseRef}\\``,\n        ...(request.expectedBranch ? [`- Recorded branch: \\`${request.expectedBranch}\\``] : []),\n        \"\",\n        \"---\",\n        \"\",\n        issue.description ?? \"\",\n      ];\n      return issuesApi.create(issue.companyId, {\n        title: `Re-issue (isolated): ${issue.title ?? sourceLabel}`,\n        description: descriptionLines.join(\"\\n\"),\n        priority: issue.priority,\n        projectId: issue.projectId ?? null,\n        parentId: issue.parentId ?? null,\n        assigneeAgentId:","sourceCodeStart":110,"sourceCodeEnd":146,"githubUrl":"https://github.com/paperclipai/paperclip/blob/120ae5428fa29bee300bcf806491cd4d965fbb7c/ui/src/components/RunWorkspaceRecoverySurface.tsx#L110-L146","documentation":"Error \"Task is not loaded yet.\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at ui/src/components/RunWorkspaceRecoverySurface.tsx:128 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Wait for the task to finish loading, then retry the recovery action."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"120ae5428fa29bee300bcf806491cd4d965fbb7c","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}