Skip to content

fix: preserve pending backups across restart - #1689

Open
ben-kaufman wants to merge 44 commits into
fix/restore-identity-backgroundfrom
fix/backup-observer-lifecycle
Open

ben-kaufman wants to merge 44 commits into
fix/restore-identity-backgroundfrom
fix/backup-observer-lifecycle

Conversation

@ben-kaufman

@ben-kaufman ben-kaufman commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Current composed result — November 14, 2026

dca0a5bb on c4d9939d supplies the missing PubkySwapsRouteRepo mock after the upstream constructor change. Existing recovery behavior, cases and assertions are retained. Synthetic f8e3d584 matches tree 263a3c9f.

Original CI, Lint and E2E passed: 6,136 unit, 257 Compose and 39 E2E passes; two unit/one Settings08 skips and six skipped migration jobs. Seven shards passed first attempts on 24c1c4f5; no rerun. Six static reports have zero findings; all 44 range signatures are valid on GitHub.

Complete diagnostics retain cursor/database warnings, three metadata refusals followed by same-process WALLET→METADATA success, two sync deadlines, RGS/fee/channel-close and native bootstrap errors, and endpoint-cleanup refusals. No introduced finding was established. These are not complete-WALLET, authenticated cleanup, bounded native Reset or runtime-clean results.

Prior 78d65fea restored observation in finally after cancelled drainage; external comment4570354698 verified the installed fix and its thread was resolved. Its 6,041 unit/257 Compose/39 E2E passes, two unit/one E2E/six migration skips, two restore waits, one legacy-list timeout and five metadata refusals→ACK remain separate evidence.

7fac7ab2: 6,040 unit/257 Compose/39 E2E passes, the same skips, two reviews/42 signatures; original-owner mark flushing and stopped-wallet recovery retained. Cursor/storage, RGS/fee warnings and three refusals→ACK remain qualified. 9330e24 still lacks two original logs. 43e314ca: 6,034 unit/257 Compose/39 E2E passes, Settings08/six migration skips; reinstall Zygote abort cause unknown, two refusals→ACK, fee disagreement/force-close without cooperative-close or returned-funds proof; unit XML/Gradle Problems unavailable.

Earlier Send failures remain: ac1549fb passed its second attempt; e0d25982 its third after two failures/four retry-filter skips, cause unresolved. The be4e1ba8 staging-502 retry is consumed. The deletion-Retry concern remains open. Authored QA below is unchanged.

Previous validation and failures

On November 11, 534b3d86 composed 710292aa: final local format/compile/lint/APK, 5,386 full tests and 192 focused tests passed; all 31 range signatures verified. The three Spark status-persistence regressions were component controls. First hosted checks passed 5,386 JVM, 256 Compose and 39 E2E cases, with one disabled case, six skipped migration jobs, first-attempt shards and 28 stale-element helper messages. The 40-second native sync timeout recovered in-process. A Bitkit-targeted Zygote mount abort occurred during harness uninstall/reinstall before app initialization; the replacement app launched and the remaining cases passed. Neither warning is erased or treated as full recovery acceptance. CI · Lint · E2E

On November 9, f8b2ffc1 on 3e1fdb7d corrected both full-ACTIVITY DataStore orderings: a request during the payload read forces a PUT, and one arriving during status persistence schedules a follow-up for the same owner. Unknown PUT outcomes invalidate the digest; a new request has an in-memory interval before its revision persists. Both original red controls and their corrections remain recorded. Local 171 focused/5,045 full tests and final format/compile/lint passed; all 30 signatures verified. First hosted: 5,045 JVM, 256 Compose, 39 E2E passes, one disabled case, six migration skips, first-attempt shards on suite 265a0500. The passing LNURL case retained its channel-closing fee disagreement. CI · E2E · Lint

The earlier WALLET/USDT setup-timeout controls failed at 1cf5d39e with BackupUnavailable. At be4e1ba8, each waited through backoff/debounce and retried; WALLET wrote once and USDT retained the original immutable recovery snapshot. Those were mocked native-client controls. Final local tree 5c9e091f on b5d5858d passed 5,017 JVM tests with no skips, required format/compile/lint and 29 verified signatures; first hosted JVM/Compose counts were 5,017/256. Original E2E had 34 passes, five failures and one disabled case: four sends failed at Blocktank HTTP 502 and send-max used a fallback fee that changed the expected amount, recurring across 15 failed attempts. Fee/send source matched the parent. One explicitly authorized failed-job retry was consumed: 14 cases in three affected shards and their dependent gate passed on attempt one with the original APK. Its suite changed from 0e83ea6a to 265a0500, including a send-max wait, so it does not isolate recovery causality. Six migration jobs skipped. Complete original receipts remain retained. Authorized retry · CI · Lint

External recovery evidence — November 4

The new external review at 1cf5d39 adds recorded Manual 1–5 executions. An independent evidence check verified the exact five-file source delta, applicability of both disclosed control patches, and all ten new clips. The visible records corroborate queued Settings moving from Running to Latest Backup, held cleanup and replacement admission, retained settings revisions, stopped-observer retry, cancellation without callback acknowledgement, and the same recovery-envelope/plan digests receiving an acknowledgement on native refresh.

These remain attributed external executions with explicit limits. The original APK/install receipts, raw proxy journal and fork counters were not provided; the reported 0 → 0 → 1 submissions are not independently verified, and the signed-operation recording still shows PENDING. The cancelled coordinator-retirement case does not execute its subsequent repository-reset lambda; the separate JPY case directly exercises BackupRepo.reset(). No owner runtime pass, literal current-head wallet wipe/restore, process-death replay or chain finality is added. Terminal complete-WALLET availability and WALLET/USDT setup-timeout bookkeeping remain open. The existing artifact request already covers the missing receipts, so no duplicate request was sent. Local evidence: work/validation/android1689-review-5774734216-20261104/REPORT.md and owner-integrity.json (66 verified members).

Admitted-backup status correction — November 4

Signed additive head 1cf5d39e90f7e5c7e3ac4c6501ffb725523bfa2d incorporates live parent #1686 at a2c58f2427635719b63263b9441b8d22a7b6c858. A reserved replacement backup now preserves Running only after its original wallet admits it. Retirement before dispatch therefore cannot strand Running after the previous job drains. The child retains its lifecycle lock, original BackupOwner, exact-job cleanup and coalesced-request fallback. One regression exercises both retirement orderings; the earlier liveness-only correction fails the retained negative control.

