Metadata-Version: 2.4
Name: ms8-policy-core
Version: 0.1.0
Summary: Binary-only native policy core for MS8 runtime
Author: MS8 Team
License-Expression: LicenseRef-Proprietary
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# 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
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.

