This repository has been archived on 2026-04-28. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
universal-shopper/references/audit.md

18 lines
No EOL
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Протокол Финального Аудита (Final Audit)
Перед завершением сессии ты ДОЛЖЕН зайти в раздел `/cart` и выполнить:
1. **Сверка состава**:
```python
# Логика для агента:
requested_items = [...]
cart_items = page.get_all_titles()
missing = [x for x in requested_items if x not in cart_items]
if missing: raise Error(f"Товары {missing} потеряны!")
```
2. Сверка характеристик: Убедись, что в корзине именно тот цвет/размер, который был в поиске.
3. Ценовой контроль: Если итоговая сумма корзины отличается от суммы цен отдельных товаров более чем на стоимость доставки — найди "скрытый сбор" и уведоми пользователя.
4. Скриншот-доказательство: Сделай финальный скриншот всей корзины и сохрани как audit_result.png.