Menu

Blocking an AI agent's shortcuts with tools: what verifying code comments taught me about steering and MCP
📰

Blocking an AI agent's shortcuts with tools: what verifying code comments taught me about steering and MCP

DEV Community: ai·Kento IKEDA·2 days ago
#6fprCMHA
#devtoai#devto#dev#agent#code
Reading 0:00
15s threshold

AI agents now review code and write tests as a matter of routine. They do not read only the code. They read the comments too, and sometimes they interpret the code through what a comment says it is meant to do.

I picked writing-tracker (MIT), a web app that another developer published on GitHub. It records how far along you are in writing a book. It was built with Lovable, an AI app builder, over three days at the end of April 2025, and it has not been updated since. The code and comments the AI wrote are still there as they were, and it has logic such as aggregation and ordering whose behavior can be checked against its comments, so it made a good subject.

https://github.com/shateers/writing-tracker

I gave the app to Kiro and asked: "Check whether any comment disagrees with what the code actually does." The statistics screen has a table that lists your progress for the last six months, one row per month.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.