# 8.2 Context: what the worker sees now (/managing-ai-workers/context-memory-knowledge-and-state/context-window)

---
type: Document
title: "8.2 Context: what the worker sees now"
description: "What an AI Worker can use when it writes its next reply, why a long conversation loses details, and why a bigger window does not solve it."
status: stable
order: 208.2
ksor:
  owner: team:panaversity
  audience: [ public ]
  approval:
    by: process:panaversity
    at: 2026-10-07T18:30:04Z
chapter: "08"
part: II
expert_status: required
concepts: [ "8.2" ]
last_verified: 2026-10-07
sources:
  - id: v1-thesis
    title: "The Agent Factory Thesis (Panaversity, first edition, verified 2026-10-07)"
    resource: https://agentfactory.panaversity.org/docs/thesis
generated:
  at: 2026-10-07T18:30:04Z
  by: esl-rewrite/1.2.0+ksor.1
trust_tier: unverified
build_id: sha256:c93b28093c2f70c60faae2645a693d881b657ff94d00f7dd9f8c06427ff61c87
dirty: true
ksor_version: 0.0.60
---

**In everyday life.** Think of a whiteboard in a meeting room. As the meeting goes on, someone erases the oldest notes to make room, and writes a short summary of them in one corner.

**What you will learn.** What an AI Worker can use when it writes a reply, and why a long conversation loses details. You practice it in steps 1 and 3 of the build step.

**Why it matters.** What the worker cannot see, it does not know. A rule you gave early in a long chat can be lost, and nothing warns you.

An AI Worker has a whiteboard too. The **context window** is everything the model, the AI the worker runs on, can use when it writes its next reply. It holds:

- your message
- the standing instructions, the rules set for every conversation
- any files or knowledge loaded for this turn, that is, for this message and its reply
- what memory supplied: what the AI product remembers about you from past chats
- results from tools, such as a search of the project's files
- the conversation so far, or a summary of its older parts

It is measured in tokens, which are pieces of words. And it has a limit.

Three facts follow from that.

**Everything competes for the same space.** A long document, a long conversation and a large spreadsheet all take up room.

**Long conversations get condensed.** AI products handle the limit differently. A common solution is to summarize earlier messages, so the conversation can keep going. A summary is shorter than what it replaces. Some details are lost from it, and nothing tells you which ones. That is what happened at Brightline, the book's example company. Early in a long conversation, Maria, the office manager, told the worker to "always flag Northern Maple to Dave." That meant pointing out invoices from Northern Maple, a supplier, to Dave, the controller. She gave that instruction only in the chat. Weeks later, the conversation had been condensed, and the worker no longer followed it.

Some products keep the full history, so the worker can look back. But you do not control whether it looks back on any one turn.

**Nothing outside the window exists for the worker.** If a rule is not in the window this turn, and the worker cannot fetch it into the window, the worker does not know it. A bigger window delays the problem, because a long enough conversation still fills it. It does not remove it. Figure 8.3 shows where to keep what must last.

A conversation can lose things, and files keep them. This book's first edition makes the same point in its fifth principle, Persisting State in Files: the conversation is volatile, and the filesystem is durable.[^v1-thesis]

![The title reads "What fills the context window on one turn." The line below it reads "Everything loaded for the next reply shares a limited space." A bar labeled "Context available this turn" is divided into instructions, retrieved knowledge, selected memory, loaded files, tool results, a summary of older turns and recent messages. It ends at a red line marked "Context limit." A note under the bar says the allocation is illustrative, and actual contents and proportions vary. A dashed box, "Earlier conversation," holds "Always flag Northern Maple to Dave" and "Weeks of questions, answers and decisions." An arrow labeled "Condense" leads from it up into the summary, and a red line reads "The summary may lose the standing instruction." A box, "Three things to remember": only loaded or retrieved material is available for this reply. Older messages may be summarized, and important details can be omitted. A larger window delays the limit, but it does not replace durable records. A small line reads "Stored chat history may remain retrievable even when it is not loaded into the current window." A gold banner at the foot reads "Persist what must survive the conversation": standing rules go to project instructions, approved policy to KSoR, and case history to SSoR.](img/context-window.png)

*Figure 8.3. What fills the context window on one turn.*

[^v1-thesis]: The Agent Factory Thesis, Panaversity, first edition.
