Cairnfield

Change together, decide for yourself

Many teams' agents review and fix the same AI tools at once, and no one merges their changes.

Each team's work lives in its own Artifacts repo, and each team builds the copy it trusts.

nine changes are ready one person merges one landed
The usual model. Agents can write fixes in minutes, and every one of them waits at the same gate.
each team's own Artifacts repo nine changes are ready nobody merges nine landed
Cairnfield. The same nine changes land at once, because no two teams write to the same place.

New: across organizations, with no merge

The usual model puts many agents' changes into one repo, behind one merge. Cairnfield works across organizations that share no repo, no account and no maintainer. Each team writes only to its own Artifacts repo, so nothing is merged and nobody waits.

It is for teams that install third-party agent skills, plugins and local MCP servers, and want to look before they update. More widely, it is for anyone who depends on code that many teams use and no one team owns. It is not for one team building its own application in one repo.

Three steps, with one running example

How it works

Today a team reviews what it installs alone, waits on someone else for every fix, and cannot check what its engineers run. The three steps below take these one at a time: review together, fix without waiting, and prove what you run. Each step works on one component: a plugin, skill or MCP server at one exact commit. One invented plugin, fellbeck-sync, and three invented teams are the example throughout. The prototype's demo runs two of them.

First

Review together

What happens
Each team publishes what it finds as findings, in its own Git repo on its node: a Cloudflare Worker the team runs for itself. A finding is a checkable fact: a file, a line range and an observation at one commit, with no verdict and no prose. The index is a service that reads every team's repo and shows the findings together on one public page. A second team confirms a finding when it publishes a matching one, or a re-check of it. The index's page calls each team an organization, and counts one for each node.
Why it holds up
You can check a stranger's finding without trusting the stranger, because it names lines anyone can read. The index checks that those lines exist before it shows a finding. Your own command checks again before a patch that rests on it enters your copy.
What others see
Only what a team publishes, under its node's address: its findings, re-checks and patches, and its claims, which say what its agent is working on now. Its lens, the local file that says which patches it takes, stays on its own machine, and so do its verdicts. Its recipe, the list of patches in the copy it built, is published only when its lens says so. Every node is public, so publishing anything shows which components a team is looking at.
The exampleNorthfork reports that fellbeck-sync may reach any host, at line 12 of plugin.json. Kestrel re-checks the line and confirms it.
Then

Fix without waiting

What happens
Each team publishes its fixes as patches, in its own Git repo. A patch is one commit, tied to the finding it fixes. The index shows it beside that finding, for any team to take. When two teams patch the same lines, or lines next to each other, both patches appear side by side. Neither overwrites the other.
Why it holds up
A patch may change only the lines its findings cite, and the index rejects one that changes any other line. No team writes to another team's repo, so no patch overwrites another and no team waits for a maintainer. Two teams that write the same fix end up with one patch, with both names behind it.
The exampleNorthfork limits fellbeck-sync to the one host it needs. At the same moment, Kestrel limits the variables it may read, on the next line. Both patches are published, side by side, and neither team waits for the other.

Agents work at the same moment

In the demo, two teams' patch agents claim and patch one plugin at the same moment, replayed from saved runs. Each claim shows on the page while its agent works, so other teams see who is changing what. Both teams write the same fix for one line, and the page shows one patch with both organizations behind it. Their two other patches change adjoining lines and stand side by side. One more patch, made by hand, changes a line its finding does not cite, and the page shows it as rejected.

Last

Prove what you run

What happens
Each team keeps a lens, a short local policy that says which patches it accepts. The cairnfield command fetches those patches from the teams that wrote them, re-checks each one, and builds the team's copy: the original plus the patches it accepted. Git gives that copy a tree hash, a fingerprint of every file in it, and the team's approval names that hash.
Why it holds up
A hash can be checked on any machine with one Git command, so an engineer can show that an installed copy is the one the team approved.
The exampleKestrel's lens accepts three patches from two teams. Its copy of fellbeck-sync has the tree hash 71aa09…, and that is the hash Kestrel approves.

Three teams read the same findings on the same fellbeck-sync and build three different copies. Each stone is a patch, in the rock of the team that wrote it, stacked on the original. A cairn is one team's copy.

The original, pinned at one Git commit Northfork, in slate Kestrel, in sandstone Marlow, in ironstone

Kept on each team's own machine

Three lenses, three copies

The same evidence leads to different copies and different verdicts. A lens is a short local file. It says which patches a team takes and which teams' work counts for it. A person gives each verdict, and the command writes it down. Marlow shows a lens that takes no patch. This is an example: its teams are invented, and its hashes are cut short.

Northfork

northfork.example
{
  "patchLevel": 1,
  "teams": [],
  "patchKinds": [
    "removes-only",
    "adds-or-changes"
  ],
  "publishRecipes": true
}
Approved with required mitigations

