Skip to main content

hank-contracts

Wire-contract types for Hank: commercial claims, work authorization, usage rows and reports, investment capability grants, the agent_api_v1 claim shape, the Risk web subject assertion, and the user provider API key shapes (resolve-credential and enrolment, v2: hank_contracts.user_provider_keys) — frozen dataclasses, constants, JSON schemas, and canonical serialization only.

No signing, verification, key handling, HTTP, or storage lives here. Runtimes keep that behavior and import these shapes. The user provider key shapes carry key bytes only as wire fields and never in a repr. Private validation helpers moved with their dataclasses so trust-snapshot construction validates exactly as before.

Release procedure

After a green full gate containing the change, the owning lead can release hank-contracts without a per-release approval:

  1. Bump the version in packages/contracts/pyproject.toml and commit it.
  2. From the checkout root, build with .venv/bin/python3 -m build packages/contracts.
  3. Upload the built version's wheel and source distribution with .venv/bin/python3 -m twine upload <wheel-path> <sdist-path>.

Record the version, artifact SHA-256 and upload time in the owning case.

Metadata

Release files for hank-contracts 1.8.3

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

Source distribution (sdist)

Source distribution for hank-contracts 1.8.3
File Size Uploaded Provenance Actions
hank_contracts-1.8.3.tar.gz 48.0 kB Without provenance Details for hank_contracts-1.8.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hank-contracts 1.8.3
File Interpreter ABI Platform Actions
hank_contracts-1.8.3-py3-none-any.whl Python 3 none any Details for hank_contracts-1.8.3-py3-none-any.whl

Total release size: 96.6 kB

Release files / hank_contracts-1.8.3.tar.gz

Download URL hank_contracts-1.8.3.tar.gz
Size 48.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b59cf2d8c1af233f3bfa175f3d7dd04d36b21f305f447e0435e500373853ed3b
BLAKE2b-256 checksum
How to use checksums
887d1ab5898062c630f7107378eff4c3a528d13002ee07fef94828d41a2d9b29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / hank_contracts-1.8.3-py3-none-any.whl

Download URL hank_contracts-1.8.3-py3-none-any.whl
Size 48.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad0a8e09f8156dd5ab526f5f159b6622481771b5309d65367ac6f267b011f2f6
BLAKE2b-256 checksum
How to use checksums
a39c30ac2fc8714126876644a4c52c2815add8690b74164983a5e0b68641a56b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for hank-contracts 1.8.3

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