import type { AgentIdentity } from '../AgentStatusBar'
import type { AgentTurn } from '../AgentFeed'
import { OPT_DATA_INTEGRITY_SEGMENTS } from './forensics'

export const liveAgentIdentityFixture: AgentIdentity = {
  agentId: 't4.2',
  seat: 'Coder',
  taskId: 't4',
  model: 'composer-2.5',
  live: true,
  stateLabel: 'Working',
}

export const agentTurnsFixture: AgentTurn[] = OPT_DATA_INTEGRITY_SEGMENTS.filter(
  (segment) => segment.agentId === 't1',
).map((segment) => ({
  at: segment.t0,
  durMs: segment.durMs,
  phase: segment.cat,
  summary: `${segment.taskId} activity`,
}))