Level 1 takes only its own patches. Northfork wrote two, so it runs the copy with tree 4be20f….

Kestrel

kestrel.example
{
  "patchLevel": 2,
  "teams": [
    "https://northfork.example"
  ],
  "patchKinds": [
    "removes-only",
    "adds-or-changes"
  ],
  "publishRecipes": true
}
Approved with required mitigations

Level 2 also takes the patches of the teams it names. Kestrel names Northfork and takes its host fix beside two patches of its own, so it runs the copy with tree 71aa09….

Marlow

marlow.example
{
  "patchLevel": 0,
  "teams": [],
  "patchKinds": [],
  "publishRecipes": false
}
Not approved

Level 0 takes no patches, so Marlow builds no copy. Its reviewer read the findings on the index's page and ruled against the plugin as it stands.

Seen by a team operator and an engineer

The command

One command per step. Each prints one line of JSON and returns an exit code, so a person, a script or another agent can drive it. The two terminals belong to Kestrel and Marlow, which share no account. Kestrel builds a copy alone and later takes Northfork's patch. An engineer checks an installed copy against Kestrel's approval. Marlow's lens takes no patch. This output is an example. Its teams are invented, and its hashes and longer results are cut short at a …. The real command takes full hashes and prints each result in full. The results are laid out and colored here as the demo script shows them on a terminal.

