fix(indexer): stabilize qualified generations and guard publication #1493

Merged
PlasticDigits merged 2 commits from fix/1489-empty-wrap-entry into main 2026-10-13 12:05:10 +00:00
Owner

Unchanged scheduled refreshes could repeatedly change route generations despite retaining the same effective observations. Late admission could restore old actor approval or discounts after independently completed blacklist/unblock observations or a complete inventory reset. Retained deterministic regressions reproduce both behaviors.

Hash the qualified effective market canonically after preservation, using immutable Arc-bound view digests prepared outside the quote lock. Scheduled preparation runs in at most two owned blocking jobs; cancellation retains CPU capacity until work finishes and cannot publish a dropped result. Final publication keeps the epoch, fee, validity, protocol and original-expiry guards. Actor proofs bind the authoritative observation before optional fee/enrichment awaits, revoke recycled/reset records, and reconcile newer conservative state at commit. Quote workers, queues, search caps, signing guards and offline requests retain their original bounds.

Validation: all fourteen named applicable verifiers pass 208 groups with zero final failures and 21 explicit external skips. Focused 22 controls and default-parallel 816 tests pass twice. The actual single-worker initialized HTTP regression reproduced 2,497.948ms during synchronous maximum-shape publication; all four final synthetic maximum-profile rounds pass the original 500ms budget (maximum 57ms). The complete 4,250-case controlled browser matrix has 3,948 validated useful quotes, zero failures/provider requests, and maximum 244.9ms at the unchanged 750ms budget. Current-source receipts retain the configured tax fixture storage failure and its exact-owned same-image 1GiB reset followed by the full passing rerun.

The live-probe correction keeps the original immutable cohort, earliest request-start deadline and expiry, and requires a current post-benchmark read. It reports unavailable evidence honestly rather than retrospectively judging an early incomplete read against a later POST. Invariants, source modules, QA receipts and third-party agent guidance are crosslinked in docs/qa/issue-1489/RESULTS.md and skills/AGENTS_ROUTE_DISCOVERY.md.

Refs #1489. Follows PR #1490 and the independently released empty-entry UI PR #1492. Final core deployment and independent live acceptance remain separate. Atomic production SQL/reserves, complete wrapper artifact/capability correspondence, physical wallets and missing Prometheus evidence remain unchecked; this PR does not close the issue. No production reset or signing.

Unchanged scheduled refreshes could repeatedly change route generations despite retaining the same effective observations. Late admission could restore old actor approval or discounts after independently completed blacklist/unblock observations or a complete inventory reset. Retained deterministic regressions reproduce both behaviors. Hash the qualified effective market canonically after preservation, using immutable Arc-bound view digests prepared outside the quote lock. Scheduled preparation runs in at most two owned blocking jobs; cancellation retains CPU capacity until work finishes and cannot publish a dropped result. Final publication keeps the epoch, fee, validity, protocol and original-expiry guards. Actor proofs bind the authoritative observation before optional fee/enrichment awaits, revoke recycled/reset records, and reconcile newer conservative state at commit. Quote workers, queues, search caps, signing guards and offline requests retain their original bounds. Validation: all fourteen named applicable verifiers pass 208 groups with zero final failures and 21 explicit external skips. Focused 22 controls and default-parallel 816 tests pass twice. The actual single-worker initialized HTTP regression reproduced 2,497.948ms during synchronous maximum-shape publication; all four final synthetic maximum-profile rounds pass the original 500ms budget (maximum 57ms). The complete 4,250-case controlled browser matrix has 3,948 validated useful quotes, zero failures/provider requests, and maximum 244.9ms at the unchanged 750ms budget. Current-source receipts retain the configured tax fixture storage failure and its exact-owned same-image 1GiB reset followed by the full passing rerun. The live-probe correction keeps the original immutable cohort, earliest request-start deadline and expiry, and requires a current post-benchmark read. It reports unavailable evidence honestly rather than retrospectively judging an early incomplete read against a later POST. Invariants, source modules, QA receipts and third-party agent guidance are crosslinked in docs/qa/issue-1489/RESULTS.md and skills/AGENTS_ROUTE_DISCOVERY.md. Refs #1489. Follows PR #1490 and the independently released empty-entry UI PR #1492. Final core deployment and independent live acceptance remain separate. Atomic production SQL/reserves, complete wrapper artifact/capability correspondence, physical wallets and missing Prometheus evidence remain unchecked; this PR does not close the issue. No production reset or signing.
fix(indexer): stabilize qualified generations and guard publication
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending
1536631292
Prepare immutable view digests outside quote workers and reconcile actor proofs at publication. Preserve original expiry, eligibility, resource bounds and offline execution.
docs(quotes): crosslink canonical publication fix
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
c23f9b314f
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!1493
No description provided.