← 返回
未分类 中文

Discord Cross-Gateway Delegation

Set up and operate full cross-gateway task delegation between two OpenClaw Discord bots across different PCs/gateways. Use when: another OpenClaw bot lives o...
在不同PC/网关上的两个OpenClaw Discord机器人之间建立并运行完整的跨网关任务委派。适用场景:另一个OpenClaw机器人运行于其他PC/网关时。
jini92 jini92 来源
未分类 clawhub v2.1.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 572
下载
💾 0
安装
1
版本
#latest

概述

Discord Cross-Gateway Delegation

Run a full Discord-based delegation loop between two OpenClaw bots on different PCs/gateways.

Core rule

Treat the second bot as an external worker, not as an internal session.

Do not use same-gateway assumptions like sessions_send, local subagents, or same-process routing.

Supported operating model

A complete delegation flow should include all of these stages:

  1. private delegation lane setup
  2. structured task envelope protocol
  3. optional DM natural-language trigger on the controller side
  4. worker-side intake in the delegation lane
  5. worker started/final replies in the lane
  6. relay-back of the final worker result into the original DM

If only steps 1-2 are working, the setup is incomplete.

Protocol rule

Use a protocol namespace that matches the worker lane.

Examples:

  • MACJINI lane: [MAC_TASK], [MAC_STATUS], [MAC_DONE]
  • KAIJINI lane: [KAI_TASK], [KAI_STATUS], [KAI_DONE]

Do not mix worker identity and protocol prefix unless you are intentionally keeping a legacy compatibility layer.

What to read first

  1. references/setup-checklist.md
  2. references/operating-modes.md
  3. references/full-process.md
  4. If the worker is a secondary execution bot, references/macjini-rollout.md
  5. If anything fails, references/diagnosis.md

Operating guidance

  • Prefer a private server delegation lane over public channels.
  • Support both quick handoff and orchestrated handoff.
  • For real work, prefer orchestrated handoff: the controller bot should understand the task first, generate the worker-facing envelope itself, then delegate.
  • Keep quick handoff as a shortcut for simple tests and short tasks.
  • Test DM trigger, lane intake, and DM relay-back as separate checkpoints.
  • Consider the setup successful only when the final worker result appears back in the original DM.
  • A lane message alone is not success.
  • A worker reply in the lane alone is not success.

If channel messages fail

Read references/diagnosis.md.

If the worker bot responds in DM but not in server channels, first assume a guild-channel inbound policy issue.

For groupPolicy: allowlist, explicitly add the target guild/channel under guilds, then re-test channel-based worker intake before falling back.

版本历史

共 1 个版本

  • v2.1.1 当前
    2026-03-30 11:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 866 📥 346,631
knowledge-management

Obsidian Daily Note

jini92
创建并管理 Obsidian 每日笔记。用于在需要写每日笔记、记录今日工作、记录会话活动或创建每日摘要时被触发。
★ 1 📥 934
ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,165 📥 939,148