feat: T2.x eval harness + RPC task dispatch #264
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/rpc-eval-combined"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Combined PR: T2.x Phase 1 eval harness + RPC task dispatch.
Eval harness (store):
RPC task dispatch (daemon):
Refactor:
Also:
8 files, +659/-40. Reviewed and approved.
Adds RPC dispatch to poll_tasks() — when a claimed task has an agent_id matching a running autospawned agent (zot rpc), the daemon sends the task description via the existing RPC channel and transitions the task to 'started'. Key changes: - Resolves store row ID → spawn handle ID via get_agent().name - Falls back to spawn-per-task path if no RPC agent found - Uses existing send_prompt() on RpcSender Pipeline verified end-to-end: intake-task → queued → scheduler tick → claimed → poll_tasks RPC dispatch → started ✅ Remaining: persistent RPC agents don't exit after one task, so the current poll_exit-based cost capture (triggered by process exit) doesn't fire. Periodic pane-usage snapshot needed for long-running RPC agents.