Skip to content
push-basedPublic

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

157 Commits

Folders and files

Repository files navigation

Reasonry

Reasonry logo: four rounded blocks stacked like bricks, next to the name Reasonry

Reasonry helps a team keep a record of its decisions that AI agents can maintain and rely on. Agents draft the documents and look for problems in them. A person approves every decision.

The record answers three questions: what did you decide, on what evidence, and does that decision still hold?

Quick start

You need Claude Code, git, and Node.js 22.18 or later. For Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, and Kiro, see the installation guide.

  1. Add the Reasonry marketplace to Claude Code:

    claude plugin marketplace add push-based/reasonry
  2. Create a folder with a git repository in it, and go to the folder:

    mkdir team-knowledge && cd team-knowledge && git init
  3. Create the knowledge base in the folder:

    npx -y @push-based/reasonry@2 init
  4. Install the plugin for the folder:

    claude plugin install reasonry@reasonry --scope project
  5. Start Claude Code in the folder, and create your first project or topic:

    /reasonry:bootstrap-initiative
    

To go from here to an accepted decision with example data, follow the first of the three tutorials, Build your first knowledge base.

What a knowledge base holds

A Reasonry knowledge base is a folder of Markdown files in git. You can read, compare, and search the files without Reasonry. Each file is one document. The following example is a decision from the tutorial, with some fields and sections left out:

---
id: DEC-TT-0001
title: "First review within 1 working day"
status: accepted
tags: ["topic/code-review","topic/working-agreements"]
owners: ["Platform team"]
links: ["EVID-TT-0001","Q-TT-0001"]
---

# DEC-TT-0001: First review within 1 working day

## Decision

1. **A 1-working-day first-review target.** Every pull request gets a first review within 1 working day of being opened.
2. **The owning team checks each morning.** The team that owns the repository checks its open pull requests each morning to catch any approaching the target.

## Challenge

| Finding | Sources | Answer |
| --- | --- | --- |
| Q-TT-0001 (reviewer-on-duty rotation) is open on the same ground | Q-TT-0001 | keep: already named in Alternatives Considered as held open |

Outcome: accepted.

The ## Challenge section records what the agent found when it tested the decision, and what the person answered.

Besides decisions, a knowledge base holds open questions, evidence, problem reports, and wiki pages that the agent writes from them. A decision that is replaced stays in the knowledge base and names its replacement, so you can always trace why something changed. For the document types, the statuses, and how they fit together, see Concepts.

How you work with it

You ask the agent for a task, and you approve what the agent proposes:

  1. You give the agent raw material, such as meeting notes, an article, or a finding.
  2. The agent proposes which documents to create. You approve the plan, and the agent writes them.
  3. Before a decision takes effect, the agent challenges it: it looks for earlier reversals, outdated evidence, open questions, and contradictions with other decisions.
  4. You answer each finding, and then accept or reject the decision. Your answers stay in the document.
  5. On a regular schedule, you run a review pass. The agent looks for contradictions, gaps, and conclusions whose evidence changed, and proposes fixes.

Agents that work in other repositories can search and read the knowledge base, and report a problem. They can't change it.

For what the agent does behind each step, see What the agent does during a task.

Do a task

Each task has a skill, which runs as /reasonry:SKILL_NAME, and a guide that describes the task from your side. The following table lists the tasks that come up most often:

What you want to do Skill or command Guide
Start a project or topic /reasonry:bootstrap-initiative Start an initiative
Turn notes, a transcript, or an article into documents /reasonry:maintain-source Add raw material
Write, accept, replace, or remove a decision /reasonry:maintain-source Work with documents
Map what a topic needs you to decide /reasonry:research-topic Research a topic
Find contradictions, gaps, and outdated conclusions /reasonry:sweep-corpus Run a review pass
Write or refresh the wiki pages /reasonry:maintain-knowledge Maintain the wiki and write deliverables
Check the files before a commit npx -y @push-based/reasonry@2 check Check a knowledge base and work as a team

If something doesn't work, see Troubleshoot Reasonry. For every guide and reference page, see the documentation index. For the comparison with other tools and the reasoning behind the design, see Why Reasonry is built this way.

Other ways to start

The quick start creates a knowledge base. If your situation differs, start here:

Repository layout

The repository holds the Reasonry engine in packages/, the plugin with its 6 skills in plugins/reasonry/, and this documentation in docs/. To change the engine or the plugin, see CONTRIBUTING.md. For how the engine, the plugin, and a workspace divide the work, see ARCHITECTURE.md.

License

Reasonry is released under the MIT License.

About

No description, website, or topics provided.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages