{"record":{"id":"dbf39bec2376adca","repo":"paperclipai/paperclip","slug":"projectid-is-required","errorCode":null,"errorMessage":"projectId is required","messagePattern":"projectId is required","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/plugins/plugin-llm-wiki/src/worker.ts","lineNumber":780,"sourceCode":"      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),\n        readCompanyIdFromParams(params),\n        routineOverridesFromParams(params),\n      );\n    });\n\n    ctx.actions.register(\"reconcile-managed-routine\", async (params) => {\n      return ctx.routines.managed.reconcile(\n        routineKeyField(params.routineKey),\n        readCompanyIdFromParams(params),","sourceCodeStart":762,"sourceCodeEnd":798,"githubUrl":"https://github.com/paperclipai/paperclip/blob/5716fe907e596ce73501408fc6efdb19fb61edf2/packages/plugins/plugin-llm-wiki/src/worker.ts#L762-L798","documentation":"Error \"projectId is required\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at packages/plugins/plugin-llm-wiki/src/worker.ts:784 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass projectId for the operation."],"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"}