README: the record names vision, the encoder and each ref's sha256; a missing caption fails

Resolves Low finding readme-stale-record from verdict cut-raven-image-prompt-record.s2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-27 19:05:40 +01:00
commit bd45a44f35

View file

@ -19,9 +19,10 @@ seed, 900 s wait per image.
**Record.** Next to every image the client writes `<image>.json` (`out.png` gets `out.json`; `-n 4` gets one per image), in
every mode: client and graph sha256, model file names, size, seed, steps, cfg, sampler, scheduler, `enhance`, `prompt` (as
typed), `caption` (the exact text the encoder saw), sanitised `refs`, `margin`, `bg`, seconds, UTC time. With the upsampler on
the caption is read from ComfyUI's `PreviewAny` output (node 20, on the upsampler's output); with `--no-enhance` it is the
prompt. `--out` may not end in `.json`.
typed), `caption` (the exact text the encoder saw), `vision` (whether `--vision` fed the refs to the encoder), `encoder` (the node id and class
that consumed the prompt: `CLIPTextEncode` or `TextEncodeQwenImageEditPlus`), `refs` (each as `{name, sha256}` of its content), `margin`, `bg`, seconds, UTC time. With the upsampler on
the caption is read from ComfyUI's `PreviewAny` output (node 20, on the upsampler's output), and a render whose history lacks it
fails without writing; with `--no-enhance` the caption is the prompt. `--out` may not end in `.json`.
```
raven-image --caption-only "small private space yacht" --size 1536x1024 # prints the caption, renders nothing, writes nothing