Final just format, just compile, full just test and just lint passed on 1,802 identical inputs: 4,938 unit tests across 264 suites, zero failures/errors/skips, and eight fresh static reports with zero findings. The compile task reused matching outputs; it is not described as a second compilation. Complete logs, per-case XML/HTML, SARIF and nested Gradle reports were inspected. Four existing cursor-close chains, three JVM notices and historical Gradle deprecation reports match verified parent evidence. Two affected concurrency reviews are clean. The owner verified all 1,318 sealed audit files; both private untracked probes remain unchanged and outside the commits.

All 27 commits against the live parent verify locally and on GitHub (verified=true, reason=valid); published history and draft=false are preserved. Current-head hosted CI, Lint and E2E passed: 4,938 units, 256 Compose tests, zero static findings and 39 unique E2E passes, with one explicitly disabled Settings case. E2E send_1 first failed waiting for the expired-invoice toast, then passed its built-in second attempt; send_2/3 retained their first-attempt passes and were excluded from retry. The original input contained the previous address concatenated with the invoice despite clear/set calls; the precise input mechanism remains unresolved. The original failure and continue-on-error outcome are retained, so this is not a first-attempt-clean result. Six migration jobs were skipped. Complete raw/nested diagnostics, all 12 digest/CRC-verified archives and 1,063 sealed evidence files were inspected and verified; synthetic checkout matches this exact head tree. Existing warnings and an unmatched cancellation observation remain documented. Evidence: work/validation/hosted-android1689-1cf5-20261104/report.md. Parent J3 Settings evidence remains parent evidence, not a new child-device run. Existing authenticated recovery results and their revision limits remain below. Terminal complete-WALLET availability, running-LDK quiescence, and the previously reported WALLET/USDT_RECOVERY setup-timeout bookkeeping caveat are not resolved by this status correction.

Evidence: work/validation/android1689-admitted-parent-final-audit-20261104/report.md and work/validation/android1689-admitted-parent-20261104/publication.json.

Original-wallet backup ownership — November 4

Signed additive merge 1a6048a41a44e2e6fc34dda20a13ff073a112925 incorporates live parent #1686 at 4056d2c0036e5a4e51698e26b3d1615825dd77f5. Scheduled payload capture, uploads, retry timers and cache cleanup retain their original VSS owner. A retired request cannot act on a replacement wallet or hide its newer request. The observer controller can rearm after identity replacement, while admitted work and consumed cache writes drain before the old standalone clients retire.

The composition preserves independent listeners when one startup cache update fails. It also preserves an explicit request coalesced into an observer job that is canceled before dispatch: the completion fallback transfers that pending request only for the same live wallet, without duplicating an entered job's normal cleanup. The corrected deterministic control passes with this fallback and fails when only its registration is disabled. Earlier dispatcher-harness failures are retained and do not count as valid product negative controls.

Final just format, just compile, full just test and just lint pass on all 1,801 unchanged inputs: 4,935 unit passes across 264 suites, zero failures/errors/skips, and all eight fresh format/lint reports show zero findings. Complete logs, per-case XML/HTML and Gradle diagnostics were inspected; four existing cursor-close chains and three JVM notices match actual-base evidence. Earlier failed attempts and formatter corrections are retained. Two independent composition/security reviews plus the affected cancellation recheck are clean. The owner verified all 1,315 sealed evidence files. All 25 commits against the live parent verify locally and on GitHub (verified=true, reason=valid). Evidence: work/validation/android1689-vss-parent-final-audit-20261104/report.md. Exact published head 1a6048a41a44e2e6fc34dda20a13ff073a112925 (base 4056d2c0036e5a4e51698e26b3d1615825dd77f5, tree e0773ea784bf00b614ac419b699a394123c43416): hosted CI, lint and E2E passed: 4,935 unit tests, 256 Compose tests, 39 E2E passes plus 1 source-declared skip. Complete lint/Detekt reports contain 0 findings. Multi-address E2E's configured first 2 in-job attempts failed SDK system-image ZIP setup before tests; the third passed all 3 cases, with both earlier errors retained. Migration's 6 jobs were skipped. Complete raw and nested diagnostics were audited; recurring cursor, fixture, network and tooling warnings remain disclosed. Four metadata guard refusals each have later same-process metadata acknowledgement. This does not establish complete WALLET recovery, native quiescence, migration execution or dependency-security cleanliness. The owner verified all 937 sealed evidence files. Hosted audit: work/validation/hosted-android1689-1a604-20261104/report.md.

Existing authenticated recovery evidence below retains its tested revisions. These native controls do not establish a new full-app identity-replacement journey, literal wallet wipe, running-LDK persistence quiescence or terminal complete-WALLET recovery. Migration remains disabled; no SDK, server or capability activation is added.

Authentication transport retry — November 3

Signed commit e7fb0ac37beae6c3f8e9a58f0f5691ece312f03c adds the released VSS authentication request-send error to the existing retry classification. It accepts only typed AuthException carrying the exact HTTP(S) send-failure form (raw or the single native external-request wrapper). Authorization denial, invalid JWT, response/decode failures, cancellation, unrelated errors and malformed addresses remain permanent. No authentication or restore gate changes. Typed unknown errors still require the /putObjects path.

Final composed inputs: just compile, just test (4,916 tests / 263 suites, zero failures or skips), just lint (six fresh structured reports, zero findings), unchanged final formatting, and two independent affected source/security reviews pass. The introduced formatter findings were corrected before the final run. Existing CloseGuard/JVM/Gradle notices were checked against the base and retained. All 1,799 validation inputs match. The complete 24-commit live-base range is locally and GitHub verified; base is 43e0f3fe04705d397a81f493cf8e57239a0be73e. New-head CI, lint, and E2E passed on synthetic 54d0d47c, whose tree exactly equals this head: 4,916 units, 256 Compose cases, six static reports with zero findings, and 39 E2E cases. One Settings case and six migration jobs were explicitly skipped. All seven E2E shards passed on their first workflow attempt; one Send action recovery remains disclosed. Complete logs, structured reports, 326,047 nested log lines and ten checksum/CRC-verified diagnostic archives were inspected; 836 sealed payloads were verified. Both APK digests are bound to producer/API records; all seven E2E consumers verified the E2E APK digest. APK archive bytes were not separately downloaded. Hosted report SHA256 b6649d27a920f0b34d2763a4a070e7092cbeb2d15f62d9a58fc4770c453fbe93.

Manual 8 transport portion: the ordinary fixture APK SHA256 090cbb7262a7d1036aa9e070df52e709afa3abc6501474d4cc84172c11a2ddbc binds this exact two-file change. On unfunded Android emulator5554/user12, after cold launch with node reads unavailable, one UI Retry encountered the actual native auth request-send failure. It scheduled ten seconds of backoff. Reopening only auth routes led to a new capture 15.024 seconds later in the same process and one acknowledged write, without a second tap or unrelated edit. The existing BLOCKTANK ciphertext changed; its legacy stored version remained1 and the other15 cold rows stayed identical. There were no unknown writes. Original APK, nine routes and selected old-user state were restored. Warm LDK writes and three changed fixture-user cache/database files are disclosed. This is not a new typed readback or wallet restore; Case7B retains its separate native semantic evidence.

