Skip to content

Adapter Control Demo

Nick Rygiel edited this page Jul 4, 2026 · 1 revision

Adapter Control Demo

PR #5 added a no-build browser demo for the runtime-adapter and redaction control-plane pattern.

Open in the repository: https://github.com/Protocol-Wealth/pwcli-core/tree/main/examples/adapter-control-demo

Flow

  1. Untrusted issue or document text is boxed as data, not instructions.
  2. The parser compiles the request into intent telemetry.
  3. The control plane selects a registered runtime adapter.
  4. A redaction policy declares controls before prompts, tools, artifacts, external calls, logs, and memory writes.
  5. A state-changing workflow pauses at approval.
  6. Approval creates a schema-faithful provenance record and a local run receipt.

Safety Boundary

The demo is static only. It performs no model calls, no backend calls, no network requests, no file writes, and uses no real secrets.

It also replaced the README tax example with a neutral travel-planning example.

Clone this wiki locally