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

rUv7fcbb99cefd1
diff --git a/v3/@claude-flow/codex/tests/validators.test.ts b/v3/@claude-flow/codex/tests/validators.test.ts
index efb3f19b14..a1d9da717a 100644
--- a/v3/@claude-flow/codex/tests/validators.test.ts
+++ b/v3/@claude-flow/codex/tests/validators.test.ts
@@ -442,18 +442,23 @@ example
expect(result.warnings.some(w => w.message.includes('Purpose'))).toBe(true);
});
- it('should warn about missing trigger conditions when no triggers field', async () => {
+ it('should warn about missing skip conditions when not specified', async () => {
const content = `---
-name: no-triggers
-description: Skill without trigger conditions
+name: no-skip
+description: Skill without skip conditions
+triggers: ['always']
---
-# No Triggers Skill
+# No Skip Skill
## Purpose
Does something
+## When to Trigger
+
+- Always
+
\`\`\`
example
\`\`\`
@@ -461,13 +466,8 @@ example
const result = await validateSkillMd(content);
- // Should warn about missing triggers when no triggers field and no "When to Trigger" section
- // The warning might say "Missing trigger conditions" or similar
- const hasTriggerWarning = result.warnings.some(w =>
- w.message.toLowerCase().includes('trigger') ||
- w.message.toLowerCase().includes('when to')
- );
- expect(hasTriggerWarning).toBe(true);
+ // Should warn about missing skip conditions when not specified
+ expect(result.warnings.some(w => w.message.toLowerCase().includes('skip'))).toBe(true);
});
it('should not warn about triggers when frontmatter has triggers field', async () => {