Skip to main content

The static St. Peter — vision, goals, guardrails, SOPs, ADRs for AI agent governance

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

governor_md-0.3.0.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

governor_md-0.3.0-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file governor_md-0.3.0.tar.gz.

File metadata

  • Download URL: governor_md-0.3.0.tar.gz
  • Upload date:
  • Size: 42.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for governor_md-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4a679dd5a4cd77fd5a41664105f60ec44ff54aaaa488018362634665708b45c7
MD5 e91c9b7d2e99ee37ffc0c76fb1a2a70a
BLAKE2b-256 81ae71be509da6ce9b9b0e343a1e97bb9a4f73a51a6596c09b41682b5708c746

See more details on using hashes here.

Provenance

The following attestation bundles were made for governor_md-0.3.0.tar.gz:

Publisher: publish.yml on eidos-agi/governor.md

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file governor_md-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: governor_md-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for governor_md-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21914213d93551415e1b980f1219a05cca81d9960dd89d37920b68a1143666e9
MD5 051aabe537b22170f549ce4ee4ffcbfa
BLAKE2b-256 cf99a105888e1e6596247c88965dd581b244b54a5c369d613d818885acd04dc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for governor_md-0.3.0-py3-none-any.whl:

Publisher: publish.yml on eidos-agi/governor.md

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page