Skip to main content

Conformance runner and fixture corpus for the Agentic User Mandate Protocol

Project description

AUMP Conformance

Cross-language conformance suite for AUMP implementations.

This repository defines the runnable contract that AUMP SDKs, runtimes, and protocol bridges must pass. It is intentionally separate from aump-py and aump-js so one SDK does not become the protocol oracle.

What It Tests

The current v0.1 suite covers:

  • JSON Schema validation for mandates, profiles, and action evaluation payloads.
  • Mandate lifecycle checks for active, inactive, and expired mandates.
  • Policy evaluation for budget, currency, authority scope, disclosure, and escalation decisions.
  • MCP metadata and tool annotation bridge checks.
  • A2A Agent Card, extension activation, and message metadata bridge checks.
  • UCP/AP2 reference boundary checks that prevent full private mandate leakage.
  • Evidence event schema checks and runtime evidence semantics for mandate matching, retention, and private-field leakage.

The fixtures are pinned to the AUMP spec snapshot in fixtures/spec-snapshot.json.

Quick Start

go run ./cmd/aump-conformance validate fixtures

Python parity runner:

uv sync
uv run aump-conformance validate

Expected result:

AUMP v0.1 conformance v0.1.0 (spec 0.1.0)
29/29 passed

Report Formats

go run ./cmd/aump-conformance validate fixtures --format json --output report.json
go run ./cmd/aump-conformance validate fixtures --format junit --output junit.xml
uv run aump-conformance validate fixtures --format json --output report.json
uv run aump-conformance validate fixtures --format junit --output junit.xml

Fixture Layout

fixtures/
  manifest.json
  spec-snapshot.json
  schemas/
  mandates/
  profiles/
  actions/
  bridges/

fixtures/manifest.json is the canonical case index. SDKs should treat this manifest as the contract surface, not as example-only data.

Conformance Levels

The suite maps to the levels described in the AUMP specification:

  • Level 1 Parser: schema validation plus inactive and expired mandate rejection.
  • Level 2 Policy Evaluator: action decisions for allowed, requires_escalation, and denied.
  • Level 3 Runtime: bridge metadata and evidence-oriented protocol boundaries.

The first CLI command is:

aump-conformance validate

The native Go runner is the primary conformance executable. The Python runner is kept as a parity implementation and reference for SDK authors. Future SDK repos can either shell out to this runner in CI or embed the fixture manifest and compare their own evaluator output against the expected decisions.

When installed from PyPI, aump-conformance validate runs the bundled fixture corpus. Pass an explicit path to validate a local fixture directory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aump_conformance-0.1.0.tar.gz (74.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aump_conformance-0.1.0-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file aump_conformance-0.1.0.tar.gz.

File metadata

  • Download URL: aump_conformance-0.1.0.tar.gz
  • Upload date:
  • Size: 74.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aump_conformance-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d5eb8d521d6ba1fd5df2ee3af289e7def1bc22ee6a1c28ebc2cbc457dad1d5b3
MD5 9eabc1b6ff6583182f72f179cbae99e5
BLAKE2b-256 5ea03583eb84299451da5f57783f5d34a36b0313861aedafe0446aa94d480245

See more details on using hashes here.

Provenance

The following attestation bundles were made for aump_conformance-0.1.0.tar.gz:

Publisher: publish.yml on Agentic-User-Mandate-Protocol/conformance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aump_conformance-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aump_conformance-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c2655bf3825fcf1a4f4bccd94397b061ecc532cd62e7dc02485570448c6a0af
MD5 87da7568ed0abb64f5460cc9b63b7b62
BLAKE2b-256 f804e0940d19a9c655383301fee4e7a88ceca7a9a6cd531e23c742a872b3b564

See more details on using hashes here.

Provenance

The following attestation bundles were made for aump_conformance-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Agentic-User-Mandate-Protocol/conformance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page