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

rUv08adf5779907
diff --git a/agents/architect.yaml b/agents/architect.yaml
index d12fb35def..cf244cca04 100644
--- a/agents/architect.yaml
+++ b/agents/architect.yaml
@@ -8,4 +8,4 @@ capabilities:
optimizations:
- context-caching
- memory-persistence
-createdAt: "2026-01-07T13:29:43.921Z"
+createdAt: "2026-01-07T16:07:02.516Z"
diff --git a/agents/coder.yaml b/agents/coder.yaml
index 0ee849a892..ebb2e30470 100644
--- a/agents/coder.yaml
+++ b/agents/coder.yaml
@@ -8,4 +8,4 @@ capabilities:
optimizations:
- flash-attention
- token-reduction
-createdAt: "2026-01-07T13:29:43.920Z"
+createdAt: "2026-01-07T16:07:02.516Z"
diff --git a/agents/reviewer.yaml b/agents/reviewer.yaml
index 6c8a20647b..a870fb78d8 100644
--- a/agents/reviewer.yaml
+++ b/agents/reviewer.yaml
@@ -7,4 +7,4 @@ capabilities:
- best-practices
optimizations:
- incremental-analysis
-createdAt: "2026-01-07T13:29:43.921Z"
+createdAt: "2026-01-07T16:07:02.517Z"
diff --git a/agents/security-architect.yaml b/agents/security-architect.yaml
index 49f45aef08..61fe10508f 100644
--- a/agents/security-architect.yaml
+++ b/agents/security-architect.yaml
@@ -7,4 +7,4 @@ capabilities:
- security-review
optimizations:
- pattern-matching
-createdAt: "2026-01-07T13:29:43.921Z"
+createdAt: "2026-01-07T16:07:02.517Z"
diff --git a/agents/tester.yaml b/agents/tester.yaml
index 5dc91c719f..7351710ff2 100644
--- a/agents/tester.yaml
+++ b/agents/tester.yaml
@@ -7,4 +7,4 @@ capabilities:
- coverage
optimizations:
- parallel-execution
-createdAt: "2026-01-07T13:29:43.921Z"
+createdAt: "2026-01-07T16:07:02.516Z"
diff --git a/v3/@claude-flow/cli/src/commands/hooks.ts b/v3/@claude-flow/cli/src/commands/hooks.ts
index 25fe70f9af..00391ef577 100644
--- a/v3/@claude-flow/cli/src/commands/hooks.ts
+++ b/v3/@claude-flow/cli/src/commands/hooks.ts
@@ -2884,6 +2884,153 @@ const coverageGapsCommand: Command = {
}
};
+// Progress hook command
+const progressHookCommand: Command = {
+ name: 'progress',
+ description: 'Check V3 implementation progress via hooks',
+ options: [
+ {
+ name: 'detailed',
+ short: 'd',
+ description: 'Show detailed breakdown by category',
+ type: 'boolean',
+ default: false
+ },
+ {
+ name: 'sync',
+ short: 's',
+ description: 'Sync and persist progress to file',
+ type: 'boolean',
+ default: false
+ },
+ {
+ name: 'summary',
+ description: 'Show human-readable summary',
+ type: 'boolean',
+ default: false
+ }
+ ],
+ examples: [
+ { command: 'claude-flow hooks progress', description: 'Check current progress' },
+ { command: 'claude-flow hooks progress -d', description: 'Detailed breakdown' },
+ { command: 'claude-flow hooks progress --sync', description: 'Sync progress to file' },
+ { command: 'claude-flow hooks progress --summary', description: 'Human-readable summary' }
+ ],
+ action: async (ctx: CommandContext): Promise<CommandResult> => {
+ const detailed = ctx.flags.detailed as boolean;
+ const sync = ctx.flags.sync as boolean;
+ const summary = ctx.flags.summary as boolean;
+
+ const spinner = output.createSpinner();
+
+ try {
+ if (summary) {
+ spinner.start('Getting progress summary...');
+ const result = await callMCPTool<{ summary: string }>('progress/summary', {});
+ spinner.stop();
+
+ if (ctx.flags.format === 'json') {
+ output.printJson(result);
+ return { success: true, data: result };
+ }
+
+ output.writeln();
+ output.writeln(result.summary);
+ return { success: true, data: result };
+ }
+
+ if (sync) {
+ spinner.start('Syncing progress...');
+ const result = await callMCPTool<{
+ progress: number;
+ message: string;
+ persisted: boolean;
+ lastUpdated: string;
+ }>('progress/sync', {});
+ spinner.stop();
+
+ if (ctx.flags.format === 'json') {
+ output.printJson(result);
+ return { success: true, data: result };
+ }
+
+ output.writeln();
+ output.printSuccess(`Progress synced: ${result.progress}%`);
+ output.writeln(output.dim(` Persisted to .claude-flow/metrics/v3-progress.json`));
+ output.writeln(output.dim(` Last updated: ${result.lastUpdated}`));
+ return { success: true, data: result };
+ }
+
+ // Default: check progress
+ spinner.start('Checking V3 progress...');
+ const result = await callMCPTool<{
+ progress?: number;
+ overall?: number;
+ summary?: string;
+ breakdown?: Record<string, string>;
+ cli?: { progress: number; commands: number; target: number };
+ mcp?: { progress: number; tools: number; target: number };
+ hooks?: { progress: number; subcommands: number; target: number };
+ packages?: { progress: number; total: number; target: number; withDDD: number };
+ ddd?: { progress: number };
+ codebase?: { totalFiles: number; totalLines: number };
+ lastUpdated?: string;
+ }>('progress/check', { detailed });
+ spinner.stop();
+
+ if (ctx.flags.format === 'json') {
+ output.printJson(result);
+ return { success: true, data: result };
+ }
+
+ output.writeln();
+ const progressValue = result.overall ?? result.progress ?? 0;
+
+ // Create progress bar
+ const barWidth = 30;
+ const filled = Math.round((progressValue / 100) * barWidth);
+ const empty = barWidth - filled;
+ const bar = output.success('â–ˆ'.repeat(filled)) + output.dim('â–‘'.repeat(empty));
+
+ output.writeln(output.bold('V3 Implementation Progress'));
+ output.writeln();
+ output.writeln(`[${bar}] ${progressValue}%`);
+ output.writeln();
+
+ if (detailed && result.cli) {
+ output.writeln(output.highlight('CLI Commands:') + ` ${result.cli.progress}% (${result.cli.commands}/${result.cli.target})`);
+ output.writeln(output.highlight('MCP Tools:') + ` ${result.mcp?.progress ?? 0}% (${result.mcp?.tools ?? 0}/${result.mcp?.target ?? 0})`);
+ output.writeln(output.highlight('Hooks:') + ` ${result.hooks?.progress ?? 0}% (${result.hooks?.subcommands ?? 0}/${result.hooks?.target ?? 0})`);
+ output.writeln(output.highlight('Packages:') + ` ${result.packages?.progress ?? 0}% (${result.packages?.total ?? 0}/${result.packages?.target ?? 0})`);
+ output.writeln(output.highlight('DDD Structure:') + ` ${result.ddd?.progress ?? 0}% (${result.packages?.withDDD ?? 0}/${result.packages?.total ?? 0})`);
+ output.writeln();
+ if (result.codebase) {
+ output.writeln(output.dim(`Codebase: ${result.codebase.totalFiles} files, ${result.codebase.totalLines.toLocaleString()} lines`));
+ }
+ } else if (result.breakdown) {
+ output.writeln('Breakdown:');
+ for (const [category, value] of Object.entries(result.breakdown)) {
+ output.writeln(` ${output.highlight(category)}: ${value}`);
+ }
+ }
+
+ if (result.lastUpdated) {
+ output.writeln(output.dim(`Last updated: ${result.lastUpdated}`));
+ }
+
+ return { success: true, data: result };
+ } catch (error) {
+ spinner.fail('Progress check failed');
+ if (error instanceof MCPClientError) {
+ output.printError(`Error: ${error.message}`);
+ } else {
+ output.printError(`Unexpected error: ${String(error)}`);
+ }
+ return { success: false, exitCode: 1 };
+ }
+ }
+};
+
// Worker parent command
const workerCommand: Command = {
name: 'worker',