Labs · Protocol Sandbox

Checking the pass, the receipt, and the deadbolt.

A polite promise in chat cannot stop a forged order or a stalled warehouse lifter. Toggle simulated faults below to watch each safeguard verify or block the envelope in real time.

Six checkable safeguards limit tool authority, seal audit trails, cut physical power on stall, clear mutual credit privately, cross-check room sensors, and confirm checkout safety notices. When you check into a hotel, the desk clerk hands you a plastic keycard stamped only for Room 304 until checkout at noon. It will not open Room 305, the kitchen pantry, or the front-desk safe, and after noon the lock rejects it automatically.

You also get two extra protections that do not depend on trusting anyone's memory. At checkout, an itemised folio lists every charge so an unexpected fee stands out right away. Inside the room, a brass deadbolt chain on the doorframe stops anyone outside from pushing the door open, even with a master card.

Software assistants, warehouse arms, cooperative ledgers, home sensors, and travel checkouts need those same checks. Pick any of the six protocol envelopes below and flip the fault switches to see which safeguard stops each failure.

Six-station protocol and safety-case verification pipeline Planar two-row dot-grid DAG diagram showing six safeguard stations: Layer 1 Scoped Capability Lease, Layer 2 Tamper-Evident Provenance Receipt, Layer 3 Physical Dead-Man Interlock, Layer 4 Selective-Disclosure Cooperative Clearing, Layer 5 Attested Sensor and Local Diary Boundary, and Layer 6 Checkout Mandate and Safety Confirmation, each displaying live PASS or BLOCKED status. ■ PROTOCOL VERIFICATION DAG · 06 SAFEGUARD STATIONS · LIVE SANDBOX STATUS 01 · LAYER 1 · AUTHORITY Capability Lease Room 304 keycard + taint gate PASS (4/4) 02 · LAYER 2 · AUDIT Provenance Receipt Hash chain + seeded replay PASS (4/4) 03 · LAYER 3 · HARDWARE Dead-Man Interlock 50 ms pulse + physical E-stop PASS (4/4) 04 · LAYER 4 · LEDGER Cooperative Clearing Zero-sum + zero raw PII PASS (4/4) 05 · LAYER 5 · DIARY Sensor and Local Diary Cross-check + sealed vault PASS (4/4) 06 · LAYER 6 · CHECKOUT Checkout Mandate Safety notice + single-trip cap PASS (4/4) TELEMETRY: ENVELOPE COMMITS ONLY WHEN ALL 04 STATION GATES EVALUATE PASS (4/4) Mobile view of six-station protocol and safety-case verification pipeline Stacked phone DAG showing six safeguard stations from Scoped Capability Lease through Checkout Mandate, each displaying live PASS or BLOCKED status. ■ 06 SAFEGUARD STATIONS · LIVE 01 · AUTHORITY PASS (4/4) Capability Lease Room 304 pass + taint gate 02 · AUDIT PASS (4/4) Provenance Receipt Hash chain + seeded replay 03 · HARDWARE PASS (4/4) Dead-Man Interlock 50 ms pulse + physical E-stop 04 · LEDGER PASS (4/4) Cooperative Clearing Zero-sum + zero raw PII 05 · DIARY PASS (4/4) Sensor and Local Diary Cross-check + sealed vault 06 · CHECKOUT PASS (4/4) Checkout Mandate Safety notice + single-trip cap PASS REQUIRES ALL 04 GATES (4/4)
Each outward action passes through scoped authority, append-only receipt hashing, local hardware relays, blinded zero-sum clearing, cross-checked local diary sealing, and signed checkout safety confirmations.
Envelope layer:

Layer 1 · Authority Scope

Scoped capability lease

Like a hotel pass stamped only for Room 304 until noon, each assistant gets a signed, expiring tool lease.

Adversarial fault switches

0 faults active (clean baseline)

Four-check invariant scorecard

