{"record":{"id":"75ea4ee2f74cd71d","repo":"paperclipai/paperclip","slug":"signing-secret-unconfigured","errorCode":"signing_secret_unconfigured","errorMessage":"${error.message}","messagePattern":"\\$\\{error\\.message\\}","errorType":"http","errorClass":"ToolGatewayHttpError","httpStatus":500,"severity":"error","filePath":"server/src/services/tool-gateway.ts","lineNumber":2279,"sourceCode":"        })\n        .where(\n          and(\n            eq(toolActionRequests.id, actionRequest.id),\n            eq(toolActionRequests.status, \"pending\"),\n          ),\n        );\n      if (error instanceof ToolActionSigningSecretMissingError) {\n        await db\n          .update(toolInvocations)\n          .set({\n            status: \"failed\",\n            errorCode: \"signing_secret_unconfigured\",\n            errorMessage: error.message,\n            completedAt: new Date(),\n            updatedAt: new Date(),\n          })\n          .where(eq(toolInvocations.id, input.invocation.id));\n        throw new ToolGatewayHttpError(\n          500,\n          error.message,\n          \"signing_secret_unconfigured\",\n          {\n            invocationId: input.invocation.id,\n            tool: input.tool.name,\n          },\n        );\n      }\n      throw error;\n    }\n    // Board-only technical detail for the formal-approval interaction (target=custom).\n    const detailsMarkdown = [\n      `Tool: \\`${input.tool.name}\\``,\n      `Risk: \\`${input.tool.risk}\\``,\n      \"\",\n      \"Arguments reviewed for execution:\",\n      \"\",","sourceCodeStart":2261,"sourceCodeEnd":2297,"githubUrl":"https://github.com/paperclipai/paperclip/blob/3f1d897a7c018d76563a21c6e39c3c9b03933622/server/src/services/tool-gateway.ts#L2261-L2297","documentation":"Error \"PAPERCLIP_TOOL_ACTION_SIGNING_SECRET is not configured; signed tool action approvals cannot be issued. Set PAPERCLIP_TOOL_ACTION_SIGNING_SECRET in this instance's environment (worktrees inherit it from .paperclip/.env).\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at server/src/services/tool-gateway.ts:1594 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set PAPERCLIP_TOOL_ACTION_SIGNING_SECRET in the server environment (worktrees inherit from .paperclip/.env) and restart the instance."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3f1d897a7c018d76563a21c6e39c3c9b03933622","analyzedAt":"2026-09-18T08:03:59.046Z","contentChangedAt":"2026-09-18T08:03:59.046Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}