Skip to main content

Concepts

Reasonry has a small set of concepts: a knowledge base, initiatives, documents of a few types, statuses, links, and a wiki. This page defines each term and explains how the concepts fit together. For the exact folders, IDs, and fields, see Workspace and Document fields.

The names on this page are the ones in the engine's preset. A knowledge base can rename the statuses and add document types: see Customize a workspace.

The knowledge base​

A knowledge base is a folder of Markdown files in git. The commands and the configuration call the folder a workspace. It has three layers, and each layer has a different job:

  • Source documents record what the team decided, what it measured, and what it hasn't settled. They are the only layer that settles what's true.
  • The wiki holds readable pages that the agent writes from the source documents. A page helps a reader find a document, and it never replaces the document.
  • Output holds what leaves the knowledge base: deliverables that a person writes for an audience, and bundles exported for other tools.

Raw material is anything that holds decisions, questions, or findings before the agent reads it: notes, a transcript, an article. Raw material isn't a document. It waits in a raw/ folder until intake, in which the agent proposes documents and writes the ones that you approve.

Initiatives​

An initiative is a folder inside the knowledge base for one project or topic, such as a team's tooling or a product launch. Each initiative has its own ID prefix, its own list of tags, and its own rules for agents. A knowledge base can hold many initiatives, and every document names the initiative that it belongs to.

Document types​

A source document is one Markdown file with an ID and a status. The type says what the document records. The following table lists the four types that carry the team's knowledge:

TypeWhat it recordsExample IDFirst status
DecisionOne decision, the reason for it, and what it replacedDEC-TT-0001draft
Open questionSomething that the team hasn't settledQ-TT-0001open
EvidenceA finding, a measurement, or a source that a decision can citeEVID-TT-0001active
ReportA note that something in the knowledge base looks wrongRPT-0001open

The types depend on each other. Evidence supports a decision. An open question waits until an accepted decision answers it. A report points at the documents that look wrong, and the maintainers decide what happens to it.

Three more types describe the initiative itself, and each initiative needs only a few of them:

  • A charter states the initiative's goal and scope. Each initiative has one.
  • A context document holds background, such as a glossary or a list of stakeholders.
  • A plan holds what the team intends to do, such as a roadmap.

For the ID form, the folder, and the statuses of each type, see Document types.

Statuses​

A status says whether a reader acts on a document. A document never leaves the knowledge base when its status changes: it stays in its folder, and the status tells the reader how to treat it.

Each type has its own path:

  • Decision: draft, then accepted or rejected. A later decision can replace an accepted one, which then becomes superseded and names its successor.
  • Open question: open, then resolved when an accepted decision answers it, or rejected when the team drops it.
  • Evidence: active, then superseded when a newer finding replaces it.
  • Report: open, then resolved.

Two pairs of words describe how far to trust a document:

  • A live document is one that a reader acts on. A retired document is rejected, superseded, or resolved: it shows how the team got here, and nobody follows it.
  • A provisional document is a draft decision or an open question. A binding document is any other live document, such as an accepted decision or active evidence.

Only a person makes a decision binding. Before a decision is accepted, it passes the challenge gate: the agent tests the decision against the knowledge base, and the person answers each finding. The answers stay in the decision. For the full list of statuses, see Statuses.

A document names other documents in its frontmatter. The plain links list holds related documents and the evidence behind a decision. Three more fields record a direction: a decision resolves an open question, a superseded document is succeeded_by its replacement, and a document is refined_by a more detailed one.

The engine builds the graph from these fields, in the graph.json file, and the agent uses the graph to find what depends on a document. The check warns when a live document links a superseded or rejected one. For the fields, see Fields that connect documents.

The wiki and deliverables​

A wiki page is derived: the agent writes it from the source documents and can write it again. Each page lists the documents that it cites, and the engine warns when one of them changes after the page was written. An agent reads the source document before it relies on a page.

A deliverable is different. A person owns it, edits it by hand, and each claim in it names the document that it comes from. For the two, see Maintain the wiki and write deliverables.

Who does what​

Three actors work on a knowledge base, and each does what it can do reliably:

  • The engine is the reasonry command. Its check validates what code can decide every time, such as whether a linked document exists. The engine also serves the files to AI coding tools through two servers: the Keeper server for the agents that maintain the knowledge base, and the Reader server for agents in other repositories, which can read, search, and file a report. Both servers speak the Model Context Protocol (MCP), a standard way for an AI coding tool to call an outside program.
  • The agent is your AI coding tool at work on your request, such as Claude Code. It follows a skill, which is a procedure for one kind of task, such as intake or a review pass: a regular pass that looks for contradictions, gaps, and conclusions whose evidence changed. The agent drafts documents and looks for problems, and its findings are advice.
  • A person approves every plan and makes every decision binding.

Reasonry itself has two parts. The plugin holds the skills, and you install it in your AI coding tool. The plugin starts the engine. The installer's messages call an AI coding tool a harness.

For the reasoning, see Three kinds of check.

How knowledge moves through the knowledge base​

The concepts meet in the path that one piece of knowledge takes:

  1. Raw material arrives, such as notes from a meeting.
  2. During intake, the agent proposes documents: evidence for what was measured, an open question for what is unsettled, and a draft decision for what the team agreed. You approve the plan.
  3. The draft decision passes the challenge gate, and you accept it. It is binding from then on. If it answers an open question, the agent marks the question as resolved.
  4. The agent writes wiki pages from the source documents, for people and agents who need the result and not the history.
  5. A review pass looks for contradictions, gaps, and conclusions whose evidence changed. When a newer decision replaces an earlier one, the earlier one becomes superseded and names its successor.

To follow this path yourself, see Build your first knowledge base. For what the agent does at each step, see What the agent does during a task.