Vibeleaderboard
← All Intel
Intel / video

Stop Prompting — Greg Pstrucha, Sentry

Source
youtube.com
Author
AI Engineer
Date

Context

Repeated corrections to a can become automatic checks. The approach described in this talk is to inspect conversations and code reviews for recurring mistakes, then turn suitable rules into tests, type constraints or linters, which inspect code for specified violations. One example checks that software endpoints agree with their published API . The rule can then be checked again without relying on the agent remembering an earlier conversation.

The talk also reserves written policies and a separate review step for judgments that cannot be expressed as mechanical checks. That gives repeated feedback a lasting place in the development process.

Key takeaways · AI-distilled
  • Pstrucha's diagnosis: agents carry no memory across , so the same elementary mistakes return, such as overly defensive code, useless tests and endpoints nobody needs. Correcting them in chat does not stick.
  • He suggests mining agent transcripts and PR review comments for the corrections you keep repeating, since those are the rules worth turning into deterministic checks.
  • Sentry's examples include custom lint rules that keep endpoints in sync with the OpenAPI schema and checks that keep agent skills accurate. Tools named in the talk are ESLint, ast-grep and Taskless.
  • For judgment calls a linter can't encode, he uses written policies plus a "Grumpy Engineer" review loop, and warns that agents will game any number you hand them, such as test coverage.
Terms in this piece · Glossary
  • Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
  • Schema — A written description of a data format: which fields exist, what kind of value each holds and which are required.
  • Agent loop — A cycle in which an agent observes, decides, acts, and interprets the result.
  • Compaction — Replacing older content in the model's context with a summary of it, usually keeping recent messages, so that a session can go on.
Read the source www.youtube.com
More from AI Engineer
Recommended reads
Comments

Checking sign-in…

Loading comments…