Repository navigation
Replace reconciliation with a finite endorsement delivery pipeline - #56
Merged
Merged
Conversation
Create posting work in the authenticated receipt transaction and advance one writer operation through queued, preparing, pending and terminal LMDB phases. Plan from local selection and our own confirmed effects. Remove status-history scans and production contract mapping reads; completed operations make no further RPC calls.
Bound preparation, reverted transaction and pending RPC retries. Preserve signed bytes before submission, dead-letter exhausted work and fence unresolved nonces until explicit local retry. Expose stored selection and delivery progress at GET /v1/endorsements/{associationSaid} without refreshing Ethereum state.
Require fresh stores with no compatibility path. Update operations, diagrams and companion pins. Focused real-chain cases cover phase rollback, restart, revocation, dead letters and idle behavior; full installed-wheel and pinned paired qualification are running.
Extend the maintained paired scenario to require terminal Oracle progress over public HTTP as well as independently verified contract state. Add a rollback regression proving a failed phase write cannot separately commit a receipt or confirmed wallet effect. The six-witness installed-wheel paired run passes with the exact Verifier and Comply companion revisions. All eight persistence cases pass; the preceding full Oracle suite passed 72 cases. Document the finite delivery and passive resource entry points.
kentbull
marked this pull request as ready for review
November 1, 2026 02:56
Qualify the forward-only Oracle pipeline against the producer that removes verification paging, bounds durable retries and commits accepted TEL revocation handoffs. The exact producer revision is used by both the installed-wheel suite and maintained paired qualification; no compatibility fallback is introduced.
Select the verifier's test-clock correction so installed-wheel qualification uses persistent retry deadlines and assertion deadlines on one HIO timeline. The producer's application source is unchanged; the correction retains all timeout, attempt and business assertions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace continuous registry reconciliation with a finite forward-delivery pipeline. Authenticated receipt now commits selection and queued work together. One writer advances one operation through queued, preparing, pending, completed or dead-letter LMDB phases. Completed statuses and transaction history no longer discover work, and production code no longer reads contract mappings.
Plan each contract step from current local selection and this writer's confirmed effects. Persist signed bytes before submission; bound preparation/revert attempts and pending RPC failures (three by default), plus receipt waiting (120 seconds). Exhausted work moves to dead letters. An unresolved signed transaction fences the writer until explicit local retry resolves that same intent. Posting failures never invalidate credentials or erase recorded confirmed effects.
Add
GET /v1/endorsements/{associationSaid}for passive local progress andvlei-oracle retry OPERATION_IDfor manual recovery with the service stopped. This is a breaking storage change: known initial empty deployment, preserved stores thereafter, no migrations or old readers. No independent on-chain drift repair, cancellation, replacement or full reorg recovery.Validation on
236b5713a22c059de9bb921682e909f9949a5934, with exact producer pinacea6613f6add016fa129221910b579d745d3e78:Tests retain actual LMDB reader-release/rollback checks, restart, bounded mined reverts, receipt deadlines, unresolved signed fences, explicit retry and no RPC after completion when chain state changes independently. Contract fixture isolation gives each fresh Oracle store a known initial deployment. Witness topology, public-resource checks and real token balance assertions remain.
Companions: Verifier #25 and merged Comply #17. Review/merge Verifier first. Exact heads are pinned in
scripts/integration/dependencies.json.