🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Checkpoint: File edits
rUv7d657a4d3e87
diff --git a/v3/@claude-flow/codex/src/migrations/index.ts b/v3/@claude-flow/codex/src/migrations/index.tsindex 11fdb0fa59..0666700494 100644--- a/v3/@claude-flow/codex/src/migrations/index.ts+++ b/v3/@claude-flow/codex/src/migrations/index.ts@@ -497,9 +497,9 @@ function extractBehavioralRules(content: string): string[] {// Look for Behavioral Rules sectionconst behavioralMatch = content.match(/##\s*Behavioral\s*Rules[^\n]*\n([\s\S]*?)(?=\n##|\n#\s|$)/i);- if (behavioralMatch) {- const lines = behavioralMatch[1].split('\n');- for (const line of lines) {+ if (behavioralMatch && behavioralMatch[1]) {+ const ruleLines = behavioralMatch[1].split('\n');+ for (const line of ruleLines) {const trimmed = line.trim();if (trimmed.startsWith('- ')) {rules.push(trimmed.substring(2));@@ -511,9 +511,9 @@ function extractBehavioralRules(content: string): string[] {// Also look for Security Rulesconst securityMatch = content.match(/##\s*Security\s*Rules?[^\n]*\n([\s\S]*?)(?=\n##|\n#\s|$)/i);- if (securityMatch) {- const lines = securityMatch[1].split('\n');- for (const line of lines) {+ if (securityMatch && securityMatch[1]) {+ const securityLines = securityMatch[1].split('\n');+ for (const line of securityLines) {const trimmed = line.trim();if (trimmed.startsWith('- ')) {rules.push(trimmed.substring(2));