{"record":{"id":"59503374e5d0e3b6","repo":"coleam00/Archon","slug":"invalid-run-config-at-issuepath-unknown-prov","errorCode":null,"errorMessage":"Invalid run config at '${issuePath}': unknown provider '${error.issue.provider}'.${available ? ` Available: ${available}.` : ' No providers are registered.'}","messagePattern":"Invalid run config at '(.+?)': unknown provider '(.+?)'\\.(.+?)\\.` : ' No providers are registered\\.'\\}","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/core/src/config/run-config.ts","lineNumber":108,"sourceCode":"    .join(', ');\n  throw new Error(\n    `Invalid run config at '${path}': unknown provider '${provider}'.` +\n      (available ? ` Available: ${available}.` : ' No providers are registered.')\n  );\n}\n\nfunction normalizePreset(path: string, preset: ModelAliasPreset): ModelAliasPreset {\n  try {\n    return normalizeStrictRunModelPreset(preset);\n  } catch (error) {\n    if (!(error instanceof RunModelPresetValidationError)) throw error;\n    const issuePath = `${path}.${error.issue.field}`;\n    if (error.issue.kind === 'unknown-provider') {\n      const available = getRegisteredProviders()\n        .map(entry => entry.id)\n        .sort()\n        .join(', ');\n      throw new Error(\n        `Invalid run config at '${issuePath}': unknown provider '${error.issue.provider}'.` +\n          (available ? ` Available: ${available}.` : ' No providers are registered.')\n      );\n    }\n    throw new Error(`Invalid run config at '${issuePath}': ${error.message}.`);\n  }\n}\n\n/** Validate and normalize constraints owned by the live provider registry and lifecycle. */\nexport function normalizeRunConfigSemantics(layer: WorkflowRunConfigLayer): WorkflowRunConfigLayer {\n  if (layer.assistant !== undefined) {\n    assertRegisteredProvider(layer.assistant, 'assistant');\n  }\n  const assistants: Record<string, Record<string, unknown>> = {};\n  for (const [provider, defaults] of Object.entries(layer.assistants ?? {})) {\n    assertRegisteredProvider(provider, `assistants.${provider}`);\n    if (provider === 'pi' && Object.hasOwn(defaults, 'env')) {\n      throw new Error(","sourceCodeStart":90,"sourceCodeEnd":126,"githubUrl":"https://github.com/coleam00/Archon/blob/0773b9745896ef0612e709c80845a0f7db315b19/packages/core/src/config/run-config.ts#L90-L126","documentation":"Error \"Invalid run config at '${issuePath}': unknown provider '${error.issue.provider}'.${available ? ` Available: ${available}.` : ' No providers are registered.'}\" thrown in coleam00/Archon.","triggerScenarios":"Thrown at packages/core/src/config/run-config.ts:108 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":"0773b9745896ef0612e709c80845a0f7db315b19","analyzedAt":"2026-09-01T02:28:07.064Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T05:18:18.240Z"}