HUMMBL Typed Tuples
Typed governance tuples for bounded delegation, evidence, and execution control in AI-native systems.
The governance tuple is the minimal atomic record that proves a governed AI decision happened — not that someone claimed it did.
Scientific Grounding
This repo also defines the tuple pattern for scientific grounding:
EVIDENCEfor source-grounding and claim-linkage eventsATTESTfor distinct verifier review of that evidencePROMOTION_RECEIPTonly for later promotion decisions
See SCIENTIFIC_GROUNDING.md and the examples:
examples/evidence.scientific-source-grounded.jsonexamples/attest.scientific-source-grounded.json
Layered Envelope (TUPLES v2)
All tuples use a layered envelope. Lower layers are universal; higher layers apply only where governance semantics are needed.
| Layer | Fields | Applies to | Purpose |
|---|---|---|---|
| 1 — Universal | tuple_type, id, time, tuple_data |
All tuples | Identity + temporality |
| 2 — Governance | state, drift, tier, agent, tool |
IDP governance tuples | Outcome + deviation (Krineia-aligned) |
| 3 — Domain | Per-family fields | Each family independently | Domain-specific semantics |
| 4 — Integrity | signature, args_hash, previous_hash |
Optional, any tuple | Tamper evidence + chain linkage |
Krineia's 4 node fields (id, time, state, drift) are deliberately split: id/time establish existence (universal), while state/drift establish judgment (governance-specific). See TUPLES_v2.md §8 for the rationale.
Tuple Taxonomy
Six governance tuple types (Layer 1 + 2 + 3/IDP):
| Type | Role |
|---|---|
CONTRACT |
Bounded work definition — objective, allowed tools, evidence requirements |
DCT |
Delegated capability token — authority issuance with monotonic attenuation |
DCTX |
Delegation context — lifecycle state machine and parent-child linkage |
SYSTEM |
Runtime control-plane event — adapter invocation, enforcement, denial |
EVIDENCE |
Execution proof — completion outcome, cost, duration |
ATTEST |
Verification outcome — evidence hash, verifier identity, pass/fail |
Two additional governance-control tuple types are included for distributed mesh operations:
| Type | Role |
|---|---|
PROMOTION_RECEIPT |
Governed promotion decision across environments or trust/compute rungs |
REVOCATION |
Explicit withdrawal of delegated authority |
Plus three research/experiment families (Layer 1 + 3, no governance overhead):
- BaseN (8 types): reasoning experiment instrumentation
- Nodezero (4 types): experiment control tuples
- Bio (11 types, experimental): bio-cognitive signal tuples
Quick Start
# Validate all examples against schemas
make validate
# Run the test suite
make test
# Run the governance simulation
make simulate
python3 test_simulation.py
Requires Python 3.10+. Zero third-party runtime dependencies (stdlib only).
Canonical versioned taxonomy:
Repo Layout
docs/specs/ Canonical tuple specs (TUPLES_v2 is current)
schemas/ JSON Schemas for tuple classes (21 core)
schemas/experimental Bio-governance schemas (11, not yet promoted)
examples/ Sanitized tuple examples (26 fixtures)
hummbl_tuples/ Python reference implementation
simulation/ Deterministic governance simulation prototype
reference_impl/ Stdlib-only validators
comparisons/ Tuple vs adjacent approaches
research_notes/ Hypotheses, experiments, open questions
novelty_quest/ Candidate claims, objections, negative results
adrs/ Architectural decision records (4 ADRs)
Governance Simulation
A deterministic rule-based governance simulator exercises the tuple schemas as an execution surface. It models a multi-agent system with delegation, probation, scope denial, and recovery — producing 29-event traces that validate against the JSON Schemas.
make simulate # scalar trace summary
python3 -m hummbl_tuples.simulation --out /tmp/trace.json # full JSON trace
python3 test_simulation.py # regression assertions
The simulator is bitwise-deterministic under a fixed seed, enabling reproducible parameter sweeps.
Publication
This repo is the companion artifact for:
- "The Governance Tuple: An Atomic Record for Auditable Agentic AI Decision-Making" — formalizes the (CONTRACT, DCT, EVIDENCE) triple and proves four accountability properties
- "A Typed Delegation-Governance Tuple Profile for Multi-Agent Runtime Control" (CRAI 2026) — the six-tuple IDP profile with composability evidence
- "Append-Only as Proof" — the Krineia governance sovereignty framework
ORCID: 0009-0002-5620-1103
Key Design Decisions
| ADR | Decision |
|---|---|
| ADR-001 | Create a dedicated tuple spec repo |
| ADR-002 | Scope: spec + research, not runtime |
| ADR-003 | Governance simulation as research instrument |
| ADR-004 | Layered convergence (Krineia + tier model) |
Related
- Runtime implementation: the production
BaseNTupledataclass lives in a separate repo (HMAC-SHA256 signing, JSONL persistence, tier classification as policy-as-code) - Krineia: append-only audit sovereignty framework — 4 invariants for governance proof
- Base120: governed reasoning vocabulary — 120 operators in 6 families
License
Metadata
Release files for hummbl-tuples 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hummbl_tuples-0.2.2.tar.gz | 49.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hummbl_tuples-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 78.0 kB
Release files / hummbl_tuples-0.2.2.tar.gz
| Download URL | hummbl_tuples-0.2.2.tar.gz |
|---|---|
| Size | 49.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62d765b17a81b321830dc1fbcf079bff2cfc5464f6a8709320c885619b5fb58c
|
|
BLAKE2b-256 checksum How to use checksums |
8c05321a65859ca4d1b805bc6b5895c5994d547d9d34e0cbedce680c22548e8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / hummbl_tuples-0.2.2-py3-none-any.whl
| Download URL | hummbl_tuples-0.2.2-py3-none-any.whl |
|---|---|
| Size | 29.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
554b3eee73b027cd4584f33da3abac7ab8ca5a7377328097325d22409090a220
|
|
BLAKE2b-256 checksum How to use checksums |
79696b67b4d86b313d464b2b3ba12b07cb5cf29a56ec42f62ce62cc175df668c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency log