$ tripwire demo --no-color
Tripwire guardrail demo: real files, local model, no live Liquid calls
The temporary workspace and private state are removed after the demo.

1. Read src/greet.py
  Policy: allow — The file is in an allowed read location.
  Local model: block risk 0.4235
  Combined: allow — The file is in an allowed read location.
  Read: def greet():
    return "Hello"
  SHA-256: bc3e268802eda4dfd18db94b757e7dc5a230e60766bbd5e1f6332acdf5a38688

2. Save a scratch note
  Policy: allow — Writing this file is allowed in an automatic write location.
  Local model: block risk 0.3824
  Combined: allow — Writing this file is allowed in an automatic write location.
  Scratch write completed: 21 bytes.

3. Propose a source patch with the expected SHA-256
  Policy: needs_approval — Writing this file requires approval.
  Local model: block risk 0.7278
  Combined: needs_approval — Writing this file requires approval.
  Pending owner approval; the file has not changed.
  Demo operator approved the exact proposal.
  Patch completed: 40 bytes.
  Approval reuse: blocked.

4. Attempt to read .env
  Policy: block — The path is invalid or protected.
  Local model: block risk 0.3778
  Combined: block — The path is invalid or protected.
  Protected path blocked before file access.

5. OFFLINE REPLAY: recorded Liquid injection example
  Recorded Liquid response; no live call and no execution of this proposal.
  Policy: allow — Writing this file is allowed in an automatic write location.
  Local model: block risk 0.0620
  Combined: needs_approval — Advisory risk requires approval.
  Liquid suspicious instructions: 0.9974; combined risk: 0.9974

Next: tripwire init --workspace WORKSPACE --state-dir STATE
      tripwire console --workspace WORKSPACE --state-dir STATE --profile PROFILE
      tripwire mcp --workspace WORKSPACE --state-dir STATE --profile PROFILE
