Skip to content

dokugent metadata

Understanding Dokugent Metadata

This page documents the structure and purpose of the metadata block automatically generated during dokugent compile.

📌 Note: This is not a standalone CLI command. Metadata is attached to compiled .cert.json files and certified via dokugent certify.

Sample Metadata Output

{
  "metadata": {
    "format": "doku-cert",
    "version": "v134",
    "schema": "https://dokugent.org/schema/v1.json",
    "generatedAt": "2025-06-01T18:34:00.479Z",
    "generator": "dokugent@1.0.0",
    "experimental": false,
    "uri": "doku://happybot@2025-05-24_19-15-55-492",
    "certifierName": "carmelyne_m_thompson",
    "certifierFingerprint": "099604b663f7e6f240534a26b8322d27b4f2db5162193b78aeb3df31550076eb",
    "certifierKeyVersion": "latest",
    "validFrom": "2025-06-01T18:34:00.475Z",
    "validUntil": "2026-06-01T18:34:00.476Z",
    "sha256": "168377dd0b18aebcdf19f3882edb378d5cd08c72ec19d73a6ec62d93474ac069",
    "compilerName": "chatgpt",
    "compilerFingerprint": "e0b4a91e60d83ef164fa4d9ad69594969fe394359879ab3b88a4fbcd206cd1f6",
    "compilerKeyVersion": "latest"
  }
}

Field Overview

Field Description
format Format identifier for the certificate (currently doku-cert)
version Agent version
schema URI of the JSON schema used
generatedAt When the file was compiled
generator CLI version that generated the cert
experimental Boolean flag for unstable metadata
uri Fully qualified agent URI
certifierName The signer/issuer of the metadata
certifierFingerprint Fingerprint of the certifier’s signing key
certifierKeyVersion Key version used for signing
validFrom / validUntil Validity range of the certification
sha256 Checksum hash of the certified content
compilerName / compilerFingerprint Info about the LLM or tool that generated the content
compilerKeyVersion Version of the compiler’s key