{"record":{"id":"a6abbee61f0db3da","repo":"deepseek-ai/deepseek-harness","slug":"typert-face-file-line-character-typ","errorCode":null,"errorMessage":"typert(${face}): ${file}:${line}:${character}: TypeScript TS${code}: ${message}","messagePattern":"typert\\((.+?)\\): (.+?):(.+?):(.+?): TypeScript TS(.+?): (.+?)","errorType":"exception","errorClass":"TypertAnalysisError","httpStatus":null,"severity":"error","filePath":"packages/typert/generator/src/analyzer.ts","lineNumber":565,"sourceCode":"      options: {\n        ...registration.config.parsed.options,\n        composite: false,\n        incremental: false,\n        noEmit: true,\n        // Source-plane workspace aliases resolve referenced packages to source.\n        // Widen only this diagnostic program's root so those imports do not\n        // produce an artificial TS6059 before Typert checks the public edge.\n        rootDir: this.options.root,\n      },\n    })\n    const diagnostics = [\n      ...program.getSyntacticDiagnostics(),\n      ...program.getSemanticDiagnostics(),\n    ].filter((diagnostic): diagnostic is ts.DiagnosticWithLocation => diagnostic.file !== undefined\n      && diagnostic.start !== undefined\n      && isWithin(diagnostic.file.fileName, registration.root))\n    if (diagnostics.length === 0) return\n    throw new TypertAnalysisError(\n      diagnostics\n        .map(diagnostic => formatProgramDiagnostic(this.options.root, registration.face, diagnostic))\n        .join('\\n'),\n    )\n  }\n\n  private queueEdit(edit: SourceEdit): void {\n    this.queuedEdit = edit\n  }\n\n  private applyEdit(edit: SourceEdit): void {\n    const source = readFileSync(edit.file, 'utf8')\n    writeFileSync(edit.file, source.slice(0, edit.position) + edit.text + source.slice(edit.position))\n    this.caches.invalidate(edit.file)\n  }\n}\n\ninterface FaceAnalyzerOptions {","sourceCodeStart":547,"sourceCodeEnd":583,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/typert/generator/src/analyzer.ts#L547-L583","documentation":"Error \"typert(${face}): ${file}:${line}:${character}: TypeScript TS${code}: ${message}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/typert/generator/src/analyzer.ts:565 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the TypeScript diagnostic at the reported file and position; run tsc on the face to see full context."],"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"}