Reference text: four protocol documents for m2, a manager-of-managers way to run coding agents from one plan file.
The documents depend on companion protocols, repository tooling and a plan store that are not included, and no m2 run is evidenced here.
m2 ships four protocol documents and no runnable code.
The demo shows the output of a packaging test, not a run of
m2. It is reconstructed from
evidence/transcripts/package-check.txt,
the recorded output of
tests/test_package.py.
Not measured, stated up front.
- No m2 run produced the evidence here. No conductor, manager lane, worker or reviewer was started, and no part of the protocol was executed.
- Whether an agent that reads these documents follows them has not been measured.
- The documents were written for one repository. Whether they work in another one after the placeholders are filled in has not been tested.
- Nothing here checks a record against the artifact schemas.
- Neither install block below was run in a Claude Code or Codex session. The agent runs loaded the skill from a plugin directory and from a copy in the fixture.
In the claim, m2 is the skill package under
skills/m2/, which is what both install
blocks copy. Its six files are Markdown or YAML. The
packaging test checks that none of them is executable, opens
with a #! line, or has another suffix. The documents do
quote shell commands and a pseudocode loop as text.
The repository around the package also holds Python scripts that record the transcript, render the agent invocation transcripts, build and check the images, and test the packaging. They are not part of the skill.
skills/m2/SKILL.mdsays what m2 is and points at the four documents.skills/m2/references/m2.protocol.mdis the conductor protocol: the invocation contract, the budget and exit contracts, the tick loop, the execution phases, the output schemas, and the status and failure rules.skills/m2/references/m2-artifact-schemas.mdlists required fields for records the conductor protocol uses. It does not cover every record and field that protocol names; see the known disagreements below.skills/m2/references/m1.protocol.mdis the protocol for one manager lane.skills/m2/references/writeAC.protocol.mdis the protocol for turning a request into acceptance criteria.
In the documents, m2 means manager of managers and m1
means manager of individual contributors.
The documents name things you cannot get from here:
- Companion protocols.
l8(),fanOut(),dispatch(),green()andgreenTick()are called by name. None of them ships in this repository. - Repository tooling. The documents expect the
repository they run in to have an
AGENTS.md, documented lint, prepare and verify commands, a devcontainer command surface, and thegitandghcommands. They read an optionalM2_RUNS_ROOTenvironment variable. Thex_availablefield of the Isolation Record refers to a repository command runner namedx, which is not included. - The original repository's stack. Some passages assume
it without naming it: Bazel outputs, C++ formatting,
node --check, Playwright, and browser evidence for a product with a canvas and a renderer. Read those as examples from one repository. - A plan store. Plans live in a separate git repository.
The documents write it as
~/<plan-store>, with the identities<owner>/<plan-store>and<owner>/<project-store>. Those, and<repository>, are placeholders that stand for names in the original repository. - A model. The documents name
gpt-5.3-codex-sparkas the default worker model. This repository provides no model and no access to one.
The four documents come from a private repository. For this release:
- the four files lost the
.gpt.infix in their names and moved underreferences/; - pointers to the sibling protocol files now read
references/...,M2_SCHEMA_PATHbecame relative to the skill's directory instead of the repository root, and the pointer to thel8()protocol file became its name; - the plan store path and the two repository identities became the placeholders above;
- commands specific to the original repository became "the
repository's documented" lint, prepare and verify
commands, and two
ghcommands lost their--repoargument; - two fixed checkout paths, one named caller and one test command name were replaced with general wording;
- one product URL became
https://example.com/; - in
m1.protocol.md, an example path that named a project was replaced, a feature example was shortened, and the top-level name in a source directory example was replaced.
writeAC.protocol.md is unchanged. Names the documents
define for a run are also unchanged: the run-time paths
under the repository's .agents directory (logs, runs,
projects, teams, docs and local files), the .gpt.md,
.gpt.json and .gpt.jsonl artifact names, and the
.plan.m2.gpt.md plan suffix. .gpt. is an infix the
original repository puts in the names of files an agent
writes.
The documents are shipped as written. They do not fully agree with each other or with themselves, and this release does not settle any of it. Known cases:
m2-artifact-schemas.mdhas two sections titled "Non-Stopping Delivery Event Record" with different required fields. Neither listsauto_generated_pr_query_clean, which the protocol asks every delivery event to record. Thekindvalues in the second do not cover screenshot, browser-proof or deploy-proof events, which the protocol counts as delivery events. One passage saysdelivery_event_is_nonterminalmust betruefor every budgeted-run event and another allowsfalse.- The schemas file has no record for the manager output the
protocol points it at, and none for the resume pointer.
Its Resume Prompt Record lacks
plan_store_identity,plan_source_commitandplan_blob_id, which the protocol says to persist. Itsevent_typevalues lackacceptance_matrix_revisionandearly_stop_violation, which the protocol's loop appends. It listsexecution_intentas required where the protocol gives it a default. - The protocol's Final Response Gate lists six statuses and
leaves out
green_tick_handoff, which its bounded green tick section and the schemas file use. Its turn-based continuation section allows a final message in three cases and leaves out the overrun handoff and the green tick handoff that other sections allow. - The derived value
RUN_EFFECTIVE_BUDGET_MINUTEStakes the larger of the duration and the tick equivalent with no exception, while the aggregate M1 passages keep the duration as the wall-clock basis. - The worker output schema says integration may use only accepted diff artifacts, while the worktree contract and Phase 6 also accept worker commits and same-thread changes.
RUN_HEALTH_DASHBOARD_PATHis defined twice with different values.- "Tick Eligibility Checklist" names no section; the schemas file has a Tick Eligibility Record.
- The compatibility syntax line omits
numM1s. - "Do not use destructive git commands" stands beside a recovery path that resets a branch and force-pushes with lease.
writeAC.protocol.mdlists the accepted formwriteAC(text)twice.
This list is what review of this release found. It is not claimed to be complete.
Read
skills/m2/references/m2.protocol.md
before you install the skill. It tells an agent to keep
working without returning control to you; to commit, push,
and open, update or merge pull requests; to write outside
the repository it was started in; and to treat a saved
resume prompt as its prompt. SECURITY.md
lists these. Both installs below are pinned to a tag rather
than to main.
Save this as install.sh and run it with sh install.sh.
It sets set -eu and an EXIT trap, so pasting it straight
into an interactive shell will end that shell if the clone
fails.
set -eu
release=v0.1.2
install_target="$HOME/.claude/skills/m2"
install_parent="$(dirname "$install_target")"
mkdir -p "$install_parent"
install_tmp="$(mktemp -d "$install_parent/.m2.XXXXXX")"
install_stage="$install_tmp/package"
rollback_install() {
if [ ! -e "$install_target" ]; then
if [ -e "$install_tmp/previous" ]; then
mv "$install_tmp/previous" "$install_target"
fi
fi
rm -rf "$install_tmp"
}
trap rollback_install EXIT
git clone --quiet --depth 1 --branch "$release" \
https://github.com/trycopilotai/m2 \
"$install_tmp/clone"
mkdir -p "$install_stage"
cp -R "$install_tmp/clone/skill/." "$install_stage/"
if [ -e "$install_target" ]; then
mv "$install_target" "$install_tmp/previous"
fi
mv "$install_stage" "$install_target"
trap - EXIT
rm -rf "$install_tmp"The name to invoke is /m2. In the agent run below, Claude
Code loaded the skill from a plugin directory, where it is
listed as m2:m2; a skill installed by this block was not
invoked.
Save this one the same way. The only line that differs from
the block above is install_target.
set -eu
release=v0.1.2
install_target="$HOME/.agents/skills/m2"
install_parent="$(dirname "$install_target")"
mkdir -p "$install_parent"
install_tmp="$(mktemp -d "$install_parent/.m2.XXXXXX")"
install_stage="$install_tmp/package"
rollback_install() {
if [ ! -e "$install_target" ]; then
if [ -e "$install_tmp/previous" ]; then
mv "$install_tmp/previous" "$install_target"
fi
fi
rm -rf "$install_tmp"
}
trap rollback_install EXIT
git clone --quiet --depth 1 --branch "$release" \
https://github.com/trycopilotai/m2 \
"$install_tmp/clone"
mkdir -p "$install_stage"
cp -R "$install_tmp/clone/skill/." "$install_stage/"
if [ -e "$install_target" ]; then
mv "$install_target" "$install_tmp/previous"
fi
mv "$install_stage" "$install_target"
trap - EXIT
rm -rf "$install_tmp"The name to invoke is $m2. In the agent run below, Codex
picked up $m2 from a copy of the package in the fixture's
.agents/skills/m2; a skill installed by this block was not
invoked.
Each block works in a temporary .m2.* directory beside the
target and removes it on exit. An existing install at the
target is replaced.
While it clones, git warns that the tag "is not a commit"
and notes a detached HEAD. Both are expected for a clone
pinned to an annotated tag.
Both blocks copy through skill/, a symlink to
skills/m2/, so the installed directory holds SKILL.md,
agents/ and references/ as real files. They assume a
checkout that keeps symlinks; with core.symlinks off the
copy fails and the block rolls back. The repository also
carries .claude-plugin/plugin.json and
.codex-plugin/plugin.json for a marketplace. No
marketplace lists this skill, so no marketplace install is
described here.
evidence/transcripts/package-check.txt is the recorded
output behind the claim at the top of this file. It is the
output of python3 tests/test_package.py -v, run in a
throwaway directory that held a copy of skills/ and of the
test. scripts/record_session.py wrote the $ lines and
the exit status; the rest is the test's output, with one
edit: the elapsed time that unittest prints after the test
count was removed. The transcript itself carries no notice
of that. evidence/demo-manifest.json is where the edit is
declared, as strip-test-duration, beside the SHA-256 of
SKILL.md, of agents/openai.yaml, of the four documents
and of the test, the command, the interpreter, the date, and
the SHA-256 of the transcript.
This is evidence about the files in the package. It is not evidence that the protocol works.
make check runs the packaging test and a second suite that
ties this file, both plugin manifests, the transcripts and
the demo images to each other.
Each client was started once, on one synthetic fixture whose
only tracked file is a made-up three-workstream GOAL.md
(for Codex, beside a committed copy of the skill under
.agents/skills/m2), and asked through the skill which m2
artifacts a manager would produce for that goal and where
the protocol defines each. This is an agent reading and
citing the protocol, not an m2 run, and not a benchmark.
evidence/transcripts/2026-10-06-claude-code-invocation.txt: Claude Code 2.1.220 loadedm2:m2with aSkillcall, read the goal and the four documents, and answered with a table of manager artifacts citing file, section and line. It started no m2 run and changed no file. One row is wrong: it says Phase 2 rejects the board when any packet lacks a file lease, while the cited rule rejects it only when two edit-capable packets can touch the same file without a lease order.evidence/transcripts/2026-10-06-codex-invocation.txt: Codex 0.146.0 readSKILL.mdand the four documents and answered with the manager, packet, lease, contract, review, evidence, delivery and conductor artifacts, citing file, section and line. It started no m2 run and changed no file.
Both runs used the package as tagged v0.1.0; nothing under
skills/ changed since. Not every citation was checked
against the documents. Both transcripts were rendered from
the clients' raw output by
scripts/render_invocation.py,
which makes two kinds of edit and no other: it cuts
tool-call arguments longer than 300 characters, marking each
cut with ...[+N chars], and it replaces local paths and
the host name. evidence/demo-manifest.json declares each
edit under invocations, with the client versions, models
and hashes. The raw output and the fixture are not
published, so the transcripts cannot be re-rendered from
this repository.
See CONTRIBUTING.md.
See SECURITY.md.
MIT license. See LICENSE.
The trycopilotai organisation name is not a claim of any
relationship with GitHub Copilot. This project is not
affiliated with, endorsed by, or sponsored by GitHub, Inc.
GitHub and GitHub Copilot are trademarks of GitHub, Inc.