feat(проверка): пара адресов «до/после» живёт в строке проверки (S-32, S-33)

S-32. Строка проверки хранит адрес и в «до», и в «после»: target_path_before,
target_sheet_before, target_row_before пишутся при создании, возвращаются в карточке
проверки и при выдаче строки. Без этого проверяющий после перезапуска или из другого
окна не знал, какой файл «до» открывать. Тело создания описано схемой
schemas/review_create.json с примером; схема строки дополнена полями пары.

S-33. Описаны поток событий проверки (snapshot, item, done/failed/stopped; пример
examples/stream_review.txt) и отчёт xlsx: тип, имя файла, столбцы.

Mock хранит и отдаёт пару так же. Проверки: 205 зелёных; красная проверка пары краснеет,
если поля не пишутся. Отпечаток набора: f07118c4…c810.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
anor
2026-11-19 00:47:44 +10:00
co-authored by Claude Code
parent 1bd1de3ca0
commit 9da5cc0448
14 changed files with 227 additions and 13 deletions
@@ -0,0 +1,17 @@
{
"confirmed": true,
"title": "Проверка КА по замечаниям эксперта",
"budget_rub": 100,
"items": [
{
"ord": 1,
"text": "Объём в КА 20 м2, в ВОР 24 м2",
"target_path_before": "до/КА.xlsx",
"target_sheet_before": "Лист1",
"target_row_before": 41,
"target_path": "после/КА.xlsx",
"target_sheet": "Лист1",
"target_row": 44
}
]
}
@@ -0,0 +1,8 @@
event: snapshot
data: {"id": 39, "status": "running", "stop_reason": null, "total": 3, "n_fixed": 0, "n_partial": 0, "n_not_fixed": 0, "n_unknown": 0, "remaining": 3, "notify_state": null, "items": [{"ord": 1, "state": "new", "verdict": null, "reason": null}, {"ord": 2, "state": "new", "verdict": null, "reason": null}, {"ord": 3, "state": "new", "verdict": null, "reason": null}]}
event: item
data: {"ord": 1, "state": "fixed"}
event: done
data: {"id": 39, "status": "done"}