{"record":{"id":"8eba076482dcc860","repo":"deepseek-ai/deepseek-harness","slug":"typert-invalid-subject-value-must-be-no","errorCode":null,"errorMessage":"typert: invalid ${subject} \"${value}\" — must be nonempty and must not contain \"#\"","messagePattern":"typert: invalid (.+?) \"(.+?)\" — must be nonempty and must not contain \"#\"","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/typert/registry/src/service.ts","lineNumber":713,"sourceCode":"}\n\nfunction validateCodec(codec: InvocationDescriptor['result'], subject: string): void {\n  if (codec.mode === 'src-json') return\n  validateNonempty(`${subject} type symbol`, codec.typeSymbol)\n  if (typeof codec.schema.parse !== 'function') {\n    throw new Error(`typert: ${subject} strict codec has no parse() method`)\n  }\n}\n\nfunction validateWireName(subject: string, value: string): void {\n  if (value === '.' || value === '..' || !/^[A-Za-z0-9_$.-]+$/.test(value)) {\n    throw new Error(`typert: invalid ${subject} \"${value}\" — must contain only RPC endpoint segment characters`)\n  }\n}\n\nfunction validateSegment(subject: string, value: string): void {\n  if (value.length === 0 || value.includes('#')) {\n    throw new Error(`typert: invalid ${subject} \"${value}\" — must be nonempty and must not contain \"#\"`)\n  }\n}\n\nfunction validateNonempty(subject: string, value: string): void {\n  if (value.length === 0) throw new Error(`typert: invalid ${subject} — must be nonempty`)\n}\n\nexport default TypertRegistry\n","sourceCodeStart":695,"sourceCodeEnd":722,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/typert/registry/src/service.ts#L695-L722","documentation":"Error \"typert: invalid ${subject} \"${value}\" — must be nonempty and must not contain \"#\"\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/typert/registry/src/service.ts:713 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a nonempty value without \"#\" characters."],"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"}