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: truealways reflects an actual signature check, never a proxy like "the record exists." Signed artifacts declare their scheme (hmac-sha256for same-owner memory,ed25519for 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.pyis 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mirra_core_contract-1.0.0.tar.gz | 9.9 kB | Without provenance | Details for mirra_core_contract-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mirra_core_contract-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for mirra_core_contract-1.0.0-py3-none-any.whl |
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
|
Security for mirra-core-contract 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.