Repository navigation
fix: Attest bounded paired tier rebuild sources - #823
Draft
buildingjoshbetter wants to merge 1 commit into
Draft
buildingjoshbetter wants to merge 1 commit into
buildingjoshbetter wants to merge 1 commit into
Conversation
This was referenced Oct 9, 2026
This branch has not been deployed
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.
Tier rebuild progress currently relies on whole-source lists and registry/MAX-row heuristics. This prerequisite adds a model-free adapter for bounded source pages and certified completion/separation pairs. It publishes both vector blobs, the consumed-input cursor and a chained receipt atomically, retaining the uncommitted page suffix after a reduced batch.
Restart planning verifies exact pair bytes and source coverage in bounded pages. Malformed manifests, changed rows or schemas, TEMP shadows, and unreceipted existing contents are refused. Initialization requires an already empty inactive pair and never clears serving tables. Completion distinguishes the captured range from the current source snapshot.
Stacked on #821. Related to #756 and #795; neither issue is closed. No production manager/worker routing changes in this PR. Existing models, rerankers and retrieval policy remain unchanged.
Limits are explicit: restart verification scans O(N) rows in one read snapshot and may retain WAL; the conservative connection/data-version fence requires replanning even after unrelated writes. The caller must establish inactive-pair ownership, target identity/schema, tracking and database identity. Receipts do not protect against a writer that forges both data and metadata. No native memory reduction or whole-process memory bound is claimed.
Validation:
1and1.0equal. Exact SQLite types and IEEE-754 values now guard pending pages; signed-zero and boolean substitutions also fail. Failed evidence is preserved. Existing production dependencies and test assertions are unchanged.Full log SHA256: publication
ace26783d6332258020d0840f3dce32f272cdd8d76a3f24431387fff53ff803d; combined38ebaa315fc2174be52f85047a843fd52f5ceb03bda8981e1b268f65d83464fc.Draft only. Nothing is merged or released. The original Mac memory incident remains unproven.