PASS · 4 / 4 INVARIANTS
  • PASSOwner signature binds lease termsL1_PRINCIPAL_BINDING

    Verified HMAC binding from principal:ottawa-dental-coop to agent:supply-helper-04.

  • PASSAllow-listed tool and unit ceilingL1_TOOL_AND_CEILING_SCOPE

    Tool 'supplier.quote' is allow-listed and 120 units stays within the 250-unit cap.

  • PASSTime-bounded lease expiry windowL1_EXPIRY_WINDOW

    Active lease window valid (180 min remaining before automatic cutoff).

  • PASSUntrusted-input taint separationL1_TAINT_SEPARATION

    Control flow originates strictly from the verified owner intent, isolated from external documents.

Failed invariant: none (4/4 checks verified)

All four capability-lease invariants hold: the assistant acts inside an owner-signed, time-limited scope with untrusted document text quarantined as passive data.

Live protocol envelope (JSON)

CLEAN ENVELOPE
{
  "protocol": "cin-protocol/v0.4",
  "envelope_type": "capability_lease",
  "lease_id": "lease-2026-11-clinic-0304",
  "principal_id": "principal:ottawa-dental-coop",
  "delegate_agent_id": "agent:supply-helper-04",
  "allowed_tools": [
    "calendar.read",
    "supplier.quote"
  ],
  "ceiling_units": 250,
  "issued_at_epoch": 1794556800,
  "expires_at_epoch": 1794571200,
  "evaluated_at_epoch": 1794560400,
  "invocation": {
    "requested_tool": "supplier.quote",
    "requested_units": 120,
    "control_origin": "trusted_principal_intent",
    "untrusted_data_sources": [
      "vendor_invoice_pdf_884"
    ],
    "tainted_control_tokens": []
  },
  "delegation_mac": "9ae3b26a4a5295def3c9a23ae81f05a2483117987c3778a39eea7e99e7eb16fd"
}

How the six safeguards fit together

1. Scoped passes replace standing master keys

Permanent login credentials act like a master ring to every room in town. Under capability-based security, authority travels in short-lived passes bound to a named owner, an allow-list of tools, a unit cap, and a cutoff clock.1

Even inside an active pass, untrusted text from an external vendor invoice or email must never steer which tool runs next. Isolating control flow from external documents stops hidden prompt instructions before they reach sensitive tools.2

2. Chained receipts expose silent edits and freeze dropped replies

Self-written summaries can sound reassuring even when an automated tool skipped a check or misread a price list. Each outward step seals SHA-256 digests of its inputs, outputs, and parent receipt.3 Seeded spot-check replays then reveal altered or cherry-picked logs.3

Public offices, clinics, and cooperatives also swap failing cloud AI suppliers to local models without double-paying vendor invoices. When a reply drops mid-order, a local control plane freezes that uncertain step behind a one-time receipt.20 It also blocks unapproved fallback shortcuts22 and binds every action to a named human office.21

Hosted model providers can also swap in cheaper precision behind a closed web address. Zero-knowledge floating-point receipts verify the exact advertised model and rounding rules in milliseconds without exposing private prompts or weights.23

3. Hardware relays keep final say over physical force

Software checks alone are never enough around heavy machinery, clinic equipment, or warehouse lifters. Multi-version software components still share correlated blind spots under unusual conditions,4 and human operators need direct physical override when automation stalls.5

Layer 3 places an optically isolated hardware relay between compute boards and motor power. If pulses lag past 50 milliseconds, sensors diverge, or a worker hits the stop button, copper contacts cut power locally.

On local accelerator chips, word-by-word register writes let faulty software splice fields across separate jobs. Sealing each whole job behind a single-use hardware gate stops spliced or replayed runs before the chip starts.24

4. Blinded clearing settles shared work without surveillance

When local clinics, couriers, and supply cooperatives clear mutual credit, open auditability must never expose household records.6,7 Layer 4 checks that credits sum to exact zero and blocks duplicate bot nullifiers.6 It also rejects any batch carrying raw names, street addresses, or emails.7

