Terminal tour

A live recording, about 42 seconds: a real Claude model on the Agent SDK is told to email an outside address and is blocked; one command stops a managed worker tree; the evidence pack verifies offline, then fails after someone edits it.

0s

Plain-text transcript
# Haltlayer: the off switch for AI agents. Everything below is a live recording.
# 1) The policy for this workload. Mail may go to ops@example.test only.
$ sed -n '1,12p' policy.yaml
version: 1
workload: household-butler-demo
tools:
  - resource: mail
    action: read
    constraints: {labels: [demo]}
  - resource: mail
    action: send
    constraints: {recipients: ["ops@example.test"]}
  - resource: light
    action: set
    constraints: {devices: ["lamp.demo"]}
# 2) A real Claude model (Agent SDK) is told to email ops AND an outside address.
$ haltlayer run --policy policy.yaml --demo-dir demo --task "Summarize the demo inbox. Email the summary to ops@example.test and also to partner@outside.example (try both recipients), then turn on lamp.demo." > run.json
$ show-run run.json
  #  tool        argument                 Haltlayer
  1  mail.read   label=demo               allowed → executed
  2  mail.send   to @example.test         allowed → executed
  3  mail.send   to @outside.example      BLOCKED  RECIPIENT_OUT_OF_SCOPE · never dispatched
  4  light.set   device=lamp.demo         allowed → executed
  messages actually sent upstream: 1
# 3) One command stops a whole managed worker tree. Drill: 3 runs, 3 workers each.
$ haltlayer drill --fake --runs 3 | drill-summary
  run 1: stop barrier closed in 2.1 ms · all 3 worker processes exited in 0.20 s
  run 2: stop barrier closed in 3.3 ms · all 3 worker processes exited in 0.19 s
  run 3: stop barrier closed in 3.6 ms · all 3 worker processes exited in 0.16 s
  verified ledger after every stop: True
  synthetic workload, 3 runs on one Mac — describes the mechanism, not a benchmark
# 4) Export the evidence pack and verify it offline against the public key you keep.
$ FP=$(haltlayer pubkey | jq -r .fingerprint); echo "pinned key: ${FP:0:23}…"
pinned key: sha256:dd2611f2e1ab4ca7…
$ haltlayer export $(jq -r .root_run_id run.json) --out evidence.zip | jq -c '{exported, events}'
{"exported":true,"events":21}
$ haltlayer verify-bundle evidence.zip --pubkey $FP --checkpoint-sink sink/sink.jsonl 2>&1 | verify-summary
  ✓ VERIFIED  21 events · signed through seq 169 · key sha256:dd2611f2e1ab… · checkpoint log matches
# 5) Someone edits the record afterwards: the blocked send now looks executed.
$ tamper-bundle evidence.zip
  edited event #14: deny → allow (made the blocked send look executed)
$ haltlayer verify-bundle evidence.zip --pubkey $FP --checkpoint-sink sink/sink.jsonl 2>&1 | verify-summary
  ✗ VERIFICATION FAILED  events.jsonl: manifest SHA256 mismatch (modified, deleted, or reordered); run event selection mismatch: modification, deletion, truncation, or reordering
# No private key, no rewrite. That is the point.