Laravel Tutorials

Decide with Jev: Tie Every AI Check to the Exact Draft

Published

https://youtu.be/euWtJnyrkzs

Episode 4 of Decide with Jev is out!

A recommendation only helps if you know which draft it's about. Say a check comes back "ready for editor". Then someone edits the draft. The old label is still on the screen, and it still looks current.

In this episode, we connect the checks to a small review screen. Every check saves a run with the text we sent and the answers we got back. The page also keeps a hash of the brief and the draft. When the text changes, the old result shows up as stale until you run the check again.

The editor's choice gets its own field. It sits next to the model's answer and doesn't replace it. If the editor disagrees, both stay on the page, along with the reason.

The video also shows:

  • why every save gets a new version, even when the text is the same
  • how a hidden run ID lets the server reject an old form from another tab
  • a session lock, so a save and a check can't write over each other
  • a quick test in the browser with a complete draft and a thin one

It ends on one gap we still have to close. That's where episode 5 picks up.

The code is on the episode-4 branch of the Decide with Jev repository. You can watch the whole series in the playlist.

Harris Raftopoulos photo

Senior Software Engineer • Staff & Educator @ Laravel News • Co-organizer @ Laravel Greece Meetup

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
PhpStorm 2026.3 Adds an Agent Workspace and PHP 8.6 Support image

PhpStorm 2026.3 Adds an Agent Workspace and PHP 8.6 Support

Read article
Insert Middleware Before or After Existing Laravel Middleware image

Insert Middleware Before or After Existing Laravel Middleware

Read article
Laravel Herd 2: Coding Agents, Workspaces, and Cloud Deploys image

Laravel Herd 2: Coding Agents, Workspaces, and Cloud Deploys

Read article
Strict Request Input Casting in Laravel image

Strict Request Input Casting in Laravel

Read article
Prevent Duplicate File Uploads With Laravel Storage Dedupler image

Prevent Duplicate File Uploads With Laravel Storage Dedupler

Read article
Slow Job Alerts and Replica Commit IDs in Laravel 13.40 image

Slow Job Alerts and Replica Commit IDs in Laravel 13.40

Read article