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.1.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.1-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for tibet_conformance_vectors-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7ac85743265ae2772695ed19b2352efe539224c6eed8d39be90c435ef7eee6ce
MD5 7858357c66375a439e342375fde7edfd
BLAKE2b-256 90ab40e11c6295cf1e3e3a1ef7062a9b9e13f8f36a586503dc11a9d35d14d404

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tibet_conformance_vectors-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40ab4075834700a44dbdd6281fe2eb6fe58a31f966e9b84abc00dd0783a04647
MD5 b3f8b23ce5c9f1b0fefc56c7b5eddcd3
BLAKE2b-256 8cbaeacaf72eb03cf480cc14a7c01a6c1d028b3daadbc9c1ce1bca0e7761fa7f

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