Evidence: work/validation/android1689-auth-transport-final-audit-20261103/report.json (SHA256 fb02b1da4579aa388e601a9e927b8e3b856c3bb99dde51e864c2ef45e01de22e), its input-disposition addendum, and runtime audit work/validation/android1689-auth-transport-runtime-audit-20261103/report.json (SHA256 9b679e29554f306ef93fd205e39521d1033f1987f6ebc0bbc1808171da2a2419). Manual 8 denial portion also passed on the actual app: one explicit Retry received ten genuinely authenticated fixture refusals within the native client’s existing retry policy, but only one app capture. After permission was restored, a 25.240-second observation recorded no new auth request, capture, PUT or acknowledged revision. All sixteen cold rows stayed identical. The original APK, routes and selected old-user state were restored; two fixture-user cache/database changes are disclosed. The first attempt wrongly assumed one native callback and stopped at that assertion; it remains failed fixture evidence, not a product failure or a pass. The corrected cold-only run reused the preserved pending state without resetting the wallet. This bounded observation does not claim indefinite liveness. Denial audit SHA256 a46e2f52abca285697de6f3133f85b5ee53fb6cc7a6df4c21093ee091ae98cf8. The fixed wire error text cannot distinguish a server emitting the identical typed error; it grants no authentication or write authority and uses the existing capped-delay retry. The paired iOS1123 classifier repair is published at 11fb65d7; its scheduled-retry native evidence remains separate from this Android app execution and from iOS direct-UI Retry behavior.

Cold-start ordinary Retry — November 3

Signed 8727da02549c3a885fbb48b500747b3401d3d649 fixes the reported cold-start Retry hang. Ordinary categories now initialize their VSS client before upload even when the Lightning node has never started. A setup-owned timeout retains bounded retry; caller/reset cancellation still drains and propagates. Newly reachable cold captures read persisted Blocktank data without network refresh and refuse failed activity/receipt reads, rather than publishing incomplete snapshots.

Final just format, just compile, just test and just lint pass on 1,797 matching inputs: 4,913 unit tests, 263 suites, zero failures/errors/skips and zero static findings. Complete structured diagnostics and both independent affected source reviews are sealed. Earlier controlled failures and baseline-attributed warnings remain retained. The full 23-commit live-parent range is verified locally and by GitHub (verified=true, reason=valid for every commit).

Manual 6 passed in the actual app, using released Core RC11/Paykit RC2/VSS RC1/LDK rc78, a fresh unfunded Android user and verified ARM64 APK f762d47c…beb0733. A real display-preference edit remained pending through process death. With auth unavailable and node startup failing, explicit Retry initialized VSS and returned an authentication failure after 10.276 seconds instead of hanging. Restoring authentication only, while node reads remained rejected, let the next explicit Retry receive a real VSS PUT acknowledgement and synchronize SETTINGS. Another cold restart retained the same settings bytes and synchronized revision. No node-start event occurred after the first cold launch. The original APK, routes and older users were restored and checked. This is a SETTINGS case with no prior uploaded SETTINGS object. The observed failure occurred at authentication for PUT after setup succeeded; setup-failure handling and read-refusal behavior have separate component coverage. It does not establish prior-object preservation, complete-WALLET availability, remote restoration, payments or the unverified portions of Manual 1–5.

Manual 7A — prior ACTIVITY object and local read refusal passed in the actual app. On the same verified published inputs and unfunded user, one explicit Transaction Log Retry ran before successful node initialization. A temporary, reversible closed_channels table-name fault caused the actual Core SQLite read to fail before VSS setup. The required revision advanced from 1793717566863 to 1793739130414; synced stayed 1793717561910, and the operation returned idle. There was no VSS PUT. The independently authenticated existing ACTIVITY row retained version 1, all 192 ciphertext bytes (SHA256 05f378372069fa546047cf3db96efedff6f88f83615cab4c6ab92801830001ef) and its store/key binding; all 15 scoped remote rows matched before, after and at restoration. Actual node reads were refused and no successful node setup/start/observer was observed in that cold process. The original table name, row fingerprints, column/index/foreign-key shape, APK, nine routes and older-user state were restored. SQLite file bytes and raw schema text changed during the rename round trip, so byte-identical database restoration is not claimed. Two earlier pre-fault stops remain recorded. The prior decrypted payload contains no activity records (124 bytes): Manual 7B now has separate nonempty BLOCKTANK evidence below. This result is not a terminal node-failure, lifetime-never-started, BLOCKTANK, wallet-restoration or payment claim. Complete private evidence was audited and all 22 sealed members verified: work/validation/android1689-prior-read-failure-runtime-c-20261103/report.json.

Manual 7B — nonempty persisted BLOCKTANK capture, cold Retry and native readback passed at 8727da02. The normal app APK 3da259fa…891ad retains all 1,797 tracked product inputs and released pins, adding only the existing debug localhost Blocktank provider endpoint. A genuine Fee Settings fetch changed the public cached fee info; refused app uploads left a natural pending revision. After process death, a distinct cold process initialized Core while node reads remained refused and no node/backup-observer start was observed. One Connection Receipts Retry captured the retained cache and received one authenticated native PUT acknowledgement, advancing synced to required 1793742411351. Exactly the previously absent BLOCKTANK row was inserted at version 1; every other cold-stage row stayed identical. A separate write-refusing native probe then authenticated as that same original owner, decrypted the exact acknowledged row and verified a strict V1 envelope with non-null typed info equal to the retained SQLite cache (1,200 plaintext bytes; orders/CJIT empty). All 16 remote rows stayed unchanged during readback. Both original APKs, nine routes, test registration and selected older-user hashes were restored. The warm fixture legitimately made 24 LDK writes changing five LDK rows and changed the test user's cache/activity/Blocktank database bytes; whole-wallet byte identity is not claimed. This is a first BLOCKTANK insertion, distinct from 7A's existing ACTIVITY preservation, and does not prove remote wallet restoration or payment recovery. Complete traces and readback were audited; the owner verified all 11 sealed report payloads and 41 external inputs. Evidence: work/validation/android1689-case-b-readback-c-audit-20261103/combined-case-b.json.

Authentication transport follow-up: review4457469574 is addressed by the signed fix and evidence above. Manual 6's second explicit Retry and Manual 7B's successful transport remain separate historical results; neither was retroactively counted as autonomous outage recovery.

