Skip to content

Reference

Method IDs marked stable are append-only and will never change semantics. Compatibility is guaranteed within a major version.

Deprecated methods remain valid forever. Implementations should emit warnings for deprecated methods but must not reject them.

All 18 stable methods defined in spec v0.1.0, grouped by namespace.

Envelope wrapping, transport, and execution wrappers.

Method IDSummaryEmitted when
adapter.wrap.envelope_v0_1Wrapped a legacy payload into mcp.envelope.v0.1Adapter creates an envelope around non-envelope output
adapter.pass_through.envelope_v0_1Tool returned an envelope; passed it through unchangedAdapter performed pass-through without wrapping
adapter.provenance.attach_record_v0_1Attached a prov.record.v0.1 to the envelopeEnvelope contains an adapter-generated provenance record
adapter.errors.captureCaptured an execution failure into errors[]Tool failed and adapter populated standardized errors
adapter.warnings.captureCaptured non-fatal warnings into warnings[]Partial results or degraded mode

Evidence extraction, normalization, and provenance construction.

Method IDSummaryEmitted when
engine.prov.record_v0_1.buildConstructed a prov.record.v0.1 recordProvenance record created by engine/adapter
engine.prov.artifact.register_inputRegistered input artifact(s)Inputs list populated
engine.prov.artifact.register_outputRegistered output artifact(s)Outputs list populated
engine.extract.evidence.json_pointerEvidence anchors use JSON pointer fragmentsEvidence sources include #json:/
engine.extract.evidence.text_linesEvidence anchors use text line rangesEvidence sources include #text:line:
engine.coerce.evidence.v0_1Normalized evidence to evidence.v0.1 schemaTool evidence adapted into canonical format

Hashing, signatures, and verification.

Method IDSummaryEmitted when
integrity.digest.sha256Computed SHA-256 digest(s)Artifact digest uses sha256 (64 hex chars)
integrity.digest.sha512Computed SHA-512 digest(s)Artifact digest uses sha512 (128 hex chars)
integrity.digest.blake3Computed BLAKE3 digest(s)Artifact digest uses blake3 (64 hex chars)
integrity.record_digest.computeComputed digest of the provenance record itselfintegrity.record_digest is populated
integrity.signature.createCreated a signature over the record digestintegrity.signature is populated
integrity.signature.verifyVerified a provenance record signatureSignature verification succeeded

Parent linking and graph operations.

Method IDSummaryEmitted when
lineage.parent.linkLinked to parent provenance record(s) via parents[]parents[] populated with run_id values
lineage.graph.buildBuilt a lineage graph from multiple recordsDAG representation constructed
NamespaceStatusDescription
adapterStableEnvelope wrapping, transport, execution wrappers
engineStableEvidence extraction, normalization, provenance construction
integrityStableHashing, signatures, verification
lineageStableParent linking and graph operations
policyReservedAccess control, retention policies
attestationReservedThird-party attestations, compliance claims
executionReservedRuntime environment, resource usage
auditReservedAudit trail operations

Every method ID carries a semantic contract. Claiming a method means the provenance record satisfies that contract. Key rules per namespace:

adapter — Records must be inside valid envelopes. No double-wrapping. Errors and warnings arrays must contain at least one entry when their respective capture methods are claimed.

engine — Records must have the correct schema_version. Artifact lists must be non-empty when register methods are claimed. Evidence sources must use the declared fragment format.

integrity — Digest values must be lowercase hexadecimal at the correct length for the algorithm. Record digests are computed over canonical JSON (excluding the integrity field itself). Signatures must cover the record_digest.

lineage — Parent arrays must contain valid run_id values. Parent records should be retrievable. The lineage graph must be acyclic.

All schemas live in spec/schemas/ and use additionalProperties: false for strict validation.

SchemaPurpose
prov.record.schema.v0.1.jsonProvenance record
artifact.schema.v0.1.jsonArtifact metadata
artifact.ref.schema.v0.1.jsonArtifact references
evidence.schema.v0.1.jsonEvidence anchor
mcp.envelope.schema.v0.1.jsonEnvelope wrapper
mcp.request.schema.v0.1.jsonMCP request format
prov-capabilities.schema.jsonCapability manifest
methods.schema.jsonMethod catalog format
assist.request.schema.v0.1.jsonAssist request
assist.response.schema.v0.1.jsonAssist response
cli.error.schema.v0.1.jsonCLI error format