Remove redundant identity preflight from native wrapper polls #1525

Merged
PlasticDigits merged 1 commit from fix/1505-native-recovery-followup-10 into main 2026-10-16 06:25:37 +00:00
Owner

Scheduled native wrapper polls spent an extra identity round trip before the mapper query, which already freshly attests its selected endpoint. Under uniform permitted identity latency, that serial work loses required tax caps at the original 7.9-second margin. This change removes only the redundant preflight; every actual data attempt and alternative keeps fresh expected-chain validation, original deadlines, provider admission and fail-closed behavior.

The change preserves the thirteen logical data reads and reduces healthy identity/provider attempts from fourteen to thirteen without additional attempts. NR1505-14 and the linked agent/solver/checklist documentation define the boundary. The existing optional-floor deadline fixture targets the same phase after the removed request. Historical diagnostics and ordering controls remain readable.

Validation:

  • Focused controls 6/6 twice and full wrapper module 57/57 twice; three independent reviews clean.
  • Final serial source wave after owned QA reset: 61 passing groups, zero failures, six explicit separate-scope skips; Clippy passes with 155 existing warnings.
  • Full library 930 passed plus one existing ignored case twice; route suite 19/19 twice; selected frontend 536 twice; controlled browser 44 quote requests and zero provider requests per pass.
  • All 1,211 application files and 2,013 verification inputs retain identical before/after fingerprints. Fresh origin/main has no incoming commits beyond the tested baseline.

Source proof, verification receipt, results and invariants.

The prior deployment's natural FIRST passed and RETEST failed with three selected503s; sanitized receipts retain both. Its poll199 lost a rate/mapping, whereas this controlled OLD loses caps. Historical provider/identity timing remains unproven. This source fix still requires exact merged-revision deployment and focused live FIRST/RETEST, positive expiry controls and bounded monitoring. #1505 remains open pending that acceptance; wallet/device, funded signing and broad sweeps remain excluded.

Related: #1505

Scheduled native wrapper polls spent an extra identity round trip before the mapper query, which already freshly attests its selected endpoint. Under uniform permitted identity latency, that serial work loses required tax caps at the original 7.9-second margin. This change removes only the redundant preflight; every actual data attempt and alternative keeps fresh expected-chain validation, original deadlines, provider admission and fail-closed behavior. The change preserves the thirteen logical data reads and reduces healthy identity/provider attempts from fourteen to thirteen without additional attempts. NR1505-14 and the linked agent/solver/checklist documentation define the boundary. The existing optional-floor deadline fixture targets the same phase after the removed request. Historical diagnostics and ordering controls remain readable. Validation: - Focused controls 6/6 twice and full wrapper module 57/57 twice; three independent reviews clean. - Final serial source wave after owned QA reset: 61 passing groups, zero failures, six explicit separate-scope skips; Clippy passes with 155 existing warnings. - Full library 930 passed plus one existing ignored case twice; route suite 19/19 twice; selected frontend 536 twice; controlled browser 44 quote requests and zero provider requests per pass. - All 1,211 application files and 2,013 verification inputs retain identical before/after fingerprints. Fresh origin/main has no incoming commits beyond the tested baseline. [Source proof](https://git.cl8y.com/code/cl8y-dex-terraclassic/src/commit/251a9e7d547823af35282c3936100b6bfb3ca208/docs/qa/issue-1505/identity-preflight-proof.json), [verification receipt](https://git.cl8y.com/code/cl8y-dex-terraclassic/src/commit/251a9e7d547823af35282c3936100b6bfb3ca208/docs/qa/issue-1505/source-verification-10-final.json), [results](https://git.cl8y.com/code/cl8y-dex-terraclassic/src/commit/251a9e7d547823af35282c3936100b6bfb3ca208/docs/qa/issue-1505/RESULTS.md) and [invariants](https://git.cl8y.com/code/cl8y-dex-terraclassic/src/commit/251a9e7d547823af35282c3936100b6bfb3ca208/skills/AGENTS_NATIVE_QUOTE_RECOVERY.md). The prior deployment's natural FIRST passed and RETEST failed with three selected503s; sanitized receipts retain both. Its poll199 lost a rate/mapping, whereas this controlled OLD loses caps. Historical provider/identity timing remains unproven. This source fix still requires exact merged-revision deployment and focused live FIRST/RETEST, positive expiry controls and bounded monitoring. #1505 remains open pending that acceptance; wallet/device, funded signing and broad sweeps remain excluded. Related: https://git.cl8y.com/code/cl8y-dex-terraclassic/issues/1505
Remove redundant identity preflight from native wrapper polls
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
251a9e7d54
Keep fresh per-attempt endpoint validation and original deadlines. Add uniform-latency and safety controls, document the invariants, and retain prior deployed FIRST and RETEST evidence.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/cl8y-dex-terraclassic!1525
No description provided.