New-head hosted native CI is complete on 8727da02 and the identical synthetic tree: CI passed 4,913 unit tests and 256 Compose tests; lint has zero findings across all six structured reports; E2E passed 39 cases on their first internal attempts, with one explicitly disabled settings_08 skip. Six migration jobs were skipped, not passed. Complete logs and all ten report archives were inspected and verified; cursor, native callback-fixture initialization, wallet/network and backup-guard warnings remain documented, without claiming harmlessness. The external review check is separate from native CI and human approval. Runtime evidence: work/validation/android1689-cold-start-runtime-20261103; full native diagnostics: work/validation/android1689-cold-start-diagnostics-20261103.

The current-head Piotr review verifies the cold-start source repair and retains the terminal-WALLET concern. Its suggested local-read coverage now has the separate Manual 7A preservation and Manual 7B nonempty-cache results above, with their exact limits; the terminal-WALLET concern remains open. Historical HTTP 405 causation remains unverified. No repeated review request was sent for this just-completed review.

Prior validated parent composition — November 3

Signed additive merge add2c04b684609b6ad74a30835864d816f0a79f6 incorporates dependency #1686 at 43e0f3fe04705d397a81f493cf8e57239a0be73e, including current master 44bf50ec. The backup-observer patch retains the same added and removed lines after context shifts; the automatic merge preserves writer draining, observation ownership and the new restore-category result contract. Published history is preserved.

Final just format, just compile, just test and just lint passed on this actual composed tree: 4,905 unit tests across 263 suites, zero failures/errors/skips, and zero Detekt/Android Lint findings. All four phases share the same 1,797 frozen inputs. Complete logs, XML/HTML/SARIF, fresh structured static reports and ignoreFailures outputs were inspected. Four cursor-close diagnostics remain recorded and trace to emitter sources identical to the actual parent; this is not a claim of runtime harmlessness. The independent affected-composition review is clean. All 22 live-parent range commits are locally and GitHub signature-verified.

At add2c04b, hosted native checks completed and were fully audited: 4,905 unit passes, 256 Compose passes, zero static findings and 39 unique eventual E2E passes, plus one disabled Settings case and six skipped migration jobs. The original Lightning-security attempt failed while downloading its system image, before tests. The single human-authorized retry (job 125932596605) ran both previously blocked cases successfully on its first in-job attempt, and the aggregate passed. The other 37 E2E passes and existing unit/Compose/static results retain their original execution credit; remapped job IDs are not new runs. All report digests/member CRCs and complete nested diagnostics are inspected, retaining the initial infrastructure failure and runtime warnings. Retry supplement: work/validation/android1688-1689-authorized-infra-retries-20261103/diagnostic-audit/STRUCTURED-REPORT.json (133 new sealed payloads); original full audit and failures remain preserved. Earlier hosted and authored/external runtime results below retain their original revision, artifact and fixture limits; this composition adds no new device or authenticated-journey claim. Evidence: work/validation/android1688-1689-master44bf-final-audit-20261103/STRUCTURED-REPORT.json and work/validation/android1689-master44bf-composition-20261103.

Retained scheduler acceptance evidence — November 2

Current review 5731374382 retains the earlier installed scheduler cases at 9a837a6. These are historical external executions, so the earlier blanket description that Manual 1–5 were unrun was too broad. The author has inspected the disclosed controls and inline log excerpts, and compared relevant source: 22/24 selected lifecycle/retry function slices and the VSS/cache/USDT files and dependency pins match 439b5d0. Shared WALLET/METADATA serialization, allowance observation and restore/capture changes retain their separate later evidence.

The original build/install binding and Manual 1–5 event/readback traces have not been independently verified; the checkboxes below remain open for those exact gaps. Manual 2's reported empty-wallet envelope does not alone establish the same-signed-operation reset variant. These results are not current-head author executions, complete WALLET capture or permission to use the reviewer's fixtures. Evidence: work/validation/android1689-retained-acceptance-reconciliation-20261102/REPORT.md.

Current-head hosted results — November 2

All hosted results for 439b5d0eea89a72ee6cdf1167515b95339a65c58 are inspected: 4,857 unit passes, six static reports with zero findings, and 39 distinct eventual E2E passes. One onchain_2 execution timed out waiting for Activity-3; its automatic second attempt passed. The failure image contains all three transactions across two date groups. Exact source counts date headers in the activity index, while the suite expects contiguous transaction indices; this supports a selector mismatch, but no captured semantics tree establishes the concrete runtime IDs. No wallet-data-loss or causal repair claim follows.

The synthetic tree exactly matches the published tree and suite 611509ee. One disabled Settings case and eight cached-pass skip records are distinguished; six migration jobs did not execute. Complete logs, all nested streams, nine checksum/CRC-verified archives and failure media were inspected; the owner verified 885 sealed payloads. Four CloseGuard observations and runtime diagnostics remain recorded. No manual CI rerun, new authenticated backup/restore pass or installed-binary claim is implied. Evidence: work/validation/hosted-android1689-439b-20261102-current-a/REPORT.md.

Final identity-recovery parent composition — November 1

Signed additive head 439b5d0eea89a72ee6cdf1167515b95339a65c58 incorporates #1686/b6751e22956653c4f2a80112143880b47298e30d at tree 820b8c27563810cebc079345e05ee6b680a5ea09. The parent's allowance off/on admission repair and failure-only routing diagnostics are included; this PR's backup-observer patch remains byte-for-byte intact. The affected composition review is clean and retains the two independent parent concurrency reviews.

Final required compile, 4,857 tests / 260 suites, formatting and lint passed with zero failures/errors/skips/findings. All 1,781 frozen files match. Complete logs, XML/HTML/SARIF and fresh changed-unit lint analysis were inspected. Four aggregate lint reports were UP-TO-DATE with matching sealed hashes; they are not described as regenerated. Four CloseGuard events remain retained, including three present only in the full executor stderr. All 21 live-parent range commits verify locally and on GitHub. Current-head hosted results are recorded above; older failures and the unresolved parent routing-test cause remain preserved. No new authenticated backup/restore journey or installed-binary equivalence is inferred. Evidence: work/validation/android1689-parent-b675-20261101/final-diagnostic-audit/STRUCTURED-INSPECTION.json.

Hosted validation completed — November 1

At 2eb0c492439ebad8943457622ba67437d828d1f2, all seven E2E shards and the status job have completed: 39 first-attempt passes, with one disabled settings case. The earlier audited 4,856 unit tests and six zero-finding static reports remain tied to this exact head and parent 1b1426fb.

