coleam00/Archon · error
Invalid run config at '${issuePath}': ${error.message}.
Error message
Invalid run config at '${issuePath}': ${error.message}. What it means
Error "Invalid run config at '${issuePath}': ${error.message}." thrown in coleam00/Archon.
Source
Thrown at packages/core/src/config/run-config.ts:113
}
function normalizePreset(path: string, preset: ModelAliasPreset): ModelAliasPreset {
try {
return normalizeStrictRunModelPreset(preset);
} catch (error) {
if (!(error instanceof RunModelPresetValidationError)) throw error;
const issuePath = `${path}.${error.issue.field}`;
if (error.issue.kind === 'unknown-provider') {
const available = getRegisteredProviders()
.map(entry => entry.id)
.sort()
.join(', ');
throw new Error(
`Invalid run config at '${issuePath}': unknown provider '${error.issue.provider}'.` +
(available ? ` Available: ${available}.` : ' No providers are registered.')
);
}
throw new Error(`Invalid run config at '${issuePath}': ${error.message}.`);
}
}
/** Validate and normalize constraints owned by the live provider registry and lifecycle. */
export function normalizeRunConfigSemantics(layer: WorkflowRunConfigLayer): WorkflowRunConfigLayer {
if (layer.assistant !== undefined) {
assertRegisteredProvider(layer.assistant, 'assistant');
}
const assistants: Record<string, Record<string, unknown>> = {};
for (const [provider, defaults] of Object.entries(layer.assistants ?? {})) {
assertRegisteredProvider(provider, `assistants.${provider}`);
if (provider === 'pi' && Object.hasOwn(defaults, 'env')) {
throw new Error(
"Run config key 'assistants.pi.env' cannot apply: Pi extension environment mutates " +
'process.env and is process-scoped.'
);
}
if (provider === 'pi' && Object.hasOwn(defaults, 'maxConcurrent')) {View on GitHub (pinned to 0773b97458)
When it happens
Trigger: Thrown at packages/core/src/config/run-config.ts:113 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of coleam00/Archon@0773b97458 (2026-09-01).
Data as JSON: /api/errors/6c6af527d4185643.
Report an issue: GitHub.