Skip to main content

ms8-policy-core

Binary-only native Rust/PyO3 policy core for MS8.

The package ships a small Python compatibility wrapper plus a compiled native extension. Core policy logic is implemented in Rust and distributed as binary wheels only.

Public API

  • evaluate_admission
  • rank_retrieval
  • run_self_check_specs
  • plan_self_repair
  • shadow_decide

Local build

From the MS8 project root:

bash scripts/build_policy_engine_wheel.sh

This builds a local wheel, verifies that it contains a native extension, installs it into the project virtualenv, and runs the closed-backend contract checks.

Multi-platform wheels

Use the Policy Core Wheels GitHub Actions workflow to build CPython 3.10-3.13 wheels for macOS, Linux, and Windows.

Do not publish an sdist for this package. Publishing an sdist would expose the policy source.

Metadata

Release files for ms8-policy-core 0.1.1

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

Built distribution (wheel)

Table of built distributions (wheels) for ms8-policy-core 0.1.1
File Interpreter ABI Platform Actions
ms8_policy_core-0.1.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for ms8_policy_core-0.1.1-cp313-cp313-macosx_11_0_arm64.whl

Release files / ms8_policy_core-0.1.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL ms8_policy_core-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Size 862.9 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
88f2082f4e5b2616a3c7ed988d4c042837a574e2f458bf1bfdff46bb4c3084f2
BLAKE2b-256 checksum
How to use checksums
bbdca1c69114dce4b2bb8bf575aad03c0af7a1cb6899ba719e8f80e824951606
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for ms8-policy-core 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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