Логотип Ap2 Dispute Accountability

Ap2 Dispute Accountability

Організація
OrcaQubits
ap2-dispute-accountability

Implement AP2 dispute resolution and accountability — cryptographic evidence, liability allocation, chargeback handling, and audit trail construction. Use when building dispute handling, fraud investigation, or compliance systems for agentic payments.

Огляд

ВидавецьOrcaQubits
Репозиторійagentic-commerce-skills-plugins
Назва навичкиap2-dispute-accountability
Зірки
40
Форки
17
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: OrcaQubits. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Ap2 Dispute Accountability у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/ap2-agentic-payments/skills/ap2-dispute-accountability
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins.git /tmp/agentic-commerce-skills-plugins
mkdir -p .claude/skills
cp -r /tmp/agentic-commerce-skills-plugins/ap2-agentic-payments/skills/ap2-dispute-accountability .claude/skills/ap2-dispute-accountability
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Ap2 Dispute Accountability в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Ap2 Dispute Accountability, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Ap2 Dispute Accountability не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

AP2 Dispute Resolution and Accountability

Before writing code

Fetch live docs:

  1. Fetch https://ap2-protocol.org/ap2/specification/ for the accountability model
  2. Fetch https://ap2-protocol.org/overview/ for dispute resolution details
  3. Web-search ap2 protocol dispute accountability liability mandate evidence for accountability framework
  4. Web-search ap2 protocol chargeback fraud resolution for dispute handling patterns

Conceptual Architecture

Why Accountability Matters

In agentic commerce, the traditional dispute model breaks down:

  • Who's responsible when an AI agent buys the wrong item?
  • How do you prove the user authorized a purchase?
  • What evidence settles a dispute between a user, agent, and merchant?

AP2's VDC-based accountability model provides cryptographic evidence for every dispute scenario.

Liability Allocation Table

ScenarioKey EvidenceAccountability
First-party misuseUser-signed Cart/Intent MandateUser — signature proves authorization
Agent mispick (user approved cart)Checkout Mandate shows item, user signedUser — they approved the specific cart
Agent mispick (unapproved)Intent Mandate vs cart discrepancyShopping Agent/Platform — exceeded intent
Merchant non-fulfillmentValid mandate + payment confirmation vs absent deliveryMerchant — committed via signature
Account takeoverAuthentication signals during sessionCP/User — depends on auth strength evidence
Man-in-the-middleDigital signature verificationAttack prevented — signatures invalid if tampered
Price discrepancyMerchant-signed Checkout Mandate vs charged amountMerchant — signed specific prices
Unauthorized transactionAbsence of user signature on mandatePlatform/Agent — no valid user authorization

Evidence Chain

For every transaction, AP2 preserves:

  1. User's original intent — Natural language captured in Intent Mandate
  2. User's authorization — Cryptographic signature on the mandate
  3. Merchant's commitment — Merchant entity signature on Checkout Mandate
  4. Payment authorization — Payment Mandate with user signature
  5. Challenge completion — Records of 3DS/OTP challenges
  6. Transaction receipt — Payment confirmation from MPP

Dispute Investigation Process

  1. Collect mandates — Gather all signed VDCs for the transaction
  2. Verify signatures — Confirm all signatures are valid and match claimed identities
  3. Compare intent vs outcome — Check if the purchase matches the authorized intent
  4. Check constraint compliance — For Intent Mandates, verify constraints were respected
  5. Review risk signals — Assess the risk context at transaction time
  6. Determine liability — Apply the accountability rules based on evidence

Audit Trail Requirements

Store for the full retention period (at least the refund period):

  • All signed mandates (Cart, Intent, Payment)
  • Agent-to-agent message logs
  • Challenge records
  • Payment receipts
  • Risk signal snapshots
  • User session authentication records

Chargeback Handling

When a chargeback is filed:

  1. Retrieve the transaction's VDC evidence
  2. Verify mandate signatures
  3. Compare the disputed transaction against signed mandates
  4. Provide evidence to the payment network
  5. The cryptographic evidence resolves most disputes definitively

Fraud Scenarios

AI Agent Fraud Prevention:

  • Intent Mandate captures user's exact words → agent can't claim different intent
  • Checkout Mandate requires user signature → agent can't forge approval
  • Payment Mandate requires device attestation → agent can't self-authorize

Merchant Fraud Prevention:

  • Merchant signs Checkout Mandate → can't deny offered prices/products
  • Payment receipt confirms delivery obligation
  • Fulfillment tracking compared against commitment

Best Practices

  • Store all VDCs with their signatures for the full retention period
  • Implement automated signature verification in dispute workflows
  • Build dashboards showing intent vs outcome comparisons
  • Log all risk signals at transaction time (they can't be recreated later)
  • Implement the accountability table as deterministic rules
  • Support both manual and automated dispute investigation
  • Provide clear evidence reports for payment networks
  • Test dispute scenarios explicitly during development
  • Consider regulatory requirements for evidence retention (varies by jurisdiction)

Fetch the specification for exact accountability rules, evidence requirements, and retention policies before implementing dispute handling.

Поширені запитання

Що робить навичка ШІ Ap2 Dispute Accountability?

Implement AP2 dispute resolution and accountability — cryptographic evidence, liability allocation, chargeback handling, and audit trail construction. Use when building dispute handling, fraud investigation, or compliance systems for agentic payments.

Навіщо використовувати Ap2 Dispute Accountability у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Ap2 Dispute Accountability — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Ap2 Dispute Accountability у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/ap2-agentic-payments/skills/ap2-dispute-accountability. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Ap2 Dispute Accountability?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Ap2 Dispute Accountability?

Зі скількома забажаєте. У TypingMind ви можете використовувати Ap2 Dispute Accountability із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Ap2 Dispute Accountability?

Так. На GitHub цю навичку публікує OrcaQubits за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