The sole audit combined prior immutable evidence with only the missing complete shard logs and checksum/CRC-verified report archives. The runtime metadata-backup refusal is retained: its exclusion guard matches the actual base, while worker/handler context differs, so no blanket pre-existing-runtime or eventual-backup-completion claim is made. Other diagnostics, npm advisories and skipped migration jobs remain explicit. This is not new authenticated recovery acceptance. Evidence: work/validation/hosted-android1689-2eb0-20261101-tail-b/REPORT.md.

Current parent composition — November 1, 21:48 UTC

Signed additive merge 2eb0c492439ebad8943457622ba67437d828d1f2 incorporates live #1686 at 1b1426fbebeccd616c29311fa5bf652089727a84; final tree a5c0dd6e741a81d34a1736fce15c4f00f95e52f8. The owned child patch is unchanged. The incoming queued allowance-admission and pending-profile-setup corrections have one clean affected composition review, reusing the matching independent parent concurrency reviews.

Required just format, just compile, just test and just lint passed 4,856 tests /260 suites, zero failures/errors/skips, and zero findings across all six Detekt/Android Lint reports. All 1,782 tracked inputs match the composed tree. Complete logs and structured reports were inspected; four CloseGuard allocation observations and JVM notices remain recorded, and stale Gradle report copies are excluded. All 19 live-base commits verify locally and on GitHub (true/valid).

Current-head hosted CI awaits complete inspection. No new authenticated app journey or causal repair of prior E2E failures is claimed. The terminal complete-WALLET limitation and separately scoped profile-removal gaps remain unchanged. Earlier acceptance and failures below retain their exact tested revisions. Evidence: work/validation/android1689-parent1b14-review-20261101/ and work/validation/android1689-parent1b14-final-a/.

Earlier parent composition — November 1

Signed additive merge a3693b0c7061642a0b4305c07841a438a79046b9 incorporates live #1686/78269d8a1cae1ac127be93a96fba16f7d68d1019; tree c5943235d319bbf7171ebccca58fd10c0327b188. The backup-observer delta remains unchanged. The composition includes queued-offer admission and stable activation during same-identity contact refresh, with one clean affected review and independent parent concurrency reviews retained.

Required final formatting, compile, full tests and lint passed 4,849 tests /260 suites, zero failures/errors/skips. All 1,781 frozen inputs match; complete logs and fresh Detekt/Android Lint reports contain zero findings. Three JVM notices and four verified unchanged-provider cursor warnings are retained; stale copied reports are excluded. All 18 live-base commits verify locally and on GitHub. New-head hosted CI is pending inspection. No new authenticated app runtime is claimed from these gates.

The earlier 9cfe0527 external evidence and hosted recovery remain revision-specific. The first multi-address failure, internal retry and media-clock provenance limits are preserved; this composition is not their causal repair. The terminal-identity complete-WALLET availability finding stays open, with no partial/stale backup fallback. Evidence: work/validation/android1689-parent7826-final-a/inspection/ and work/validation/android1689-parent7826-20261101/publication/.

Historical-head external evidence — October 30, 22:21 UTC

Automated review 5719299576 at 9cfe0527 reports automatic METADATA recovery after durable WALLET exclusion and writer/reset draining with a disposable staging-VSS wallet. Its cold-start outage repeat completed after ordinary sign-out; later signed-in synchronization remains unverified after native Pubky lock errors. It also reproduces the existing terminal-identity complete-WALLET availability failure, which remains open. The owner verified the revision and read the report/control patch; raw reviewer logs, DataStore, binaries and media were not independently audited. These remain attributed external evidence, with no additional author acceptance or human approval inferred.

Historical parent composition — 30 October 2026

Signed additive head 9cfe052761ebdf51a017cebc3b7a9ab173d953ef incorporates the validated profile-session recovery branch at ff5aa32f4da1ec33fb8be63e0b84597d463c82b1, including the current #1686 parent 78a0ff7a. The GitHub base remains fix/restore-identity-background; the existing stack and published history are preserved.

WALLET and METADATA capture/upload share the wallet serialization boundary while retaining generation-owned observation, cancellation drains and restored public-address exclusions. A new observer regression proves that a WALLET acknowledgement automatically resumes previously blocked metadata exactly once, without a manual metadata retry. Omitting that rearm fails the direct expected-one/actual-zero assertion; restored final source passes.

Final just compile, just test, just lint and unchanged just format pass on tree e27b3e6112da04eda455031c70de9fe5709cf9f6: 4,839 fresh tests / 260 suites, zero failures/errors/skips, zero Detekt/Android Lint findings, all 1,778 frozen inputs matched. Complete logs and structured reports were inspected. Three JVM notices, four unchanged-provider CloseGuard chains and historical copied Gradle reports remain recorded; the compile reused matching outputs and is not a clean-rebuild claim. Failed helper, negative-control and intermediate formatting results are retained.

Two independent affected source reviews are clean after closing the automatic-rearm coverage finding. All 15 commits against the live base verify locally and on GitHub (verified=true, reason=valid). Current-head hosted CI passed 4,839 tests / 260 suites, zero failures/skips; lint has zero findings across all six uploaded reports. Complete logs, all 262 unit HTML pages and structured lint reports were inspected. E2E run 41104465012 reached 39 unique eventual passes and one unrun Settings case. Its original onboarding/backup/numberpad job failed Docker port binding before tests. One bounded job-only recovery used the original APK and exact suite 611509ee, then passed all seven selected cases on its first test step. Separately, the multi-address case failed its first Sent activity assertion and passed the workflow's internal retry; its failure, screenshot and all five encoded video frames remain preserved. This is not a first-attempt clean E2E result. The failed clip/runtime carry October 21 timestamps within the October 30 run; clock/history provenance and the assertion's cause remain unresolved.

All executed job logs, nine checksum/CRC-verified small archives, their 307 members and complete runtime diagnostics were inspected; current CI merge tree equals this published head. A 60-second RN backup-list timeout and other retained runtime errors are not waived by test success. The hosted recovery downloader verified the original APK digest; independent local APK/native byte inspection remains unperformed after a transfer timeout and low-memory guard. No new full-app fault-journey acceptance is claimed. Earlier hosted passes below apply only to their recorded heads. These component controls do not complete manual cases 1–5 or the authenticated fault journeys. The existing terminal complete-WALLET availability concern remains open.

Historical parent composition — October 29

Signed additive merge 1d3ba149eef529f598ed9947d145bc9aa2bc9536 incorporates current #1686 parent 217b42ef889952a6c1f3a30b0c44a8b1001db4a5; final tree 753c9b8b2edc93bd2f2ba2ee5b277cf4cac38c06. Observer drains, explicit retry while stopped, original ownership, cancellation and complete-backup gates remain intact. The source review caught a test-helper argument conflict; the named-argument correction preserves all assertions and both parent/child test sets.

