Skip to main content

algovoi-compliance-gate-lite

The open, lite origination layer for AlgoVoi Compliance Gate. You bring a categorical screening verdict (ALLOW / REFER / DENY) from your own sanctions / PEP / AML provider; this binds it to a no-PII payer reference and to a pinned subject ref (a policy_bound_ref, settlement-action binding_ref, or retention_chain_ref) into a deterministic, recomputable gate_ref.

Because the verdict is bound to the subject by hash, a decision made under one policy snapshot does not recompute under a rotated policy; the verdict is provably tied to the policy that was in force. Additive over the frozen substrate (Apache-2.0):

payer_ref = "sha256:" + SHA-256(JCS({address, network}))      # address in, only the hash out
gate_ref  = "sha256:" + SHA-256(JCS({payer_ref, subject_ref, verdict}))

Lite vs commercial

Lite (this package) Compliance Gate v2
Licence Apache-2.0, open Commercial OEM
Verdict binding content-addressed gate_ref same, Falcon-1024 signed
Privacy proof (none) Proofs (zero-knowledge)
Verifier recompute offline maintained verifier

Pin lite, anchor a vector hash, carry the NOTICE → free v0 key; upgrade to v2 for post-quantum signing + Proofs.

Install & use

pip install algovoi-compliance-gate-lite
from algovoi_compliance_gate_lite import payer_ref, gate_ref, verify

payer = payer_ref("base", "0x…payer")                 # no PII: only sha256 comes out
# subject is any pinned ref, e.g. a policy_bound_ref from algovoi-policy-binding
ref = gate_ref("ALLOW", payer, "sha256:aaee2091…")     # bind verdict to payer + policy
verify(ref, "ALLOW", payer, "sha256:aaee2091…")        # True
verify(ref, "DENY",  payer, "sha256:aaee2091…")        # False (verdict tamper)

A verdict bound under policy P returns a different gate_ref if recomputed against the policy_bound_ref under a rotated P'; rotation is detectable. Invalid verdicts and malformed refs are rejected, not hashed.

Conformance

conformance/compliance_gate_lite_v1/: payer_ref + 3 positives (ALLOW/REFER/DENY), 5 negatives (verdict / policy-rotation / payer tamper; invalid verdict + malformed ref rejected), and 2 invariants. Verifier imports only stdlib + rfc8785:

pip install rfc8785
python conformance/compliance_gate_lite_v1/verify.py

Adopters

The 4-check gate is scripts/check_v0_adoption.py (dependency + canonical hash anchor

License

Apache-2.0. Copyright 2026 AlgoVoi. Preserve the NOTICE in any distribution.

Metadata

Release files for algovoi-compliance-gate-lite 0.4.1

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

Source distribution (sdist)

Source distribution for algovoi-compliance-gate-lite 0.4.1
File Size Uploaded Provenance Actions
algovoi_compliance_gate_lite-0.4.1.tar.gz 8.9 kB Without provenance Details for algovoi_compliance_gate_lite-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for algovoi-compliance-gate-lite 0.4.1
File Interpreter ABI Platform Actions
algovoi_compliance_gate_lite-0.4.1-py3-none-any.whl Python 3 none any Details for algovoi_compliance_gate_lite-0.4.1-py3-none-any.whl

Total release size: 19.7 kB

Release files / algovoi_compliance_gate_lite-0.4.1.tar.gz

Download URL algovoi_compliance_gate_lite-0.4.1.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
74e78f703ebb82593ca9a03f6f2204e7017fabeb4e61352bfdf5adca85bf97a5
BLAKE2b-256 checksum
How to use checksums
578f6831ed5dd72c3832ca6b7f5585ba0ec68dac25f4c250cdfbe2505a076685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / algovoi_compliance_gate_lite-0.4.1-py3-none-any.whl

Download URL algovoi_compliance_gate_lite-0.4.1-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6cb982ff129e1834dc5829270ef3c5ad08e118bc13307d7db8e74f5e8ac44c7b
BLAKE2b-256 checksum
How to use checksums
c35c4844eb9b15bfeb4e5743a5f7bce0534ac3f96e7b73793da88fd453be4e1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for algovoi-compliance-gate-lite 0.4.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.

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