Skip to main content

Open, content-addressed compliance-gate decisions bound to the pinned AlgoVoi substrate (ALLOW/REFER/DENY; no-PII; L1 frozen)

Reason this release was yanked:

software

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

algovoi_compliance_gate_lite-0.1.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

algovoi_compliance_gate_lite-0.1.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file algovoi_compliance_gate_lite-0.1.0.tar.gz.

File metadata

File hashes

Hashes for algovoi_compliance_gate_lite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 535d92333838b39ab6a2f3bc895b3322a78c56a0d057cd56550352ff55f211b5
MD5 7e9877d176fe44b7c6561bc08bc7a615
BLAKE2b-256 814faecafd1b6399e48dbbc22fbff695b331b8ad7d0e4a727233a26ebf3919c4

See more details on using hashes here.

File details

Details for the file algovoi_compliance_gate_lite-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for algovoi_compliance_gate_lite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 364d6889fcb4303fa418b4446ef02b7d08923360bcfdfe1b6a2749fdd4bfda99
MD5 00ab97313c91a4b36d60362594294aa7
BLAKE2b-256 91c87f1d6c9c2295a53c85c95a44f66a4ee685111a4cc7c5c154a9822936d1e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page