{"record":{"id":"002ed78e26cf25b9","repo":"deepseek-ai/deepseek-harness","slug":"typert-remote-emitter-symbol-imported-symbol-h","errorCode":null,"errorMessage":"typert Remote emitter: symbol ${imported.symbol} has inconsistent public imports","messagePattern":"typert Remote emitter: symbol (.+?) has inconsistent public imports","errorType":"exception","errorClass":"TypertEmitError","httpStatus":null,"severity":"error","filePath":"packages/typert/generator/src/emitter.ts","lineNumber":885,"sourceCode":"\nfunction strictCodec(boundary: RemoteBoundaryModel, schema: string): string {\n  return [\n    '{',\n    '  mode: \\'strict\\',',\n    `  typeSymbol: ${quote(boundary.typeSymbol)},`,\n    `  schema: ${schema},`,\n    '}',\n  ].join('\\n')\n}\n\nfunction remoteImports(invocations: readonly InvocationModel[]): RemoteTypeImportModel[] {\n  const imports = new Map<SymbolId, RemoteTypeImportModel>()\n  const add = (boundary: RemoteBoundaryModel): void => {\n    for (const imported of boundary.imports) {\n      const current = imports.get(imported.symbol)\n      if (current !== undefined\n        && (current.specifier !== imported.specifier || current.name !== imported.name)) {\n        throw new TypertEmitError(`typert Remote emitter: symbol ${imported.symbol} has inconsistent public imports`)\n      }\n      imports.set(imported.symbol, imported)\n    }\n  }\n  for (const invocation of invocations) {\n    if (invocation.invocation.kind === 'context') add(invocation.invocation.boundary)\n    for (const parameter of invocation.parameters) add(parameter.boundary)\n    add(invocation.result)\n  }\n  return [...imports.values()].sort((left, right) =>\n    left.specifier.localeCompare(right.specifier) || left.name.localeCompare(right.name))\n}\n\nfunction allocateRemoteImportNames(imports: readonly RemoteTypeImportModel[]): ReadonlyMap<SymbolId, string> {\n  const used = new Set(['TypertRemoteContribution', 'TYPERT_REMOTE'])\n  const names = new Map<SymbolId, string>()\n  for (const imported of imports) {\n    const base = safeIdentifier(imported.name)","sourceCodeStart":867,"sourceCodeEnd":903,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/typert/generator/src/emitter.ts#L867-L903","documentation":"Error \"typert Remote emitter: symbol ${imported.symbol} has inconsistent public imports\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/typert/generator/src/emitter.ts:885 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Make the symbol's public imports consistent across faces; export it from one canonical module."],"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"}