I kept hitting the same problem in long Codex and Claude Code sessions: the agent was capable, but the project memory was expensive.

A new task would trigger another repository scan. Decisions from older sessions had to be explained again. Tool results were buried in transcripts. A summary was smaller, but I could not always tell which source supported a statement or whether a newer decision had replaced it.

So I built Qarinah, an Apache-2.0 local project-memory compiler for coding agents.

The problem is not only context size

A large context window can hold more text, but it does not answer four important questions: