Builtin Library
- ..
- .metadata17 B
- README.md1.6 KB
- workflow.js10.0 KB
- workflow.yaml1.6 KB
README.md
reference
Make something visual look like a picture of it.
A look described in words cannot be checked: "make it stunning" leaves the agent doing the work to judge its own frames against an adjective, and it stops at the first thing that works. This workflow gives the work a picture to be held to, and holds the loop that closes the gap.
What it does
- Reference. One request makes the pictures. It generates them with the
image_genservice (or takes the images the run was handed), keeps them under/zero/source/design/references/<name>/with a README saying what each shows and, for work that changes over time, which moment, and reads each back, regenerating any that does not read as what was asked for. - Match. Round after round, one request pictures the work the way each
reference shows it, writes down every difference before changing anything,
closes them in the work, and pictures it again. The pictures go under
/zero/source/design/shots/<name>/. The differences a round leaves open travel into the next. The run ends when every reference is matched, or when a round closes nothing.
Starting it
zero workflow start --name reference --args '{"subject":"...","look":"..."}'
subject names what is being made and where it stands; look is what it was
asked to look like, in the asker's words; references hands in images to use
instead of generating them; name names the folders. The run answers with the
references it worked to, the rounds it took, whether it ended matched or
stalled, and what was still open.