diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-26 11:52:28 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-26 11:52:28 -0500 |
| commit | 84397b5bb87071dacd82b192d1354382768eb54d (patch) | |
| tree | faf87f4ff1a4439a07ed82b13fcb25e76c4f8284 /Network/Wai/Middleware | |
| parent | 0e7cc8d0970c24cf24c0e3be221427981a799efb (diff) | |
add database layer for subagent job queue
Phase 1 of subagent architecture redesign. Adds Jobs.hs with:
- subagent_jobs table for persistent job queue
- subagent_events table for lifecycle event log
- Job CRUD: create, claim, complete, fail, cancel
- Event logging for started, progress, tool_call, error, completed
- Queries: pending jobs, running jobs, active summary for context
- All tests passing
This enables:
- Jobs survive process restarts
- Workers can claim and execute jobs independently
- Events flow back to Ava's context for collaborative debugging
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'Network/Wai/Middleware')
0 files changed, 0 insertions, 0 deletions
