White Paper · v0.9 · May 2026 · Confidential

Corgi Clear Technical White Paper

The full specification for the Latent Reversal Commitment — smart contract spec, ML reserve architecture, arbiter model, security analysis, and Kite Chain implementation. 20 pages. No hype.

Contents

  1. 1.Background — The agentic commerce stack & consumer protection gap
  2. 2.The Latent Reversal Commitment — full smart contract spec
  3. 3.ML-Calibrated Reserve Pool — CORGI model & capital efficiency
  4. 4.Arbiter Model — trusted pattern, multisig, decentralization roadmap
  5. 5.Security Considerations — six attack vectors & mitigations
  6. 6.Implementation on Kite Chain — atomic commitment, Agent Passport, Bridge
  7. 7.Conclusion & Future Work

Three novel contributions

01
The LRC Primitive

Post-settlement dispute commitment programmed at authorization time.

02
ML-Calibrated Reserve Pooling

p_dispute × txnAmount per transaction. 7–14× more capital-efficient than flat reserves.

03
Agentic Dispute Taxonomy

LRC-03 (unauthorized agent action) is the first dispute reason code native to agentic commerce.

1 · Background — The agentic commerce stack & consumer protection gap

McKinsey forecasts $10T of agentic commerce by 2030. The infrastructure to authorize, settle, and route those transactions is being built fast — Stripe's Agentic Commerce Suite, Kite Chain's x402, and protocols like ACP, MCP, AP2, UCP, and MPP are all live. What does not yet exist is a programmable consumer-protection mechanism for any of these flows.

Card networks built chargebacks over decades. Stablecoin settlement is final by design. When an autonomous agent purchases on a consumer's behalf and something goes wrong, neither rail offers programmable recourse. Corgi Clear closes that gap without forcing merchants to give up settlement finality or working capital.

2 · The Latent Reversal Commitment — smart contract spec

The LRC is a DisputeCommitment instantiated on-chain atomically with x402 settlement. Each commitment carries a txnHash, merchant address, consumer address, committedAmount, expiry timestamp, and ruling state. Before expiry, an arbiter signature can trigger reversal up to committedAmount. After expiry, expireCommitment() returns the earmark to the merchant's available reserve.

function triggerReversal(
    bytes32 txnHash,
    bytes memory arbiterSignature,
    bytes32 evidenceRoot   // merkle root of adjudication record
) external {
    DisputeCommitment storage c = commitments[txnHash];
    require(!c.triggered,               'ALREADY_TRIGGERED');
    require(block.timestamp <= c.expiry, 'WINDOW_CLOSED');
    require(verifyArbiterSignature(txnHash, evidenceRoot, arbiterSignature));

    c.triggered = true;
    c.evidenceRoot = evidenceRoot;
    committedBalance[c.merchant] -= c.committedAmount;
    reserveBalance[c.merchant]   -= c.committedAmount;

    USDC.transfer(c.consumer, c.committedAmount);
    emit ReversalTriggered(txnHash, c.merchant, c.consumer, c.committedAmount);
}

3 · ML-Calibrated Reserve Pool — the CORGI model

CORGI is a LightGBM ensemble trained on years of card dispute outcomes from hundreds of Stripe-native merchants. It scores every agentic transaction pre-auth and outputs p_dispute ∈ [0, 1], calibrated via isotonic regression so the score represents a true probability. Reserve commitment per transaction = txnAmount × p_dispute. Total reserve at time t = Σ committedAmount(txn_i) for all open commitments.

The result: low-risk merchants free 7–14× more working capital than they would under a flat 5% acquirer holdback, while concurrent liability remains fully covered. A $10k MIN_RESERVE floor protects against extreme concentration on the lowest-volume tail.

4 · Arbiter Model — trusted pattern, decentralization roadmap

Phase 1 · Now
2-of-3 Multisig

Corgi Clear ops, engineering, independent legal trustee.

Phase 2 · 2027
Arbiter Committee

3-of-5 including Kite Foundation, Bridge, two independent operators.

Phase 3 · 2028
Optimistic Arbitration

Corgi Clear rules in 30d; on-chain DAO challenge within further 60d.

Phase 4 · TBD
Staked Juror DAO

Fully decentralized arbitration. Dependent on tooling maturity.

5 · Security Considerations — every attack vector addressed

We publish our threat model in full — including the centralized arbiter trade-off we've chosen deliberately, and the roadmap to decentralization above.

01
Arbiter Key Compromise

2-of-3 multisig, HSM-backed primary key, on-chain evidenceRoot, daily reversal rate limit + circuit breaker.

02
Reserve Manipulation

withdraw() enforces MIN_RESERVE floor at all times. committedBalance tracked on-chain — committed funds cannot be withdrawn.

03
Consumer Griefing

0.5% dispute deposit forfeited if denied. LRC-03 requires on-chain Agent Passport evidence. Serial filer tracking.

04
Replay Attacks

triggered + expired flags prevent re-execution. Signature includes txnHash + evidenceRoot — not portable.

05
p_dispute Manipulation

p_dispute computed by Corgi Clear. committedAmount signed by arbiter key. Anomalous distributions trigger human review.

06
Reserve Depletion Mid-Window

CORGI blocks new txns when reserve < 2× 30d expected liability. Bridge top-up notice with 5-day cure period.

6 · Implementation on Kite Chain

The LRC commitment is created atomically with Kite's x402 transferWithAuthorization. A single on-chain transaction settles T1 to the merchant and instantiates the DisputeCommitment in the LRCVault contract. Kite Agent Passport provides the cryptographic identity proof required for LRC-03 (unauthorized agent action) disputes. Bridge holds the off-chain reserve as licensed MSB custodian and accepts authorized-agent instructions from Corgi Clear.

7 · Conclusion & Future Work

The agentic commerce era needs a consumer-protection primitive that does not compromise settlement finality. The LRC is that primitive. Future work: extending the CORGI model to cross-merchant reputation, evaluating zk-evidence submission to remove human arbiters from common cases, and migrating the arbiter committee toward optimistic on-chain arbitration as Phase 3 tooling matures.

Read the full paper

The PDF includes the full appendix, smart contract reference, and the open questions we'd like the agentic commerce community to weigh in on.

Download PDF

Built on Kite Chain · Reserve custody by Bridge (Stripe) · corgi.money
© 2026 CorgiAI, Inc. Technical specs subject to change. Not an offer of securities.