Skip to main content

governor.md

MCP server for long-term project governance. Records vision, goals, guardrails, SOPs, and architectural decisions (ADRs) — the contracts that all execution must honor.

Part of the trilogy: research.md → governor.md → docket.md

  • research.md earns decisions with evidence
  • governor.md records them as binding contracts
  • docket.md executes within those contracts

(governor.md was previously codenamed visionlog; docket.md was previously ike. Same tools, new brand names.)

What it enforces

  • Guardrails are active or deprecated — never deleted
  • ADRs are permanent once accepted — a new ADR supersedes, never overwrites
  • Goals form a DAG — dependencies must be resolved before a goal is available
  • Vision is sticky — it does not drift session to session

Trilogy conventions

governor.md follows shared conventions with docket.md and research.md. See CONVENTIONS.md for the full standard.

  • Config lives at .governor/config.yaml (committed to git)
  • Tools: project_init (new project) and project_set (register existing for session)

Install

uv tool install governor-md
# or: pip install governor-md

Add to .mcp.json:

{
  "mcpServers": {
    "governor": {
      "type": "stdio",
      "command": "governor"
    }
  }
}

Session protocol

project_set { path: "/path/to/project" }   <- returns project_id
governor_boot { project_id: "..." }        <- active guardrails + goal state
governor_guide { project_id: "..." }       <- vision + decisions + goal map

Read both governor_boot and governor_guide at the start of every session before touching any task or code.

Project structure

my-project/
  .governor/
    config.yaml          <- project GUID + metadata (commit this)
    vision.md            <- north star, anti-goals, success criteria
    goals/               <- GOAL-NNNN.md — DAG of milestones
    adr/                 <- ADR-NNNN.md — architectural decisions
    guardrails/          <- GUARD-NNNN.md — active constraints
    sops/                <- SOP-NNNN.md — coordination protocols

Tools

Session

Tool Description
project_init Initialize governor in a new project
project_set Register existing project for session, returns project_id

Orientation (call at session start)

Tool Description
governor_boot Active guardrails + current goal state + backlog check
governor_guide Vision + key decisions + full goal map
governor_status Counts: goals, decisions, guardrails, SOPs

Vision

Tool Description
vision_view Read the project vision
vision_set Set or update the vision document

Goals

Tool Description
goal_create Add a goal to the DAG
goal_list List all goals with status
goal_view Read a goal
goal_update Update goal status or body
goal_unlockable List goals whose dependencies are met

Decisions (ADRs)

Tool Description
decision_create Record an architectural decision
decision_list List all ADRs
decision_view Read an ADR
decision_update Update status or body

Guardrails

Tool Description
guardrail_create Add a guardrail
guardrail_list List all guardrails
guardrail_view Read a guardrail
guardrail_update Update status or body
guardrail_inject Inject guardrails into an existing prompt

SOPs

Tool Description
sop_create Add a standard operating procedure
sop_list List all SOPs
sop_view Read a SOP
sop_update Update status or body

Metadata

Release files for governor-md 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for governor-md 0.4.2
File Size Uploaded
governor_md-0.4.2.tar.gz 126.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for governor-md 0.4.2
File Interpreter ABI Platform
governor_md-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 163.4 kB

Release files / governor_md-0.4.2.tar.gz

Download URL governor_md-0.4.2.tar.gz
Size 126.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d5407376815fa0dfbfb343600a476867a884742b1f927cd228dd394946ab877b
BLAKE2b-256 checksum
How to use checksums
f1597c39cfa7c6909c9850a10044edc72a40718ebcb9f0bd8e756be8b6c9b5b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 4, 2026.

Transparency log

Release files / governor_md-0.4.2-py3-none-any.whl

Download URL governor_md-0.4.2-py3-none-any.whl
Size 37.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d23baaff054d76ae1d1cdffd9559e33760f7e4eaf357f532f95745046ebf0b48
BLAKE2b-256 checksum
How to use checksums
57d4d5210e4aab9a176a4acc16ef74c246c0fd66e1152e60b3122f0e39857f4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page