My sites were writing notes nobody read
What this is about. I asked my AI to build Sentinel, a small tool that reads my whole codebase and tells me where it's unsafe, copied or too clever. Security comes first: risky patterns, routes nobody guards, HTML that goes onto a page unchecked. On the first day it found six websites lovingly maintaining files that no code ever reads. It also found a bug that wasn't one. Why. If you run several…
A reporter writes that an AI-created tool, named Sentinel, was designed to identify unsafe code patterns, redundant code, and issues related to user roles within a developer's codebase. Initially, the tool found six websites with files that were not being read by any code. Sentinel also identified a bug that was not actually a bug, as well as 152 stale template copies.
The tool was later found to have overlooked files that already existed, resulting in stale template copies not being updated. The tool was also missing some translation files that were edited by hand, leading to missing text on the website. Sentinel was able to fix these issues and provide a more accurate count of stale copies and translation keys.
The tool was also able to identify false alarms and narrow the rules to fit the developer's specific needs.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.