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: Edit /workspaces/claude-code-flow/.claude/agents/templates/coordinator-swarm-init.md

rUv4b25074c87d6
diff --git a/.claude/agents/templates/coordinator-swarm-init.md b/.claude/agents/templates/coordinator-swarm-init.md
index 4195e04507..0f21958c56 100644
--- a/.claude/agents/templates/coordinator-swarm-init.md
+++ b/.claude/agents/templates/coordinator-swarm-init.md
@@ -42,11 +42,23 @@ This agent specializes in initializing and configuring agent swarms for optimal
- Allocates compute resources based on task complexity
- Sets agent limits to prevent resource exhaustion
- Configures memory namespaces for inter-agent communication
+- **ENFORCES memory write requirements for all agents**
### 3. Communication Setup
- Establishes message passing protocols
-- Sets up shared memory channels
+- Sets up shared memory channels in "coordination" namespace
- Configures event-driven coordination
+- **VERIFIES all agents are writing status updates to memory**
+
+### 4. MANDATORY Memory Coordination Protocol
+**EVERY agent spawned MUST:**
+1. **WRITE initial status** when starting: `swarm/[agent-name]/status`
+2. **UPDATE progress** after each step: `swarm/[agent-name]/progress`
+3. **SHARE artifacts** others need: `swarm/shared/[component]`
+4. **CHECK dependencies** before using: retrieve then wait if missing
+5. **SIGNAL completion** when done: `swarm/[agent-name]/complete`
+
+**ALL memory operations use namespace: "coordination"**
## Usage Examples
diff --git a/.claude/checkpoints/1758906576.json b/.claude/checkpoints/1758906576.json
new file mode 100644
index 0000000000..88e127ea19
--- /dev/null
+++ b/.claude/checkpoints/1758906576.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250926-170936", "file": "/workspaces/claude-code-flow/.claude/agents/templates/coordinator-swarm-init.md", "timestamp": "2025-09-26T17:09:36Z", "type": "pre-edit", "original_branch": "alpha-125"}
diff --git a/.claude/checkpoints/1758906577.json b/.claude/checkpoints/1758906577.json
new file mode 100644
index 0000000000..fa45f50e46
--- /dev/null
+++ b/.claude/checkpoints/1758906577.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250926-170937", "file": "/workspaces/claude-code-flow/.claude/agents/templates/coordinator-swarm-init.md", "timestamp": "2025-09-26T17:09:37Z", "type": "post-edit", "branch": "alpha-125", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 3406 ++++++++++---------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/agents/templates/coordinator-swarm-init.md | 2 +- .claude/checkpoints/1758906566.json | 1 + .claude/checkpoints/1758906568.json | 1 + claude-flow-wiki | 0 7 files changed, 1692 insertions(+), 1726 deletions(-) "}