Final required compile, full tests, lint and format passed. 4,742 tests across 256 fresh suites passed with zero failures/errors/skips; all 1,760 regular inputs and six symlinks match. Complete logs, XML/SARIF and ignoreFailures configuration were inspected: zero compiler/lint/format findings. Four cursor-close warnings in test output and three JVM notices remain disclosed with actual-parent source comparisons and no runtime-causality claim. Full 113-case BackupRepo coverage passes. Existing authenticated restoration/outage and terminal complete-WALLET acceptance gaps remain distinct.

The complete nine-commit live-base range is locally and GitHub verified (verified=true, reason=valid). Ready status is retained (draft=false). Current-head hosted CI passed 4,742 tests in 256 suites, and lint reports zero Android Lint/Detekt findings. E2E reached 39 unique eventual passes and one true settings skip. Settings attempt 1 timed out after 30 seconds waiting for ElectrumErrorToast; its automatic second attempt passed. The original exit 1/failure annotation remain retained; the cause is unproven, and failure-only media was not uploaded after eventual success. This is not a first-attempt clean pass or the authored fault journey. All 14 complete executed logs, 18 annotations, complete uploaded reports and four SHA-256/CRC-verified archives were inspected; the synthetic merge tree equals this head and its actual parent. Four unchanged-provider cursor stacks, three JVM notices and absent uploaded Gradle problem-detail reports remain disclosed. Migration was skipped, not passed; no rerun was requested. Historical execution evidence below remains revision-scoped.

Historical scheduler repair — 29 October 2026

Signed head 9a837a6e7b9286d4dca24d57c451929131285b27 includes the additive parent merge e80ca3f95 from #1686 at 9ce430274. A permanent failure suppresses only the revision that failed: a newer committed recovery revision remains eligible for observation after its caller cancels. Background coalescing now waits before taking the category mutex, so an explicit Core callback does not wait behind idle debounce. It still waits for an active upload and must obtain acknowledgement from its own immutable snapshot write.

Both controlled regressions failed before the repair and pass afterward. Final just format, just compile, just test and just lint passed on the combined tree: 4,714 fresh unit tests / 256 suites, including all 112 BackupRepoTest cases, with zero failures/errors/skips and zero Detekt/Android Lint findings. All 1,760 frozen inputs match. The complete 9,692-line test log, all XML/HTML/SARIF and embedded Gradle diagnostics were inspected; copied older reports were separated from fresh results. Three JVM notices, four verified pre-existing provider cursor warnings and the unchanged Detekt plugin deprecation remain disclosed. The canonical compile used matching up-to-date outputs; this is not a clean-rebuild claim.

Two independent scoped correctness/concurrency reviews are clean. All eight live-base commits verify locally and on GitHub (verified=true, reason=valid); published history is preserved. Current-head hosted CI passed 4,714 tests in 256 suites, and lint reports zero findings. E2E completed 39 distinct passes and one explicit settings skip: 38 cases passed first attempt; Lightning first failed with an invoice expired on October 22, then passed automatic attempt 2. Security's second-attempt marker skip follows its actual first-attempt pass. All 11 complete E2E logs (7,041 lines), every attempt and annotation were inspected; the earlier failure and unproved cause remain retained. The synthetic checkout tree equals this head and tests the current parent. CI/lint report archives were SHA-256/CRC verified; all seven emulator consumers checked the published APK archive digest, without a local installed-binary claim. Earlier failure media was not uploaded after eventual success. Migration was skipped, not passed. No workflow rerun was requested. Earlier hosted results below remain revision-scoped. These service-callback tests use mocked VSS and do not establish the authored full-app fault cases, process-death payment submission or an authenticated native journey. The current iOS twin already keeps idle debounce outside its USDT writer; no mechanical opposite-platform patch is indicated by the narrow source comparison.

Prior parent composition — 28 October 2026

Signed additive merge 5fca5cd39df4fcf072eacb36bd63c758a55a0f5d incorporates parent #1686 at 89e2702e, preserving the existing stack. The final tree 2edb93a2 passed 4,638 unit tests in 254 suites, zero failures/errors/skips, plus required just format, just compile and just lint. Complete logs, all XML/HTML/SARIF and embedded Gradle reports were inspected; Detekt and Android Lint have zero findings. All 1,753 frozen file inputs and the directory link match. Three JVM notices, four unchanged-provider CloseGuard stacks, the inherited manifest notice and Detekt deprecation remain disclosed against exact parent source/configuration; no fresh parent runtime baseline or warning-free claim is made.

All 605 production feature patch operations are unchanged. The sole conflict removes two obsolete refund-pointer tests with the parent's Blocktank sunset; no retry, snapshot, reset or revision assertion was dropped. One independent affected-composition review is clean, retaining prior matching lifecycle/explicit-retry review coverage. These full unit gates do not establish the authored authenticated lifecycle/endpoint fault journeys or resolve terminal full-WALLET availability.

All 6 live-base commits verify locally and on GitHub (verified=true, reason=valid), with exact sets matching. This PR remains ready. Current-head hosted CI passed 4,638 unit tests in 254 classes with zero failures/skips, and lint has zero Detekt/Android Lint findings. E2E reached 39 distinct passes and one explicit settings skip: boost_2, widgets_1 and widgets_3 first failed their expected-text, WidgetSave and PriceWidget assertions, then passed automatic attempt 2. Earlier failures and process annotations are retained; their causes remain unproven. This is not an all-first-attempt pass or the authored authenticated fault journey. The complete 14 executed job logs, all unit/lint reports and four SHA-256/CRC-verified archives were inspected; the executed merge tree equals this head and its tested parent matches the live stack. Failure-only media was not uploaded after eventual success. No workflow rerun was requested. Migration was skipped, not passed.

Twin: synonymdev/bitkit-ios#1123
Dependency: #1686

This PR drains interrupted backup work before resetting its clients and preserves pending backups across observation restart.

Description

  • Retry temporary failures for explicit backup requests even when Lightning observation is stopped, with capped backoff and retained pending revisions. The narrow released-native request-send compatibility classifier remains backup-only; unrelated unknown errors stay non-retryable.
  • Retain setup, observer, retry and upload tasks so reset cannot leave old setup or status writes running against the next wallet state.
  • Serialize category ownership and follow up newer required revisions, including explicit full backups and requests made during canceled-job cleanup. Suppress only the exact failed revision, and keep idle debounce outside explicit recovery ownership.
  • Persist already-observed data changes before canceled cleanup finishes, including a reset that leaves wallet data intact. Replacement listeners collect changes during the drain; retained automatic retries wait until that drain completes.
  • Keep manual, migration and USDT recovery backups independent of Lightning observation. Persist supplied USDT snapshot revisions before waiting for an older upload; older completion cannot satisfy a later canceled request or bypass its backoff. Wipe rejects new work and canceled persistence cannot acknowledge Core.

