{"record":{"id":"8e36eb876fe06edf","repo":"paperclipai/paperclip","slug":"path-is-required","errorCode":null,"errorMessage":"path is required","messagePattern":"path is required","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/plugins/plugin-llm-wiki/src/worker.ts","lineNumber":843,"sourceCode":"      return listPages(ctx, {\n        companyId,\n        wikiId: stringField(params.wikiId),\n        spaceSlug: stringField(params.spaceSlug),\n        pageType: stringField(params.pageType),\n        includeRaw: params.includeRaw === true || params.includeRaw === \"true\",\n        limit: typeof params.limit === \"number\" ? params.limit : null,\n      });\n    });\n\n    ctx.data.register(\"sources\", async (params) => {\n      const companyId = readCompanyIdFromParams(params);\n      return listSources(ctx, { companyId, wikiId: stringField(params.wikiId), spaceSlug: stringField(params.spaceSlug), limit: typeof params.limit === \"number\" ? params.limit : null });\n    });\n\n    ctx.data.register(\"page-content\", async (params) => {\n      const companyId = readCompanyIdFromParams(params);\n      const path = stringField(params.path);\n      if (!path) throw new Error(\"path is required\");\n      return readWikiPage(ctx, { companyId, wikiId: stringField(params.wikiId), spaceSlug: stringField(params.spaceSlug), path });\n    });\n\n    ctx.data.register(\"template\", async (params) => {\n      const companyId = readCompanyIdFromParams(params);\n      const path = stringField(params.path) ?? \"AGENTS.md\";\n      return readTemplate(ctx, { companyId, path });\n    });\n\n    ctx.data.register(\"operations\", async (params) => {\n      const companyId = readCompanyIdFromParams(params);\n      return listOperations(ctx, {\n        companyId,\n        wikiId: stringField(params.wikiId),\n        spaceSlug: stringField(params.spaceSlug),\n        operationType: stringField(params.operationType),\n        status: stringField(params.status),\n        limit: typeof params.limit === \"number\" ? params.limit : null,","sourceCodeStart":825,"sourceCodeEnd":861,"githubUrl":"https://github.com/paperclipai/paperclip/blob/5716fe907e596ce73501408fc6efdb19fb61edf2/packages/plugins/plugin-llm-wiki/src/worker.ts#L825-L861","documentation":"Error \"path is required\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at packages/plugins/plugin-llm-wiki/src/worker.ts:847 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass the path of the file 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"}