coleam00/Archon · error
Invalid workflows config in '${configPath}': ${issues}
Error message
Invalid workflows config in '${configPath}': ${issues} What it means
Error "Invalid workflows config in '${configPath}': ${issues}" thrown in coleam00/Archon.
Source
Thrown at packages/core/src/config/config-loader.ts:270
} catch (error) {
const err = error as NodeJS.ErrnoException;
if (err.code !== 'EEXIST') {
// Only log if it's not a "file exists" error
getLog().warn({ err, configPath }, 'default_config_create_failed');
}
}
}
function validateWorkflowContinuationConfig(parsed: unknown, configPath: string): void {
if (typeof parsed !== 'object' || parsed === null || !('workflows' in parsed)) return;
const config = parsed as { workflows?: unknown };
if (config.workflows === undefined) return;
const result = workflowContinuationConfigSchema.safeParse(config.workflows);
if (!result.success) {
const issues = result.error.issues
.map(issue => `${issue.path.join('.') || '<root>'}: ${issue.message}`)
.join('; ');
throw new Error(`Invalid workflows config in '${configPath}': ${issues}`);
}
config.workflows = result.data;
}
/**
* Load global config from ~/.archon/config.yaml
* Creates default config if file doesn't exist
*/
export async function loadGlobalConfig(forceReload = false): Promise<GlobalConfig> {
if (cachedGlobalConfig && !forceReload) {
return cachedGlobalConfig;
}
const configPath = getArchonConfigPath();
try {
const content = await readConfigFile(configPath);
const parsed = parseYaml(content);View on GitHub (pinned to 0773b97458)
When it happens
Trigger: Thrown at packages/core/src/config/config-loader.ts:270 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/cff935da01484c72.
Report an issue: GitHub.