Markdown Gatekeeper
Local-first authority layer for organizing Agent-facing Markdown - nanlogic/markdown-gatekeeper
About Markdown Gatekeeper
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.
Discussion
Sign in to join the discussion.
Loading comments…
Tagged
Alternatives to Markdown Gatekeeper
Tools in the same space, ranked by how they are performing in the directory.

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.
/Developer ToolsRatify Agent Relay Harness
Offline, one-command reproduction harness + adversarial annex for the Agent Relay x Ratify Phase 2 flagship.
/AI AgentsExperiential
An open source model gateway that provides one control plane across closed, open-source, local, and custom models.
Open source/Developer Tools- Subscription/Developer Tools
- /Developer Tools
Declick
Compile an API, an MCP server, a database or a web page into a CLI your agent can run.
/Developer Tools