$ init
created empty claims store at /tmp/spawn-guard-demo1-E8ajCS/claims.json
  -> exit 0

identities issued: coordinator-a, coordinator-b (tokens saved to shell vars, printed nowhere)

$ claim --token <TOKEN-A> --dirs /tmp/spawn-guard-demo1-E8ajCS/build-tree --note original build
CLAIMED by coordinator-a: /tmp/spawn-guard-demo1-E8ajCS/build-tree (ttl 24.0h)
  -> exit 0

$ claim --token <TOKEN-B> --dirs /tmp/spawn-guard-demo1-E8ajCS/build-tree --note successor, spawned by mistake
CLAIM REFUSED: /tmp/spawn-guard-demo1-E8ajCS/build-tree conflicts with live claim by coordinator-a on /tmp/spawn-guard-demo1-E8ajCS/build-tree (claimed 0s ago)
  -> exit 1

$ check --owner coordinator-b --dirs /tmp/spawn-guard-demo1-E8ajCS/build-tree
CHECK FAILED for coordinator-b — spawn blocked:
  [claim-conflict] /tmp/spawn-guard-demo1-E8ajCS/build-tree: live claim by coordinator-a on /tmp/spawn-guard-demo1-E8ajCS/build-tree (claimed 0s ago)
  [fresh-writes] /tmp/spawn-guard-demo1-E8ajCS/build-tree: /tmp/spawn-guard-demo1-E8ajCS/build-tree/work.txt written 1s ago, not covered by a claim from coordinator-b
  -> exit 1

$ release --token <TOKEN-B>
RELEASED 0 claim(s) for coordinator-b
  -> exit 0

$ release --token <TOKEN-A>
RELEASED 1 claim(s) for coordinator-a
  -> exit 0

$ claim --token <TOKEN-B> --dirs /tmp/spawn-guard-demo1-E8ajCS/build-tree --note successor, now legitimate
CLAIMED by coordinator-b: /tmp/spawn-guard-demo1-E8ajCS/build-tree (ttl 24.0h)
  -> exit 0

$ verify
VERIFY OK: 4 history entries, chain intact; state_hash matches
  claim[0] owner=coordinator-a [RELEASED] *** UNVERIFIED *** (no different-party attestation)
    checks: manifest_digest=pass, attestation=absent, lease=released, live_state=readable
  claim[1] owner=coordinator-b [LIVE] *** UNVERIFIED *** (no different-party attestation)
    checks: manifest_digest=pass, attestation=absent, lease=current, live_state=readable
unverified_dispatch_count: 2 (claim records that have carried UNVERIFIED)
  -> exit 0

