CUB-54: Implement Agent State Repository (EF Core) #23

Merged
overseer merged 4 commits from agent/dex/CUB-54-agent-state-repository into dev 2026-04-27 17:42:57 -04:00
Owner

What

Implement EF Core repository for Agent State with GetAllAsync, GetBySessionKeyAsync, and UpdateStatusAsync methods.

  • Add AgentState read model (Models/AgentState.cs)
  • Add IAgentStateRepository interface
  • Add AgentStateRepository EF Core implementation mapping Agent entity → AgentState model
  • Register IAgentStateRepository in DI (Program.cs)
  • Exclude ControlCenter sub-project from Api compilation

Linear

Closes CUB-54

## What Implement EF Core repository for Agent State with GetAllAsync, GetBySessionKeyAsync, and UpdateStatusAsync methods. - Add AgentState read model (Models/AgentState.cs) - Add IAgentStateRepository interface - Add AgentStateRepository EF Core implementation mapping Agent entity → AgentState model - Register IAgentStateRepository in DI (Program.cs) - Exclude ControlCenter sub-project from Api compilation ## Linear Closes CUB-54
Dex added 3 commits 2026-04-27 00:10:46 -04:00
- Add AgentState read model (Models/AgentState.cs)
- Add IAgentStateRepository interface with GetAllAsync,
  GetBySessionKeyAsync, UpdateStatusAsync
- Add AgentStateRepository EF Core implementation
  mapping Agent entity → AgentState model
- Register IAgentStateRepository in DI (Program.cs)
- Exclude ControlCenter sub-project from Api compilation

Build: 0 warnings, 0 errors
overseer added 1 commit 2026-04-27 17:42:43 -04:00
overseer scheduled this pull request to auto merge when all checks succeed 2026-04-27 17:42:53 -04:00
overseer merged commit 512a3364cf into dev 2026-04-27 17:42:57 -04:00
overseer deleted branch agent/dex/CUB-54-agent-state-repository 2026-04-27 17:42:58 -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#23