Would Longer Instructions Solve the Problem?
What should you do when an AI ignores the rules you gave it? Would making the instructions longer help?
Writing down rules can be useful when you ask Claude Code or ChatGPT to do a task. But AI does not always follow instructions exactly. To understand why, we need to look at both how AI learns and how its work is managed.
AI Has Limits in How It Learns
In supervised learning, people label examples with the right answers so an AI can learn from them. For example, they might show it pictures and say, “This is a truck; that is a car.” The AI’s predictions are compared with the human-provided labels as it learns.
LLMs use self-supervised learning, which means they learn from data without people labeling every answer. They can also use reinforcement learning, where an AI takes actions and learns from the rewards or outcomes. A Go-playing AI, for example, can learn by playing games and seeing whether it wins or loses, rather than having a person tell it every move.
You may have seen a CAPTCHA on a website asking you to “select the trucks.” The answers selected by people have also been used as training data for self-driving AI. When it comes to AI performance, training data matters more than the algorithm. Without enough data, it is difficult to expect strong performance; with enough data, even existing algorithms can perform well. Collecting and labeling data also costs a great deal, which is one reason AI is called a game of capital.
After AlphaGo played against Lee Sedol, having AIs play one another and using the results for further training also became important. But unlike Go, general-purpose LLMs often make judgments that fall short of those made by experts. Elon Musk and several AI engineers have said that the internet training data created by humans was almost used up in 2024–2025. It is hard to conclude that training on AI-generated data will improve performance; some research has also warned that it could make performance worse.
As an example for illustration, imagine an exception that occurs in only 1 percent of cases. If that exception is repeated in training, it could make up 40 percent of the training data for an AI that handles exceptions. The AI may become familiar with exceptions but end up misjudging the overall situation.
One approach is to divide work by role and have a separate AI review the results. The Claude Code code leak in March 2026 also showed a structure in which multiple AIs had different roles, with results supervised or verified. You can likewise divide tasks and add review steps when using AI.
CLAUDE.md Helps AI Remember Rules, but Does Not Enforce Them
A prompt is the full input given to an AI, including questions and task requests. Instructions describe the standards the AI should follow and how it should do the work. In Claude Code, you can save shared guidance in CLAUDE.md, a file for rules that should apply throughout a project.
For example, you might write, “Check the existing database structure first” or “Run the relevant tests after changing a feature.” Custom instructions or project instructions in ChatGPT can serve a similar purpose.
However, the instructions are sent along each time a request is handled. In terms of token, the unit AI uses to process input and output, even a one-character request is processed together with the two pages of instructions you wrote. Longer instructions are also related to processing costs. Simply writing more does not make the AI follow the rules.
Use a Harness to Limit What the AI Can Do
A harness is a system that gives AI tools and an execution environment, and manages its work within defined constraints. Instructions point the AI in a direction; a harness manages the tools it can actually use and the scope of its work. Tools can also be accessed through connections such as MCP, a standard protocol for connecting AI applications to external tools or data.
For example, a harness can ask the user for approval before deleting an important file, or block certain commands. That can stop an action at execution time even if the AI misses an instruction. But a harness does not enforce every rule you might want.
Use Scripts for Work That Must Be Done Correctly
It is difficult to leave tasks where mistakes are unacceptable entirely to AI. A harness has limits, too, and cannot guarantee every procedure. For steps that absolutely must be followed, it is better to use scripts you have written and tested yourself. A script is a set of commands that makes a computer follow defined conditions or steps.
In short, when AI does not follow the rules, you can:
- Repeat important rules.
- Ask another AI to review the results.
- Use a harness to limit tools and execution scope.
- Handle essential procedures with scripts you have written and tested yourself.
Even the developers who built an AI cannot fully explain its internal decision-making process. So it is not enough to write down rules; you also need to check the results.
If an AI ignores rules you gave it, how are you addressing that in the task you’re working on?
▶ Turn on English subtitles (CC) to watch
This article summarizes my Korean YouTube video (English subtitles available) and was translated with AI. #ABotWroteThis






Top comments (0)