Andrey Epifancev dea64c9f1d docs(arm-core): README, CLAUDE.md, tasks.md под Срез 3b
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vJkmBGKKqMoEMzvsXG3y2
2026-10-07 13:30:00 +04:00

22 lines
2.0 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.

# Tasks: Срез 3b — формы ББ/ОФР в ядре и API до сводной ОСВ
План реализации — `docs/superpowers/plans/2026-10-07-slice-3b-statements-api.md` (16 задач). Репозиторий — arm-core; команды —
из корня (`make`), `pytest` — из `api/`.
- [x] 0 Подготовка окружения (план одобрен, задачи перенесены сюда)
- [x] 1 Проверки §7 — словарь `rules/statement_checks.yaml` и чистые функции `domain/statement_checks.py`
- [x] 2 Чистые функции маппинга формы (`domain/statement_mapping.py`): период, черновик, статус
- [x] 3 Помощники golden-тестов форм
- [x] 4 Маппинг форм ББ/ОФР в `map_file` (`repositories/statements.py`): шапка, колонки, строки, значения, статус
- [x] 5 API формы — `GET /documents/{id}/statement`
- [x] 6 Правка формы (`PATCH …/statement`) и акцепт проверок (`POST …/statement/checks/accept`), аудит `RECOGNIZED_DATA_EDIT`
- [x] 7 Подтверждение формы (`PERIOD_REQUIRED`, `CHECKS_NOT_PASSED`) и сквозной сценарий чек-листа
- [x] 8 Комментарии к документу (`GET/POST /documents/{id}/comments`, `comments_count`)
- [x] 9 Отдача исходного файла потоком (`GET /files/{id}/content`)
- [x] 10 Справочник имён пользователей (`GET /users/brief`)
- [x] 11 `documents_count` у ЮЛ
- [x] 12 Чек-лист в CSV (`GET …/checklist?format=csv`)
- [x] 13 README, CLAUDE.md, tasks.md
- [ ] 14 Документы workspace (bounded-PR в docs): §7/§9, контракт `dev/api-contract-slice-3b.md`, OQ — PR docs
- [ ] 15 Завершение: слияние `origin/main`, `make check-full`, `openspec validate --strict`, финальное ревью ветки, PR arm-core