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

rUveb762e594607
diff --git a/v3/@claude-flow/codex/src/validators/index.ts b/v3/@claude-flow/codex/src/validators/index.ts
index 74715e909d..6c8ab2f9d3 100644
--- a/v3/@claude-flow/codex/src/validators/index.ts
+++ b/v3/@claude-flow/codex/src/validators/index.ts
@@ -91,7 +91,7 @@ export async function validateAgentsMd(content: string): Promise<ValidationResul
// Check for title (H1 heading)
if (!content.startsWith('# ')) {
const firstHeadingMatch = content.match(/^(#{1,6})\s+/m);
- if (firstHeadingMatch) {
+ if (firstHeadingMatch && firstHeadingMatch[1]) {
if (firstHeadingMatch[1].length > 1) {
errors.push({
path: 'AGENTS.md',