Out of Scope

Design

N/A — no UI changes.

Preview

N/A — background lifecycle repair.

QA Notes

Setup

Use the committed dev Debug dependencies: Core 0.8.0-rc11, Paykit 0.1.1-rc6, VSS 0.5.26-rc2 and LDK 0.7.0-rc.79. Automated tests use synthetic data, a real local DataStore, the SDK operation barrier and fake VSS transport; no funds or device wallets are changed. Manual cases require a dedicated disposable fault fixture with held setup, capture, upload and cache-write boundaries as described in journeys/backup-restore/wallet-snapshot-consistency.md. Those app-level controls are not provisioned in the standard journey environment. Do not use live funds, reset personal wallets or reuse another worker's device.

For Manual 6, use an isolated dev/E2E regtest build with a disposable local LNURL-auth/VSS backend. Set E2E=true, E2E_BACKEND=local, E2E_VSS_SERVER_URL=http://localhost:18717/vss and E2E_LNURL_AUTH_SERVER_URL=http://localhost:18715/auth; reverse only those device ports to a dedicated fault proxy forwarding to the fixture. Keep authorization headers and native encryption intact. First reject auth GET /auth before forwarding and node POST /vss/getObject / listKeyVersions; then allow auth and putObjects while continuing to reject node reads. Use Settings → Default Unit for the edit and Settings → Security → Data Backups for Retry. Retain proxy outcomes, app lifecycle/backup logs, installed APK hash and nonsecret backup-status readbacks. No wallet reset, seed capture or funds are needed. Restore prior device routes and APK after testing.

  • 9. In an isolated unfunded Spark/VSS fixture, retain pending readiness or exit state during restore. Clear the restore gate, let its real timeout expire, or interrupt the debounce with a second restore; after release, verify exactly one acknowledged upload without a new Spark event. The inherited component controls pass on this head. Authenticated timing/readback for these cases requires the isolated fixture and is not supplied by general E2E results.

Journeys

N/A — not drivable; see Manual Tests.

Manual Tests

  • 1. Hold backup setup or cancellation cleanup → stop/restart observation → edit settings while restart waits for old cleanup, including another category’s retry becoming due → no setup/upload before drain; latest changes resume without another edit — historical external Test 1 is reported; original event/readback and build/install binding remain to be verified.

  • 2. Hold manual or USDT persistence → request fixture reset, including cancellation of its caller → both clients wait for old work; canceled persistence is not acknowledged and retry retains the same signed operation — historical external Test 2 covers an empty-wallet envelope; build/trace binding and the same-signed-operation reset variant remain unverified.

  • 3. Keep wipe admission closed after reset → request manual/full/USDT backup → no new upload or cache write; after release, explicit USDT works with observation stopped — historical external Test 3 reports backup wipe-admission controls; its no-write/ack trace and build binding remain unverified.

  • 4. Change required data during a full backup, hold its required-status write, or request it during stopped-job cleanup → release the gate and restart → the newer work uploads without another mutation — historical external Test 4 reports SETTINGS follow-up; held-write/revision/readback and build binding remain unverified.

  • 5. With observation stopped, fail an explicit category or USDT backup temporarily, restore transport, and verify bounded backup retry without another edit; keep Core acknowledgement withheld until its own callback succeeds. Also cancel a newer callback while an older upload is held: the newer revision stays pending and the old upload cannot satisfy it — historical external Tests 5a/5b and later callback controls are reported; their original trace and build binding remain unverified.

  • 6. On an unfunded disposable wallet, change a display preference and stop the app before backup debounce completes. Cold-start with VSS authentication unavailable and node initialization blocked; SETTINGS Retry must return failure with the revision pending. Restore authentication while continuing to reject node reads, tap Retry, then cold-restart again: SETTINGS remains synchronized without node startup. Executed on the exact candidate APK/source above; this does not cover other categories or remote restore.

  • 7A. With an existing remote ACTIVITY object, cold-start before node success and refuse the local Core activity read. One Transaction Log Retry must return idle with required pending and preserve the acknowledged remote object. Executed at 8727da02; the prior object is empty, and reversible schema fault restoration is logical rather than byte-identical.

  • 7B. Change nonempty persisted Blocktank info through the real provider while app uploads are refused, then cold-restart with node reads blocked. One Connection Receipts Retry must acknowledge the retained cache; independently decrypt/read that exact row through native VSS and compare typed info. Executed at 8727da02; first BLOCKTANK insertion, empty orders/CJIT, no full-wallet restore claim.

  • 8. Cold-start an unfunded test wallet with ordinary backup pending and auth request transport unavailable. Tap Retry once, restore auth while node reads remain blocked, and verify bounded automatic retry acknowledges the original pending category without a second tap or unrelated edit. Genuine authorization denial stays pending without automatic retry. Both actual-app portions passed on the exact e7fb0ac inputs, with the bounded 25.240-second denial observation, native internal retries and preserved first fixture assertion failure detailed above. Earlier Manual 6 is not its execution.

Automated Checks

  • updated BackupRepoTest.kt — held setup and upload cleanup, reset cancellation, cache finalization, concurrent lifecycle calls with real DataStore, actual SDK wipe-lock ordering, full-backup follow-up, stopped-observer USDT persistence and actual service acknowledgement/retry record identity.

Evidence

Controlled baseline reproduced late LDK setup after reset. Further fail-before tests reproduced lost full-backup follow-up, premature manual reset, fresh backup admission during wipe, a full request lost behind canceled cleanup, and consumed settings changes lost during stop/reset. The final focused suite has 93 cases, including 14 added lifecycle, admission and persistence regressions.

Final commit a8f0810769b5c29c01c6f7c1f02e3988b048c7db, based on #1686 (ac2a7c668): just compile, just test and just lint passed: 4,639 tests across 254 suites, zero failures/errors/skips; fresh JUnit timestamps verified. Full just format passed. All Detekt and Android Lint SARIF/XML reports contain zero findings, with no compiler warnings; the JVM bootstrap-classpath notice and Gradle deprecation match recorded baseline diagnostics. Two consecutive final independent read-only reviews found no actionable correctness or quality issues.

