foolish-bandit adds a Draft Something flow without touching the backend

A new drafting shell that wires eight common legal document types into the existing chat - no new plumbing, no new database tables.

draftingchat-ui

foolish-bandit's fork now opens a guided drafting flow from the home screen: pick a type (email, letter, memo, clause, summary, demand letter, client update, or something custom), describe what you need, optionally name an audience and tone, and optionally attach a document. The assistant then drafts it in a normal chat thread.

The interesting choice is restraint. There is no new "draft" object with versions or status, no new API, no dropdowns for tone - everything reuses the chat, upload, and citation machinery that was already there. Each draft just lands in the assistant history like any other conversation. Step 2 carries an explicit reminder that the lawyer owns the final work, and the existing workflows route stays put for anyone who wants more control.

So what Worth a look for legal product leads weighing whether a drafting feature needs its own backend - this one ships as a thin UI on top of chat and merged in minutes.

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