-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.cast
More file actions
23 lines (23 loc) · 5.23 KB
/
Copy pathdemo.cast
File metadata and controls
23 lines (23 loc) · 5.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{"version":3,"term":{"cols":80,"rows":24},"timestamp":1774335406,"command":"bash demo.sh","title":"Proof of Commitment — Demo","env":{"SHELL":"/bin/bash"}}
[0.004, "o", "\r\n════════════════════════════════════════════════════════════\r\n PROOF OF COMMITMENT — DEMO\r\n════════════════════════════════════════════════════════════\r\n\r\n Proving: real humans visited a website, anonymously.\r\n Stack: World ID (identity) + Chrome Extension (behavior)\r\n + Hono Backend (aggregation) + MCP (AI query)\r\n\r\n"]
[1.001, "o", "\r\n┌─ Step 1: Start backend + mock World ID\r\n"]
[1.006, "o", "│ ✅ Backend running on :3051\r\n│ ✅ Mock World ID OIDC provider on :3101\r\n└──────────────────────────────────────────────────────────\r\n"]
[0.501, "o", "\r\n┌─ Step 2: Health check\r\n"]
[0.023, "o", "│\r\n│ $ curl http://localhost:3051/\r\n│ {\"status\":\"ok\",\"service\":\"proof-of-commitment\"}\r\n│\r\n│ ✅ Service is healthy\r\n└──────────────────────────────────────────────────────────\r\n"]
[0.502, "o", "\r\n┌─ Step 3: Mock World ID issues identity token\r\n│\r\n│ $ curl -X POST http://localhost:3101/token \\\r\n│ -d '{\"client_id\":\"poc-extension\",\"verification_level\":\"orb\"}'\r\n│\r\n"]
[0.059, "o", "│ {\"user\":{\"sub\":\"mock_user_1_1774335409680...\",\"verificationLevel\":\"orb\"}}\r\n│ id_token: [RSA-256 signed JWT — omitted for brevity]\r\n│\r\n│ ✅ Identity verified at orb level (unique human, not a bot)\r\n"]
[0.000, "o", "└──────────────────────────────────────────────────────────\r\n"]
[0.502, "o", "\r\n┌─ Step 4: Chrome extension submits browsing commitment\r\n│\r\n│ # User visited peppes-pizza.no 12 times over 30 days\r\n"]
[0.000, "o", "│ $ curl -X POST http://localhost:3051/api/commit \\\r\n"]
[0.000, "o", "│ -d '[{\"domain\":\"peppes-pizza.no\",\"visitCount\":12,\"totalSeconds\":360,...}]'\r\n│\r\n"]
[0.035, "o", "│ {\"accepted\":1}\r\n│\r\n│ ✅ Commitment stored (no user ID — only anonymous aggregate)\r\n└──────────────────────────────────────────────────────────\r\n"]
[0.586, "o", "\r\n┌─ Step 5: Query aggregated commitment stats\r\n│\r\n│ $ curl http://localhost:3051/api/domain/peppes-pizza.no\r\n│\r\n"]
[0.025, "o", "│ {\"domain\":\"peppes-pizza.no\",\"uniqueCommitments\":3,\"totalVisits\":25,\"totalSeconds\":750,\"avgVisits\":8.333333333333334,\"avgSeconds\":250,\"lastUpdated\":\"2026-03-24 06:56:50\"}\r\n│\r\n"]
[0.064, "o", "│ ✅ \u001b[0m\u001b[33m3\u001b[0m verified unique visitors\r\n│ ✅ \u001b[0m\u001b[33m25\u001b[0m total visits recorded\r\n│ ✅ \u001b[0m\u001b[33m88\u001b[0m% repeat visit rate — these are real customers\r\n└──────────────────────────────────────────────────────────\r\n"]
[0.501, "o", "\r\n┌─ Step 6: AI agent queries via MCP tool\r\n│\r\n│ # AI model calls: query_commitment({\"domain\":\"peppes-pizza.no\"})\r\n│\r\n"]
[0.036, "o", "│ Domain: peppes-pizza.no\r\n│ Verified unique visitors: \u001b[0m\u001b[33m3\u001b[0m\r\n│ Total visits: \u001b[0m\u001b[33m25\u001b[0m\r\n│ Repeat visit rate: \u001b[0m\u001b[33m88\u001b[0m%\r\n│ Average time per visitor: \u001b[0m\u001b[33m4\u001b[0m minutes (\u001b[0m\u001b[33m250\u001b[0ms)\r\n│ Total time invested: 0 hours\r\n│\r\n│ ✅ AI now has verified behavioral signal — not self-reported reviews\r\n└──────────────────────────────────────────────────────────\r\n"]
[0.502, "o", "\r\n════════════════════════════════════════════════════════════\r\n WHAT THIS PROVES\r\n════════════════════════════════════════════════════════════\r\n\r\n ✅ Identity verification — World ID proves 1 person = 1 account\r\n"]
[0.001, "o", " ✅ Behavioral tracking — Chrome extension captures real patterns\r\n ✅ Anonymous aggregation — Backend stores signal, not surveillance\r\n"]
[0.000, "o", " ✅ AI-queryable — MCP server exposes verified data to agents\r\n\r\n This replaces: 1000 fake reviews\r\n With: 3 verified humans who keep coming back\r\n"]
[0.000, "o", "\r\n The commitment is the proof.\r\n\r\n"]
[0.004, "x", "0"]