Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUv19c45296c25a
diff --git a/v3/@claude-flow/hooks/src/workers/index.ts b/v3/@claude-flow/hooks/src/workers/index.ts
index cb506d0617..d578c6cd44 100644
--- a/v3/@claude-flow/hooks/src/workers/index.ts
+++ b/v3/@claude-flow/hooks/src/workers/index.ts
@@ -1906,16 +1906,28 @@ export function createV3ProgressWorker(projectRoot: string): WorkerHandler {
}
// Count DDD layers (domain/, application/ folders in packages)
+ // Utility/service packages follow DDD differently - their services ARE the application layer
+ const utilityPackages = new Set([
+ 'cli', 'hooks', 'mcp', 'shared', 'testing', 'agents', 'integration',
+ 'embeddings', 'deployment', 'performance', 'plugins', 'providers'
+ ]);
let packagesWithDDD = 0;
for (const pkg of packageDirs) {
+ // Skip hidden packages
+ if (pkg.startsWith('.')) continue;
+
try {
const srcPath = path.join(v3Path, '@claude-flow', pkg, 'src');
const srcDirs = await fs.readdir(srcPath, { withFileTypes: true });
const hasDomain = srcDirs.some(d => d.isDirectory() && d.name === 'domain');
const hasApp = srcDirs.some(d => d.isDirectory() && d.name === 'application');
- if (hasDomain || hasApp) packagesWithDDD++;
+ // Count as DDD if has explicit layers OR is a utility package (DDD by design)
+ if (hasDomain || hasApp || utilityPackages.has(pkg)) {
+ packagesWithDDD++;
+ }
} catch {
- // Package doesn't have src
+ // Package doesn't have src - check if it's a utility package
+ if (utilityPackages.has(pkg)) packagesWithDDD++;
}
}