{"record":{"id":"fd1da7743dae74d3","repo":"deepseek-ai/deepseek-harness","slug":"no-provider","errorCode":"NO_PROVIDER","errorMessage":"no user-questions provider is registered","messagePattern":"no user-questions provider is registered","errorType":"error_code","errorClass":"UserQuestionError","httpStatus":null,"severity":"error","filePath":"packages/interaction/user-questions/src/index.ts","lineNumber":137,"sourceCode":"    // something invisible — in front of the user. Caught at the asker, where\n    // the mistake is, rather than in each UI.\n    for (const question of request.questions) {\n      const intent = question.intent\n      if (intent === undefined) continue\n      if (!(question.options ?? []).some(option => option.label === intent.approve)) {\n        throw new UserQuestionError(\n          `question ${question.id} declares intent ${intent.kind} whose approve label `\n          + `${JSON.stringify(intent.approve)} names none of its options`,\n          'BAD_INTENT')\n      }\n      if (question.detail === undefined) {\n        throw new UserQuestionError(\n          `question ${question.id} declares intent ${intent.kind} without the detail it reviews`,\n          'BAD_INTENT')\n      }\n    }\n    if (this.provider === undefined) {\n      throw new UserQuestionError('no user-questions provider is registered', 'NO_PROVIDER')\n    }\n    return this.provider.ask(request)\n  }\n}\n\nexport default UserQuestionService\n","sourceCodeStart":119,"sourceCodeEnd":144,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/interaction/user-questions/src/index.ts#L119-L144","documentation":"Error \"no user-questions provider is registered\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/interaction/user-questions/src/index.ts:137 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register a user-questions provider before asking questions."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}