Skip to content

Conformance statement

This page is the entry point to the conformance statement APM publishes for OpenAPM v0.1. Per req-cf-002, a conformance statement MUST cite the test invocation per requirement. APM’s statement is regenerated by the spec-conformance CI gate when relevant spec, fixture, test, implementation, or statement files change.

Two artifacts ship at the repository root and update when the conformance inputs change:

  • CONFORMANCE.md — human-readable per-requirement table: each requirement links to its spec anchor and lists its status (active, partial, skipped, xfail, or text-only), its behavioral and total bound test counts, and its oracle. Only behavioral tests (tests that exercise APM) count as coverage; a requirement bound only to spec-text or fixture-shape tests is text-only. A partial requirement is tested but implemented only to the extent its Partial conformance entry states. Read this first.
  • CONFORMANCE.json — machine-readable equivalent for tooling and downstream conformance aggregators. The fields are stable across patch versions of the spec.

The CI workflow that emits both is .github/workflows/spec-conformance.yml. The gate fails the build if the generated statement drifts from the committed copy, so the version of CONFORMANCE.md you see on main is exactly what CI produced from the matching spec commit.

The conformance suite is shipped in-tree and runs against the published spec text. To reproduce the statement locally:

Terminal window
git clone https://github.com/microsoft/apm.git
cd apm
uv run --extra dev pytest tests/spec_conformance
uv run --extra dev python -m tests.spec_conformance.gen_statement
git diff -- CONFORMANCE.md CONFORMANCE.json # compare to the in-repo copies

The first command runs every requirement-bound test and reports per-requirement results. The second regenerates the statement from the requirement markers that run collected; the final command shows whether the generated artifacts still match the checked-in copies.

A conformance statement covers the normative statements declared in the spec; it does not certify implementation quality, performance, or operational fitness. The statement currently records req-mf-016 and the native plugin activation profile (req-na-001-007; no APM route natively activates plugins yet) as skipped, with rationale in the statement itself — an explicit, audited decision rather than silent drift.

For the broader drift-detection story (how the spec authors prevent the spec from rotting relative to the only implementation), see CONTRIBUTING.md — Spec amendment workflow.

Copyright (c) Microsoft Corporation. General documentation: CC-BY-4.0. Software, code examples and OpenAPM: Apache-2.0. See scope and exclusions.