{"record":{"id":"cdd44cb2fbeb87fe","repo":"deepseek-ai/deepseek-harness","slug":"host-cordis-inspect-provider-manifest-id-is-a","errorCode":null,"errorMessage":"Host Cordis inspect provider \"${manifest.id}\" is already registered","messagePattern":"Host Cordis inspect provider \"(.+?)\" is already registered","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/extensions/cordis-host-runner/src/inspect-registry.ts","lineNumber":64,"sourceCode":"export class CordisInspectRegistryService extends Service {\n  private readonly providers = new Map<string, HostCordisInspectProviderRegistration>()\n  private readonly pending = new Map<CordisInspectRequestId, PendingClientQuery>()\n  private clientManifest: readonly CordisInspectProviderManifest[] | undefined\n  private nextRequest = 1\n\n  /** Register the process-global Host registry. */\n  constructor(ctx: Context) {\n    super(ctx, 'cordisInspect')\n  }\n\n  /**\n   * Register one Host provider.\n   * @param registration - manifest and local query handler.\n   * @returns idempotent disposer.\n   */\n  register(registration: HostCordisInspectProviderRegistration): () => void {\n    const manifest = validateManifest(registration.manifest)\n    if (this.providers.has(manifest.id)) throw new Error(`Host Cordis inspect provider \"${manifest.id}\" is already registered`)\n    const stored = { ...registration, manifest }\n    this.providers.set(manifest.id, stored)\n    return () => {\n      if (this.providers.get(manifest.id) === stored) this.providers.delete(manifest.id)\n    }\n  }\n\n  /**\n   * Replace the mirrored Client provider directory.\n   * @param providers - complete Client manifest snapshot.\n   */\n  syncClientManifest(providers: readonly CordisInspectProviderManifest[]): void {\n    const ids = new Set<string>()\n    const validated = providers.map((provider) => {\n      const manifest = validateManifest(provider)\n      if (ids.has(manifest.id)) throw new Error(`Client Cordis inspect manifest repeats provider \"${manifest.id}\"`)\n      ids.add(manifest.id)\n      return manifest","sourceCodeStart":46,"sourceCodeEnd":82,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/extensions/cordis-host-runner/src/inspect-registry.ts#L46-L82","documentation":"Error \"Host Cordis inspect provider \"${manifest.id}\" is already registered\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/extensions/cordis-host-runner/src/inspect-registry.ts:64 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"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"}