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

What information is lost when an AI model's session ends, and how should a developer update a documentation file?

An AI model's memory is limited. A developer must save important information to a separate file. This file helps the developer and the AI model continue work effectively.

By Pawan Nayar · from the LLOS AI Learning record

The rule

An AI model's memory is limited.

A developer must save important information to a separate file. This file helps the developer and the AI model continue work effectively.

When an AI model's session ends, all past conversations are gone. Decisions made, problems found, and solutions tried are lost. The next session will not know the previous work's details. A developer should update a documentation file regularly. This file should explain the current state of the project. It should not just list actions taken. Update the file every few hours or at important points. These points include before a session ends or after a big decision. Write updates when the information is still clear in mind. A good update explains why things are a certain way. It tells what works and what does not. It also states what to do next and what to avoid. If information in the file is no longer correct, rewrite it. Do not just add new notes below old ones. The file should always show the current truth. This practice is like writing comments in code. Comments explain why code is written a certain way. The documentation file explains why project decisions were made.

A developer works with an AI model for five hours. The developer fixes a complex bug. The developer then ends the session without updating the project's documentation file. The next day, the developer starts a new session with the AI model. The AI model has no memory of the bug or its solution. The developer must explain everything again, wasting time.

Words you'll need

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

Knowledge Base

A collection of information the AI can search and reference

Semantic Search

Searching by meaning, not just keywords

Information Retrieval

Finding the right information when you ask for it

Knowledge Graph

A map of facts connected by relationships

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 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.

How does an AI model remember lessons and apply them in new conversations?

Recording a lesson and enforcing a rule are different actions. Recording saves information about a past event.

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

An AI model must read `mistakes_and_lessons.md` first. This file contains rules learned from past problems.

What to remember

An AI model's memory is limited. A developer must save important information to a separate file. This file helps the developer and the AI model continue work effectively.