5. Cross-checked sensors seal a private local diary

A hardware signature proves which microphone or camera chip signed a reading. Light or sound can still be faked in the room beforehand.8 Recent security benchmarks show that forged audio and images raise social-engineering success against personal AI agents to nearly thirty percent.9

Layer 5 pairs a fresh hardware clock quote10 with a physical cross-check across separate sensor types before sealing an entry in your local diary. Only a small yes-or-no proof commitment crosses to the shared network, verified offline without fetching external schema links11 and exposing zero raw audio or home notes.

Even when the right note sits in your local diary, frozen language models still ignore or mix up updated entries in nearly half of queries. Binding each plain note to an addressed subject key and a lightweight steering switch keeps current facts accurate without retraining weights.25

6. Signed checkout slips replace scraped passwords

Major airlines and online stores now block unauthorized assistants at checkout. Browser bots hide who approved a purchase or read required safety warnings.12 For air travel, federal rules require each passenger to acknowledge hazardous-materials rules on spare lithium batteries and aerosols before booking.13

Layer 6 displays that safety notice on your own device first and records your signed confirmation receipt. It then attaches a 15-minute single-trip fare cap and a one-time payment commitment to the booking request.14,15 Airlines and merchants can verify your exact approval without scraping login cookies or forcing you through a closed middleman.

Honest limits

