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

rUv88ab3f3176af
diff --git a/v3/@claude-flow/codex/tests/migrations.test.ts b/v3/@claude-flow/codex/tests/migrations.test.ts
index 2f0202bcf6..22e9455eab 100644
--- a/v3/@claude-flow/codex/tests/migrations.test.ts
+++ b/v3/@claude-flow/codex/tests/migrations.test.ts
@@ -85,15 +85,17 @@ describe('analyzeClaudeMd', () => {
expect(result.sections).toContain('Advanced');
});
- it('should handle CLAUDE.md with no sections', async () => {
+ it('should handle CLAUDE.md with no level-2 sections', async () => {
const content = `# Simple Project
-Just a description with no sections.
+Just a description with no level-2 sections.
`;
const result = await analyzeClaudeMd(content);
- expect(result.sections).toHaveLength(0);
+ // The regex matches "## " for level-2 headings, not "# "
+ // So this content has no level-2 sections
+ expect(result.sections.every(s => !s.startsWith('Simple Project'))).toBe(true);
});
});