Problem
The agent is asked to add a title and a Bluesky handle to a blog_post type. The agent adds the title as key text, or as rich text with no single-heading limit. Prismic convention is rich text limited to one heading.
Eval
File: evals/design-sensible-models.eval.ts
models a title as single-heading rich text and a social media handle as key text
History
What the command trails show
In five of six recorded failures the agent reads only field add text --help. It does not read field add rich-text --help. Then it adds the title with field add text. One trial adds field add rich-text title with no --single or --allow flag.
Example trail:
--help
type --help && echo ---- && npx prismic field --help
type create --help && echo ---- && npx prismic field add --help
field add text --help
type create "Blog Post" --format page --id blog_post
field add text title --to-type blog_post --label "Title" && npx prismic field add text author_bluesky_handle --to-type blog_post --label "Author Bluesky Handle" --placeholder "e.g. @handle.bsky.social"
type view blog_post
The Bluesky handle passes in every trial. In the blog post eval (models a page type with sensible field types) the same model adds the title with --allow heading1 --single in every trial. The convention is known to the model but is not applied when the prompt only says "title".
Done when
This issue is not fixed until the eval passes 3/3 in a recorded eval run. A partial pass rate is not a fix.
Problem
The agent is asked to add a title and a Bluesky handle to a
blog_posttype. The agent adds the title as key text, or as rich text with no single-heading limit. Prismic convention is rich text limited to one heading.Eval
File:
evals/design-sensible-models.eval.tsmodels a title as single-heading rich text and a social media handle as key textHistory
What the command trails show
In five of six recorded failures the agent reads only
field add text --help. It does not readfield add rich-text --help. Then it adds the title withfield add text. One trial addsfield add rich-text titlewith no--singleor--allowflag.Example trail:
The Bluesky handle passes in every trial. In the blog post eval (
models a page type with sensible field types) the same model adds the title with--allow heading1 --singlein every trial. The convention is known to the model but is not applied when the prompt only says "title".Done when
This issue is not fixed until the eval passes 3/3 in a recorded eval run. A partial pass rate is not a fix.