b9c01cc1 ยท zzmq.dev@gmail.com/zz
Commit
b9c01cc1667cfad9c926fceb9937e78a788e250a
Rework zz work --assist as a TUI: ask picker + chat-driven revision loop Replaces the readline-based single-ask CLI prototype with a proper human-in-the-loop TUI, per direct feedback that the CLI version was confusing, cloned repos without asking, and didn't match the intended "dialog with the model, then submit" workflow. - lib/watchedRepoResolution.ts: extracts zz top's own repo-resolution chain (--repos > /api/me/repos if logged in > config.json > local discovery > empty) so --assist's picker follows identical logic instead of eagerly cloning every configured repo up front. - tui/AssistApp.tsx + cli/commands/workAssist.ts: a picker screen (claimable work/changeset_review asks across watched repos, zero cloning) and a session screen -- draft/decision appears in a chat transcript, free-text messages trigger reviseContributorWork/ discussReview for another turn, and /submit, /deny, /approve, /request-changes, /cancel finalize explicitly back into the protocol as a real ANSWER. - scriptedWork.ts: extracted generateVerifiedProposal (shared by a fresh proposal and a chat-revised one) and added reviseContributorWork/discussReview for the chat loop. Live-verified end to end via a pty-driven session: picker found a freshly posted ask with no clone until selected, chat feedback produced a revised draft, and /submit committed the revised (not original) file and posted the real changeset_review/submit_changeset pair. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q8tksS4bucUkJguqksSVYR
Troy Howard <thoward37@gmail.com> -- 2026-10-13T16:50:04.000Z