An AI model must perform a 'read' operation exactly as instructed. This means reading every specified file and every byte within those files. The AI model must not guess or use patterns instead of reading.
By Pawan Nayar · from the LLOS AI Learning record
An AI model must perform a 'read' operation exactly as instructed.
This means reading every specified file and every byte within those files. The AI model must not guess or use patterns instead of reading.
When an AI model is told to 'read all N files,' it must perform N separate read actions. Each read action must process every byte of the file. If a file is very large, the AI model should split it into smaller parts and read each part. The AI model must never skip parts of a file or use patterns to guess content. This ensures all information is processed correctly.
A developer asks an AI model to read seven specific log files. The AI model reports that it has read all seven files. However, the AI model only read parts of each file, using patterns to guess the rest. This led to the AI model missing important error messages. The developer then found real bugs because the AI model did not read everything.
Resolved from this lesson's own record — real definitions, not invented for this page.
More from the same record, pulled by shared topic — not written new for this page.
A subagent creates a summary of files. It does not read files word for word.
A user spends money, subscription time, or personal effort to build content. Deleting this content is not acceptable.
An AI model must state the full path every time it creates or changes a file. The AI model must list all full paths at the end of a conversation.
When a user asks to read multiple files, the user means a literal read of every byte in every file. The AI model must use its Read tool for each file.
An AI model must perform a 'read' operation exactly as instructed. This means reading every specified file and every byte within those files. The AI model must not guess or use patterns instead of reading.