Kestrelsomeone@kestrel.example
# Kestrel · node kestrel.example · no index yet · lens: level 1
kestrel$ cairnfield pin https://git.fellbeck-notes.example/fellbeck-sync --branch main --commit 9f3c1e7a…
kestrel> {
"component": "9f3c1e7a…",
"checkout": ".cairnfield/checkouts/9f3c1e7a…",
"files": 5,
"leftOut": [],
"registered": false
}
# Kestrel's own review agent writes four findings to the outbox, a local folder
kestrel$ cairnfield validate
kestrel> {
"records": 4,
"rejected": []
}
kestrel$ cairnfield publish
kestrel> {
"records": 4,
"head": "5d10c3…",
"published": [
"records/9f3c1e7a…/finding/5b7e….json",
…
],
"notice": "none"
}
# the bundled agent patches one of those findings
kestrel$ cairnfield patch 9f3c1e7a… --finding 5b7e…
kestrel> {
"claim": "e2f9…",
"number": 2914603317,
"patch": "7c1d…",
"commit": "b02e…",
"patchId": "93cd…",
"kind": "adds-or-changes",
"size": 2,
"paths": [
"plugin.json"
],
"recording": ".cairnfield/recordings/kestrel/9f3c1e7a…/5b7e….json",
"note": "written",
"records": 1,
"head": "a41f…",
"published": [
"records/9f3c1e7a…/patch/7c1d….json"
],
"notice": "none"
}
kestrel$ cairnfield assemble 9f3c1e7a…
# the full diff of the copy goes to standard error, for a person to read
--- a/plugin.json
+++ b/plugin.json
@@ -13,1 +13,1 @@
- "env": { "read": ["*"] }
+ "env": { "read": ["FELLBECK_TOKEN"] }
kestrel> {
"component": "9f3c1e7a…",
"level": 1,
"patches": [
{
"patchId": "93cd…",
"node": "https://kestrel.example",
"commit": "b02e…",
"kind": "adds-or-changes",
"size": 2
}
],
"refused": [],
"skipped": [],
"tree": "d3051c…",
"commit": "6fa0…",
"copy": ".cairnfield/copies/9f3c1e7a…",
"paths": [
"plugin.json"
],
"recipe": "c8e1…",
"records": 1,
"head": "0b5d…",
"published": [
"records/9f3c1e7a…/recipe/c8e1….json"
],
"notice": "none"
}
# a person read the diff and gave the verdict
kestrel$ cairnfield decide 9f3c1e7a… --verdict approved-with-required-mitigations --tree d3051c…
kestrel> {
"url": "https://git.fellbeck-notes.example/fellbeck-sync",
"commit": "9f3c1e7a…",
"verdict": "approved-with-required-mitigations",
"date": "2026-10-12T16:20:41.000Z",
"tree": "d3051c…"
}
# Later: an index in the config, and pin run again to register there
# Kestrel has patched a second finding, and its lens names Northfork at level 2
kestrel$ cairnfield assemble 9f3c1e7a…
kestrel> {
"component": "9f3c1e7a…",
"level": 2,
"patches": [
{
"patchId": "2e91…",
"node": "https://kestrel.example",
"commit": "c5a8…",
"kind": "removes-only",
"size": 1
},
{
"patchId": "4a07…",
"node": "https://northfork.example",
"commit": "1b7f…",
"kind": "adds-or-changes",
"size": 2
},
{
"patchId": "93cd…",
"node": "https://kestrel.example",
"commit": "b02e…",
"kind": "adds-or-changes",
"size": 2
}
],
"refused": [],
"skipped": [],
"tree": "71aa09…",
…
}
# the new copy has another tree, so a person read its diff and gave the verdict again
kestrel$ cairnfield decide 9f3c1e7a… --verdict approved-with-required-mitigations --tree 71aa09…
kestrel> {
"url": "https://git.fellbeck-notes.example/fellbeck-sync",
"commit": "9f3c1e7a…",
"verdict": "approved-with-required-mitigations",
"date": "2026-10-13T09:14:52.000Z",
"tree": "71aa09…"
}
# the table of verdicts: Kestrel saves it as approvals.json and shares that file by its own means
kestrel$ cairnfield approvals
kestrel> {
"version": "1",
"decisions": [
{
"url": "https://git.fellbeck-notes.example/fellbeck-sync",
"commit": "9f3c1e7a…",
"verdict": "approved-with-required-mitigations",
"date": "2026-10-13T09:14:52.000Z",
"tree": "71aa09…"
}
]
}
# On another machine, with that file and no config file, no key and no node
engineer: fetches the copy Kestrel published, with the read token its node gives anyone, into fellbeck-sync/
engineer$ cairnfield verify https://git.fellbeck-notes.example/fellbeck-sync fellbeck-sync --approvals approvals.json
engineer> {
"url": "https://git.fellbeck-notes.example/fellbeck-sync",
"commit": "9f3c1e7a…",
"verdict": "approved-with-required-mitigations",
"tree": "71aa09…"
}
# one file in that folder is changed
engineer$ cairnfield verify https://git.fellbeck-notes.example/fellbeck-sync fellbeck-sync --approvals approvals.json
engineer> {
"error": "copy-differs",
"url": "https://git.fellbeck-notes.example/fellbeck-sync",
"commit": "9f3c1e7a…",
"approved": "71aa09…",
"found": "8d02c7…"
}
# exit 11 · the folder is not the copy Kestrel approved
# The plugin releases again
kestrel$ cairnfield carry 9f3c1e7a… e41b09d2… --branch main
kestrel> {
"older": "9f3c1e7a…",
"newer": "e41b09d2…",
"findings": [
{
"finding": "5b7e…",
"carried": true,
"reason": "content-unchanged",
"as": "a9d3…",
"path": "plugin.json"
},
{
"finding": "7ab0…",
"carried": false,
"reason": "content-changed"
},
…
],
"patches": [
{
"patch": "7c1d…",
"patchId": "93cd…",
"carried": true,
"reason": "content-unchanged",
"as": "d0a4…",
"commit": "f31c…",
"paths": [
"plugin.json"
]
},
…
],
"records": 5,
"head": "9e2a…",
"published": [
…
],
"notice": "sent",
"leftBehind": [
"4a07…"
],
"paths": {
"added": 0,
"changed": 1,
"removed": 0
}
}
Marlowsomeone@marlow.example
# Marlow · node marlow.example · an index in the config · lens: level 0
marlow$ cairnfield pin https://git.fellbeck-notes.example/fellbeck-sync --branch main --commit 9f3c1e7a…
marlow> {
"component": "9f3c1e7a…",
"checkout": ".cairnfield/checkouts/9f3c1e7a…",
"files": 5,
"leftOut": [],
"registered": true
}
marlow$ cairnfield assemble 9f3c1e7a…
marlow> {
"component": "9f3c1e7a…",
"level": 0,
"patches": [],
"refused": [],
"skipped": []
}
# level 0 takes no patch, so there is no copy
# a person at Marlow read the findings on the index's page and ruled
marlow$ cairnfield decide 9f3c1e7a… --verdict not-approved
marlow> {
"url": "https://git.fellbeck-notes.example/fellbeck-sync",
"commit": "9f3c1e7a…",
"verdict": "not-approved",
"date": "2026-10-12T16:31:07.000Z"
}
# A finding from an outside agent, with a value outside the vocabulary
marlow$ cairnfield validate
marlow> {
"records": 0,
"rejected": [
{
"record": "records/9f3c1e7a…/finding/3f0a….json",
"reason": "unknown-value",
"field": "observation"
}
]
}
# exit 2 · publish pushes nothing until every file passes

For a team that wants to take part

Taking part

The manual is the README. Its Try it section lists five ways in, from the live demo page to a team's own review agent, and says what each one needs.

See it in a browser, then run one command per step

Seeing it takes a browser: the live demo page shows two teams at work on one plugin. Running it takes a clone of the repo and a Cloudflare account on the Workers Paid plan, which Artifacts requires. One team alone needs one node, and the two-team demo needs two nodes and an index. Each step is one command that prints one JSON value and returns an exit code. The demo replays saved work, so it calls no model and needs no model key. Any agent can take part, on any model: a finding is a plain file, and the command checks it the same way whoever wrote it.