[ORCH-001] Agent Task Database Schema #96

Closed
opened 2026-01-29 23:30:11 +00:00 by jason.woltje · 0 comments
Owner

Phase 1: Foundation

Create database schema for task orchestration:

  • agent_tasks table with state machine
  • agent_task_logs for audit trail
  • clawdbot_backends for backend configuration

Deliverables

  • Prisma schema for AgentTask model
  • Task state enum (PENDING, DISPATCHED, RUNNING, COMPLETED, FAILED, KILLED)
  • AgentTaskLog model (audit trail)
  • ClawdbotBackend model (backend config + health status)
  • Migration scripts

Removed (ClawdBot handles)

  • agent_heartbeats — ClawdBot manages agent health internally

Dependencies

None (foundation work)

  • #95 Agent Orchestration EPIC
  • jarvis-brain/projects/jarvis-platform/CLAWDBOT-INTEGRATION.md
## Phase 1: Foundation Create database schema for task orchestration: - agent_tasks table with state machine - agent_task_logs for audit trail - clawdbot_backends for backend configuration ## Deliverables - [ ] Prisma schema for AgentTask model - [ ] Task state enum (PENDING, DISPATCHED, RUNNING, COMPLETED, FAILED, KILLED) - [ ] AgentTaskLog model (audit trail) - [ ] ClawdbotBackend model (backend config + health status) - [ ] Migration scripts ## Removed (ClawdBot handles) - ~~agent_heartbeats~~ — ClawdBot manages agent health internally ## Dependencies None (foundation work) ## Related - #95 Agent Orchestration EPIC - jarvis-brain/projects/jarvis-platform/CLAWDBOT-INTEGRATION.md
jason.woltje added this to the M6-AgentOrchestration (0.0.6) milestone 2026-01-29 23:30:11 +00:00
jason.woltje added the databasedatabasep0phase-1 labels 2026-01-29 23:30:11 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#96