foolish-bandit/gary: Draft Something shell reusing existing chat plumbing
Commit `7c520d4f` adds a `/draft` page with a two-step UI: choose one of eight document types, fill in description and optional audience/tone, optionally attach a document, then hand off to the existing assistant chat. No backend changes. The PR merged in minutes.
The eight document type options are Email, Letter, Memo, Clause, Summary, Demand letter, Client update, and Custom draft. Each carries a type-specific opening line that becomes the first token of the assembled prompt. The user's description follows under "What I need:", then optional audience and tone lines, then a fixed tail from DEFAULT_INSTRUCTION:
"Draft the requested legal document using the facts provided. Be clear, organized, and practical. Do not invent facts. Flag any missing information that would be needed before finalizing."
Document attachment is optional and goes through the existing uploadStandaloneDocument path. The chat handoff calls useAssistantChat.handleNewChat with the assembled MikeMessage, then router.push to /assistant/chat/{id}. There is no typed "draft" entity, no status tracking, no versioning -- each draft is just a chat thread in Assistant History.
The design is deliberately minimal about what it doesn't add. /workflows is untouched and stays in the sidebar for users who want more control. Tone and Audience are freeform text, not dropdowns. /draft is not in the sidebar; the only entry point is the rewired home card (previously /workflows). A lawyer-facing caution on Step 2 notes that the lawyer remains responsible for the final work.
The page is 562 lines. The only other change is the one-line rewire in InitialView.tsx.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?