Skip to content

Markdown Gatekeeper

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

Markdown Gatekeeper screenshot

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.

Compare all
  • 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 Tools
  • Ratify Agent Relay Harness

    Offline, one-command reproduction harness + adversarial annex for the Agent Relay x Ratify Phase 2 flagship.

    /AI Agents
  • Experiential

    An open source model gateway that provides one control plane across closed, open-source, local, and custom models.

    Open source/Developer Tools
  • Unitpost

    Email component library that works in Outlook, Gmail, and Apple Mail.

    Subscription/Developer Tools
  • TDQS

    An open framework for scoring how well an MCP tool definition communicates to an AI agent.

    /Developer Tools
  • Declick

    Compile an API, an MCP server, a database or a web page into a CLI your agent can run.

    /Developer Tools