Timmy Asks Clarifying Questions Before Work #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
What & Why
After a job passes eval but before the work payment invoice is generated, Timmy asks 1-2 targeted clarifying questions if the request is ambiguous. This produces better outputs, reduces wasted sats on misunderstood jobs, and makes Timmy feel like a thoughtful collaborator.
Done looks like
awaiting_clarificationstate; questions appear in Workshop chatOut of scope
Tasks
awaiting_clarificationto job state machine; addclarification_questionsJSONB andclarification_answerscolumns.awaiting_work_payment.Relevant files
artifacts/api-server/src/lib/agent.tsartifacts/api-server/src/routes/jobs.tsartifacts/api-server/src/routes/events.tsthe-matrix/js/websocket.jsthe-matrix/js/ui.js