Working Surfacelink · 30 Nov 2026
03
A kitchen cold-store door plastered with paper notices that peel and flutter loose, while a heavy padlock and a dial thermometer hold the door firmly shut as a cook seen from behind hurries past, the whole scene drawn with wide empty margins on every side.
Zenn

Do not add more rules; automate the checks

karamage · 28 November 2026

How-to · agents · artifacts · Agent context files

Read the original
Takeaway

After an AI agent ignored a written ban, freelance engineer karamage argues that each repeated mistake should become a hook, lint rule or test that blocks it.

Summary

Karamage, a freelance software engineer who builds mobile apps, published an essay in Japanese about a broken rule. An AI coding agent edited database scripts that the project's instruction file forbade it to touch. The engineer argues that written rules are requests, and that mechanical checks stop the mistake. The essay relays a conference talk by Lauren Tan, an engineer at SpaceX.

Key points
  • The forbidden edit happened partly because the instruction file pointed to a conventions file through a link that had broken.
  • Rules added after each mistake were duplicated across two instruction files, used tokens before work began, and buried the rules that mattered.
  • Tan's team, as the author reports it, bans most code comments, because AI agents justify workarounds in comments that the next agent then copies.
  • The author concludes that the folder needed a hook that blocks edits and a test proving the hook works. The essay ends by promoting the author's own tool.
Implication

An engineering team can treat each new line in an agent's instruction file as a sign that a check is missing. That is an inference and is not the author's claim. The account is one engineer's experience, and its report of the talk is second-hand.

Plays
Engineering

After adding a hook that blocks an AI coding agent from an action, such as editing a protected folder, write a test that sends a sample request and confirms the hook stops it.

Engineering

When an AI coding agent edits a file that its instruction file forbids, add a hook that blocks the edit instead of rewording the rule.

Source issue

30 November 2026: when AI agents produce more work than people can check, teams are designing the check itself: cheaper tests, scored agent questions, rules turned into code, and agents that call a person only for a decision.