The six-knob prompt for shipping code — step 6 of 9
The toy validate function checks that a prompt has at least three
of the four core knobs before it gets sent to the model. The current
prompt only has two knobs and validate rejects it. Add the two
missing keys (constraints and format) so the script prints exactly
ok.
Expected output:
ok
The break is on lines 9, 10 — but read the whole snippet first.
⌘↵ runs the editor.read, then continue.
The toy validate function checks that a prompt has at least three
of the four core knobs before it gets sent to the model. The current
prompt only has two knobs and validate rejects it. Add the two
missing keys (constraints and format) so the script prints exactly
ok.
Expected output:
ok
The break is on lines 9, 10 — but read the whole snippet first.
this step needs the editor
on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.