{"record":{"id":"185ec63dd67cb064","repo":"deepseek-ai/deepseek-harness","slug":"type-graph-references-missing-declaration-id","errorCode":null,"errorMessage":"type graph references missing declaration ${id}","messagePattern":"type graph references missing declaration (.+?)","errorType":"exception","errorClass":"TypeGraphRenderError","httpStatus":null,"severity":"error","filePath":"packages/typert/generator/src/renderer.ts","lineNumber":66,"sourceCode":"  /**\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.\n   */\n  member(id: string): MemberModel {\n    const member = this.members.get(id)\n    if (member === undefined) throw new TypeGraphRenderError(`type graph references missing member ${id}`)\n    return member\n  }\n\n  /**\n   * Render one type expression from the retained source structure.\n   * @param id - type node id.\n   * @param references - optional generated names for declaration references.","sourceCodeStart":48,"sourceCodeEnd":84,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/typert/generator/src/renderer.ts#L48-L84","documentation":"Error \"type graph references missing declaration ${id}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/typert/generator/src/renderer.ts:66 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the type graph so every referenced declaration 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"}