peppa/openspec/changes/pep-260-access-hub-text-only/tasks.md

14 lines
1006 B
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.

## 1. Шлюз
- [x] 1.1 `textOnlyRefusal(contentType, encoding, body, truncated)` в core/connections.ts; `ConnectionFetch` отдаёт `contentEncoding`
- [x] 1.2 `callConnection`: двоичное/сжатое → `binary_response`, причина в `CONNECTION_REASON_TEXT`
## 2. Ключ при сохранении
- [x] 2.1 `keyShapeError` для bearer/header: только видимые латинские символы; создание и замена ключа
## 3. Экран
- [x] 3.1 Подсказка про «эхо»-операции в окне разрешений и в форме своего сервиса; переводы en/kk
## 4. Тесты и завершение
- [x] 4.1 Тесты: gzip/zip/двоичный/UTF-16/`Content-Encoding` с ключом не доходят до агента; JSON и текст доходят; кириллица в bearer/header отклоняется
- [ ] 4.2 Проверки (lint, typecheck, test), память, archive, PR