Cryptographic envelopes and hardware relays prove whether an action stayed inside signed bounds, left an intact receipt, and respected stop switches. They cannot decide whether a task lease was wise or fair to issue in the first place. Democratic governance and human review still set those boundaries. Compare these wire checks with our sensor and diary boundary sandbox and stress-test market dynamics in the interactive labs. You can also browse the underlying working papers or practice real-world safeguards in Shared Horizon.

  1. Jack B. Dennis and Earl C. Van Horn, "Programming Semantics for Multiprogrammed Computations," Communications of the ACM, vol. 9, no. 3 (1966), doi.org/10.1145/365230.365252.
  2. Edoardo Debenedetti et al., "Defeating Prompt Injections by Design," arXiv preprint (2025), arxiv.org/abs/2503.18813.
  3. Scott A. Crosby and Dan S. Wallach, "Efficient Data Structures for Tamper-Evident Logging," Proceedings of the 18th USENIX Security Symposium (2009), usenix.org/legacy/event/sec09/tech/full_papers/crosby.pdf.
  4. John C. Knight and Nancy G. Leveson, "An Experimental Evaluation of the Assumption of Independence in Multiversion Programming," IEEE Transactions on Software Engineering, vol. SE-12, no. 1 (1986), doi.org/10.1109/TSE.1986.6312924.
  5. Lisanne Bainbridge, "Ironies of Automation," Automatica, vol. 19, no. 6 (1983), doi.org/10.1016/0005-1098(83)90046-8.
  6. James Stodder, "Complementary Credit Networks and Macroeconomic Stability: Switzerland's Wirtschaftsring," Journal of Economic Behavior & Organization, vol. 72, no. 1 (2009), doi.org/10.1016/j.jebo.2009.06.002.
  7. J. H. Saltzer and M. D. Schroeder, "The Protection of Information in Computer Systems," Proceedings of the IEEE, vol. 63, no. 9 (1975), doi.org/10.1109/PROC.1975.9939.
  8. Kevin Fu and Wenyuan Xu, "Risks of trusting the physics of sensors," Communications of the ACM, vol. 61, no. 5 (2018), doi.org/10.1145/3176402.
  9. Zhitao He, Chi Him Zhang, Chengru Han, and Yi R Fung, "Multimodal-SEA: Benchmarking AI Agent Security under Multimodal Social Engineering Attacks," arXiv preprint (2026), arxiv.org/abs/2611.08281.
  10. Henk Birkholz, Dave Thaler, Michael Richardson, Ned Smith, and Wei Pan, "Remote ATtestation procedureS (RATS) Architecture," IETF RFC 9334 (2023), rfc-editor.org/rfc/rfc9334.
  11. Naohiro Fujie and Shigeya Suzuki, "A Security Analysis of Verifiable Credential Verification Pipelines: Attack Surface Arising from JSON-LD/RDFC Canonicalization Compared with SD-JWT VC and mdoc," arXiv preprint (2026), arxiv.org/abs/2611.04461.
  12. Lauren Feiner, "United won't let your AI agent book your flight," The Verge (November 2026), theverge.com/ai-artificial-intelligence/1031623/united-unauthorized-ai-agents.
  13. Pipeline and Hazardous Materials Safety Administration, U.S. Department of Transportation, "49 CFR 175.25: Passenger notification system," Code of Federal Regulations, law.cornell.edu/cfr/text/49/175.25.
  14. Claudiu Hulea, "Verifiable Mandates for Agents Acting Across Administrative Domains," individual IETF draft draft-hulea-wimse-agent-mandate-01 (2026), datatracker.ietf.org/doc/draft-hulea-wimse-agent-mandate.
  15. Annabelle Backman, Justin Richer, and Manu Sporny, "HTTP Message Signatures," IETF RFC 9421 (2024), rfc-editor.org/rfc/rfc9421.
  16. Jack M. Balkin, "Information Fiduciaries and the First Amendment," UC Davis Law Review, vol. 49, no. 4 (2016), lawreview.law.ucdavis.edu; Coalition for Content Provenance and Authenticity, C2PA Technical Specification v2.1 (2024), c2pa.org/specifications/specifications/2.1/specs/C2PA_Specification.html.
  17. Karl Friston, "Life as we know it," Journal of the Royal Society Interface, vol. 10, no. 86 (2013), doi.org/10.1098/rsif.2013.0475; Henk Birkholz et al., Supply Chain Integrity, Transparency, and Trust (SCITT) Architecture, IETF RFC 9943 (2026), rfc-editor.org/rfc/rfc9943.
  18. Elinor Ostrom, "Beyond Markets and States: Polycentric Governance of Complex Economic Systems," American Economic Review, vol. 100, no. 3 (2010), doi.org/10.1257/aer.100.3.641.
  19. Rudolf Meidner, Employee Investment Funds: An Approach to Collective Capital Formation (1978), archive.org/details/employeeinvestme0000meid.
  20. Deepak Waghmare and Shaad Sufi, "Keep the Process, Change the Supplier: Runtime Governance for Tool-Using AI Agents," arXiv preprint (2026), arxiv.org/abs/2611.26966.
  21. Natasha E. Blycha, James Myint, Chen Feng, Dr Amani Soysa, Koshin Jama, Schellie-Jayne Price, and Matthew Blycha, "Law at the Speed of AI: Critical Legal Infrastructure for the Machine Age: Autonomy Under Law Architecture (AULA)," arXiv preprint (2026), arxiv.org/abs/2611.25985.
  22. Frederic Lemieux and Shadi Abouzeid, "Deviant Machines: Innovation, Containment, and the Prevention of Autonomous Misalignment," arXiv preprint (2026), arxiv.org/abs/2611.30848.
  23. Liang Song, "FlashProve-Next: Verifiable Inference for Production LLM APIs," arXiv preprint (2026), arxiv.org/abs/2611.33741.
  24. Mohamed El-Hadedy, "WADJET: Whole-Job Authorization and Dispatch for Job Execution Trust on FPGA System-on-Chip Accelerators," arXiv preprint (2026), arxiv.org/abs/2611.33406.
  25. Jinkun Zhao and Wenjun Wu, "TASK Memory: Beyond Text-Only Memory with Activation Steering and Knowledge Editing against Memory Hallucination," arXiv preprint (2026), arxiv.org/abs/2611.34762.