# RSG × Flow Auto-Pilot runbook (v2 — 2026-07-20, attach automated)

The extension now does the character dance itself: for each task it clicks the
composer "+", opens the Characters tab, picks the task's saved cards (by the
names in the project: Dez, The Dead Wax, Mildred, The Boring Guy, The Name
Dropper, The Postman, The Accountant), clicks "Add to Prompt" — every step
trusted CDP click, verified, retried 3×, and the task requeues on a hard fail.
Prompts also embed each character's visual description as attach insurance.

Banks: `tools/make_flow_bank.py` → `~/Documents/flowext/banks/rsg/`
  01__fast.jsonl    68 shots ×1 take  (~680 cr)  — **already enqueued**
  02__quality.jsonl 14 shots ×1 take (~1400 cr)  — enqueue after the fast pass
One take per shot on pass one; review keepers, then `flowext/requeue.py` or
re-enqueue for extra takes.

## To start the fast pass (one-time, ~60 seconds)
1. If a bar says **"'Claude' started debugging this browser" → click Cancel.**
   Only one debugger can hold a tab; while Claude holds it, the extension's
   trusted typing/clicking silently fails (this was today's whole jam).
2. brave://extensions → reload **Flow Auto-Pilot** (loads the attach patch —
   the server refuses to feed the old version, so this step is mandatory).
3. The RECORD STORE GUY Flow tab: hard refresh (clears any leftover chips),
   BOTTOM composer: model **Veo 3.1 Fast** (it was sitting on Nano Banana 2!),
   outputs **1x**.
4. Extension popup → Start (or tick Auto-start). First task should log
   `Attaching character card "Dez"…` → `Attached` → prompt typed → submitted.
   Requeue reasons now print into /tmp/flowrinse.log with timestamps.

Downloads land in `~/Downloads/flowrinse/rsg/`; copy keepers to
`flow-vids-RSG/`, then `tools/postprocess.sh <raw> <shot_id> <action|death>` →
`engine/clips/` (filenames already match scenes.json), tune in `?debug=1`.

## Quality pass (after reviewing the fast pass)
1. Composer: model **Veo 3.1 Quality**, still 1x.
2. `python3 ~/Documents/recordstoreguy/tools/make_flow_bank.py --enqueue 2`
3. Start the extension again. 14 shots: boss volleys, win, stinger, postage
   executions, needle-drop alts.

## Gotchas
- ~92 stale djsim/shop IMAGE tasks are still pending in the live queue. Videos
  are served first, so all RSG runs before any of them — but when the videos
  drain, those images will fire into the RSG tab. **Stop the extension when the
  rsg downloads stop growing**, or clean them: stop the server, delete non-rsg
  pending lines from `~/Library/Application Support/flowrinse/queue.jsonl`
  (anything whose id isn't in results.jsonl), restart.
- Server was patched (characters passthrough) + restarted 2026-07-20 ~17:00;
  plist FLOW_URL now points at the RECORD STORE GUY project (0627b7cd…), so the
  10-min self-heal reopens the right project if the tab ever dies.
- The two "Failed" tiles from hand-testing are Flow-side fails — the queue
  versions of those shots will regenerate them.
- mf1 prompts end with a different lettering clause on purpose (the letters are
  the hazard). Log keepers in production/SHOTLOG.csv.
