Skip to main content

mirra-core-contract

The frozen v1 interface of the MIRRA agent platform. Interfaces and schemas only — zero logic, zero dependencies. Every core component implements it; every deployment edge depends only on it.

AgentIdentity · Scroll · ExecutionIntent · DecisionRecord · VerificationResult
IdentityResolver.resolve_identity(principal)        -> AgentIdentity
MemoryStore.remember / recall / verify              -> signed Scrolls, verify-on-read
ExecutionAuthorizer.authorize(intent, identity)     -> signed DecisionRecord
CapabilityProvider.enrich_identity / verify_epistemic   (optional, runtime-injected)

Rules baked into the contract

  • Frozen. This is v1. It never breaks without a major version bump; the freeze-guard tests (tests/test_contract_frozen.py) fail on any signature or schema drift.
  • Fail-closed. Missing engine, missing signing secret, or failed verification means deny/reject — never silent degradation.
  • Real cryptography. verified: true always reflects an actual signature check, never a proxy like "the record exists." Signed artifacts declare their scheme (hmac-sha256 for same-owner memory, ed25519 for distributable proofs).
  • Generic vocabulary. Capability providers are named generically; the contract is the only shared vocabulary between public packages and any private implementation. scripts/check_public_private_boundary.py is the CI gate that keeps it that way.

Who implements what

Component Contract surface
mvar-security ExecutionAuthorizer (+ the canonical QSEAL signing primitive)
clawseal MemoryStore (sign-on-write, verify-on-read)
mirra-sdk all three edges (SDK / gateway / on-device) speak only these types
private providers CapabilityProvider, injected at runtime

Tests

python3 -m pytest tests/ -q     # 9 freeze-guards

License

Apache-2.0 — see LICENSE.

Metadata

Release files for mirra-core-contract 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mirra-core-contract 1.0.0
File Size Uploaded
mirra_core_contract-1.0.0.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mirra-core-contract 1.0.0
File Interpreter ABI Platform
mirra_core_contract-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / mirra_core_contract-1.0.0.tar.gz

Download URL mirra_core_contract-1.0.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5838165c2ba2bf1a94396b66a3280e641b5fd7c37858cbfba9f7965e79f53eaf
BLAKE2b-256 checksum
How to use checksums
01624ccb6ba9ea3e6b739b2d710fa7143d6b1a7e452dc9b1b1ad8a7411803e3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / mirra_core_contract-1.0.0-py3-none-any.whl

Download URL mirra_core_contract-1.0.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8a0ced4e86bf81744cc0478eb4c0561d3e998872e360ec685ca4b2c1756a189
BLAKE2b-256 checksum
How to use checksums
1fb85e4d539a1c36349693bfe678cfd1e0c1d42e0bd85a9e042a6dfff2cb19b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page