{"record":{"id":"55eca9685b2c3e35","repo":"paperclipai/paperclip","slug":"agentid-is-required","errorCode":null,"errorMessage":"agentId is required","messagePattern":"agentId is required","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/plugins/plugin-llm-wiki/src/worker.ts","lineNumber":771,"sourceCode":"    ctx.actions.register(\"reconcile-managed-agent\", async (params) => {\n      return reconcileWikiAgentResource(ctx, readCompanyIdFromParams(params));\n    });\n\n    ctx.actions.register(\"reconcile-managed-project\", async (params) => {\n      return reconcileWikiProjectResource(ctx, readCompanyIdFromParams(params));\n    });\n\n    ctx.actions.register(\"reconcile-managed-skills\", async (params) => {\n      return { managedSkills: await reconcileWikiSkillResources(ctx, readCompanyIdFromParams(params)) };\n    });\n\n    ctx.actions.register(\"reset-managed-skills\", async (params) => {\n      return { managedSkills: await resetWikiSkillResources(ctx, readCompanyIdFromParams(params)) };\n    });\n\n    ctx.actions.register(\"select-managed-agent\", async (params) => {\n      const agentId = stringField(params.agentId);\n      if (!agentId) throw new Error(\"agentId is required\");\n      return selectWikiAgentResource(ctx, {\n        companyId: readCompanyIdFromParams(params),\n        agentId,\n      });\n    });\n\n    ctx.actions.register(\"select-managed-project\", async (params) => {\n      const projectId = stringField(params.projectId);\n      if (!projectId) throw new Error(\"projectId is required\");\n      return selectWikiProjectResource(ctx, {\n        companyId: readCompanyIdFromParams(params),\n        projectId,\n      });\n    });\n\n    ctx.actions.register(\"reset-managed-routine\", async (params) => {\n      return ctx.routines.managed.reset(\n        routineKeyField(params.routineKey),","sourceCodeStart":753,"sourceCodeEnd":789,"githubUrl":"https://github.com/paperclipai/paperclip/blob/5716fe907e596ce73501408fc6efdb19fb61edf2/packages/plugins/plugin-llm-wiki/src/worker.ts#L753-L789","documentation":"Error \"agentId is required\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at packages/plugins/plugin-llm-wiki/src/worker.ts:775 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass agentId of the agent to operate on."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5716fe907e596ce73501408fc6efdb19fb61edf2","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}