{"record":{"id":"a7f52ff051e10563","repo":"deepseek-ai/deepseek-harness","slug":"definition-unavailable","errorCode":"definition-unavailable","errorMessage":"its strict definition was withdrawn and SRC fallback is forbidden","messagePattern":"its strict definition was withdrawn and SRC fallback is forbidden","errorType":"error_code","errorClass":"TypertGatewayError","httpStatus":null,"severity":"error","filePath":"packages/api/gateway/src/index.ts","lineNumber":228,"sourceCode":"        namespace,\n        method,\n        args: payload.args,\n        signal,\n      })\n      // A void or explicitly absent business result carries no `value` field;\n      // JSON has no `undefined`, and the envelope's optional slot is the one\n      // representation of absence that both args and results already use.\n      return { ok: true, value }\n    } catch (error) {\n      return rpcFailure(error)\n    }\n  }\n\n  private resolveDescriptor(namespace: string, method: string, endpoint: string): InvocationDescriptor {\n    const strict = this.ctx.typert.local.get(endpoint)\n    if (strict !== undefined) return strict\n    if (this.ctx.typert.local.hasSeen(endpoint)) {\n      throw new TypertGatewayError(\n        'definition-unavailable',\n        endpoint,\n        'its strict definition was withdrawn and SRC fallback is forbidden',\n      )\n    }\n    return this.resolveSrcDescriptor(namespace, method, endpoint)\n  }\n\n  private resolveSrcDescriptor(namespace: string, method: string, endpoint: string): InvocationDescriptor {\n    const candidates: InvocationDescriptor[] = []\n    for (const [serviceKey, definition] of Object.entries(this.ctx.reflect.props)) {\n      if (definition.type !== 'service') continue\n      const receiver = this.ctx.get(serviceKey) as unknown\n      if (!isObject(receiver)) continue\n      const original = originalOf(receiver)\n      const value = Reflect.get(original, 'typertRemote') as unknown\n      if (value === undefined) continue\n      const binding = readBinding(value, original, serviceKey, endpoint)","sourceCodeStart":210,"sourceCodeEnd":246,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/api/gateway/src/index.ts#L210-L246","documentation":"Error \"its strict definition was withdrawn and SRC fallback is forbidden\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/api/gateway/src/index.ts:228 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide the strict typert definition for the endpoint; SRC fallback is forbidden."],"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"}