Resolution Flow

AI Agent queries
/api/v1/namespaces
Discovers namespace
cognovamx
Fetches pointer record
/cogs/{ns}/{name}/latest.json
Follows canonical_url
to publisher server
Verifies
content_hash

Two-Layer Trust

Publisher Attests Content

The publisher cryptographically attests their COG, proving "I wrote this and it is current." The attestation travels with the content.

Registry Attests Pointer

REGINALD attests the pointer record with Ed25519, proving "this document was registered, validated, and conforms to specifications."

Pure resolver, not a host. REGINALD resolves identifiers to URLs — it never stores or caches content. Publishers retain full control of their documentation and can update it at any time.

What Is a COG?

A COG is any document that carries MX metadata — a Certificate of Genuineness and Contract of Governance. An HTML page with Schema.org JSON-LD and <meta name="mx:*"> tags is a COG. A markdown file with YAML frontmatter is a COG. A JavaScript file with @mx:* JSDoc tags is a COG. The .cog.md extension is the human-readable naming convention for the markdown carrier format.

---
title: "Rancilio Silvia Pro X"
description: "Dual-boiler espresso machine with PID temperature control"
author: "Rancilio Group"
version: "2.1"

mx:
  status: active
  contentType: product
  tags: [espresso, dual-boiler, pid]
  maintainer: "product-team@rancilio.com"
  reviewCycle: "quarterly"
  expires: 2026-07-01
---

# Rancilio Silvia Pro X

The Silvia Pro X is a dual-boiler espresso machine...

In the markdown carrier, the YAML frontmatter is for machines and the markdown body is for humans — same file, both audiences served. But markdown is just one carrier format.

Carrier Formats

Any file type can be a COG. The same trust and governance information travels in whichever carrier format suits the content:

File TypeHow MX Metadata Is Carried
HTMLSchema.org JSON-LD in <script type="application/ld+json"> plus <meta name="mx:*"> tags in <head>
MarkdownYAML frontmatter (--- delimiters) — the COG format
JavaScriptJSDoc comments with @mx:* tags
CSSBlock comments with @mx:* tags
Shell scripts# --- YAML block with # prefix

HTML Example

<!-- Schema.org for search engines and AI agents -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Rancilio Silvia Pro X",
  "description": "Dual-boiler espresso machine with PID",
  "offers": {
    "@type": "Offer",
    "price": "1299.00",
    "priceCurrency": "GBP"
  }
}
</script>

<!-- MX governance metadata -->
<meta name="mx:status" content="active">
<meta name="mx:contentType" content="product">
<meta name="mx:tags" content="espresso, dual-boiler, pid">
<meta name="mx:content-policy" content="extract-with-attribution">

HTML pages use established standards first — Schema.org JSON-LD for structured data, Open Graph for sharing, Dublin Core for provenance. MX adds governance metadata (mx:status, mx:contentType, mx:content-policy) where those standards leave gaps. MX never duplicates what Schema.org already covers.

The Dual Meaning

LayerFull NameWhat It Proves
CertificateCertificate of Genuineness"This document is real"
ContractContract of Governance"Someone keeps this accurate"

Every COG carries both layers. The Certificate tells an AI agent whether to trust the content. The Contract tells it who is responsible for keeping the content current — with a named maintainer, a review cycle, and an expiry date.

Two Types

Info-Doc

A COG without an action block — documents, describes, certifies. The single source of truth for a product, API, or specification.

Action-Doc

A COG with an action block — validates, generates, extracts, analyses. A Standard Operating Procedure that executes itself. The document is the programme.