✧~ TTD Protocol — Verifiable Data Custody & Consent Layer
🔍 Purpose & Philosophy
TTD defines how data custody, consent, and verifiable attribution work across Helix systems and external agents. Every action is provable, scoped, and auditable:
- 🧵 provenance (trace) is preserved end-to-end
- 🗝️ consent is cryptographic and explicit
- 🚦 delegation is time-boxed and redlined
- ✅ outcomes return receipts; ❌ violations are rejected; 🛡️ safeguards take precedence over ⚡ optimization
🧭 Canonical Concepts
Custody (🗄️ storage + 🗝️ auth) — private keys and vault remain inside Helix domains (OVH bare-metal).
Provenance (🧵 trace) — every mutation/event is linked and hash-anchored.
Delegation Token (🚦 gate) — scoped permission with redlines, expiry, and signer.
Receipt (📊 analytics) — result package containing hashes, timestamps, and signers.
CRL (📚 knowledge registry) — append-only revocation list for DTs/shards.
Rotation Manifest (🗓️ schedule) — planned key rollover with grace period.
HOP (💬 dialogue + ⚖️ ethics + 🛡️ safeguard) — human-in-loop override for risk.
🧩 Data Flow
🔍 Agent requests access with a signed DT (🚦 scope + ⏱️ expiry + 🧱 redlines).
✅ Verifier checks signature (🗝️), validity (⏱️), scope (🧱), and revocation (📚).
🧰 Action executes inside custody domain (🗄️); no direct vault exposure.
📊 Receipt is assembled (hashes, artifacts, timings, signer).
🛡️ If any rule trip: ❌ reject → 💬 HOP (human approval) or 💀 abort per runbook.
🧱 Delegation & Redlines
DT contents (minimum): signer, subject, scope, expiry, redlines, hash, signature.
Redline examples: no_personal_contact • no_live_keys • read_only • sandbox_only (🧱 + 🧪⚖️)
Defaults: shortest necessary ⏱️; read-only unless explicitly widened; production actions require 💬 HOP.
🧾 Receipts
Every DT execution MUST yield a receipt:
- What ran (inputs/refs), When (⏱️), Who (signer), Where (domain), Result (hashes/links), Policy path (🛡️/⚖️ decisions), CRL lookups (📚). Receipts are immutable records (append-only) and feed 📊 metrics.
🔒 Security & Custody
- Keys: Ed25519 for signing DTs/receipts; rotation every 90 days (🗓️) with 14-day grace.
- Separation: OVH (compute/sign) vs WHC (public proofs).
- Sandbox: advanced operations run in 🧱🧪 until promoted; production requires 🚦 + 💬 HOP.
- Priority: 🛡️ safeguard > ⚖️ ethics > 🧾 policy > ⚡ optimize.
🗝️ AuthN/Z
Roles and scopes are explicit; missing or stale scope ⇒ ❌.
High-risk flows: 💬 HOP with signed approval and trace link (🧵).
📚 CRL & Rotation
- CRL is append-only; mirrored to public (WHC) with hash parity.
- Rotation manifests list new keys, effective time, grace end, and sign-offs.
- Verifiers MUST refuse DTs that fail CRL freshness or rotation grace rules.
A service is TTD-conformant if it:
validates DTs (signature/scope/expiry/CRL),
executes inside custody,
emits signed 📊 receipts,
honors 🧱 redlines, 💬 HOP, and 💀 abort,
logs to the ledger and exposes metrics (Prometheus) for 📊 SLOs.
⏱️ SLO Targets
- DT verify < 15 ms (warm)
- Receipt assemble < 100 ms (median)
- CRL fetch < 50 ms (cached)
- HOP round-trip ≤ 5 min default timeout (human-first)
🧪 Example — Minimal DT
Scope: read+summarize public artifacts (24h)
Redlines: no_personal_contact • sandbox_only
Receipt: “Reviewed public artifacts; published hashes only.”
Outcome: ✅ pass → 📊 receipt hash X; ❌ if redline breached → 💬 HOP or 💀
🧾 Runbooks
- RB-001 Sequence Validation: syntax/length, resonance (if used), CRL, scope gates, sandbox, receipt, ledger.
- RB-002 Conflict Resolution: ⚡ vs 🛡️ ⇒ safety wins; emit signed decision.
- RB-003 Emergency Abort (💀): freeze, diag, notify, require human re-enable.
- RB-004 Integration Testing: DT→Exec→Receipt→CRL→Rotation drill.
🧰 Interop
- Map DT/Receipt to JSON schemas under
/schemas/
- Optional VC bridge for external verifiers
- Public artifacts: CRL, rotations, DID, schemas (WHC) — signatures anchored from OVH.
📣 Links
[HELIX_GLYPH_LANGUAGE_(HGL)](#helix-glyph-language-hgl) • [HGL Unified Operational Runbook (Consolidated Perplexity Edition)](#hgl-unified-operational-runbook-consolidated-perplexity-edition) • [Our Compute](#our-compute) • [Ethos](#ethos)
----Categories:
[Category:Helix-TTD](#category-helix-ttd) [Category:Protocols](#category-protocols) [Category:Custody](#category-custody) [Category:Governance](#category-governance) [Category:HGL Documents](#category-hgl-documents)