examples: Add MEP (Meat Puppet Elimination Protocol) — async state relay for multi-machine AI sessions#42996
Open
CRMinarian wants to merge 1 commit intoanthropics:mainfrom
Open
examples: Add MEP (Meat Puppet Elimination Protocol) — async state relay for multi-machine AI sessions#42996CRMinarian wants to merge 1 commit intoanthropics:mainfrom
CRMinarian wants to merge 1 commit intoanthropics:mainfrom
Conversation
MEP (Meat Puppet Elimination Protocol) is a self-enforcing pattern for eliminating context loss when switching machines or resuming Claude Code sessions. Zero new infrastructure — just CLAUDE.md, handoff.md, and Git. How it works: - CLAUDE.md loads automatically and self-enforces the session protocol - handoff.md carries curated context between sessions (the baton) - Git is the transport: encrypted, versioned, conflict-resolution built in - EOL keyword triggers automatic commit + push at session end Production-proven: April 3, 2026, a merge conflict in handoff.md was detected, diagnosed, and resolved autonomously — no human intervention. The file's structure (newest-first entries, named sections) provided enough semantic information for autonomous conflict resolution. Full spec + Claude Code skill (/mep start|end|status) + AGPL-3.0 version: https://github.com/NukaSoft/mep-protocol Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is MEP?
Meat Puppet Elimination Protocol — a self-enforcing pattern for eliminating context loss when switching machines or resuming Claude Code sessions. Zero new infrastructure. Three files.
The problem: Claude Code is stateless. Every session starts from zero. When you switch machines, you re-explain everything. Every switch costs 5–15 minutes. You become the message bus. MEP eliminates that.
How It Works
CLAUDE.mdhandoff.mdYour only job: open a session and say
/eolwhen done. The agent handles the rest.What's in This PR
examples/mep/README.md— explanation + quick startexamples/mep/CLAUDE.md— drop-in session protocol templateexamples/mep/handoff.md— blank baton templateProduction Proof
April 3, 2026: a merge conflict in
handoff.mdwas detected, diagnosed, and resolved autonomously — no human intervention. The file's structure (newest-first entries, named sections) provided enough semantic information for the agent to reason about the correct resolution without being told what "correct" meant.Why Git (Not iCloud, OneDrive, Google Docs, or SMB)
We tested five alternatives. They all fail for the same reason: unstructured transports can't be autonomously merged. Git won because structure enables autonomous reasoning. As a bonus: GitHub encryption at rest, 2FA, and audit log — enterprise security requirements met with zero additional management.
Full Specification
Complete spec, BNF handoff schema, Claude Code skill (
/mep start|end|status), and AGPL-3.0 version:https://github.com/NukaSoft/mep-protocol
🤖 Pattern designed by Pierre Hulsebus & Skippy the Magnificent, NukaSoft.AI. Built with Claude Code.