Open, content-addressed refund references bound into the pinned AlgoVoi substrate (subject_ref + refund result + amount; closes the payment lifecycle after settlement; L1 frozen)
Reason this release was yanked:
software
Project description
algovoi-refund-receipt-lite
Open, content-addressed refund references for the AlgoVoi substrate. The lite, Apache-2.0 origination tier of the commercial AlgoVoi Refund Receipt.
refund_ref = "sha256:" + SHA-256(JCS({ refund_amount, refund_result, subject_ref }))
It content-addresses the refund of a prior payment into a deterministic, recomputable reference:
subject_ref— the payment/decision being refunded, imported by hash. Typically theguardrail_refof the pre-payment decision or a settlement reference, so the refund composes onto the decision chain and closes the lifecycle after settlement.refund_result— a closed enum:FULL,PARTIAL,REJECTED.refund_amount— the amount returned, as a string ("0"for a REJECTED refund).
All three fields are byte-load-bearing: change the subject, the result, or the amount and the refund_ref diverges, so a refund cannot be silently re-pointed to another payment and neither the outcome nor the amount can be changed. A result outside the enum, or an empty subject_ref/refund_amount, is rejected, not hashed.
Use
from algovoi_refund_receipt_lite import refund_ref
ref = refund_ref(
subject_ref="sha256:2a444c629892f44fde1bd004aba9be01dd6cc7fe251eecdd545b82dca9f0bf97",
refund_result="FULL",
refund_amount="1000",
)
Lite vs commercial
| Lite (this package) | Commercial Refund Receipt | |
|---|---|---|
| Licence | Apache-2.0, open | Commercial OEM |
| Reference | content-addressed refund_ref |
the same, Falcon-1024 signed receipt |
| Carries | result + amount + subject (by hash) | + provider, timing, jurisdiction |
| Propagation | bring your own | closes original payment across settlement + retention chains |
| Verifier | recompute offline | maintained verifier |
Adopters (pin → key)
If you build on algovoi-refund-receipt-lite, pin ==0.1.0, anchor a canonical refund_ref vector hash from refund_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 refund_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. rf-001, rf-002 and rf-003 refund the ALLOW guardrail_ref in spend_guardrail_lite_v1 / spend_decision_chain_v1.
Apache-2.0. Additive over the frozen canonicalisation substrate; sole AlgoVoi authorship.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file algovoi_refund_receipt_lite-0.1.0.tar.gz.
File metadata
- Download URL: algovoi_refund_receipt_lite-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
664acb10d176932248ed0d580c52c2c8f918cacd189cc8f4b097e6b0b048b544
|
|
| MD5 |
8701ae2a6b336af662c34b04359140b7
|
|
| BLAKE2b-256 |
0e067b3199b2b58bb5d5a705b68443f9751a8439e1a578d91bbb299cff72b4d0
|
File details
Details for the file algovoi_refund_receipt_lite-0.1.0-py3-none-any.whl.
File metadata
- Download URL: algovoi_refund_receipt_lite-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52c2ec0edcf2885658ed35569114c8f627a7cc82429f442d4dfd46ae80511c1b
|
|
| MD5 |
69407a014b0991cc5583b7d86b807614
|
|
| BLAKE2b-256 |
db328b130350751af53b2c0698ed5a47995064ce1f92dd9a1a868085f2168c83
|