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 edit:

rUv6296490e3f58
diff --git a/.claude/helpers/checkpoint-manager.sh b/.claude/helpers/checkpoint-manager.sh
index 027baf8fa1..6a69b736c2 100755
--- a/.claude/helpers/checkpoint-manager.sh
+++ b/.claude/helpers/checkpoint-manager.sh
@@ -291,20 +291,29 @@ case "$1" in
echo ""
echo "Usage: $0 <command> [options]"
echo ""
- echo "Commands:"
+ echo "Checkpoint Commands:"
echo " auto-checkpoint [message] Create automatic checkpoint"
echo " agent-checkpoint [message] Create agent milestone checkpoint"
echo " domain-checkpoint [message] Create domain completion checkpoint"
echo " security-checkpoint [message] Create security fix checkpoint"
echo " performance-checkpoint [message] Create performance improvement checkpoint"
- echo " session-end [message] Create session end checkpoint"
+ echo " session-end [message] Create session end checkpoint (always pushes)"
echo " milestone-checkpoint [message] Create major milestone checkpoint"
+ echo ""
+ echo "Management Commands:"
+ echo " push Force push all unpushed commits now"
echo " history Show recent checkpoint history"
echo " status Show latest checkpoint info"
+ echo " config Show current configuration"
+ echo ""
+ echo "Configuration (edit script to change):"
+ echo " AUTO_COMMIT_ENABLED=$AUTO_COMMIT_ENABLED"
+ echo " AUTO_PUSH_ENABLED=$AUTO_PUSH_ENABLED"
+ echo " PUSH_BATCH_SIZE=$PUSH_BATCH_SIZE (push after N commits)"
echo ""
echo "Examples:"
echo " $0 auto-checkpoint \"Updated statusline configuration\""
echo " $0 domain-checkpoint \"Completed task-management domain\""
- echo " $0 agent-checkpoint \"Deployed 8 agents successfully\""
+ echo " $0 push # Force push all pending commits"
;;
esac
\ No newline at end of file
diff --git a/v3/@claude-flow/hooks/src/swarm/index.ts b/v3/@claude-flow/hooks/src/swarm/index.ts
index 4b75d4f2bf..d05b64f4b8 100644
--- a/v3/@claude-flow/hooks/src/swarm/index.ts
+++ b/v3/@claude-flow/hooks/src/swarm/index.ts
@@ -178,8 +178,8 @@ export class SwarmCommunication extends EventEmitter {
handoffsCompleted: 0,
});
- // Start cleanup interval
- setInterval(() => this.cleanup(), 60000);
+ // Start cleanup interval (store reference to clear on shutdown)
+ this.cleanupTimer = setInterval(() => this.cleanup(), 60000);
// Listen for pattern storage to auto-broadcast
if (this.config.autoBroadcastPatterns) {