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 @@ - Ambient Machine-Action Verification | CommandLayer - + Automatic Verification | CommandLayer + - +
-

Ambient Machine-Action Verification

-

Systems can verify machine-action receipts automatically through URLs, badges, webhooks, SDKs, and agent-to-agent flows.

+ Automatic Verification +

Verification without manual paste.

+

CommandLayer receipts can be verified automatically by apps, webhooks, SDKs, MCP flows, badges, and agent-to-agent systems.

+ +
+ +
+

The working model

+
+
Runtime signs receipt
+
→ receipt delivered to a system
+
→ system calls verifier
+
→ valid receipt accepted
+
→ tampered receipt rejected
+
+

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

-
+

Live today

- - - -

SDK/runtime verification

Use SDK and runtime verifier flows in applications that verify receipts on delivery.

+

Manual verifier

Paste receipt JSON and inspect each verification check.

Open verifier
+

Runtime verifier

Programmatically verify receipts with POST https://runtime.commandlayer.org/verify.

Open runtime docs
+ + +

SDK/runtime verification

Use @commandlayer/agent-sdk or direct runtime calls in application code.

SDK records
API reference
-
-

Ambient flow

-

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.

+
+

Webhook auto-verification

+

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
-
+

Trust checks

-
    -
  • schema_valid
  • -
  • hash_matched
  • +
      +
    • receipt structure
    • +
    • metadata.proof present
    • +
    • canonicalization = json.sorted_keys.v1
    • +
    • hash_alg = SHA-256
    • +
    • hash_matches
    • +
    • signature_alg = Ed25519
    • signature_valid
    • -
    • signer_resolved
    • -
    • signer_matched
    • -
    • trust_verb
    • +
    • signature.kid = vC4WbcNoq2znSCiQ
    • +
    • signer_id = runtime.commandlayer.eth
    • +
    • supported capability verb
    • +
    • tamper invalidation
    -
    A schema-valid receipt only means the receipt has the expected shape. Cryptographic validity still depends on hash, signature, and signer checks.
    -
    Schema-valid does not always mean cryptographically valid.
    +

    Schema-valid alone is not verified. Verification requires hash and signature checks.

-
-

Developer use cases

-
-

webhook filtering

Route or block incoming events based on verification checks.

-

website badges

Show verification state directly in user-facing pages.

-

automated receipt checks

Run verification as part of backend decision logic.

-

agent-to-agent validation

Let one agent verify another agent's receipt before acting.

-

audit trails

Store verification outputs for compliance and review.

-

dashboard/history pipelines

Feed verification states into reporting and historical analytics.

-
+
+

Trust boundaries

+
    +
  • Runtime signs.
  • +
  • Verifier validates.
  • +
  • MCP bridges.
  • +
  • SDK wraps.
  • +
  • Schemas describe.
  • +
+

Webhook sender authentication is separate from receipt verification. Production webhooks still need sender authentication, replay protection, timestamps, rate limits, and idempotency.

-
-

Planned

+
+

Verification URLs

+

Demo verification routes are available for illustrative receipt IDs:

+
-
-

Careful wording

- - +
+

Live vs planned

+

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.

+

View Production Proof · Runtime · API · Verifier