MergeWitness

Replay the bug.Check the repair.Keep both features.

Changes can pass their tests and fail together after a clean merge. Replay the operation sequence, check a repair against frozen requirements from both changes, and inspect the recorded evidence.

MIT · Node 22+ · npm · Git · local execution

Base, two changes, one combined behavioral failureA adds tenant pricing. B adds a product cache. In the combined fixture Beta receives 90 instead of 100. BaseA · PricingB · CacheA + B
Beta’s price
90expected 100
Synthetic tenant-cache fixture
Independent MIT project / experimental version 0.3.1Frozen A/B requirements and declared dependencies

Green tests. A hidden interaction.

See how a sequence of requests reveals the bug and how the repair is checked to preserve pricing and caching.

2 minutes · Portuguese and English captions · synthetic example

See the proposal and checks for this example Details in Portuguese

Video provenance, transcripts and credits

The web response was forwarded by the user and applied unchanged by a local controller. Provider UI/model identity were not independently captured; Claude Code/MCP model integration is unverified.

The 120-second product film has Knox narration and PT/EN captions. The competition video is preserved in the history.

Read the 0.3.0 storyboard

A report you can inspect.

Recorded run · experimental version 0.3.1

Open the report for the synthetic pricing and caching example. Compare expected and observed results, and see which requirements the repair preserved. The report shows a previously recorded run.

01

Inspect the bug and repair in the report

Report in English · opens in your browser

HTML

Verification covers the requirements defined for this example.

How this example was checked

Generating HTML is not repair approval. Inspect classification, execution errors, coverage and the declared pricing/cache checks. Inconclusive evidence remains inconclusive.

02

Second installed reproduction

Report in English · opens in your browser

HTML

Run your first example.

Create a folder, download the package and example script, and verify the checksum. Then use the commands below to install and generate your report.

Run only trusted, reviewed local code. Worktrees and subprocesses are not a hardened security sandbox.

Experimental version 0.3.1. Requires Node.js 22 or later, npm and Git. Source and package available on GitHub.

Installation uses a local folder, works on Windows and Unix, and ignores installation scripts. A global mergewitness command is not required; the guides include additional instructions.

Save both files in the same folder. The example includes a supplied repair and runs without calling an AI model.

1. Check prerequisites

node --version
npm --version
git --version

2. Install the package

npm install --offline --ignore-scripts --no-audit --no-fund --prefix ./mw-tools ./mergewitness-core-0.3.1.tgz

3. Run the example and generate HTML

node ./run-example-0.3.1.mjs

When the example finishes, the terminal will show the report location in reportPath. Open that file in your browser.

Start with one real case.

Free local MIT core

The first pilot is free: one trusted, reviewed Node repository, one case and up to two technical sessions. Start with the team’s recent problem, reproduce the interaction locally and review a candidate repair when one is available.

Your team keeps the source and the merge decision. Execute trusted, reviewed code locally. The first external pilot has not happened yet.

Suggest a case for the pilotPrefer email? gabriel@mergewitness.com.br

Opens the participation options on GitHub. Submit your proposal when it is ready; do not include private code or credentials.

Help validate one real case.

We are looking for the first developers to test the tool on a real problem. You can already try the open example.

Read the project one-pager

Local today.
Learn from actual use.

We will observe reproduction by other developers and one real case from a participating team. These observations will guide the tool’s development.

01
Available for local use

Installable core. Offline HTML.

Compare sequences across Git revisions, check a repair against defined requirements, and generate a local report.

02
Declared boundary

Strict approval needs complete evidence.

Missing or invalid A/B requirements, altered declared dependencies and inconclusive executions must not pass strict verification.

03
Next validation steps

Installation and one real case.

Next: observe installations by other developers and investigate one real case with a participating team.

Limits and technical records

Run only trusted, reviewed local code. Worktrees and subprocesses are not a hardened security sandbox. Passing checks cover the declared requirements and dependencies, not every behavior.

Stdio MCP interface: source 0.3.0 initialize, listTools and ping checked with SDK 1.32.1. The full workflow was recorded on 0.2.1.

Read the scoped MCP verification record

One user-forwarded Claude web proposal passed local verification and a fresh replay. Provider UI/model identity were not independently captured; Claude Code/MCP model integration remains unverified.

Validation plan and research material

Target 3/5 unaided reproductions in about ten minutes, one actual external case and two concrete returns in 7–14 days. These are learning targets; none has been observed. No public npm release is planned for this stage.

Historical research worksheet · 0.3.0

The competition is part of the history.

Open the preserved IBM Bob prototype, lab and original video
Preserved 0.2.1 preparation

Correct alone. Wrong together.

A retained browser replay of the historical tenant-cache fixture. It demonstrates the original scenario; it does not validate the local 0.3.1 package.

Historical browser replayRuns locally in your browser

Same product. Different tenants.

RequestExpectedObservedSource calls

Now keep both features.

Key the cache by tenant, then product.

Repair not run in this browser yet.

Historical browser replay of trusted synthetic code. It is retained as provenance and does not execute the local 0.3.1 package.

Why green tests missed it

The fixture’s existing tests pass in all four revisions. They check the features separately, without serving one tenant and then another through the same cache. The interaction probe adds that missing sequence.

cache.get(sku)

What the repair changes

The combined cache uses only the product key. The repair gives each tenant its own product cache. Prices stay independent, while repeated requests still use cached values.

cache.get(tenant).get(sku)

The competition origin.

Retained video, frozen source, and machine-readable reports from the historical prototype.

Historical source & integrity

The catalog code and public JSON reports in this historical lab are unchanged copies from the linked source revision. They remain provenance, separate from current-package verification.

Inspect the historical source manifest

Replay locally.
Inspect what happened.

Run your first example