Mason

com.adrianczuczkaPublished by adrianczuczka.comv0.24.0Updated Oct 30, 2026

Engineering decisions, change impact, documentation audits, and CI evidence for coding assistants.

VerifiedSTDIODesktop onlyKnowledge & MemoryDeveloper Tools

Overview

AI-generated overview

Mason stores reviewed engineering decisions with your repository so coding assistants can retrieve the rationale behind code and flag when it drifts.

What you can do
  • Record sourced proposals explaining why code was built a certain way, then review and accept them as project guidance
  • Retrieve accepted rationale and review status for later tasks, keeping proposed replacements distinct from operative decisions
  • Flag changes to code that recorded decisions apply to, prompting inspection, revision or retirement
  • Audit README and agent instruction files for stale claims such as missing paths, wrong workspace counts or missing npm scripts
  • Review committed changes against a chosen base branch, surfacing references, related tests and files that historically change together
  • Verify repair findings through to the final documentation commit
When to use it
Useful for repositories where consequential decisions, workarounds and rejected approaches lose their context over time, and where coding agents should be able to look up why code exists before changing it. It complements tests, linters and code review rather than replacing them.
Requirements
Runs as a local stdio process; Git is required. The README's installer needs no Node or npm, while the npm package runs via npx. Setup involves running mason init and mason setup in the repository with a host flag such as codex or claude, and reviewing the host's trust settings.
Before you install
Setup writes MCP, hook and project instruction configuration into the repository, so review shared files before committing them. Standalone installs update themselves in the background by default. The README states its evidence is limited: patch outcomes and correctness gains are not yet demonstrated, so treat findings as evidence to inspect.

Installation

In SourceWeft

  1. Open Mason in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

Mason

Preserve why your code was built this way.

Record the reason · Review the lesson · Surface applicable guidance · Reconsider it as code changes

[npm version] [CI] [Monthly downloads] [License]

[Works with Codex] [Works with Claude Code] [MCP compatible] [Supported platforms]

Mason preserves reviewed engineering reasoning with your repository, so future maintainers and coding agents can retrieve the evidence behind consequential decisions. Record workarounds, rejected approaches and constraints while their reasons are available; revisit them when the underlying code changes.

Get started

Install on macOS or Linux:

sh
curl -fsSL https://github.com/adrianczuczka/mason/releases/latest/download/install.sh | sh

Windows PowerShell:

powershell
irm https://github.com/adrianczuczka/mason/releases/latest/download/install.ps1 | iex

No Node or npm required. Git is required. The installer configures PATH for Bash, Zsh, and Windows. Platform details · npm installation

New standard standalone installs update automatically in the background. Updates activate on a future MCP launch after existing Mason MCP servers exit. Run mason updates to inspect or change this preference. Existing installations require one manual upgrade and mason updates enable. Update controls

Run this in your Git repository (open a new terminal if the installer asks):

bash
mason init --host codex    # Maintainer: prepare shared configuration for review/commitmason setup --host codex   # Each developer: activate locally# For Claude Code, use --host claude.

If the repository already has compatible Mason configuration, run only mason setup. Initialization prepares MCP, hooks and project instructions; setup leaves shared files untouched. Review your host's trust settings, start a new session, and give your agent a normal task.

Check that Mason is being used:

bash
mason status

Setup uses your installed mason command—no project launch scripts or runtime copies. Status distinguishes configuration from observed use. Setup and upgrades · Disconnect a project · Other MCP clients

Try a check without setup

bash
mason audit --dir .mason review --dir . --base origin/main

The audit checks claims in README and agent instruction files throughout the repository. The review checks committed changes against your chosen base. Both are read-only and need no model calls.

What Mason catches

As your project grows…Mason helps by…
Instructions fall behind the code.Flagging missing paths, incorrect workspace counts, and missing npm scripts.
A patch misses a related update.Surfacing references, related tests, and files that historically change together.
Old decisions lose their context.Retrieving recorded rationale and review status, and flagging changes to the code they apply to.
A repair gets interrupted.Retaining the original findings and verifying them through the final documentation commit.

After resolving an incident or settling a constraint, ask your agent to record a sourced proposal with Mason. Review it before accepting it as project guidance. Later tasks can retrieve the operative accepted revision while proposed replacements remain distinct, and changes to referenced code can prompt inspection, revision or retirement.

Mason complements tests, linters, and code review. Findings are evidence to inspect; unavailable checks stay explicit.

Evidence so far

Earlier read-only decision-retrieval evaluations scored 9.0/10 with Mason vs 7.0/10 without. The initial ten-task patch comparison tied at 10/10 for both. Improved patch outcomes remain to be demonstrated. Results, methodology, and limitations

Maintained notes also succeeded in the reuse trials. Recent hook experiments verified supported file delivery, with additional context cost and no demonstrated correctness gain; direct delivery for ordinary Bash workflows remains open. The current focus is useful preservation and reuse of engineering reasoning during ordinary work, with capture and maintenance effort that feels worthwhile. Preventing repeat mistakes is one intended benefit; comparative superiority remains unestablished. Positioning and validation plan · Current evidence

Documentation

Development

For development, use Node 20 (20.19+), Node 22 (22.13+), or Node 24+. After npm ci, run npm run format to format TypeScript sources, tests, and tooling configs. CI checks formatting with npm run format:check and runs npm run lint, npm run typecheck, and the test suite. Run npm test locally to check behavior.

ESLint uses the recommended TypeScript rules plus type-aware checks for unhandled promises, misused async callbacks, and invalid awaits. Prettier handles formatting. Test fixtures and generated outputs are excluded from formatting and linting. Production sources also reject explicit any and unsafe assignments, property access, calls, arguments, and returns. External data is validated before use. Test doubles keep the more permissive rules.

Source: README.md at commit 78bb082

Tools

0
SourceWeft started this package once in an isolated sandbox, without credentials, to list its tools. That failed: the server did not start.

Version history

10
  1. v0.24.0LatestOct 30, 2026
  2. v0.23.1Oct 21, 2026
  3. v0.22.0Oct 12, 2026
  4. v0.21.0Oct 10, 2026
  5. v0.20.2Sep 30, 2026
  6. v0.19.2Sep 29, 2026
  7. v0.19.1Sep 25, 2026
  8. v0.18.0Sep 17, 2026
  9. v0.17.4Sep 16, 2026
  10. v0.16.3Sep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts