Skip to main content
L0product

Protocol Coverage

When deploying agent commerce, every protocol interface must be provably correct — coverage maps protocols to contracts to tests so trust is computed, not claimed.

1,500
Priority Score
Pain × Demand × Edge × Trend × Conversion
Customer Journey

Why should I care?

Five cards that sell the dream

1Why

Trust is computed, not claimed.

When an agent spends money on your behalf, what proves it stayed within bounds?

The friction: 49 protocols documented. Only 20 tested. The Commerce Authorization Chain has gaps at every stage after USER AUTH. Trust exists in documentation, not in evidence.

The desire: Every protocol interface provably correct. Coverage computed from test results, not hand-counted from markdown. The chain verified end-to-end.

The proof: 20 protocols already pass with Zod contracts. The pattern works. 29 more need the same treatment.

Picture
A control room with 49 protocol indicators — 20 green, 29 dark. The Commerce Authorization Chain glowing as a red thread through the center. Cinematic, 16:9
1 / 5

Same five positions. Different seat.

The customer sees trust as a guarantee. The builder sees trust as a test suite. The Commerce Authorization Chain is both the product promise and the engineering spec.

Feature Dev Journey

How does this get built?

Five cards that sell the process

1Job

Agents transact. Prove it works.

Can you state the struggling moment in one sentence?

Situation: 49 protocols mapped. 20 tested. Commerce Authorization Chain has untested links. Trust is claimed in docs, not computed from evidence.

Intention: Every protocol has a Zod contract and a passing test spec. Coverage computed and surfaced. Chain verified end-to-end.

Obstacle: 29 missing tests. 10 missing contracts. External deps (FIDO, Sui testnet) can't be mocked.

Picture
A single card illuminated on a dark stage — the text reads 'When agents transact, every protocol must be provably correct' in crimson. Cinematic, 16:9
1 / 5

The pitch names the gap. The flow diagrams prove the dependency. The VV stories validate each link.

Problem

Situation

49 protocols mapped across 5 domains. 20 tested (41%). Commerce Authorization Chain has untested links at every stage after USER AUTH. Verifiable Intent has zero tests. On-Chain Trust has zero tests. Dream repo documents 8 agent protocols but no bridge to engineering verification results. Trust is claimed in documentation, not computed from test evidence.

Intention

Every protocol has a Zod contract and a passing test spec. Coverage percentage computed from test results and surfaced in the feature matrix. Commerce Authorization Chain verified end-to-end: USER AUTH → INTENT CAPTURE → AGENT ACTION → SETTLEMENT → AUDIT.

Obstacle

29 protocols lack tests. 10 have no contracts at all. Three distinct test tiers (Orchestration, Protocol, Network) need different infrastructure. Verifiable Intent requires FIDO keys. On-Chain Trust requires Sui testnet. Payment Execution requires x402 handshake servers. Each domain has different external dependencies.

Hardest Thing

Verifiable Intent and On-Chain Trust require real external infrastructure — FIDO authenticators, Sui testnet wallets, escrow contracts. A test that mocks the protocol is not a protocol test. The hardest part is standing up real infrastructure for protocols that don't have commodity test tooling yet.

Scorecard

Priority (5P)

5/5
Pain
4/5
Demand
5/5
Edge
5/5
Trend
3/5
Convert

Readiness (5R)

Principles4 / 5
Performance2 / 5
Platform4 / 5
Process3 / 5
Players2 / 5

What Exists

ComponentState
intents-e2e test appWorking
A2A Protocol tests (Domain 1)Partial
Auth tests (Domain 4)Partial
Stripe webhook test (Domain 3)Working
Verifiable Intent (Domain 2)Missing
On-Chain Trust (Domain 5)Missing
Coverage computationMissing
HITL oversight patternsMissing
MCP documentationWorking
MCP servers (active)Working

Relationships

PRDContributes
Agent PlatformPeer — Agent Platform is the PUMP (identity, memory, scaffolds). Protocol Coverage is the GAUGE (trust verification). Different feature IDs, same foundation.
Automated CommissioningEnables — Protocol Coverage produces test results that Automated Commissioning consumes to compute feature states.
CLI PlatformDepends on — test commands and coverage reporting run through the unified CLI.
Prediction Game (Sui)Prediction Game needs PROT-005 (On-Chain Trust) for atomic settlement.
Sales CRMSales CRM needs PROT-003 (Payment Execution) for Stripe + payment intent flows.
Kill Signal

After 60 days of active development, if protocol coverage has not moved from 41% to 60%, the contract-first approach is too slow. Switch to integration-test-only coverage or re-scope to Commerce Authorization Chain only.

Questions

If trust is computed not claimed, what happens when a protocol test fails in production — does the system degrade gracefully or does the whole Commerce Authorization Chain break?

  • Which of the 29 untested protocols would cause the most damage if it failed silently in a real transaction?
  • Is contract-first testing (Zod schemas before specs) faster or slower than writing specs first and deriving contracts?
  • When Verifiable Intent requires FIDO keys, is the test proving the protocol or proving the FIDO implementation?