docs(release): reconcile archive format qualification

This commit is contained in:
cesnimda
2026-11-18 13:24:09 +01:00
parent 10abd22f1a
commit 5718d9521b
3 changed files with 7 additions and 0 deletions
@@ -1,5 +1,9 @@
# Recovery implementation review and rehearsal plan
## RR-17 SQLite archive member format
18 November2026, isolated source10abd22f from2fb10f7b. Name-only verification accepted ten synthetic link/type/content/path cases that could not establish database bytes. Final29 backup methods and Bash syntax pass with the streaming Python standard-library path/type/signature verifier. No member is extracted. Supported root/dot/nested paths remain; Python3 was already a mandatory deployment dependency. Final native logs and precise intermediate fixture failures are retained in [format evidence](evidence/sqlite-archive-format/README.md). Earlier26/22/21 counts overlap29. This is not SQLite integrity, authoritative path selection, WAL/key/tombstone consistency, restore/RPO/RTO, actual container or production qualification. Original release worktree and A3 remain separate.
## RR-16 tar failure propagation
16 November 2026. Source `a516bfb4b38468f9bdc222744a02c07bc5b013c3`, after RR-15 on `codex/release-rollback-health`. A valid gzip stream containing a tar database header without its declared body passed verification: tar failed after printing the matching member and the old pipeline returned grep's success. One deterministic local fixture reproduced this false acceptance and next-gate continuation.
@@ -20,5 +20,6 @@ Discovery only, 2026-11-02. These are qualification gaps unless a concrete defec
| RR-14 | July first-deploy runbook inferred rollback safety from its no-op migration baseline, while current migration Up methods add schema | Historical scope and current qualification links clarified. `AddJobRevision` adds Version and `AddUserOperationEvents` creates a table/indexes. Exact old/new image compatibility after migration/writes remains an isolated rehearsal gate |
| RR-15 | SQLite backup listing accepted a WAL or similarly named file without the database member | FIXED AND OFFLINE-TESTED at `4c6c2207`: exact member basename required; three false-positive archives reproduced first,21 backup methods/syntax passed. [Bounded evidence](11_BACKUP_RESTORE_ROLLBACK.md#rr-15-sqlite-archive-member-check). Real SQLite contents, regular-file/link safety, tar errors, restore and recovery-set consistency remain unqualified |
| RR-16 | Tar failure was hidden by a matching member's successful grep | FIXED AND OFFLINE-TESTED at `a516bfb4`: valid gzip/truncated tar reproduced false acceptance; tar listing must succeed before matching.22 backup methods/syntax passed; [bounded evidence](11_BACKUP_RESTORE_ROLLBACK.md#rr-16-tar-failure-propagation). Real target-image/restore/security qualification remains open |
| RR-17 | SQLite archive name-only checks accepted links/special entries, non-database bytes and unsafe database paths | FIXED AND OFFLINE-TESTED at `10abd22f`: streaming stdlib validation of relative path, regular member and SQLite signature. Ten false-acceptance subtests reproduced first; final29 backup methods/syntax passed. [Evidence and limits](evidence/sqlite-archive-format/README.md). Header-only format is not integrity/restore/WAL/recovery-set proof; actual host/container/release qualification remains open |
Continue evidence work against the [source endpoint and environment census](03_ENDPOINT_ENVIRONMENT_CENSUS.md). Actual qualification requires an accepted candidate and isolated environment. Every fix needs minimal scope, targeted verification and the applicable stage approval.
+2
View File
@@ -1,5 +1,7 @@
# Release discovery handoff
18 November2026: isolated codex/recovery-archive-validation from2fb10f7b, source10abd22f. RR-17 streaming SQLite archive member path/type/header validation closes ten reproduced false acceptances;29 offline backup methods/syntax pass. No real backup/restore/container/deployment. [Evidence](evidence/sqlite-archive-format/README.md) retains original failures, Windows test-fixture correction and remaining recovery limits. Original release worktree is untouched; no A3 integration or release acceptance.
11 November. Branch `codex/release-rollback-health`, baseline `24a62997`, source `a39ac847` adds bounded post-rollback frontend/liveness/readiness probes and failing-diagnostics coverage while preserving the original exit status. Six extracted-handler tests, twelve backup tests and shell syntax validation passed. Full deploy, Docker, network, models and real restore were not executed. [Evidence and remaining qualification](11_BACKUP_RESTORE_ROLLBACK.md#rr-12-post-rollback-core-health-checks).
RR-14 clarifies that the first-production runbook is a July baseline. Current Up migrations add the Version column and operation-event schema. Its old no-op argument cannot qualify a current old/new image pair. Current candidate, migration/write and recovery rehearsal requirements are now linked from that runbook. This was source/document review only.