fleet(B0-B8): Multi-agent OpenClaw orchestration#39
Open
mojomast wants to merge 2 commits intoclawdeckio:mainfrom
Open
fleet(B0-B8): Multi-agent OpenClaw orchestration#39mojomast wants to merge 2 commits intoclawdeckio:mainfrom
mojomast wants to merge 2 commits intoclawdeckio:mainfrom
Conversation
added 2 commits
February 22, 2026 17:22
- B0: Bootstrap with devplan and batch branches - B1: Agent/AgentToken models with secure digest storage - B2: Dual auth (user API + agent tokens), JoinToken for registration - B3: Agent lifecycle API (register/heartbeat/crud) - B4: Race-safe task dispatch with row locking - B5: Command queue for orchestration (drain/resume/restart) - B6: Go agent daemon skeleton - B7: Admin UI for agents, commands, task assignment - B8: Concurrency tests, simulated agent harness, security docs All fleet-related tests passing (75/75). Pre-existing session/registration redirect tests still pending (unrelated to fleet changes).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements a complete multi-agent fleet orchestration system for OpenClaw, enabling distributed task execution across multiple hosts.
Features Implemented
B0 - Bootstrap
B1 - Schema
Agentmodel with status, host metadata, tagsAgentTokenmodel with SHA-256 digest-only storageassigned_agentandclaimed_by_agentB2 - Auth
JoinTokenfor one-time agent registrationB3 - Agent Lifecycle API
POST /api/v1/agents/register- Bootstrap new agentsPOST /api/v1/agents/:id/heartbeat- Health + status updatesGET/PATCH /api/v1/agents- CRUD operationsB4 - Scheduler
FOR UPDATE SKIP LOCKEDB5 - Command Orchestration
AgentCommandmodel with state machine (pending→acknowledged→completed)B6 - Go Agent Daemon
B7 - Admin UI
B8 - Integration & Security
Test Results
Files Changed