fix(indexer): stabilize qualified generations and guard publication #1493
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/cl8y-dex-terraclassic!1493
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/1489-empty-wrap-entry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.