Remove workflow.xml runner and update CLI wording

This commit is contained in:
Dicky Moore 2026-02-05 16:27:54 +00:00
parent 9054719d93
commit 2212d92260
3 changed files with 2 additions and 16 deletions

View File

@ -195,7 +195,6 @@ async function runTests() {
const searchRoots = [path.join(projectRoot, 'src'), path.join(projectRoot, 'docs')];
const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml']);
const forbiddenRef = 'advanced-elicitation/workflow.xml';
const excludedFile = path.join(projectRoot, 'src', 'core', 'workflows', 'advanced-elicitation', 'workflow.xml');
const offenders = [];
const walk = async (dir) => {
@ -209,9 +208,6 @@ async function runTests() {
if (!allowedExtensions.has(path.extname(entry.name))) {
continue;
}
if (fullPath === excludedFile) {
continue;
}
const content = await fs.readFile(fullPath, 'utf8');
if (content.includes(forbiddenRef)) {
offenders.push(path.relative(projectRoot, fullPath));
@ -257,9 +253,6 @@ async function runTests() {
if (!allowedExtensions.has(path.extname(entry.name))) {
continue;
}
if (fullPath === excludedFile) {
continue;
}
const content = await fs.readFile(fullPath, 'utf8');
if (content.includes(forbiddenRef)) {
offenders.push(path.relative(projectRoot, fullPath));
@ -291,10 +284,6 @@ async function runTests() {
const searchRoots = [path.join(projectRoot, 'src'), path.join(projectRoot, 'docs'), path.join(projectRoot, 'tools')];
const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml']);
const forbiddenRef = 'workflow.xml';
const excludedFiles = new Set([
path.join(projectRoot, 'src', 'core', 'tasks', 'workflow.xml'),
path.join(projectRoot, 'src', 'core', 'workflows', 'advanced-elicitation', 'workflow.xml'),
]);
const offenders = [];
const walk = async (dir) => {
@ -308,9 +297,6 @@ async function runTests() {
if (!allowedExtensions.has(path.extname(entry.name))) {
continue;
}
if (excludedFiles.has(fullPath)) {
continue;
}
const content = await fs.readFile(fullPath, 'utf8');
if (content.includes(forbiddenRef)) {
offenders.push(path.relative(projectRoot, fullPath));

View File

@ -130,7 +130,7 @@ class ManifestGenerator {
}
/**
* Recursively find and parse workflow.yaml and workflow.md files
* Recursively find and parse workflow definition files
*/
async getWorkflowsFromPath(basePath, moduleName) {
const workflows = [];

View File

@ -324,7 +324,7 @@ class BaseIdeSetup {
}
/**
* Recursively find workflow files (workflow.yaml or workflow.md)
* Recursively find workflow definition files
* @param {string} dir - Directory to search
* @returns {Array} List of workflow file info objects
*/