The task_activity table (Claiming, Running, Reviewing, etc.) is redundant with agent_events.
- Map activity stages to event types (Claiming→claim, Running→already covered by tool calls, etc.)
- Remove task_activity table and related functions
- Update any code that reads task_activity to use agent_events instead