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

rUvf982edb2968c
diff --git a/v3/@claude-flow/codex/tests/generators.test.ts b/v3/@claude-flow/codex/tests/generators.test.ts
index 6587f7aa69..057605f4bc 100644
--- a/v3/@claude-flow/codex/tests/generators.test.ts
+++ b/v3/@claude-flow/codex/tests/generators.test.ts
@@ -537,8 +537,8 @@ describe('generateBuiltInSkill', () => {
expect(result.skillMd).toContain('name: memory-management');
expect(result.skillMd).toContain('AgentDB memory system');
- expect(result.skillMd).toContain('Store Data');
- expect(result.skillMd).toContain('Search Data');
+ expect(result.skillMd).toContain('Store Pattern');
+ expect(result.skillMd).toContain('Semantic Search');
});
it('should generate sparc-methodology skill', async () => {
@@ -554,7 +554,7 @@ describe('generateBuiltInSkill', () => {
const result = await generateBuiltInSkill('security-audit');
expect(result.skillMd).toContain('name: security-audit');
- expect(result.skillMd).toContain('Security scanning');
+ expect(result.skillMd).toContain('security scanning');
expect(result.skillMd).toContain('Full Security Scan');
expect(result.skillMd).toContain('--depth full');
});
@@ -572,8 +572,8 @@ describe('generateBuiltInSkill', () => {
const result = await generateBuiltInSkill('github-automation');
expect(result.skillMd).toContain('name: github-automation');
- expect(result.skillMd).toContain('CI/CD and PR management');
- expect(result.skillMd).toContain('Create PR');
+ expect(result.skillMd).toContain('GitHub workflow automation');
+ expect(result.skillMd).toContain('Create Pull Request');
expect(result.skillMd).toContain('gh pr create');
});
@@ -583,12 +583,23 @@ describe('generateBuiltInSkill', () => {
);
});
- it('should return empty scripts and references', async () => {
+ it('should return generated scripts for skills with scripts', async () => {
const result = await generateBuiltInSkill('swarm-orchestration');
- expect(result.scripts).toEqual({});
+ // Scripts are now generated for skills that have them
+ expect(Object.keys(result.scripts).length).toBeGreaterThan(0);
expect(result.references).toEqual({});
});
+
+ it('should generate valid bash scripts', async () => {
+ const result = await generateBuiltInSkill('memory-management');
+
+ // Check that scripts are generated and contain bash shebang
+ for (const script of Object.values(result.scripts)) {
+ expect(script).toContain('#!/bin/bash');
+ expect(script).toContain('set -e');
+ }
+ });
});
// =============================================================================