Skip to content

fix(multi-bot): atomic config updates, dynamic agent routing & skill docs - #34

Merged
dodaa08 merged 10 commits into
RocketChat:mainfrom
dodaa08:SDK_migration_latest
Sep 17, 2026
Merged

dodaa08 merged 10 commits into
RocketChat:mainfrom
dodaa08:SDK_migration_latest

Conversation

@dodaa08

@dodaa08 dodaa08 commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Description

Fixes multi-bot provisioning and removal in the Rocket.Chat OpenClaw plugin. Ensures openclaw.json updates are written atomically to prevent double-reload 503 errors, fixes bound agent resolution for skills/cron commands, and adds a skill management guide.

Key Changes

  • Atomic Config Updates (config-updater.ts): addAccount & removeAccount now update accounts, bindings, and agents.entries atomically in a single write pass to eliminate rapid double-restarts and orphaned bindings.
  • Dynamic Agent Resolution (channel.ts & skill-commands.ts): Updated !skills and !cron to resolve the bot's true bound agent (resolveAgentIdForAccount), allowing accounts bound to main or custom agents to find their skills and schedule crons properly.
  • Skill Scope Tagging: Updated !skills menu to tag skills as [Global] (~/.openclaw/skills/) or [Agent: <id>] (~/.openclaw/workspace/<id>/skills/).
  • CI/CD Fix (publish.yml): Passed Rocket.Chat integration test secrets to publish workflow.
  • Documentation (docs/SKILLS.md): Added guide for global (--global) vs. per-agent (--agent <id>) skill installation.

@dodaa08
dodaa08 merged commit 5249204 into RocketChat:main Sep 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant