{"record":{"id":"79d661de474e2f84","repo":"coleam00/Archon","slug":"workflow-workflowname-not-found-available-w","errorCode":null,"errorMessage":"Workflow '${workflowName}' not found.\n\nAvailable workflows:\n${availableWorkflows}","messagePattern":"Workflow '(.+?)' not found\\.\n\nAvailable workflows:\n(.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/cli/src/commands/workflow.ts","lineNumber":1606,"sourceCode":"        `Failed to capture workflow source from ${sourceRoot}: ${(error as Error).message}`\n      );\n    }\n    const rediscovered = await discoverWorkflowsWithConfig(\n      sourceRoot,\n      loadConfig,\n      preparedSource.roots\n    );\n    workflowEntries = rediscovered.workflows;\n    errors = rediscovered.errors;\n    workflow = resolveWorkflowName(\n      workflowName,\n      workflowEntries.map(ws => ws.workflow)\n    );\n    workflowEntry = workflow ? workflowEntries.find(ws => ws.workflow === workflow) : undefined;\n    workflowSource = workflowEntry?.source;\n    if (!workflow) {\n      const availableWorkflows = workflowEntries.map(ws => `  - ${ws.workflow.name}`).join('\\n');\n      throw new Error(\n        `Workflow '${workflowName}' not found.\\n\\nAvailable workflows:\\n${availableWorkflows}`\n      );\n    }\n    await recordSelectedWorkflow(preparedSource.captureRoot, workflow.name);\n    emitParseWarnings(workflowEntry?.parseWarnings, workflow.name);\n    emitDeprecationNotice(workflow);\n    // The gates above ran against the parent checkout's YAML; this lane executes the\n    // branch's graph, so judge the same signature gates against the branch vintage\n    // (mirrors the orchestrator's deferred runSignatureGates).\n    if (!options.resume) {\n      resolvedInputs = resolveTopLevelInputs(\n        workflow,\n        options.inputs ? parseInputAssignments(options.inputs) : undefined\n      );\n    }\n    await assertCliWorkflowRequirementsMet(workflow);\n  };\n","sourceCodeStart":1588,"sourceCodeEnd":1624,"githubUrl":"https://github.com/coleam00/Archon/blob/0773b9745896ef0612e709c80845a0f7db315b19/packages/cli/src/commands/workflow.ts#L1588-L1624","documentation":"Error \"Workflow '${workflowName}' not found.\n\nAvailable workflows:\n${availableWorkflows}\" thrown in coleam00/Archon.","triggerScenarios":"Thrown at packages/cli/src/commands/workflow.ts:1606 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"}