{"record":{"id":"09df15d64f62063e","repo":"deepseek-ai/deepseek-harness","slug":"type-graph-references-missing-node-id","errorCode":null,"errorMessage":"type graph references missing node ${id}","messagePattern":"type graph references missing node (.+?)","errorType":"exception","errorClass":"TypeGraphRenderError","httpStatus":null,"severity":"error","filePath":"packages/typert/generator/src/renderer.ts","lineNumber":55,"sourceCode":"    this.nodes = new Map(graph.nodes.map(node => [node.id, node]))\n    this.declarations = new Map(graph.declarations.map(declaration => [declaration.id, declaration]))\n    this.members = new Map(graph.declarations.flatMap(declaration => declaration.members.map(member => [member.id, member] as const)))\n    for (const declaration of graph.declarations) {\n      this.indexParameters(declaration.typeParameters)\n      for (const member of declaration.members) {\n        if ('signature' in member) this.indexParameters(member.signature.typeParameters)\n      }\n    }\n  }\n\n  /**\n   * Resolve a node id or fail with the broken edge.\n   * @param id - graph-local type node id.\n   * @returns the referenced node.\n   */\n  node(id: TypeNodeId): TypeNodeModel {\n    const node = this.nodes.get(id)\n    if (node === undefined) throw new TypeGraphRenderError(`type graph references missing node ${id}`)\n    return node\n  }\n\n  /**\n   * Resolve a declaration id or fail with the broken edge.\n   * @param id - workspace symbol id.\n   * @returns the referenced declaration.\n   */\n  declaration(id: SymbolId): TypeDeclarationModel {\n    const declaration = this.declarations.get(id)\n    if (declaration === undefined) throw new TypeGraphRenderError(`type graph references missing declaration ${id}`)\n    return declaration\n  }\n\n  /**\n   * Resolve a public member id.\n   * @param id - declaration member id.\n   * @returns the referenced member.","sourceCodeStart":37,"sourceCodeEnd":73,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/typert/generator/src/renderer.ts#L37-L73","documentation":"Error \"type graph references missing node ${id}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/typert/generator/src/renderer.ts:55 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the type graph so every referenced node id exists; regenerate the graph."],"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"}