Follow-up verification on October 25 (signed head e585fccf5): the settings-during-restart regression fails on a8f08107; a separate temporary WALLET retry with held WIDGETS cleanup fails without its admission guard. Both repaired cases pass in the 95-test backup suite. Final just compile, just test, just lint and just format passed: 4,641 tests / 254 suites, zero failures/errors/skips, and all Detekt/Android Lint reports contain zero findings. Complete logs and reports inspected; structured Gradle diagnostics match the earlier baseline. Two consecutive independent final reviews were clean. Both commits in the actual-base PR range are locally verified and GitHub reports verified=true, reason=valid. These controlled component cases extend manual cases 1 and 4; no full fault-injection journey pass is claimed.

Prior published head a8f08107 also passed hosted CI (4,639 units) and all seven existing E2E shards (39 cases passed, one settings case skipped). Complete logs and checksum/CRC-verified uploaded lint artifact 12583364581 contain zero SARIF/XML findings. Those hosted results apply to that head, not the follow-up.

Prior signed head e585fccf5 passed hosted CI 40158027061 (4,641 tests) and lint 40158027049. Complete logs and checksum/CRC-verified artifact 12585438925 were inspected; all three SARIF/XML reports contain zero findings. Hosted E2E40158027317 subsequently completed all seven shards with39 passing cases. The backup case first failed waiting for the widget “Yes, Delete” confirmation, then passed on the workflow’s automatic retry. Complete logs were inspected; the initial widget-confirmation failure’s cause is still unproven, so this is not claimed as a clean first-attempt run. No additional workflow rerun was requested.

Latest parent composition (October 26), signed head c2554581e2b5e2c8e68802a577a76a56b291ae4b: additive merge of #1686 at 0fd5e424, without rewriting published history. Both parent malformed connection-correction tests and the lifecycle ownership/USDT independence behavior are preserved. Final just compile, just test, just lint, and just format passed: 4,681 tests / 255 suites, zero failures/errors/skips, 97 backup cases, and zero Detekt/Android Lint findings. Complete logs and structured reports were inspected; JVM, cursor and Detekt-plugin diagnostics match verified earlier parent evidence. All 1,765 frozen inputs match. Two consecutive independent final composition reviews were clean; all three current-base commits are locally signed and GitHub true/valid. Hosted composition checks passed 4,681 units, lint with zero findings, and 39 first-attempt E2E cases with one settings skip; complete logs and checksum/CRC-verified reports were inspected. These results apply to c255458, not the later transport commit, and are not an authenticated fault-journey pass.

Latest transport follow-up, signed a102e0ede565e60aaf7e033f3ad66a870739066b: the released VSS FFI represents request-send failures as UnknownException. Two controlled regressions fail before the fix; the narrow backup-only compatibility classifier and observed-settings retry then pass. Final4,683 tests/255suites, including99backup cases, pass with zero failures/errors/skips. Required format, compile, full Detekt and Android Lint pass with zero findings in all three fresh SARIF/XML reports. All1,760 frozen source inputs match. Complete9,629-line test log and structured reports were inspected; three JVM notices, the full cursor-allocation stack multiset and Detekt plugin diagnostics match verified parent evidence. Initial formatting corrected three introduced ordering/wrap findings before final gates. Two consecutive independent final reviews are clean; all four live-base commits are locally signed and GitHub true/valid. Hosted checks on a102e0e passed 4,683 units and lint with zero findings. Existing E2E cases reached 39 unique passes and one never-run settings skip after five failed executions: LNURL/Transfer failed two attempts before the third passed, and multiaddress required a second attempt. Complete logs and checksum/CRC-verified artifacts were inspected. These are eventual prior-head passes, not first-attempt or new-head evidence; the timeout causes remain unproven.

This classifier is restricted to the typed native UnknownException with its anchored request-send envelope and valid HTTP(S) host/putObjects path. It does not change generic SDK mutation retry, cancellation or permanent unknown errors. Tests inject the actual native error representation into the repository; this is not a new authenticated endpoint-outage journey.

Latest explicit-retry follow-up, signed 49e9a99d35f72685f3187b9585fb2aaa3d64a904: manual/full/USDT backup retries retain their own ownership after observers stop. Supplied recovery snapshots reserve their exact required revision before a cancellable category wait, so canceled queued work remains pending and an older upload cannot acknowledge a newer snapshot. Superseded retry timers cannot bypass a newer failure’s backoff. Thirteen new regression cases include controlled before failures for stopped observation, successor revisions, stale timers and queued cancellation. The final suite passed 4,696 tests / 255 suites (112 backup cases), zero failures/errors/skips. Final format, compile, full Detekt and Android Lint pass with zero findings in all three structured reports. All 1,760 frozen hashes match; the complete 9,648-line test log, all XML/SARIF and retained Gradle diagnostics were inspected. Introduced formatting findings were corrected before the final unchanged gates; JVM/cursor/deprecation diagnostics match verified parent evidence. Two consecutive independent final reviews (rounds 2 and 3 after repairing the round-1 queued-callback finding) are clean. All five actual-live-base commits verify locally and on GitHub as true/valid. Current-head hosted CI40400088998 passed 4,696 tests/255 classes with zero failures/skips; lint40400089110 has zero findings in all structured reports. E2E40400089623 reached 39 unique passes and one never-run settings skip after three failed executions: RGS settings, LNURL and transfer each passed their second internal attempt. Complete 18,712 lines across 15 job logs and four SHA256/CRC-verified archives were inspected. The merge tree equals this head; JVM/cursor/deprecation diagnostics match verified parent evidence. The timeout causes remain unproven and failure screenshots were not uploaded after eventual success; no rerun was requested. Manual case 5 and complete authenticated fault journeys remain unrun; these controlled component tests use the real service callback with mocked transport and do not prove autonomous payment submission or process-death retry.

Gaps

Explicit backup retry now has ownership independent of observation. Background backup success does not acknowledge an earlier failed Core callback or submit a payment; manual USDT Retry and foreground recovery must still resume and acknowledge the original signed operation. Cancellation retains required data without turning every canceled or permanent failure into a fresh automatic retry.

The new controls are component tests. They do not execute a complete app UI/Paykit/deployed-contract failure journey, and the VSS transport in these tests is mocked. Existing released-native signing/encrypted recovery evidence remains scoped to its recorded app revisions. No Android crash or historical contact/acquisition cause is claimed. The full-WALLET availability and migration engineering remain separate. Updated-app-only new-format restore is approved, but independent-only backups are not activated.

Models used

  • Planning/scoping: gpt-6-astra (reasoning: xhigh)
  • Implementation: gpt-6-astra (reasoning: xhigh)
  • Review: gpt-6-astra (reasoning: xhigh); gpt-6.1-sol (reasoning: high)

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants