foolish-bandit builds Gary a guided front door for drafting

A new drafting flow walks lawyers from "what do I need" to a first draft without making them stare at a blank chat box.

draftingchat-ui

Instead of dropping people into an open-ended assistant, foolish-bandit added a short, structured path. You pick what you're writing - an email, a formal letter, a memo, a contract clause, a plain-English summary, a demand letter, a client update, or a free-form custom draft - and the tool frames the request for you. A second step asks for the facts, plus optional notes on audience and tone, and lets you attach a document to work from.

From there it hands off to Gary's existing chat to produce the draft, so streaming and citations come along for free. There's a deliberate guardrail too: a reminder that the lawyer owns the final work and that Gary shouldn't invent facts. It's a front-end-only change - no new plumbing underneath - aimed squarely at making the tool approachable for someone who doesn't want to learn prompt craft.

So what Worth a look for anyone weighing how to put legal AI in front of busy practitioners who want results, not a text box.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

1 commit from foolish-bandit/gary, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
7c520d4f Add /draft Draft Something workflow shell Claude 2026-05-07 ↗ GitHub
commit body
Adds a frontend-only drafting flow that mirrors the /review pattern
from PR #8. Reuses the existing assistant chat plumbing - no new
backend routes, no API contract changes.

- New route at /draft with a 3-step lawyer-friendly UI:
    1. Choose draft type (8 cards: Email, Letter, Memo, Clause,
       Summary, Demand letter, Client update, Custom draft, each
       with plain-English helper copy)
    2. Add details (description textarea with the suggested
       placeholder; optional Audience / Tone single-line fields;
       optional Attach a document via existing
       uploadStandaloneDocument; lawyer-facing caution box)
    3. Review draft (handed off to the assistant chat)
- Start Drafting builds a MikeMessage from the option's opening
  line + the user's description + optional metadata, appended with
  the default tail 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."
  Then reuses useAssistantChat.handleNewChat + router.push to the
  same /assistant/chat/{id} path used by /review and the home.
- Updates the Gary-mode "Draft Something" card to point at /draft
  instead of /workflows. /workflows is unchanged.

No backend changes, no auth/billing/teams, no new providers.
License unchanged.

https://claude.ai/code/session_019pRkhcGDRKQWHjzAnV5yCL

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-271.md from inside the repo you want the changes in.

⬇ Download capture-thread-271.md