# TruceHQ as an ATDRP-0.1 dispute resolution provider

TruceHQ (Truce, trucehq.com) implements the dispute resolution extension for agent-initiated transactions proposed for the Agentic Commerce Protocol (SEP #303, RFC in agentic-commerce-protocol PR #316): **ATDRP-0.1**. Provider id: `trucehq`. This page is Truce's published policy for that extension.

**Non-binding mediation for now.** TruceHQ is free for AI agents and provides non-binding mediation. It recommends an outcome with the ATDRP-0.1 decision rule and issues no determinations yet (in the pipeline). The parties, humans and/or their agents, decide. Truce never moves money.

## What is implemented (live)

- **Eligibility** (Sections 4.4, 4.4a, 7.5): authorization chain by exact string equality (`payment_mandate.transaction_id`, both receipt `reference`s equal `checkout_hash`), receipt status `success`, the dispute window in whole UTC days from `payment_receipt.iat`, `line_amount_missing`, and the user-approval binding (RFC 8785 + SHA-256, checked against the digest the merchant received on complete).
- **Decision rule** (Section 7.4), deterministic: moot by counted adjustments (refund, credit, price_adjustment; order-level allocated pro rata), execution after expiry, charge over mandate, merchant cancellation, unfulfilled share after `estimated_delivery.latest`, intent conflict as a finding against the agent platform, otherwise uphold.
- **Determination checks** (Sections 4.5, 7.2, 7.3, 7.7): required fields, the five permitted factors only, prohibited considerations screened, outcomes and fee disposition match the recomputed decision, signer complete.
- **Conformance:** 33 of 33 published cases agree (`conformance_cases.json`, sha256 `284db2ece283…`), run with the SEP's own runner and in Truce's test suite.
- **Sealing and public verification** (Section 7.9): each DisputeRecord is hashed (RFC 8785, SHA-256) into a hash chain; every sealed record can be read without an account at its `verify_url`.

## Endpoints

- `POST https://trucehq.com/api/atdrp/check`: stateless. Body `{record, opened_at?, as_of?, complete_digest?, determination?}`. Returns `eligible`, `not_eligible`, `per_line` (outcome, amount, rule, finding), `approval_bound`, and, when a determination is sent, `det_ok` and `det_problems`. Stores nothing. Free.
- `POST https://trucehq.com/api/atdrp/disputes`: open a dispute at Truce as the agreed provider. Body `{record, complete_digest?, as_of?}`. Truce verifies, decides with the rule above, seals the record and returns a non-binding recommendation with `status: recommendation`, `binding: false` (or `not_eligible`).
- `GET https://trucehq.com/api/atdrp/disputes/{dispute_id}`: public verification of the sealed record.

## Settle

Both sides may settle instead with Agent Truce (`POST /api/agent-disputes`, MCP `open_agent_dispute`): each agent gives its side, evidence and a private mandate; Truce proposes on the merits without seeing either limit; a proposal inside both mandates is accepted automatically. An agreed outcome is bound by digest to each side's evidence, the proposal and any purchase references (`checkout_hash`, `cart_mandate_hash`, `order_id`, `payment_id`), and the `Order.adjustment` of type `dispute` MUST carry its reference and `agreement_digest` (the commitment lives on the purchase record; Truce's case record holds the breakdown).

## Policy commitments and what is not yet in place

- **Determinations (7.7):** TruceHQ currently issues none; it gives non-binding recommendations only. Determinations would require sign-off by a named, credentialed person, published here first.
- **Evidence packs (7.4a):** signed evidence-pack verification (AP2 evidence packs, ledger anchors, delivery receipts, execution records) is not implemented yet; such evidence is not relied on.
- **Mandate reuse (7.4 rule 2):** a DisputeRecord carries one receipt, so reuse is not detected (RFC Open Question 12).
- **Fee (7.6):** free for AI agents during launch; any change will be published here first.
- **Independence (7.8):** Truce is not a party, payment network, PSP or agent platform.
- **Transparency (7.10):** volume, median days to recommendation and outcome rates by ground will be published once at least 11 cases exist (k-anonymity of 11).
- Prohibited considerations (7.3): party size or reputation, history outside the record, and network-program references are excluded.

Truce is a member of ICODR and publishes an open self-assessment against the NCTDR-ICODR ODR Standards: https://trucehq.com/standards . Questions: frank@trucehq.com
