# Markdown Gatekeeper

> Local-first authority layer for organizing Agent-facing Markdown - nanlogic/markdown-gatekeeper

- **Website:** https://github.com/nanlogic/markdown-gatekeeper
- **Pricing:** unknown
- **Categories:** Developer Tools, AI Agents
- **Tags:** developer-tools, ai-agents, writing-content
- **Platforms:** CLI
- **Last verified:** 2026-09-10
- **Canonical page:** https://linkrena.com/tools/markdown-gatekeeper

## About

Markdown Gatekeeper is a local-first authority layer for projects where humans, Claude, Codex, and other agents create overlapping Markdown documents.

It keeps ordinary Markdown and local Git. It adds one rule: a document does not become current authority merely because an agent calls it authoritative.

This repository is the first dogfood implementation. It intentionally has no cloud service and no MCP dependency.

After the package is published to npm, the equivalent command is npm install -g markdown-gatekeeper .

During local development, use npm link in this repository instead of installing globally from GitHub. New Codex tasks and Claude Code sessions then detect managed projects automatically, while unrelated global instructions and unmanaged projects are left alone.

After installation, routine Agent sessions use Gatekeeper silently. If a managed project still has registry revision zero or pending legacy entrypoints, the host-specific bootstrap automatically resumes adoption. Successful housekeeping is not shown to the user; owner review appears only when the current task actually depends on unresolved product intent. Bootstrap calls the installed global mdg command directly and only uses a verified host launcher or repository-local fallback.

Claude and Codex project hooks block accidental direct edits to protected authority files.

## Related tools

- [Tako VM](https://linkrena.com/tools/tako-vm): Tako VM is a secure file system and Python execution layer for AI agents: gVisor-isolated Docker containers with job queues, workers, retries, and replay.
- [Ratify Agent Relay Harness](https://linkrena.com/tools/ratify-agent-relay-harness): Offline, one-command reproduction harness + adversarial annex for the Agent Relay x Ratify Phase 2 flagship.
- [Unitpost](https://linkrena.com/tools/unitpost): Email component library that works in Outlook, Gmail, and Apple Mail.
- [TDQS](https://linkrena.com/tools/tdqs): An open framework for scoring how well an MCP tool definition communicates to an AI agent.
- [Declick](https://linkrena.com/tools/declick): Compile an API, an MCP server, a database or a web page into a CLI your agent can run.
- [Webmcp React](https://linkrena.com/tools/webmcp-react): React hooks for exposing your app's functionality as WebMCP tools - transport-agnostic, SSR-safe, Strict Mode safe, W3C spec-aligned - agentcathq/webmcp-react
