Files
mtusi2026lab2/evidence/reconcile/demo.json
T
ArtyomandClaude Opus 5.5 b1916236f4 Record the track 2 demo on the stand
make reconcile-demo on a fresh stand at 5c3c238, 12 of 12 checks true.
The dry-run found exactly what was injected on both sides (3 stale
orphans, 3 missing objects, 3 shorter and 3 same-size rewritten objects,
6 stale intents with and without an object, 2 fresh orphans and 2 fresh
intents) and changed nothing; apply fixed the same 18 and the second
apply did nothing. The independent check outside the API found no
violation and no lost ready attachment; the 9 damaged rows sit in
quarantine with their message links, the metadata answers 200 and the
content 404, and a restored object left quarantine. A pass during a held
lock was skipped, a pass with s3 stopped exited with 1 in 1.6 s and
changed nothing. 75 apply passes during 75 s of uploads through the
balancer removed only the 10 injected leftovers, saw 247 objects of
uploads in flight as fresh orphans and kept them: all 3418 uploads are
ready with matching SHA-256.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
2026-10-30 06:48:07 +03:00

233 lines
6.6 KiB
JSON

{
"started_at": "2026-10-30T03:36:18Z",
"commit": "5c3c238",
"faults": {
"injected": {
"orphan_stale": [
"87628221-3345-4132-aecd-e73599775aee",
"a8114789-f176-44d5-8b05-8a680f0fe748",
"48a0d380-9f91-4c0a-8f8e-28245cf232d6"
],
"missing": [
"01a18ae1-3a28-7787-966a-82d0e9d03c3e",
"01a18ae1-39be-7126-bee7-b8d03ea89876",
"01a18ae1-398b-70fa-97ec-8bd9575df28c"
],
"size_mismatch": [
"01a18ae1-3a39-70f1-85a1-e44886ad2399",
"01a18ae1-39cf-70c4-87ec-8a0e01854664",
"01a18ae1-3a31-7218-b535-13bed0785a1b"
],
"sha_mismatch": [
"01a18ae1-39da-71b9-ba5d-08d485329231",
"01a18ae1-3a4b-7278-8c5f-ee9734008ac2",
"01a18ae1-3a42-720c-9027-57607a41b3fb"
],
"pending_stale": [
"54c99776-2646-4c17-82cc-850c127a8bcb",
"565a4877-f2b6-4b6b-92c9-7a52530d43ff",
"d0aba66b-62cd-4c5c-bfba-69f002e94493",
"5b16bada-62a1-4d85-b5c8-d558b1d00360",
"08b76286-4490-413c-8a90-cda6d8c81364",
"8fb9339c-c7a0-49ef-8cd1-058a87a351ad"
],
"orphan_fresh": [
"e26f690b-11ec-4540-b34d-a85b00ab8398",
"be85cf70-7931-4917-b839-9a9d7496b041"
],
"pending_fresh": [
"be34c7f5-2c8b-4e95-b7f1-5a949ffb633e",
"acd92195-baee-4647-ba55-e9258240c898"
]
},
"targets": {
"missing": [
"01a18ae1-398b-70fa-97ec-8bd9575df28c",
"01a18ae1-39be-7126-bee7-b8d03ea89876",
"01a18ae1-3a28-7787-966a-82d0e9d03c3e"
],
"corrupt": [
"01a18ae1-39cf-70c4-87ec-8a0e01854664",
"01a18ae1-3a31-7218-b535-13bed0785a1b",
"01a18ae1-3a39-70f1-85a1-e44886ad2399"
],
"bitflip": [
"01a18ae1-39da-71b9-ba5d-08d485329231",
"01a18ae1-3a42-720c-9027-57607a41b3fb",
"01a18ae1-3a4b-7278-8c5f-ee9734008ac2"
]
},
"linked": [
"01a18ae1-398b-70fa-97ec-8bd9575df28c",
"01a18ae1-39be-7126-bee7-b8d03ea89876",
"01a18ae1-39cf-70c4-87ec-8a0e01854664",
"01a18ae1-39da-71b9-ba5d-08d485329231",
"01a18ae1-3a0d-72ee-898c-647c03e98798",
"01a18ae1-3a1f-7044-82a6-1fac3ffdeebc"
]
},
"seconds": 248.3,
"checks": [
{
"name": "dry-run находит каждый внедрённый класс",
"ok": true,
"expected": {
"orphan_stale": 3,
"missing": 3,
"size_mismatch": 3,
"sha_mismatch": 3,
"pending_stale": 6,
"orphan_fresh": 2,
"pending_fresh": 2,
"quarantined": 0
},
"found": {
"orphan_stale": 3,
"orphan_fresh": 2,
"missing": 3,
"size_mismatch": 3,
"sha_mismatch": 3,
"pending_stale": 6,
"pending_fresh": 2,
"quarantined": 0,
"healed": 0
}
},
{
"name": "dry-run ничего не меняет",
"ok": true,
"objects": [
24,
24
],
"rows": [
27,
27
]
},
{
"name": "apply исправляет ровно найденное dry-run",
"ok": true,
"dry_run": {
"orphan_stale": 3,
"missing": 3,
"size_mismatch": 3,
"sha_mismatch": 3,
"pending_stale": 6
},
"fixed": {
"orphan_stale": 3,
"missing": 3,
"size_mismatch": 3,
"sha_mismatch": 3,
"pending_stale": 6
}
},
{
"name": "повторный apply — 0 действий",
"ok": true,
"fixed": {
"orphan_stale": 0,
"missing": 0,
"size_mismatch": 0,
"sha_mismatch": 0,
"pending_stale": 0,
"healed": 0
},
"found": {
"orphan_stale": 0,
"orphan_fresh": 2,
"missing": 0,
"size_mismatch": 0,
"sha_mismatch": 0,
"pending_stale": 0,
"pending_fresh": 2,
"quarantined": 9,
"healed": 0
}
},
{
"name": "независимая проверка после apply: нарушений нет, готовые не потеряны",
"ok": true,
"counts": {
"orphan_stale": 0,
"orphan_fresh": 2,
"missing_referenced": 0,
"missing_unreferenced": 0,
"size_mismatch": 0,
"sha_mismatch": 0,
"pending_stale_with_object": 0,
"pending_stale_without_object": 0,
"pending_fresh": 2,
"quarantined": 9,
"incomplete_stale": 0,
"incomplete_fresh": 0,
"lost_ready": 0
}
},
{
"name": "строки с расхождениями и ссылки сообщений сохранены",
"ok": true,
"quarantine": {
"01a18ae1-398b-70fa-97ec-8bd9575df28c": "missing",
"01a18ae1-39be-7126-bee7-b8d03ea89876": "missing",
"01a18ae1-39cf-70c4-87ec-8a0e01854664": "size_mismatch",
"01a18ae1-39da-71b9-ba5d-08d485329231": "sha_mismatch",
"01a18ae1-3a28-7787-966a-82d0e9d03c3e": "missing",
"01a18ae1-3a31-7218-b535-13bed0785a1b": "size_mismatch",
"01a18ae1-3a39-70f1-85a1-e44886ad2399": "size_mismatch",
"01a18ae1-3a42-720c-9027-57607a41b3fb": "sha_mismatch",
"01a18ae1-3a4b-7278-8c5f-ee9734008ac2": "sha_mismatch"
},
"message_links": 6
},
{
"name": "карантин: метаданные 200, /content 404; нетронутое скачивается",
"ok": true
},
{
"name": "восстановленный объект выходит из карантина",
"ok": true,
"fixed": {
"orphan_stale": 0,
"missing": 0,
"size_mismatch": 0,
"sha_mismatch": 0,
"pending_stale": 0,
"healed": 1
}
},
{
"name": "второй одновременный проход пропущен",
"ok": true
},
{
"name": "S3 остановлен: код 1 за ограниченное время, состояние не изменилось",
"ok": true,
"exit_code": 1,
"wall_seconds": 1.633
},
{
"name": "под нагрузкой: исправлены только внедрённые, ошибок нет",
"ok": true,
"fixed": {
"orphan_stale": 5,
"missing": 0,
"size_mismatch": 0,
"sha_mismatch": 0,
"pending_stale": 5
},
"runs": 75
},
{
"name": "под нагрузкой: все 201 готовы и совпадают по SHA-256, потерь 0",
"ok": true,
"uploads": {
"201": 3418
},
"lost_ready": 0
}
],
"ok": true
}