Retake the lab 4 evidence on the final code and finish the report

The level 3 and 4 evidence was taken on 24f9d61 and a774a2f, before the
lab 3 fixes were carried over and before the reconciler. Take all of it
again in one series on 81dd816, whose application and stand code is the
final one: a fresh clone runs the launch block of the report from secrets
to reset-data, then one stand from clean volumes gives the smoke, stack,
limits, lb-check, failover of each replica and of the upload replica,
persistence, S3 outage, S3 privacy, lost-answer retry, upload faults, all
stack checks, storage layout and three runs of the upload memory matrix.

The three memory runs keep the peak with three slots at 297-345 MiB
against 512 MiB at the limit without them, but at 40 uploads of 10 MiB
the wait for a slot nears the 8 s request timeout and one run of three
gave 7 of 80 a 503. Those timeouts left 67 invisible intents; the record
shows the reconciler seeing them as fresh and the sweep removing all of
them after the grace period.

Message write load is taken with tests/load.py from a container on the
edge network: 2 106 RPS, no errors, replicas and PostgreSQL at their CPU
limits. The first try from the macOS host is kept as a discarded attempt,
it ran out of ephemeral ports while the replicas answered every request.

The report gets the defense answers, the load section, the evidence
commits, the upload limit order as the pipeline applies it, medians in
the track 2 cost table and the proposals over the word limit; the evidence
index lists every file with its command and commit.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
This commit is contained in:
Artyom
2026-10-30 07:55:34 +03:00
co-authored by Claude Opus 5.5
parent 81dd816df2
commit c8cb263c77
90 changed files with 2851 additions and 957 deletions
+18 -18
View File
@@ -1,22 +1,22 @@
date: 2026-10-28T18:45:50Z commit: 24f9d61
date: 2026-10-30T04:29:52Z commit: 81dd816
== before: service hostname StartedAt status
api 196b3a876d81 2026-10-28T18:29:41.187041709Z running
api 8bd1d38428d0 2026-10-28T18:30:00.267276635Z running
lb 5ee5dad8003c 2026-10-28T17:51:03.006429091Z running
migrate 953e57e47bd0 2026-10-28T17:51:08.581653636Z exited
postgres b6579b111fba 2026-10-28T17:51:03.015556258Z running
s3 b6098ae6a07c 2026-10-28T17:51:03.018554716Z running
s3-init a815e0190d6e 2026-10-28T17:51:08.598551386Z exited
valkey fb5b482d1d20 2026-10-28T17:51:03.019280466Z running
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://localhost:18084"
api 0cc3ee358e59 2026-10-30T04:29:49.45750296Z running
api 899a952a5a21 2026-10-30T04:29:31.104320507Z running
lb a51c65de79e9 2026-10-30T04:28:53.588116504Z running
migrate 9181dd1eb5a8 2026-10-30T04:28:54.673721004Z exited
postgres 54d604398b41 2026-10-30T04:28:53.58363217Z running
s3 89f363c93892 2026-10-30T04:28:53.59152942Z running
s3-init a8f9ad1766ab 2026-10-30T04:28:59.185601048Z exited
valkey 99365a2af315 2026-10-30T04:28:53.590483087Z running
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://127.0.0.1:18084"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
== after: service hostname StartedAt status
api 196b3a876d81 2026-10-28T18:46:00.241797636Z running
api 8bd1d38428d0 2026-10-28T18:46:00.316077636Z running
lb 5ee5dad8003c 2026-10-28T18:45:54.117490049Z running
migrate 953e57e47bd0 2026-10-28T18:45:59.135693677Z exited
postgres b6579b111fba 2026-10-28T18:45:53.821784591Z running
s3 b6098ae6a07c 2026-10-28T18:45:53.797547883Z running
s3-init a815e0190d6e 2026-10-28T18:45:59.140801177Z exited
valkey fb5b482d1d20 2026-10-28T18:45:53.875502383Z running
api 0cc3ee358e59 2026-10-30T04:30:01.738275341Z running
api 899a952a5a21 2026-10-30T04:30:01.662962216Z running
lb a51c65de79e9 2026-10-30T04:29:56.045382713Z running
migrate 9181dd1eb5a8 2026-10-30T04:29:56.567340338Z exited
postgres 54d604398b41 2026-10-30T04:29:55.776017088Z running
s3 89f363c93892 2026-10-30T04:29:55.723034421Z running
s3-init a8f9ad1766ab 2026-10-30T04:30:01.069323507Z exited
valkey 99365a2af315 2026-10-30T04:29:55.801923296Z running