{"record":{"id":"49a9daea8b05083d","repo":"paperclipai/paperclip","slug":"issue-follow-up-blocked-by-unresolved-blockers","errorCode":null,"errorMessage":"Issue follow-up blocked by unresolved blockers","messagePattern":"Issue follow-up blocked by unresolved blockers","errorType":"http","errorClass":null,"httpStatus":409,"severity":"error","filePath":"server/src/routes/issues.ts","lineNumber":5213,"sourceCode":"    if (!run) return true;\n    if (!isStatusOnlyRecoveryContext(run.contextSnapshot)) return true;\n\n    res.status(403).json({\n      error: \"Status-only recovery runs cannot create or modify approvals\",\n      details: {\n        issueId: issue.id,\n        runId: run.id,\n        recoveryIntent: \"status_only\",\n        resumeRequiresNormalModel: true,\n      },\n    });\n    return false;\n  }\n\n  async function loadWorkProductRunAttribution(runId: string) {\n    return await db\n      .select({\n        id: heartbeatRuns.id,\n        companyId: heartbeatRuns.companyId,\n        agentId: heartbeatRuns.agentId,\n        agentCompanyId: agents.companyId,\n      })\n      .from(heartbeatRuns)\n      .innerJoin(agents, eq(heartbeatRuns.agentId, agents.id))\n      .where(eq(heartbeatRuns.id, runId))\n      .then((rows) => rows[0] ?? null);\n  }\n\n  async function resolveWorkProductCreatedByRunId(\n    req: Request,\n    res: Response,\n    companyId: string,\n    input: { createdByRunId?: string | null },\n    mode: \"create\" | \"update\",\n  ): Promise<string | null | undefined> {\n    const hasCreatedByRunId = Object.prototype.hasOwnProperty.call(input, \"createdByRunId\");","sourceCodeStart":5195,"sourceCodeEnd":5231,"githubUrl":"https://github.com/paperclipai/paperclip/blob/01ad8584922b5d85292b1723cae71fa0d9b07a19/server/src/routes/issues.ts#L5195-L5231","documentation":"409 guard in assertExplicitResumeIntentAllowed: the issue is blocked and its dependency readiness still lists unresolved blocker issues, so follow-up is refused until blockers resolve.","triggerScenarios":"Thrown at server/src/routes/issues.ts:5083 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Correct the request so it satisfies the condition stated in the error message, then retry; see the throwing line in the named file for the exact check."],"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-14T00:17:10.932Z"}