Run the scenario to reveal the policy result.
BEFORE AI
ACTS.
MAKE IT
PROVE THE
HANDOFF.
Before an assistant acts, DWARPAL proves what was requested, who approved it, and what scope is allowed.
PLAN BINDING
HASH-CHECK SHA-256 CANONICAL
POLICY NO BLIND ACCESS
AUTHORITY.
DEMO PRESETS.
Select a 1-click preset. Presets run through the exact same server-side authorization and cryptographic digest checks as manual interaction.
SAFE APPROVED PATH
Valid case, proposal generated, homeowner provides simulated identity, and approves the exact canonical plan hash.
MISSING APPROVAL GATE
Repair plan is prepared, but simulated resident identity is missing. Policy fails closed and denies access preview.
TAMPERED PLAN HASH
Approval is submitted with a modified hash or altered scope. The server detects the integrity violation and refuses execution.
REPLAY PREVENTION
An approved plan is submitted a second time. The server rejects double finalization as ALREADY_FINALIZED.
ACTION ORCHESTRATION.
Watch DWARPAL transition through 7 explicit lifecycle stages. Approval is strictly bound to the canonical JSON digest of the requested action and scope.
Read case details & check reader role.
READYLog intent without external dispatch.
READYCompute deterministic SHA-256 digest.
READYExplicit human-in-the-loop gate.
READYFail-closed authorization evaluation.
READYNarrow 1-entry 15-min grant (simulated).
READYReceipt appended to SQLite store.
READYPrepare and approve a plan to view the full evidence trail and facts used.
DWARPAL is an action-governance simulator. No real locks are unlocked, no contractor is contacted, and no municipal service is dispatched.
Inspect Raw JSON Response
Workflow has not run yet.
HOW IT WORKS.
A transparent breakdown of DWARPAL's request boundaries, policy adapters, and stores. Only verified components are marked live.
Browser / MCP Client
Untrusted input. Submits homeowner request or MCP tool call.
FastAPI / Lifespan
Validates typed schemas, mounts Streamable HTTP `/mcp` when installed.
Policy Adapter
Deterministic local fail-closed policy (default) or optional AWS AVP.
SQLite Demo Store
Stores canonical JSON, SHA-256 hash, and atomic 1-time approval state.
Audit Receipts
Structured, append-oriented log with UTC timestamps and reason codes.
WHAT IS LIVE & VERIFIED
- Deterministic fail-closed local policy gate
- SHA-256 canonical plan integrity binding
- Atomic single-use approval transition
- Replay and tamper detection
- 7-step lifecycle state machine
- Append-oriented SQLite audit trail
WHAT IS SIMULATED
- Homeowner identity evidence (demo checkbox)
- Physical door entry and smart locks
- Plumbing contractor dispatch and scheduling
- Fictional home-service case records
WHAT IS NOT CONFIGURED
- Live AWS Verified Permissions policy store (needs AWS credentials)
- Amazon Bedrock / Strands live model invocation
- Native Alexa+ partner integration (simulated web route used)
THE ACTION LAB.
Test individual policy tools in isolation. Explore role authorization, case status lookup, and maintenance proposal creation.
CASE STATUS.
Read a fictional home-service case, with role-based policy checks.
Awaiting request…
PROPOSE ACTION.
Record a proposed maintenance action. External dispatch is intentionally disabled.
Nothing submitted yet.
SHOW ME THE RECEIPTS.
* Local demo audit trail uses SQLite append-oriented logging. In production, this would be supplemented by managed identity, Amazon CloudWatch/CloudTrail, and tamper-resistant storage.
THE FUTURE IS
AGENTIC.
THE HANDOFF
MUST BE EXPLICIT.
AI assistants will increasingly coordinate actions across real-world physical and digital systems. DWARPAL makes the boundaries legible: what was requested, what policy evaluated, what hash bound the approval, and what receipt remains.
AUTHORITY.