L
LLLOS.ai
Career
L
◆ AI Learning · Hard rule

What files should an AI model always read at the start of a work session?

An AI model must read specific files at the start of every work session. These files contain important rules and past lessons. Reading these files prevents repeating expensive mistakes.

By Pawan Nayar · from the LLOS AI Learning record

The rule

An AI model must read specific files at the start of every work session.

These files contain important rules and past lessons. Reading these files prevents repeating expensive mistakes.

An AI model must read `mistakes_and_lessons.md` first. This file contains rules learned from past problems. Each rule in this file saved a lot of time. Not reading this file means the AI model will likely repeat old errors. The AI model should also read other files that contain rules. These rules change how the AI model usually works. Not reading these files causes the AI model to make costly mistakes again.

A developer starts a new project with an AI model. The AI model begins to write code without first reading `mistakes_and_lessons.md`. The AI model then makes a common error that was already documented in that file. The developer must spend extra time to fix this error. This delay could have been avoided if the AI model had read the file.

Words you'll need

Resolved from this lesson's own record — real definitions, not invented for this page.

System Prompts

Hidden instructions that shape how AI behaves

Memory Management

Keeping track of what the AI knows about you

Questions people ask

More from the same record, pulled by shared topic — not written new for this page.

What files should an AI model read at the start of every session?

An AI model must always read a specific set of files. These files include 'mistakes_and_lessons.md'.

How can a developer avoid common mistakes when working with an AI system?

A developer should not create new ways to do things. The existing process works well.

What are the critical rules an AI model must follow when working with files, APIs, and sessions?

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.

How can an AI model generate a large glossary with different content types and languages?

An AI model can generate a large glossary by using a multi-pass data pipeline. Each pass focuses on different content.

What to remember

An AI model must read specific files at the start of every work session. These files contain important rules and past lessons. Reading these files prevents repeating expensive mistakes.