OKF v0.2: Who Checked This Number, and What Actually Ran?
A revenue figure comes with a verification stamp. Does that tell you who checked the definition, or what actually ran?

A revenue figure comes with a verification stamp. Does that tell you who checked the definition, or what actually ran?
Those are different questions, especially after a definition changes or a report is rerun. We'll follow a hypothetical revenue metric from its provenance fields to a parameterized computation and a runtime receipt. That path makes it easier to see where metadata ends and independent verification begins.
Signals are not guarantees
OKF v0.2 adds optional provenance, verification, lifecycle, and computation metadata. It describes evidence a consumer can inspect; the format itself authenticates no author, executes no SQL, and enforces no access policy.
This YAML is illustrative frontmatter, not evidence that these people or processes reviewed real financial data. All actors, resources, and timestamps are fixtures.
type: Metric
title: Recognized revenue
generated:
by: example-exporter/1.0
at: 2026-11-06T14:00:00Z
verified:
- by: process:example-check
at: 2026-11-06T14:05:00Z
- by: human:example-reviewer
at: 2026-11-06T14:10:00Z
status: stable
stale_after: 2026-12-01T00:00:00Z
sources:
- id: revenue-policy
resource: references/revenue-policy.md
title: Example revenue policy
last_modified: 2026-11-01T00:00:00Zgenerated describes production of the content; verified records confirmation events and may be a list or a single mapping. Consumers normalize a mapping to a one-element list. No verification means unverified; non-human actors imply machine-confirmed; a human: actor implies human-reviewed. These tiers are advisory, not authenticated identity or permission.
sources entries require resource. Optional author, usage_count, and last_modified describe provenance, not a universal credibility score. A usage_window contextualizes usage counts. Footnote labels can match source ids for claim-level attribution.
status defaults to stable; draft and deprecated are alternatives. stale_after is an offset datetime, not a date-only value: stale means now >= stale_after. Generated and verification timestamps do not automatically invalidate each other; consumers must account for edits after review.
A computation contract, not an installed executor
The next YAML is a hypothetical concept's frontmatter. Referenced executor and attester files must actually be supplied by an implementation; they are not files provided by this portfolio.
type: Attested Computation
title: Recognized revenue for a fiscal year
runtime: bigquery
parameters:
- name: year
type: integer
required: true
executor:
resource: references/executors/run-revenue.md
receipt: [job_id, executed_sql, result]
attester:
resource: references/attesters/check-revenue.pyPlace this single SQL fence under # Computation in that concept's body:
SELECT SUM(amount_usd) AS revenue_usd
FROM example_finance.recognized_revenue
WHERE fiscal_year = @yearThe year is allowed to vary; the sanctioned calculation is not. That is the point of the parameter: the agent supplies a value without silently redefining revenue. The receipt and attester then give the consumer a way to check that distinction for an actual run.
The table, currency, and fiscal-year schema are illustrative assumptions, not an approved finance policy. runtime is required for this type. Receipt field names belong under executor.receipt, not at the top level. Alternatively, computation can name a separate source file instead of the body fence.
What attestation must check
The agent supplies declared parameter values, never rewrites the sanctioned computation. The executor runs it and returns a runtime receipt; receipts are not stored in the knowledge bundle. A deterministic attester independently derives the expected computation and bindings, checks what ran, and verifies the displayed result against the authoritative job result, for example by re-reading its job id.
SQL or AST comparison is one possible check, not proof of correct joins, source data, permissions, currency policy, or business meaning. Comparing agent-supplied SQL with an equally untrusted receipt is insufficient. Secure the executor, attester, dependencies, and authoritative result channel. v0.2 does not mandate signed receipts or standardize the complete runtime protocol or attester ABI.
verified concerns the definition; attestation concerns one run. A stale definition can pass run attestation. Surface failures, and warn or refuse according to the consumer's freshness policy.
Migration is not entirely additive
The specification explicitly calls out two breaking changes: timestamp becomes generated.at, and a body # Citations list becomes sources. Consumers may fall back to those legacy fields; this is not guaranteed automatic migration. Our existing repository profile remains unchanged and is not presented as a fully migrated v0.2 bundle.
Background: OKF and repository conventions.
When an agent reports the number, ask for two kinds of evidence: whether the definition is current and whether this run executed the intended computation. Neither substitutes for the other, and neither repairs a flawed business definition. That separation is the useful part of the format.