Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

boundri-policy-ir

Apache-2.0 shared schema and verification primitives for Boundri. It is the base of the dependency graph: boundri-cli and boundri-sdk both build on it, and the hosted server re-exports parts of it rather than keeping a second copy.

pip install boundri-policy-ir

Why it is a separate, permissive package

Anything a third party must be able to reproduce byte-for-byte lives here, so reproducing it never requires source-available code:

  • Bundle signatures. bundle_signature canonicalises a manifest core and verifies its Ed25519 signature; local_signer produces the same envelope.
  • Audit chain. audit_chain holds the canonical-bytes, entry-hash and Merkle recompute used to re-derive a chain checkpoint offline.
  • Verification packs. verification_pack reads the offline bundle a publisher ships, and trust_anchor / trust_store resolve the key it is checked against.
  • Policy pack promotion. promotion parses the signed promotion block that names a published policy pack and its pinned regulation floor.

The server's boundri_server.services.audit.{canonical,merkle} and ...distribution.signer.sign are shims over the functions here. They are one implementation with two names, never a fork: a structural test fails the build on a second copy of the envelope recipe anywhere under packages/.

Runtime input contract

evaluation_input is the single declaration of which input roots a compiled policy may reference at evaluation time: principal, action, resource, parameters, context. A rule that binds on anything else is undefined in Rego, which means it compiles clean and can never fire, so the compiler refuses it against this declaration rather than shipping a rule that silently does nothing.

Licence

Apache-2.0. See LICENSE and docs/architecture/licensing-target.md for the monorepo's per-package split.

Metadata

Release files for boundri-policy-ir 1.0.0rc1

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

Source distribution (sdist)

Source distribution for boundri-policy-ir 1.0.0rc1
File Size Uploaded Provenance Actions
boundri_policy_ir-1.0.0rc1.tar.gz 334.2 kB With provenance Details for boundri_policy_ir-1.0.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for boundri-policy-ir 1.0.0rc1
File Interpreter ABI Platform Actions
boundri_policy_ir-1.0.0rc1-py3-none-any.whl Python 3 none any Details for boundri_policy_ir-1.0.0rc1-py3-none-any.whl

Total release size: 588.6 kB

Release files / boundri_policy_ir-1.0.0rc1.tar.gz

Download URL boundri_policy_ir-1.0.0rc1.tar.gz
Size 334.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0dbdcc4ed3b315c6ce4863b033429110729adb44b7c6ecbaac97af2a890b059b
BLAKE2b-256 checksum
How to use checksums
14988ee0c87eed9464b142923c8e70c89a4d69b2cae3a412eedfdc18af807e1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / boundri_policy_ir-1.0.0rc1-py3-none-any.whl

Download URL boundri_policy_ir-1.0.0rc1-py3-none-any.whl
Size 254.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e260e4169be3a95dec59d382156aa63225575458648d3589752d206da406a785
BLAKE2b-256 checksum
How to use checksums
650549e4fe35c9785cdcac641f762906ffd61a6cdc65b6794405d58f926cd50b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for boundri-policy-ir 1.0.0rc1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for boundri_policy_ir-1.0.0rc1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release
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