{"record":{"id":"35b316563282551a","repo":"deepseek-ai/deepseek-harness","slug":"typert-invocation-descriptor-id-repeats-wire","errorCode":null,"errorMessage":"typert: invocation \"${descriptor.id}\" repeats wire field \"${parameter.wire}\"","messagePattern":"typert: invocation \"(.+?)\" repeats wire field \"(.+?)\"","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/typert/registry/src/service.ts","lineNumber":652,"sourceCode":"  return (filter.package === undefined || record.package === filter.package)\n    && (filter.face === undefined || record.face === filter.face)\n}\n\nfunction validateInvocation(descriptor: InvocationDescriptor): void {\n  validateNonempty('invocation id', descriptor.id)\n  validateSegment('invocation service key', descriptor.service)\n  validateWireName('invocation namespace', descriptor.namespace)\n  validateWireName('invocation method', descriptor.method)\n  if (descriptor.implementation !== undefined) {\n    validateWireName('invocation implementation method', descriptor.implementation)\n  }\n  validateCodec(descriptor.result, `${descriptor.id} result`)\n  const wires = new Set<string>()\n  for (const parameter of descriptor.parameters) {\n    validateWireName('parameter name', parameter.name)\n    validateWireName('parameter wire field', parameter.wire)\n    if (wires.has(parameter.wire)) {\n      throw new Error(`typert: invocation \"${descriptor.id}\" repeats wire field \"${parameter.wire}\"`)\n    }\n    wires.add(parameter.wire)\n    if (parameter.source === 'lookup') {\n      if (parameter.acceptsUndefined !== undefined) {\n        throw new Error(`typert: invocation \"${descriptor.id}\" lookup parameter \"${parameter.name}\" cannot accept undefined`)\n      }\n      if (parameter.lookup === undefined) {\n        throw new Error(`typert: invocation \"${descriptor.id}\" lookup parameter \"${parameter.name}\" has no lookup key`)\n      }\n      validateSegment('lookup key', parameter.lookup)\n    } else if (parameter.lookup !== undefined) {\n      throw new Error(`typert: invocation \"${descriptor.id}\" JSON parameter \"${parameter.name}\" declares a lookup key`)\n    }\n    validateCodec(parameter.codec, `${descriptor.id} parameter ${parameter.name}`)\n  }\n  const cancellation = descriptor.cancellation as { readonly parameter: string } | undefined\n  if (cancellation !== undefined && cancellation.parameter !== 'signal') {\n    throw new Error(`typert: invocation \"${descriptor.id}\" cancellation parameter must be \"signal\"`)","sourceCodeStart":634,"sourceCodeEnd":670,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/typert/registry/src/service.ts#L634-L670","documentation":"Error \"typert: invocation \"${descriptor.id}\" repeats wire field \"${parameter.wire}\"\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/typert/registry/src/service.ts:652 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Give each parameter a unique wire field name in the invocation."],"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"}