Manual Verifier
Manual inspection is useful for debugging and spot checks.
Open /verify.html →diff --git a/public/ambient-verification.html b/public/ambient-verification.html index c358835..77485e4 100644 --- a/public/ambient-verification.html +++ b/public/ambient-verification.html @@ -3,119 +3,150 @@
-Systems can verify machine-action receipts automatically through URLs, badges, webhooks, SDKs, and agent-to-agent flows.
+ Automatic Verification +CommandLayer receipts can be verified automatically by apps, webhooks, SDKs, MCP flows, badges, and agent-to-agent systems.
+ +The webhook auto-verify example demonstrates this server-side. The public demo demonstrates the same flow in the browser using runtime signing and runtime verification.
+Runtime: https://runtime.commandlayer.org
Verifier: https://runtime.commandlayer.org/verify
Manual inspection is useful for debugging and spot checks.
Open /verify.html →Receipt-specific URLs let systems and humans open the same verification result directly.
Open valid receipt URL →Display verification status where decisions are made.
Open /verify-badge-demo.html →Use SDK and runtime verifier flows in applications that verify receipts on delivery.
Paste receipt JSON and inspect each verification check.
Open verifierProgrammatically verify receipts with POST https://runtime.commandlayer.org/verify.
Backend receives receipt, verifies it server-side, and accepts/rejects the event.
Open demo pageDisplay verification state in a UI.
Open badge demoUse @commandlayer/agent-sdk or direct runtime calls in application code.
Receipt reference → fetch receipt → verify checks → accept/reject action
-The verifier can run inside a website, backend job, webhook consumer, SDK call, or agent-to-agent workflow.
+This is the no-paste model: POST /webhook receives { event, receipt }, the server posts { receipt } to the verifier, valid proof returns accepted, and tampered proof returns rejected.
cd examples/webhook-auto-verify +npm install +npm run generate:samples +npm start + +curl -X POST http://localhost:3000/webhook \\ + -H "Content-Type: application/json" \\ + --data @sample-valid-webhook.json + +curl -X POST http://localhost:3000/webhook \\ + -H "Content-Type: application/json" \\ + --data @sample-tampered-webhook.json + +Expected: +valid -> 200 accepted +tampered -> 400 rejected
Schema-valid alone is not verified. Verification requires hash and signature checks.
Route or block incoming events based on verification checks.
Show verification state directly in user-facing pages.
Run verification as part of backend decision logic.
Let one agent verify another agent's receipt before acting.
Store verification outputs for compliance and review.
Feed verification states into reporting and historical analytics.
Webhook sender authentication is separate from receipt verification. Production webhooks still need sender authentication, replay protection, timestamps, rate limits, and idempotency.
Demo verification routes are available for illustrative receipt IDs:
+Live today: manual verifier, runtime /verify, webhook auto-verify example, SDK/runtime verification, and embedded badge demo.
Planned: managed webhook delivery network, third-party callbacks, continuous monitoring, replay-check service, and dashboard/history pipelines.
+