Blog

The context warehouse for engineering teams


Engineering teams generate more documented context than any other team in the organisation, and lose more of it. Every PR description, every code review comment, every Slack discussion about a design trade-off, every meeting where architecture is debated, every incident post-mortem: all of it contains knowledge that would be valuable if it were findable six months later. Almost none of it is.

The PR is merged and forgotten. The Slack thread scrolls away. The meeting recording sits in a folder nobody revisits. The post-mortem is written, filed, and never referenced again. The knowledge was created, shared, and lost, all within the normal pace of engineering work.

A context warehouse for engineering captures this knowledge as it's created and makes it persistently queryable, transforming the most ephemeral parts of engineering work into the most durable.


What an engineering context warehouse contains

System documentation that writes itself from GitHub activity. When a PR modifies how two services communicate, the documentation about that communication updates. When a refactor changes system boundaries, the architecture docs reflect it. The engineering wiki stays current because it's derived from the code activity rather than maintained alongside it.

Decision records generated from the places where decisions actually happen: Slack threads where the team debated two approaches, meetings where architecture options were discussed, PR comments where the reasoning behind a non-obvious choice was explained. Each decision is captured with its reasoning, alternatives, and constraints, without anyone writing a separate decision document.

Incident history captured from post-mortem discussions, incident response Slack channels, and the meetings where root causes were analysed. The history is searchable by system, symptom, and root cause, so when a similar incident occurs, the previous response and resolution are findable in seconds.

Onboarding context that's comprehensive and current. The new engineer can search "how does the payments service work?" and find the architecture documentation, the key decisions that shaped it, the recent changes, and the discussions about its future direction. The onboarding that used to take months of absorbing context through conversations takes weeks of reading.

Change history compiled from PRs, releases, and discussions. A timeline of how each system has evolved and why, searchable and navigable. When someone asks "when did we change the retry logic?" the answer includes the PR, the Slack discussion that motivated it, and the meeting where the approach was agreed.


The self-writing engineering wiki

The centrepiece of the engineering context warehouse is the self-writing wiki: structured, cited, editable documentation that generates and maintains itself from three primary sources.

GitHub. PR descriptions, commit messages, code review comments, and issue discussions. These capture what changed and why at the code level.

Slack. Design discussions, troubleshooting threads, decision debates, and architectural reasoning. These capture the thinking that doesn't make it into code.

Meetings. Architecture reviews, sprint planning, incident post-mortems, and onboarding sessions. These capture the verbal context that's typically lost.

Every claim in the wiki links back to its source: the specific PR, Slack message, or meeting timestamp. Engineers can verify any claim by clicking through to the original context. This citation architecture is what separates self-writing docs from AI-generated text and what earns the trust of engineers who've learned to distrust stale wikis.


AI agents that know your codebase

Through MCP, AI agents can query the engineering context warehouse for the organisational knowledge that makes their output dramatically more useful.

The coding assistant doesn't just see the current file. It can search the context warehouse for the architecture decisions that explain why the code is structured this way, the conventions the team follows, and the constraints that should be respected. Its suggestions are architecture-aware rather than narrowly syntactic.

The internal chatbot can answer "why is the auth service separate from the monolith?" accurately, because the decision record is in the context warehouse, grounded in the actual Slack discussion and meeting where the decision was made. No hallucination. No "I don't have that information." A specific, cited, accurate answer.

The documentation problem that has plagued engineering teams since the beginning of software development is resolved not by asking engineers to write more docs but by building infrastructure that generates and maintains the docs from the engineering activity that's already happening.


Frequently asked questions

How does this compare to what we're doing with Confluence? Confluence requires manual writing and maintenance. The engineering context warehouse generates and maintains documentation automatically from your team's existing activity. The documentation stays current because it's derived from the same sources that change the code. Confluence can coexist as a repository for manually authored content (RFCs, style guides) while the context warehouse handles operational documentation.

What about code documentation (READMEs, docstrings)? Code-level documentation explains what the code does. The context warehouse documents why: the decisions, the reasoning, the trade-offs, the history. Both layers are needed. Code documentation is the micro layer. The context warehouse is the macro layer.

How do we handle multiple repositories? Connect each repository to the context warehouse. The documentation generated from each repo is searchable alongside documentation from every other repo, which means cross-repo context (how Service A's changes affect Service B) is findable in a way that repo-specific documentation can't provide.


Related reading: What is a context warehouse?, Why engineering docs matter, Self-writing docs explained, Good docs are a 10x multiplier. Related pages: Self-writing docs for engineering, For engineering teams, Decision log, Onboarding.


The workspace that thinks with you.

Ready when you are.

The workspace that thinks with you.

Ready when you are.

The workspace that thinks with you.

Ready when you are.