Skip to main content

algovoi-cancellation-receipt-lite

Open, content-addressed cancellation references for the AlgoVoi substrate. The lite, Apache-2.0 origination tier of the commercial AlgoVoi Cancellation Receipt.

cancellation_ref = "sha256:" + SHA-256(JCS({ cancellation_reason, mandate_ref }))

It content-addresses the cancellation of a spend authority into a deterministic, recomputable reference:

  • mandate_ref: the spend authority being cancelled, imported by hash. This is the same mandate_ref Payment Mandate (lite) produces and Spend Guardrail (lite) binds, so the cancellation composes onto the open pre-payment decision chain.
  • cancellation_reason: a closed enum: USER_REQUESTED, MERCHANT_REQUESTED, COMPLIANCE_TERMINATED, EXPIRED.

Both fields are byte-load-bearing: change the mandate or the reason and the cancellation_ref diverges, so a cancellation cannot be silently re-pointed to another authority and the reason cannot be swapped. A reason outside the enum, or an empty mandate_ref, is rejected, not hashed.

Use

from algovoi_cancellation_receipt_lite import cancellation_ref

ref = cancellation_ref(
    mandate_ref="sha256:a4f8cb5ee09b29478ac1cc2f468d66e16d3d25f7a229a31d22ad521e11d04d35",
    cancellation_reason="USER_REQUESTED",
)

Lite vs commercial

Lite (this package) Commercial Cancellation Receipt
Licence Apache-2.0, open Commercial OEM
Reference content-addressed cancellation_ref the same, Falcon-1024 signed receipt
Carries reason + mandate (by hash) + effective-from timing, provider, jurisdiction
Propagation bring your own across settlement + retention chains
Verifier recompute offline maintained verifier

Adopters (pin → key)

If you build on algovoi-cancellation-receipt-lite, pin ==0.1.0, anchor a canonical cancellation_ref vector hash from cancellation_receipt_lite_v1, and keep the NOTICE, you qualify for a free v0 licence key for algovoi-mandate-auditor. The gate is scripts/check_v0_adoption.py. Apply: email chopmob@gmail.com with your import-by-hash evidence and a copy of the NOTICE.

Conformance

The cancellation_receipt_lite_v1 vector set is published in the public corpus, chopmob-cloud/algovoi-jcs-conformance-vectors, with Python and Node runners. Python and TypeScript reproduce every value byte-for-byte. cn-001, cn-002 and cn-003 cancel mandate_1, the mandate_ref in spend_guardrail_lite_v1.

Apache-2.0. Additive over the frozen canonicalisation substrate; sole AlgoVoi authorship.

Metadata

Release files for algovoi-cancellation-receipt-lite 0.5.0

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-cancellation-receipt-lite 0.5.0
File Size Uploaded Provenance Actions
algovoi_cancellation_receipt_lite-0.5.0.tar.gz 8.8 kB Without provenance Details for algovoi_cancellation_receipt_lite-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for algovoi-cancellation-receipt-lite 0.5.0
File Interpreter ABI Platform Actions
algovoi_cancellation_receipt_lite-0.5.0-py3-none-any.whl Python 3 none any Details for algovoi_cancellation_receipt_lite-0.5.0-py3-none-any.whl

Total release size: 19.5 kB

Release files / algovoi_cancellation_receipt_lite-0.5.0.tar.gz

Download URL algovoi_cancellation_receipt_lite-0.5.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
66e365b735dab22b2fd283f7268368b6dea7f882cee34c14fe92a6701928c613
BLAKE2b-256 checksum
How to use checksums
634e59226a4ef11e5af12ac31e1616f93aaf415c7fffc2d88efb524cbf15e768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / algovoi_cancellation_receipt_lite-0.5.0-py3-none-any.whl

Download URL algovoi_cancellation_receipt_lite-0.5.0-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e0bcd6b98577e61e0112a03d014e7ccd42e916bd52e4700789bb4c26996bc27
BLAKE2b-256 checksum
How to use checksums
93df0883bba5af3a4e6a94e9f46d2b6606adfd979ae60eaa6f8ee8243f4b8767
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for algovoi-cancellation-receipt-lite 0.5.0

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