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

test(console): hostile-text expectation matches the removal-not-spacing mask

ruv710e16ec2820
diff --git a/plugins/ruflo-console/tests/behaviour.test.ts b/plugins/ruflo-console/tests/behaviour.test.ts
index 18301afa84..f2fc0c67c7 100644
--- a/plugins/ruflo-console/tests/behaviour.test.ts
+++ b/plugins/ruflo-console/tests/behaviour.test.ts
@@ -227,7 +227,7 @@ describe('behaviour', () => {
const swarm = textOf(await $.ui.render(paneAt(110)))
- expect(swarm).toContain('c1 EVIL') // the whole colour sequence is gone, not just its ESC byte
+ expect(swarm).toContain('c1EVIL') // the whole colour sequence, the bidi override and the NUL are removed outright (not spaced), so no credential can hide behind an invisible split
expect(swarm).not.toContain('[31m')
expect(swarm).not.toMatch(/[\u0000-\u001f‪-‮](?<!\n)/)
await $.command.run(command('claims'))