Catching steps your AI agent silently skipped: declare required actions per task
Ok-Machine7983 · reddit · 2026-11-30
A developer building an open-source verification layer for AI agents describes how the tool reads back systems the agent writes to (Postgres, Google Calendar) and checks whether the agent's claims match actual records.
In user conversations they hit a bigger problem: tools the agent should have called but didn't. Example: a refund flow has processrefund and notifyowner — the agent skipped the former yet called the latter, and existing verification only checks what was done, not what was omitted.
The proposal: let developers declare required actions per task type and flag missing ones at run end:
@verify.task("refund", requires=["processrefund", "notifycustomer"])
For flows known up front, encoding required steps in the LangGraph graph prevents skips by design, while read-backs still confirm each step's writes actually landed. The author asks how others catch skipped steps today and whether per-task declarations are too rigid.
More from coding & agent
- Microsoft exec explains AI governance with a 4-step closet-cleaning method — donasarkar · 2026-11-30
- Rollikey: open-core MCP airlock and LIFO rollback proxy for AI agents — Rollikey · 2026-11-30
- MoonBit 1.0 RC Ships with Stable Compiler, Targeting February 2027 Release — harryshum · 2026-11-30
- A wall of 600 recent AI agent projects, ranked purely by code merit — EmuAfter5933 · 2026-11-30
- 6 MCP servers ate 30k tokens before the first prompt: a Claude Code slimming recipe — for-entire-phonly · 2026-11-30
- Redditor ships 14-rule Lumen Anchor Protocol claiming math-anchored hallucination and jailbreak immunity — Teralitha · 2026-11-30