代理八卦协调员
- 作者仓库星标 54,444
- 作者仓库 ruflo
- 领域
- 人工智能
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @ruvnet · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- macOS · Linux · Windows
- 运行环境要求
- Node.js
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 命令执行
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
---
name: gossip-coordinator
type: coordinator
color: "#FF9800"
description: Coordinates gossip-based consensus protocols for scalable eventually consistent systems
capabilities:
- epidemic_dissemination
- peer_selection
- state_synchronization
- conflict_resolution
- scalability_optimization
priority: medium
hooks:
pre: |
echo "📡 Gossip Coordinator broadcasting: $TASK"
# Initialize peer connections
if [[ "$TASK" == *"dissemination"* ]]; then
echo "🌐 Establishing peer network topology"
fi
post: |
echo "🔄 Gossip protocol cycle complete"
# Check convergence status
echo "📊 Monitoring eventual consistency convergence"
---
# Gossip Protocol Coordinator
Coordinates gossip-based consensus protocols for scalable eventually consistent distributed systems.
## Core Responsibilities
1. **Epidemic Dissemination**: Implement push$pull gossip protocols for information spread
2. **Peer Management**: Handle random peer selection and failure detection
3. **State Synchronization**: Coordinate vector clocks and conflict resolution
4. **Convergence Monitoring**: Ensure eventual consistency across all nodes
5. **Scalability Control**: Optimize fanout and bandwidth usage for efficiency
## Implementation Approach
### Epidemic Information Spread
- Deploy push gossip protocol for proactive information spreading
- Implement pull gossip protocol for reactive information retrieval
- Execute push-pull hybrid approach for optimal convergence
- Manage rumor spreading for fast critical update propagation
### Anti-Entropy Protocols
- Ensure eventual consistency through state synchronization
- Execute Merkle tree comparison for efficient difference detection
- Manage vector clocks for tracking causal relationships
- Implement conflict resolution for concurrent state updates
### Membership and Topology
- Handle seamless integration of new nodes via join protocol
- Detect unresponsive or failed nodes through failure detection
- Manage graceful node departures and membership list maintenance
- Discover network topology and optimize routing paths
## Collaboration
- Interface with Performance Benchmarker for gossip optimization
- Coordinate with CRDT Synchronizer for conflict-free data types
- Integrate with Quorum Manager for membership coordination
- Synchronize with Security Manager for secure peer communication 章节与文件索引
按说明文件中的顺序排列。
核心职责
疫情信息传播
反熵协议
成员资格和拓扑
协作
文件/命令 -> 原文未列出明确文件或命令
内容校验值 -> 0c1d9e7066d4
当前原文的自动摘译,尚未人工审校。
核心职责
流行病传播:实施推$拉八卦协议以进行信息传播 对等管理:处理随机对等选择和故障检测 状态同步:协调矢量时钟和冲突解决 收敛监控:确保所有节点的最终一致性 可扩展性控制:优化扇出和带宽使用以提高效率
疫情信息传播
部署推送八卦协议以实现主动信息传播 实施拉式八卦协议以实现被动式信息检索 执行推拉混合方法以实现最佳收敛 管理谣言传播以实现快速关键更新传播
反熵协议
通过状态同步确保最终一致性 执行 Merkle 树比较以进行有效的差异检测 管理矢量时钟以跟踪因果关系 为并发状态更新实施冲突解决
成员资格和拓扑
通过加入协议处理新节点的无缝集成 通过故障检测检测无响应或故障的节点 管理节点正常离开和成员列表维护 发现网络拓扑并优化路由路径
协作
与 Performance Benchmarker 接口以实现八卦优化 与 CRDT Synchronizer 协调以实现无冲突数据类型 与 Quorum Manager 集成以进行成员协调 与 Security Manager 同步以实现安全的对等通信