Skip to main content

Canonical conformance vectors and IETF drafts for the TIBET continuity ecosystem — reference inputs for external evaluation of tibet-continuityd, tibet-drop, tbz v1/v2, and related implementations. v0.2.0 adds tbz-wire-format vectors (transparent v1, SSM-routed v2, sealed v2, full sealed-routed v2, negative-test wrong-receiver).

Project description

tibet-conformance-vectors

Canonical conformance vectors and IETF drafts for the TIBET continuity ecosystem.

This package ships the reference inputs that external evaluators and implementers need to validate any tibet-* implementation against the documented spec, without requiring access to the Humotica internal monorepo.

Why it exists

Independent peer-reviewers (= Red Specter Security Research, RS-2026-001) flagged that the previous evaluation kit pointed at an internal monorepo path:

FIXTURE_BASE=$REPO_ROOT/sandbox/ai/codex/continuityd-test-packages/

which is not reachable from a fresh PyPI install on a clean Kali host. This package fixes that distribution gap. Conformance vectors and IETF drafts now ship together as a public, citable artifact.

What's inside

Conformance vectors (data/v1.jsonl)

Reference vectors for the five intake categories the TIBET stack distinguishes:

Vector ID Category Scope
trusted-001 trusted transport-canonical
triage-001 triage transport-canonical
reseal-001 reseal transport-canonical
quarantine-001 quarantine transport-canonical
reject-001 reject transport-canonical

Each vector carries:

  • vector_id, category, scope, vector_version
  • filename (= semantic surface manifest fields)
  • content_base64 (= raw bytes that should produce the expected disposition)
  • expected_audit (= the audit record an implementation MUST emit)

IETF drafts (drafts/)

  • draft-vandemeent-tibet-causal-time-00.txt — Causal Time Substrate
  • draft-vandemeent-tibet-semantic-surface-manifest-00.txt — SSM routing layer

Both submitted to the IETF datatracker; this package keeps a stable local copy aligned with each vector revision.

Eval kit examples (examples/)

Runnable scripts that demonstrate how to validate an implementation:

python -m tibet_conformance_vectors.check /path/to/audit.jsonl

Install

pip install tibet-conformance-vectors

Programmatic use

from tibet_conformance_vectors import load_vectors, get_vector

# Load all vectors from the bundled v1 set
vectors = load_vectors("v1")

# Or pull a single vector by id
trusted = get_vector("trusted-001", version="v1")
print(trusted["expected_audit"]["disposition_hint"])
# → 'trusted-candidate'

How to validate an implementation

Given an implementation (= tibet-continuityd or any compatible daemon) and its audit JSONL output:

from tibet_conformance_vectors import check_audit

ok, report = check_audit(
    audit_path="/var/log/tibet/continuityd-audit.jsonl",
    vector_version="v1",
)
if ok:
    print("PASS — all 5 vectors match expected disposition + causal chain")
else:
    for failure in report.failures:
        print(failure)

Versioning policy

Vectors are versioned independently from any implementation. A vector version (e.g. v1) is immutable once published. New vectors get a new version directory (v2/, v3/) so that historical conformance claims remain reproducible.

If a vector turns out to be wrong, it gets marked deprecated in metadata but the byte content stays unchanged.

Related packages

  • tibet-continuityd — reference daemon implementation
  • tibet-drop — TBZ pack/verify primitives
  • tibet-phantom — Identity-Bound Continuity Container

License

MIT — Humotica + Root AI + Codex (2026)

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

tibet_conformance_vectors-0.2.0.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

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

tibet_conformance_vectors-0.2.0-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

Details for the file tibet_conformance_vectors-0.2.0.tar.gz.

File metadata

File hashes

Hashes for tibet_conformance_vectors-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1f64a128e27e4c7d98a237efcc65835e18ab120fcbf0059738e59dac16e648fb
MD5 099352217641168265e664eccff60a61
BLAKE2b-256 aa98577f55008012039b9551433fbfdbcb0e3a752a93417f522e8199ffe90695

See more details on using hashes here.

File details

Details for the file tibet_conformance_vectors-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tibet_conformance_vectors-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 def5c6ada151ae53d929aa04b4a97c7b3d65e7347acedbd32789a64e67174780
MD5 a8e73dc72f3a99703ef4ae5afcc0a59a
BLAKE2b-256 57c70fd9710390240f5008edeeb7ed0e3f00c09b72a150999dfb6c3246910b25

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