feat(CUB-62): [Control Center] Agent-to-Minion Mapping Service #24

Merged
overseer merged 2 commits from agent/dex/CUB-62-agent-minion-mapper into dev 2026-04-27 17:42:31 -04:00
Owner

Summary

Implements the Agent-to-Minion Mapping Service for the Control Center Command Hub.

Files Created

  • backend/ControlCenter/Models/AgentMinionMapping.csMinionSide, MinionState enums, AgentMinionMapping record, MinionStateUpdate record
  • backend/ControlCenter/Services/AgentMinionMapperService.cs — Service mapping agents to minion sprites/positions with SignalR push

Files Modified

  • backend/ControlCenter/Program.cs — Registered AgentMinionMapperService as singleton

What It Does

  • Static mappings: Rex/Dex/Hex → Dev side (indices 0-2), Larry/Mel/Buzz → Business side (indices 0-2)
  • Status mapping: Active/Idle/Thinking/Error → MinionState
  • SignalR integration: PublishMinionStateUpdateAsync() pushes updates to fleet and agent groups
  • Fleet snapshot: GetFullMinionState() returns initial state for all mapped minions

Validation

  • dotnet build — 0 warnings, 0 errors

Closes CUB-62

## Summary Implements the Agent-to-Minion Mapping Service for the Control Center Command Hub. ### Files Created - `backend/ControlCenter/Models/AgentMinionMapping.cs` — `MinionSide`, `MinionState` enums, `AgentMinionMapping` record, `MinionStateUpdate` record - `backend/ControlCenter/Services/AgentMinionMapperService.cs` — Service mapping agents to minion sprites/positions with SignalR push ### Files Modified - `backend/ControlCenter/Program.cs` — Registered `AgentMinionMapperService` as singleton ### What It Does - **Static mappings**: Rex/Dex/Hex → Dev side (indices 0-2), Larry/Mel/Buzz → Business side (indices 0-2) - **Status mapping**: Active/Idle/Thinking/Error → MinionState - **SignalR integration**: `PublishMinionStateUpdateAsync()` pushes updates to fleet and agent groups - **Fleet snapshot**: `GetFullMinionState()` returns initial state for all mapped minions ### Validation - `dotnet build` — 0 warnings, 0 errors Closes CUB-62
Dex added 1 commit 2026-04-27 05:12:07 -04:00
overseer added 1 commit 2026-04-27 17:42:18 -04:00
overseer scheduled this pull request to auto merge when all checks succeed 2026-04-27 17:42:27 -04:00
overseer merged commit 1c012de47b into dev 2026-04-27 17:42:31 -04:00
overseer deleted branch agent/dex/CUB-62-agent-minion-mapper 2026-04-27 17:42:31 -04:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: CubeCraft-Creations/Control-Center#24