The request “Allow customers to cancel an order before dispatch” touches at least four parts of the code. Someone has to find the transition that counts as dispatch, the check that decides whether an order can still be cancelled, the component that releases reserved stock and the path that refunds the payment. Someone also has to decide what customers see if the cancellation succeeds but the refund fails.

An engineer who has worked on the application for years knows where to look. A new engineer does not, and neither does an AI coding agent. That knowledge is context, and it limits how fast anyone can safely change existing software.

The request “Allow customers to cancel an order before dispatch” linked to four parts of the code: the order lifecycle (which transition counts as dispatch?), the eligibility rule (is the cutoff checked on every entry path?), stock (who releases reserved stock?) and payments (what do customers see if the refund fails?).
An illustrative request. One sentence of intent reaches order state, eligibility rules, stock and payments.
View larger diagram

Why context matters

Much of what a team knows about an application is hard to put into a handover document. It lives in the source, in old tickets and review threads, and in the memories of engineers who keep hitting the same awkward boundary.

AI coding agents expose the gap. Give an agent a ticket and three files, and it will produce a plausible change to them. Choosing the files already required the context. If the eligibility rule is also enforced on a second entry path, or a shared operation has other callers, nothing in those three files tells the agent. The change may even pass review, because the reviewer has the same gap.

What a context system gives you

A context system extracts what the code can tell you and makes it queryable. Engineers start from the code that implements a behaviour and plan a change against the code around it, while agents research a ticket themselves instead of waiting to be handed the right files. Each answer cites its source, so a reviewer can check it.

It helps wherever a team must change software it did not write or no longer remembers:

What we built

We started ours against a deadline. An enterprise education-technology customer was urgently changing engineering partners, and we had thirty days to show we could take over learning platforms spread across several repositories. For an estate like that, we would normally allow three to five months for a new team to approach the incumbent’s pace.

We mapped the code and its relationships and gave our coding agents access through the Model Context Protocol (MCP), the open standard for connecting AI applications to tools and data. In just over two weeks, we understood enough to begin contributing. Approaching the incumbent’s full pace remained a separate milestone, but the customer could now judge our work.

That work was the beginning of Cutlass Loom, which builds context in four steps:

  1. Index the structure. Language-aware indexing records functions, types and fields and resolves relationships such as calls, reads and writes. Where that indexing is unavailable, Tree-sitter parsing supplies heuristic structure for several languages. The result is a code graph an investigation can follow from a definition to its callers.
  2. Index the contents. Search combines exact terms with meaning-based matching over function bodies, so a request in business language can find code whose names give nothing away.
  3. Check before asserting. Before Cutlass Loom treats a candidate fact as established, it examines the evidence at a recorded revision and, when the claim needs it, verifies the fact live against the source. Anything it cannot confirm stays marked as an inference or an open question, and an empty search result states which code it covered.
  4. Serve it where the work happens. Coding agents query the context through MCP while engineers investigate, implement and review.

On that foundation, Cutlass Loom’s ATLAS documents the application as it stands, from a product overview down to file pages, user journeys and business rules. Each statement is marked as established or inferred and linked to the code behind it. Cutlass Loom’s SCRIBE turns a business brief, even a single sentence, into a product requirements document researched against the code. It separates reuse from extension and new work, and lists the decisions still open.

How Cutlass Loom builds context: source code at a recorded revision feeds a code graph of symbols, calls, reads and writes, a search index of exact terms and meaning, and verification of facts against the source. The result is context with evidence (source location, revision, coverage and open questions), used by coding agents through MCP, by ATLAS for application documentation and by SCRIBE for researched requirements.
How Cutlass Loom builds context from code, and what uses it.
View larger diagram

How we use it

Cutlass Loom is part of our Agentic Toolkit, and we use it in four ways.

Taking over an application. We index the code first, so the team can read the ATLAS account and our agents can query the code from the first ticket.

Building and reviewing changes. Coding agents ask Cutlass Loom where a behaviour is implemented, which callers depend on it and whether a capability already exists. Reviewers check the change against the same context.

Specifying a feature. Before we estimate it, SCRIBE researches the request against the code. Code questions go back to investigation; policy questions go to whoever owns the decision, with a proposed resolution.

Preparing a modernization. ATLAS documents what the application does, including the business rules its code enforces, so decisions about what to keep rest on evidence. We explain why in Rethinking Application Modernization in the Age of AI.

Cutlass Loom at the centre of four uses: taking over an application (index first, then read the ATLAS account), specifying a feature (SCRIBE researches the request), building and reviewing changes (agents query Cutlass Loom through MCP) and preparing a modernization (ATLAS documents the business rules), with re-indexing when the code moves on.
Where Cutlass Loom fits in our engineering work.
View larger diagram

Each re-index builds a new revision beside the old one, and documents and cited facts record their revision, so a team can tell when an explanation describes older code.

If you are taking over, modernizing or extending an application your team did not build, talk to us about starting with its context.