← Posts / Issue 001

A private knowledge system needs walls, not a larger context window

Large Context Linear Management is my attempt to keep projects useful for longer—through plain files, hard boundaries and records that both people and machines can understand.

Browser-generated narration · voice varies by device

LCLM stands for Large Context Linear Management. The name is almost the whole argument.

Large projects now accumulate an enormous amount of context: requirements, research, decisions, prompts, code, corrections, experiments and the quiet rules that make all of those pieces fit together. The information may begin clearly enough, but it does not stay clear by accident. As the project grows, old instructions remain beside new ones. Temporary ideas begin to look permanent. A useful decision disappears into a chat history. Two documents describe the same thing differently, and nobody knows which one the work is following.

Giving a model a larger context window does not solve this. It only creates a larger room in which the confusion can sit.

I wanted a way to keep context readable, ordered and useful for longer before the inevitable cleanup, consolidation or archive. I also wanted the system to work for me directly—not only for whichever model or tool happened to be reading the project that day.

That became Large Context Linear Management.

PMKit organises a project; LCLM organises the projects

The simplest way to understand LCLM is to place it above PMKit.

PMKit is the project-level method. Inside one folder, it helps establish the purpose, decisions, constraints, current status and working record. It gives a person and an AI coding tool a shared place to look before either of them begins improvising.

LCLM is the top-level brain across those folders.

If PMKit helps one project explain itself, LCLM helps many projects remain distinct, searchable and governable together. It has to know which folder belongs to which part of life, which records are trusted, what can be retrieved for a task and where a new result is allowed to go.

That last point matters. A knowledge system is not useful merely because it can find everything. It is useful when it can find the right thing without silently dissolving the boundaries around it.

Personal notes, client work, research and product documentation can all be relevant to the same person. They are not therefore interchangeable. Similarity is not permission. A search result does not become safe merely because it matches the question.

So LCLM treats scope as architecture, not decoration.

The top-level brain still needs rooms

The usual “second brain” promise is accumulation: put everything in one place, connect it all, and trust search to retrieve what matters.

I am more interested in controlled connection.

LCLM divides the knowledge base into explicit scopes such as personal, work and client. The exact labels can change, but the boundary is intended to be real. Search stays within the selected scope. Synchronisation is attached to a scope. Tools run within a scope. If material crosses from one room into another, the crossing should be deliberate and visible.

I think of this as a scope firewall.

A firewall is useful not because it prevents all movement, but because movement becomes a decision. Context should behave the same way. The system may know that information exists without assuming it belongs in the present task. It may retrieve a record without treating that record as verified. It may prepare an action without being authorised to execute it.

This creates a more honest model of memory. A fact has a source. A source has a level of trust. A record has an age. A decision belongs to a situation. Once those properties disappear, recall becomes easy and judgement becomes difficult.

Three ideas, with different jobs

The management system draws from several pieces of work, but I did not want a collection of fashionable concepts pasted together. Each influence needed one clear responsibility.

The shorthand became: LangExtract receives, ICM gates, OKF records. The Rust core enforces.

Google’s LangExtract is designed to turn unstructured text into source-grounded structured information. In LCLM, that idea belongs at the receiving edge. Messy material can be processed when useful, but extraction is not the authority that decides where the result belongs or whether it should be trusted.

The Interpretable Context Methodology, by Jake Van Clief and David McDermott, treats folder structure and plain Markdown as part of the agent architecture. Its staged workspace, bounded context and human review points offered a useful answer to a practical question: how can work move forward in a sequence without hiding the entire process inside an orchestration framework?

In LCLM, I adapted that thinking into gates. Folder stages, context layers, token and byte budgets, output confinement and review points are not merely documentation conventions. They become rules the runtime can check.

Google’s Open Knowledge Format version 0.2 provided another part of the foundation. OKF represents knowledge as plain Markdown with YAML frontmatter. It is designed to remain human-readable, agent-readable, portable and diffable. It also makes room for provenance, trust and lifecycle information—the details a knowledge system needs if it is going to distinguish a generated statement from a verified record.

LCLM adapts those principles into its own record dialect. One concept can live in one readable file, accompanied by the metadata needed to understand where it came from, how much confidence it deserves and whether it may have become stale.

Then the Rust core turns the agreements into enforcement. It checks the grammar, limits the retrieval, protects the scope boundary and refuses records or outputs that violate the contract. The design is hard-coded where a merely polite instruction would be too easy to ignore.

The point is not to make the filesystem elaborate. It is to make the important rules inspectable by a person and enforceable by a machine.

Why linear?

“Linear” can sound restrictive, especially when so much current software celebrates autonomous loops, swarms and self-organising systems.

Here, linear does not mean that thought must follow one rigid path. It means the work should have a legible line through it.

Input becomes a record. A record enters a stage. A stage has an allowed context. A result goes to a defined location. A person can see what changed before the next stage treats it as truth.

That line gives the project something a long conversation often lacks: stable hand-offs.

When the work is small, this can feel unnecessary. When it lasts for months, crosses several models or returns after a long pause, the value becomes obvious. The project does not need to reconstruct its identity from a pile of transcripts. The files tell the story in a form that can be read with ordinary tools.

This is also why human readability is not a sentimental preference. It is a longevity strategy.

Models change. Providers change. Frameworks disappear. Databases get migrated. A folder of Markdown and YAML is unlikely to be the most exciting part of the system, but it can remain understandable after the exciting part has been replaced.

Longevity before cleanup

No documentation system eliminates maintenance. Records become stale. Taxonomies grow awkward. Work eventually needs to be condensed or archived.

The goal is to postpone that decay without hiding it.

A clean reference structure makes it easier to see duplication before it spreads. Provenance makes it possible to revisit a claim rather than trusting it forever. Trust markers distinguish a useful draft from an approved basis for work. Staleness makes age visible instead of allowing old instructions to pass as current ones.

This gives the project a longer useful middle life—the period after the initial burst of clarity but before a complete reorganisation becomes necessary.

It also creates better material for future memory systems. Once records have stable identities, scope, provenance and relationships, they can support a graph without beginning from an undifferentiated heap.

The Procedural Graph work by Yuxing Lu, Yicheng Chen, Shanchan Wu and Sercan Ö. Arık is relevant here. It represents procedural knowledge as relationships between procedures: not only what the system knows, but what tends to happen next, under which conditions, and what has failed before.

I see that as a direction LCLM can grow toward, not a claim that every part is already implemented. Clean records can become nodes. Verified transitions can become edges. Successful and failed runs can improve guidance. But the graph should be built on well-governed material. Otherwise it simply gives confusion a more sophisticated shape.

A management system, not a memory trick

There is a temptation to describe any large-context system as memory. That language is convenient, but it can make the work sound more magical than it is.

LCLM is closer to management.

It manages where knowledge enters, how it is recorded, what may be retrieved, when a person reviews it and where the result is allowed to land. It assumes that useful context needs curation and that more information can reduce quality when the information does not belong together.

The ambition is not perfect recall. Perfect recall without boundaries would be a liability.

The ambition is continuity: to return to a project and understand what it is, why it took its present shape and which parts can still be trusted. It is to let several projects share one top-level system without allowing one project’s assumptions to quietly govern another. It is to give AI tools enough context to be useful while keeping the person’s own reference material readable and durable.

A larger context window may hold more tokens. It cannot decide what deserves to survive.

That decision belongs in the management system around it: in the records, the gates, the scopes and the human review that connects them.

Large Context Linear Management is my attempt to make those decisions visible—and to keep the work useful long after the first conversation has scrolled out of sight.

Source notes

Next / LearningWhen cheating becomes a programming lesson↗